:root {
  --sky-bright: #7ec8f3;
  --sky-pale: #dff3ff;
  --cloud: #fffdfa;
  --paper: #fff8e9;
  --paper-warm: #f3ead7;
  --memo-gold: #dcb86a;
  --desk-brown: #7a5737;
  --ink: #192447;
  --ink-soft: rgba(25, 36, 71, 0.72);
  --ink-faint: rgba(25, 36, 71, 0.48);
  --mint: #7bd8cd;
  --mint-deep: #167d77;
  --night: #151f39;
  --night-soft: #223258;
  --line: rgba(25, 36, 71, 0.12);
  --white-line: rgba(255, 255, 255, 0.18);
  --lift: 0 0 0 1px rgba(25, 36, 71, 0.08), 0 18px 44px rgba(55, 68, 92, 0.14);
  --deep-lift: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 32px 80px rgba(7, 16, 36, 0.28);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  -webkit-font-smoothing: antialiased;
}

html:lang(en) body {
  font-family: Georgia, "Times New Roman", serif;
}

html:lang(ja) body {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

.site-nav {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: rgba(25, 36, 71, 0.78);
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.mark,
.nav-links,
.lang-switch {
  background: rgba(255, 253, 250, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset, 0 18px 42px rgba(38, 77, 117, 0.12);
  backdrop-filter: blur(16px);
}

.mark {
  display: inline-grid;
  min-width: 112px;
  min-height: 46px;
  align-content: center;
  padding: 5px 14px 7px;
}

.mark-kana {
  color: var(--mint-deep);
  font-size: 11px;
  line-height: 1;
}

.mark-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-style: italic;
  line-height: 0.95;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.nav-links a {
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  transition: color 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.lang-switch a:hover,
.lang-switch a:focus-visible,
.lang-switch a[aria-current="page"] {
  color: var(--mint-deep);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.lang-switch a {
  min-width: 42px;
  min-height: 36px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  color: rgba(25, 36, 71, 0.62);
  transition: color 160ms var(--ease-out), background 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.lang-switch a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.48);
}

.nav-links a:active,
.lang-switch a:active,
.primary-action:active,
.quiet-action:active {
  transform: scale(0.97);
}

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.hero-veil {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 253, 250, 0.9) 0%, rgba(255, 253, 250, 0.66) 28%, rgba(255, 253, 250, 0.18) 56%, transparent 100%),
    linear-gradient(0deg, rgba(255, 248, 233, 0.78) 0%, transparent 34%);
}

.vertical-line {
  position: absolute;
  top: 17vh;
  left: clamp(18px, 5vw, 78px);
  margin: 0;
  writing-mode: vertical-rl;
  color: rgba(25, 36, 71, 0.58);
  font-size: clamp(15px, 1.5vw, 21px);
  line-height: 1.9;
  letter-spacing: 0.26em;
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.84);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(590px, 46vw);
  padding-top: clamp(150px, 23vh, 230px);
  margin-left: clamp(64px, 14vw, 190px);
}

.overline,
.section-label {
  margin: 0 0 18px;
  color: var(--mint-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: lowercase;
}

h1 {
  margin: 0;
  color: rgba(25, 36, 71, 0.94);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(68px, 8.3vw, 124px);
  font-style: italic;
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0;
  text-shadow: 0 1px 30px rgba(255, 255, 255, 0.84);
}

.hero-kicker {
  max-width: 520px;
  margin: 30px 0 0;
  color: rgba(25, 36, 71, 0.86);
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1.3;
  text-wrap: balance;
}

.hero-text {
  max-width: 500px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.primary-action,
.quiet-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms var(--ease-out), box-shadow 180ms var(--ease-out), background 180ms var(--ease-out), color 180ms var(--ease-out);
}

.primary-action {
  padding: 12px 20px;
  color: var(--cloud);
  background: rgba(25, 36, 71, 0.92);
  box-shadow: 0 0 0 1px rgba(25, 36, 71, 0.12), 0 16px 38px rgba(25, 36, 71, 0.2);
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--mint-deep);
  box-shadow: 0 0 0 1px rgba(22, 125, 119, 0.18), 0 18px 44px rgba(22, 125, 119, 0.24);
}

.quiet-action {
  padding: 12px 6px;
  color: rgba(25, 36, 71, 0.72);
  border-bottom: 1px solid rgba(25, 36, 71, 0.24);
}

.quiet-action:hover,
.quiet-action:focus-visible {
  color: rgba(25, 36, 71, 0.94);
}

.hero-facts {
  position: absolute;
  left: clamp(18px, 4vw, 54px);
  right: clamp(18px, 4vw, 54px);
  bottom: 42px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(25, 36, 71, 0.68);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.hero-facts span {
  padding: 9px 13px;
  background: rgba(255, 253, 250, 0.62);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.54) inset;
  backdrop-filter: blur(12px);
}

.next-peek {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  transform: translateX(-50%);
  color: rgba(25, 36, 71, 0.34);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: lowercase;
}

.section-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.story-section,
.product-section,
.moments-section,
.chief-section,
.privacy-section,
.faq-section,
.download-section {
  position: relative;
  scroll-margin-top: 78px;
}

.story-section,
.chief-section,
.privacy-section,
.faq-section,
.download-section {
  padding: clamp(78px, 11vw, 142px) 0;
}

.story-section {
  background:
    linear-gradient(to bottom, rgba(255, 248, 233, 0.98), rgba(243, 234, 215, 0.7)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(25, 36, 71, 0.045) 31px 32px);
}

.story-grid,
.product-intro,
.privacy-layout,
.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 94px);
  align-items: start;
}

h2 {
  margin: 0;
  max-width: 800px;
  color: rgba(25, 36, 71, 0.9);
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.story-copy p,
.product-intro p,
.chief-copy p,
.privacy-list p,
.download-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 2.04;
}

.story-copy p + p {
  margin-top: 30px;
}

.product-section {
  overflow: hidden;
  padding: clamp(82px, 10vw, 128px) 0 clamp(88px, 12vw, 154px);
  color: var(--cloud);
  background:
    radial-gradient(circle at 18% 8%, rgba(126, 200, 243, 0.26), transparent 28%),
    radial-gradient(circle at 84% 20%, rgba(123, 216, 205, 0.18), transparent 25%),
    linear-gradient(180deg, var(--night) 0%, #10182c 100%);
}

.product-section h2,
.product-section .section-label {
  color: var(--cloud);
}

.product-section h2 {
  max-width: 720px;
  font-size: clamp(34px, 4.4vw, 64px);
}

.product-intro p {
  max-width: 560px;
  color: rgba(255, 253, 250, 0.74);
}

.feature-list {
  width: min(1160px, calc(100% - 36px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(36px, 5vw, 60px) auto 0;
  padding: 1px;
  background: rgba(255, 253, 250, 0.14);
  box-shadow: 0 0 0 1px rgba(255, 253, 250, 0.08) inset;
}

.feature-list > div {
  min-width: 0;
  padding: clamp(20px, 2.5vw, 30px);
  background: rgba(255, 253, 250, 0.045);
}

.feature-list dt,
.faq-list dt {
  font-weight: 700;
}

.feature-list dt {
  color: var(--cloud);
  font-size: 17px;
  line-height: 1.45;
}

.feature-list dd {
  margin: 10px 0 0;
  color: rgba(255, 253, 250, 0.74);
  font-size: 14px;
  line-height: 1.75;
}

.faq-list dd {
  margin: 0 0 18px;
  line-height: 1.8;
}

.screen-rack {
  width: min(1180px, calc(100% - 36px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  align-items: start;
  margin: clamp(34px, 5vw, 58px) auto 0;
}

.screen-shot {
  margin: 0;
  min-width: 0;
}

.screen-shot img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 20px 54px rgba(7, 16, 36, 0.28);
  background: rgba(255, 253, 250, 0.08);
}

.screen-shot figcaption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 6px;
  margin-top: 14px;
  color: rgba(255, 253, 250, 0.78);
}

.screen-shot figcaption span {
  grid-row: span 2;
  color: var(--mint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.screen-shot figcaption b {
  color: var(--cloud);
  font-size: 17px;
  font-weight: 600;
}

.screen-shot figcaption p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.main-shot {
  margin-top: 0;
}

.moments-section {
  padding: clamp(74px, 9vw, 118px) 0 0;
  background: var(--paper);
}

.moment-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: clamp(38px, 5vw, 68px);
  background: rgba(25, 36, 71, 0.12);
}

.moment {
  position: relative;
  min-height: 44vw;
  margin: 0;
  overflow: hidden;
  background: var(--sky-pale);
}

.moment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moment figcaption {
  position: absolute;
  left: clamp(18px, 4vw, 54px);
  bottom: clamp(18px, 4vw, 54px);
  width: min(360px, calc(100% - 36px));
  padding: 18px 20px;
  color: rgba(25, 36, 71, 0.78);
  background: rgba(255, 253, 250, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.58) inset, 0 18px 42px rgba(25, 36, 71, 0.13);
  backdrop-filter: blur(14px);
  font-size: 16px;
  line-height: 1.7;
}

.moment figcaption span {
  display: block;
  margin-bottom: 6px;
  color: var(--mint-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: lowercase;
}

.chief-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 34%, rgba(126, 200, 243, 0.46), transparent 28%),
    linear-gradient(145deg, #fff8e9 0%, #f2ead9 48%, #dff2f8 100%);
}

.chief-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.08fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
}

.chief-copy p {
  margin-top: 28px;
}

.chief-sprites {
  position: relative;
  min-height: clamp(420px, 50vw, 660px);
}

.chief-sprites::before {
  content: "";
  position: absolute;
  inset: 9% 6% 6% 0;
  background:
    linear-gradient(to bottom, rgba(255, 253, 250, 0.66), rgba(255, 248, 233, 0.28)),
    repeating-linear-gradient(90deg, rgba(25, 36, 71, 0.06) 0 1px, transparent 1px 28px);
  box-shadow: var(--lift);
  transform: rotate(-2deg);
}

.chief-sprites img {
  position: absolute;
  z-index: 2;
  filter: drop-shadow(0 28px 36px rgba(25, 36, 71, 0.2));
}

.chief-teasing {
  left: 2%;
  bottom: 5%;
  width: min(380px, 60%);
}

.chief-sleeping {
  right: 0;
  bottom: 8%;
  width: min(350px, 58%);
}

.privacy-section {
  color: var(--cloud);
  background:
    radial-gradient(circle at 82% 16%, rgba(126, 200, 243, 0.3), transparent 24%),
    radial-gradient(circle at 12% 78%, rgba(123, 216, 205, 0.17), transparent 24%),
    var(--night);
}

.privacy-section h2,
.privacy-section .section-label {
  color: var(--cloud);
}

.privacy-list p,
.privacy-list li {
  color: rgba(255, 253, 250, 0.76);
}

.privacy-list ul {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.privacy-list li span {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 253, 250, 0.72);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(126, 200, 243, 0.46);
}

.faq-section {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(420px, 1fr);
  gap: clamp(34px, 7vw, 94px);
  align-items: start;
}

.faq-section h2 {
  max-width: 520px;
  font-size: clamp(34px, 4.4vw, 58px);
}

.faq-list {
  display: grid;
  grid-template-columns: minmax(124px, 0.34fr) minmax(0, 1fr);
  column-gap: clamp(20px, 3vw, 42px);
  margin: 4px 0 0;
  padding: 0;
}

.faq-list dt,
.faq-list dd {
  margin: 0;
  padding: 22px 0;
  border-top: 1px solid rgba(25, 36, 71, 0.12);
}

.faq-list dt {
  color: rgba(25, 36, 71, 0.9);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.faq-list dd {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.12vw, 17px);
  line-height: 1.85;
  text-wrap: pretty;
}

.faq-list code {
  padding: 0 0.2em;
  color: rgba(25, 36, 71, 0.78);
  background: rgba(255, 253, 250, 0.62);
  overflow-wrap: anywhere;
}

.download-section {
  min-height: 100svh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(to bottom, rgba(243, 234, 215, 0.74), rgba(255, 248, 233, 0.98)),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(25, 36, 71, 0.035) 38px 39px);
}

.download-panel {
  align-items: center;
}

.download-options {
  display: grid;
  gap: 18px;
}

.download-box {
  padding: clamp(26px, 4vw, 42px);
  background: rgba(255, 253, 250, 0.74);
  box-shadow: var(--lift);
}

.pending-action {
  cursor: default;
  opacity: 0.72;
}

.download-box p {
  margin: 20px 0 14px;
  color: var(--ink-faint);
  font-size: 14px;
}

.download-box code {
  display: block;
  overflow-wrap: anywhere;
  color: rgba(25, 36, 71, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.7;
}

:focus-visible {
  outline: 2px solid rgba(22, 125, 119, 0.64);
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }

  .lang-switch a {
    min-width: 38px;
    padding: 0 8px;
  }

  .hero-bg {
    object-position: 61% center;
  }

  .hero-veil {
    background:
      linear-gradient(90deg, rgba(255, 253, 250, 0.9) 0%, rgba(255, 253, 250, 0.62) 44%, rgba(255, 253, 250, 0.08) 100%),
      linear-gradient(0deg, rgba(255, 248, 233, 0.8) 0%, transparent 40%);
  }

  .hero-copy {
    width: min(620px, 88vw);
    margin-left: 18px;
    padding-top: 128px;
  }

  .vertical-line {
    left: auto;
    right: 20px;
    top: 96px;
    font-size: 14px;
  }

  .story-grid,
  .product-intro,
  .privacy-layout,
  .download-panel,
  .faq-layout,
  .chief-layout {
    grid-template-columns: 1fr;
  }

  .screen-rack {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 0 18px 18px;
    scroll-snap-type: x mandatory;
  }

  .screen-shot {
    flex: 0 0 min(340px, 82vw);
    scroll-snap-align: start;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .faq-list dt {
    padding-bottom: 8px;
  }

  .faq-list dd {
    padding-top: 0;
    border-top: 0;
  }

  .main-shot {
    margin-top: 0;
  }

  .moment-pair {
    grid-template-columns: 1fr;
  }

  .moment {
    min-height: 58vw;
  }
}

@media (max-width: 560px) {
  .site-nav {
    padding: 14px 18px;
  }

  .mark {
    min-width: 98px;
  }

  .hero {
    min-height: 94svh;
  }

  .hero-copy {
    width: calc(100% - 36px);
    padding-top: 118px;
  }

  h1 {
    font-size: clamp(58px, 18vw, 86px);
  }

  .hero-kicker {
    font-size: 23px;
  }

  .hero-text {
    max-width: 330px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 286px);
  }

  .quiet-action {
    justify-content: flex-start;
  }

  .hero-facts {
    bottom: 44px;
  }

  .story-section,
  .chief-section,
  .privacy-section,
  .faq-section,
  .download-section {
    padding: 74px 0;
  }

  .product-section {
    padding: 76px 0 88px;
  }

  .moment {
    min-height: 420px;
  }

  .moment img {
    object-position: 58% center;
  }

  .chief-sprites {
    min-height: 420px;
  }

  .chief-teasing {
    left: -11%;
    width: 70%;
  }

  .chief-sleeping {
    right: -13%;
    width: 70%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
