: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);
  padding-bottom: clamp(150px, 22vh, 190px);
  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,
.together-section,
.shared-day-section,
.memory-section,
.relationship-section,
.privacy-section,
.faq-section,
.download-section {
  position: relative;
  scroll-margin-top: 78px;
}

.story-section,
.shared-day-section,
.relationship-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,
.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,
.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;
}

.together-section {
  overflow: hidden;
  padding: clamp(88px, 10vw, 148px) 0;
  color: var(--cloud);
  background:
    radial-gradient(circle at 14% 16%, rgba(126, 200, 243, 0.24), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(123, 216, 205, 0.13), transparent 26%),
    linear-gradient(180deg, var(--night) 0%, #10182c 100%);
}

.together-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(44px, 8vw, 108px);
  align-items: center;
}

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

.together-copy h2 {
  max-width: 620px;
  font-size: clamp(36px, 4.6vw, 66px);
}

.together-copy > p {
  max-width: 560px;
  margin: 30px 0 0;
  color: rgba(255, 253, 250, 0.74);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 2;
}

.presence-note {
  max-width: 510px;
  margin-top: clamp(36px, 5vw, 54px);
  padding: 22px 24px 23px;
  border-left: 2px solid var(--mint);
  color: rgba(255, 253, 250, 0.82);
  background: rgba(255, 253, 250, 0.055);
  box-shadow: 0 0 0 1px rgba(255, 253, 250, 0.08) inset;
  transform: rotate(-0.35deg);
}

.presence-note span {
  display: block;
  color: var(--mint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: lowercase;
}

.presence-note p {
  margin: 10px 0 0;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.72;
}

.presence-stage {
  position: relative;
  min-height: 820px;
  margin: 0;
  padding: 0 28px 46px 54px;
}

.presence-window {
  width: min(460px, 90%);
  margin-left: auto;
  overflow: hidden;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--deep-lift);
  transform: rotate(0.8deg);
}

.presence-window img {
  width: 100%;
  height: auto;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.presence-live2d {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 34px;
  width: 150px;
  filter: drop-shadow(0 22px 28px rgba(5, 13, 30, 0.34));
}

.presence-live2d img {
  width: 100%;
  height: auto;
}

.presence-stage > figcaption {
  max-width: 400px;
  margin: 18px 0 0 auto;
  color: rgba(255, 253, 250, 0.5);
  font-size: 12px;
  line-height: 1.7;
  text-align: right;
}

.shared-day-section {
  overflow: hidden;
  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.04) 31px 32px);
}

.shared-day-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  gap: clamp(34px, 7vw, 94px);
  align-items: end;
}

.shared-day-head > p,
.memory-copy > p,
.relationship-copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 2;
}

.shared-day-head h2 {
  font-size: clamp(36px, 4.8vw, 66px);
}

.day-ribbon {
  position: relative;
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.05fr 0.84fr 1.08fr;
  gap: clamp(18px, 4vw, 58px);
  align-items: end;
  margin-top: clamp(48px, 7vw, 82px);
}

.day-ribbon::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 2%;
  right: 2%;
  bottom: 66px;
  height: 2px;
  background: rgba(122, 87, 55, 0.42);
  box-shadow: 0 12px 24px rgba(122, 87, 55, 0.08);
}

.day-moment {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  margin: 0;
}

.day-moment img {
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(53, 45, 33, 0.14));
}

.day-writing img {
  width: min(320px, 100%);
}

.day-stretch {
  align-self: start;
  margin-top: 26px;
}

.day-stretch img {
  width: min(270px, 100%);
}

.day-nap img {
  width: min(330px, 100%);
}

.day-time {
  position: absolute;
  z-index: 2;
  top: 12%;
  left: 4%;
  padding: 6px 8px;
  color: var(--mint-deep);
  background: rgba(255, 248, 233, 0.9);
  box-shadow: 0 0 0 1px rgba(25, 36, 71, 0.06);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.day-moment figcaption {
  min-width: 120px;
  margin-top: 8px;
  padding: 8px 12px;
  color: rgba(25, 36, 71, 0.68);
  background: rgba(255, 253, 250, 0.76);
  box-shadow: 0 0 0 1px rgba(25, 36, 71, 0.07);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.memory-section {
  overflow: hidden;
  padding: clamp(92px, 11vw, 154px) 0;
  background:
    radial-gradient(circle at 82% 24%, rgba(126, 200, 243, 0.22), transparent 27%),
    linear-gradient(145deg, var(--cloud) 0%, var(--paper) 54%, #edf7f8 100%);
}

.memory-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(480px, 1.08fr);
  gap: clamp(44px, 8vw, 108px);
  align-items: center;
}

.memory-copy h2 {
  max-width: 600px;
  font-size: clamp(36px, 4.5vw, 64px);
}

.memory-copy > p,
.relationship-copy > p {
  margin-top: 28px;
}

.memory-facts {
  margin: 38px 0 0;
}

.memory-facts > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.36fr) minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.memory-facts dt {
  color: rgba(25, 36, 71, 0.88);
  font-weight: 700;
}

.memory-facts dd {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.memory-stage {
  position: relative;
  min-height: 760px;
}

.memory-window {
  margin: 0;
}

.memory-window img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--lift);
  outline: 1px solid rgba(0, 0, 0, 0.08);
  outline-offset: -1px;
}

.memory-window figcaption {
  margin-top: 12px;
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.6;
}

.memory-timeline {
  width: min(430px, 70%);
  transform: rotate(-0.8deg);
}

.memory-summary {
  position: absolute;
  right: 0;
  bottom: 8px;
  width: min(350px, 56%);
  transform: rotate(1.1deg);
}

.relationship-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 32%, rgba(126, 200, 243, 0.36), transparent 28%),
    linear-gradient(145deg, #fff8e9 0%, #f2ead9 52%, #dff2f8 100%);
}

.relationship-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  gap: clamp(36px, 8vw, 112px);
  align-items: center;
}

.relationship-copy h2 {
  max-width: 720px;
  font-size: clamp(36px, 4.7vw, 66px);
}

.relationship-aside {
  display: inline-block;
  max-width: 520px;
  margin-top: 38px !important;
  padding: 15px 18px;
  color: rgba(25, 36, 71, 0.76) !important;
  background: rgba(255, 253, 250, 0.72);
  box-shadow: 0 0 0 1px rgba(25, 36, 71, 0.07), 0 18px 42px rgba(55, 68, 92, 0.1);
  font-size: 16px !important;
  font-style: italic;
  transform: rotate(-0.45deg);
}

.relationship-portrait {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  margin: 0;
}

.relationship-portrait::before {
  content: "";
  position: absolute;
  inset: 7% 8% 4%;
  background:
    linear-gradient(to bottom, rgba(255, 253, 250, 0.8), rgba(255, 248, 233, 0.38)),
    repeating-linear-gradient(90deg, rgba(25, 36, 71, 0.05) 0 1px, transparent 1px 28px);
  box-shadow: var(--lift);
  transform: rotate(1.4deg);
}

.relationship-portrait img {
  position: relative;
  z-index: 2;
  width: min(220px, 62%);
  height: auto;
  filter: drop-shadow(0 26px 32px rgba(25, 36, 71, 0.2));
}

.relationship-portrait figcaption {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 8%;
  padding: 14px 16px;
  color: rgba(25, 36, 71, 0.74);
  background: rgba(255, 253, 250, 0.84);
  box-shadow: 0 0 0 1px rgba(25, 36, 71, 0.07);
  font-size: 15px;
  line-height: 1.55;
}

.relationship-portrait figcaption span {
  display: block;
  margin-bottom: 3px;
  color: var(--mint-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.relationship-carousel {
  position: relative;
  width: min(560px, 100%);
  margin: 0;
}

.relationship-carousel-stage {
  position: relative;
  min-height: 570px;
  overflow: hidden;
}

.relationship-carousel-stage::before {
  content: "";
  position: absolute;
  inset: 3% 5% 2%;
  background:
    linear-gradient(to bottom, rgba(255, 253, 250, 0.88), rgba(255, 248, 233, 0.58)),
    repeating-linear-gradient(90deg, rgba(25, 36, 71, 0.045) 0 1px, transparent 1px 28px);
  box-shadow: var(--lift);
  transform: rotate(1.1deg);
}

.relationship-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(28px) scale(0.985);
  transition:
    opacity 420ms var(--ease-out),
    transform 520ms var(--ease-out),
    visibility 0s linear 520ms;
}

.relationship-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  transition-delay: 0s;
}

.relationship-slide-art {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.relationship-slide-art img {
  width: min(390px, 84%);
  height: auto;
  filter: drop-shadow(0 26px 32px rgba(25, 36, 71, 0.18));
}

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

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

.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-intro {
  display: grid;
  justify-items: start;
}

.download-app-icon {
  width: clamp(92px, 9vw, 124px);
  height: auto;
  margin-bottom: 32px;
  filter: drop-shadow(0 18px 28px rgba(55, 68, 92, 0.2));
}

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

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

.download-box-steam {
  box-shadow: inset 2px 0 0 rgba(123, 216, 205, 0.72), 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;
}

.download-consent {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.8;
}

.hero-copy .download-consent {
  max-width: 460px;
  margin-top: 16px;
  color: rgba(25, 36, 71, 0.58);
}

.download-consent a,
.site-footer a,
.legal-main a {
  color: var(--mint-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 28px 18px 34px;
  color: var(--ink-faint);
  background: rgba(255, 248, 233, 0.98);
  font-size: 13px;
}

.help-body {
  background:
    linear-gradient(to bottom, rgba(255, 253, 250, 0.8), rgba(255, 248, 233, 0.98) 320px),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(25, 36, 71, 0.04) 31px 32px),
    var(--paper);
}

.help-page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(112px, 14vw, 154px) 0 clamp(74px, 10vw, 118px);
}

.help-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.42fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: end;
  margin-bottom: clamp(36px, 6vw, 74px);
}

.help-title {
  max-width: 760px;
  margin: 0;
  color: rgba(25, 36, 71, 0.94);
  font-size: clamp(42px, 6.6vw, 78px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.help-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.9;
}

.help-status {
  padding: 18px 20px;
  color: rgba(25, 36, 71, 0.7);
  background: rgba(255, 253, 250, 0.66);
  box-shadow: var(--lift);
  font-size: 14px;
  line-height: 1.75;
}

.help-status b {
  display: block;
  margin-bottom: 6px;
  color: var(--mint-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: lowercase;
}

.help-layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.help-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  padding: 12px;
  background: rgba(255, 253, 250, 0.58);
  box-shadow: 0 0 0 1px rgba(25, 36, 71, 0.08), 0 18px 44px rgba(55, 68, 92, 0.1);
}

.help-sidebar a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: rgba(25, 36, 71, 0.68);
  font-size: 14px;
  line-height: 1.35;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.help-sidebar a:hover,
.help-sidebar a:focus-visible,
.help-sidebar a[aria-current="page"] {
  color: rgba(25, 36, 71, 0.94);
  background: rgba(123, 216, 205, 0.18);
}

.help-sidebar a:active,
.help-card:active,
.help-link-row:active {
  transform: scale(0.99);
}

.help-article {
  min-width: 0;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  background: rgba(255, 253, 250, 0.76);
  box-shadow: var(--lift);
}

.help-article > *:first-child {
  margin-top: 0;
}

.help-article h2 {
  margin: 54px 0 18px;
  max-width: 720px;
  color: rgba(25, 36, 71, 0.92);
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.18;
}

.help-article h3 {
  margin: 34px 0 12px;
  color: rgba(25, 36, 71, 0.88);
  font-size: 18px;
  line-height: 1.45;
}

.help-article p,
.help-article li,
.help-article td,
.help-article th {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.help-article p {
  margin: 0 0 18px;
}

.help-article a {
  color: var(--mint-deep);
  text-decoration: underline;
  text-decoration-color: rgba(22, 125, 119, 0.3);
  text-underline-offset: 0.22em;
  transition: color 160ms var(--ease-out), text-decoration-color 160ms var(--ease-out);
}

.help-article a:hover,
.help-article a:focus-visible {
  color: rgba(25, 36, 71, 0.94);
  text-decoration-color: currentColor;
}

.help-article strong {
  color: rgba(25, 36, 71, 0.88);
}

.help-article ul,
.help-article ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 24px;
  padding-left: 1.35em;
}

.help-article code,
.help-path code {
  padding: 0.1em 0.35em;
  color: rgba(25, 36, 71, 0.78);
  background: rgba(243, 234, 215, 0.8);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.help-path {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 28px;
  color: rgba(25, 36, 71, 0.62);
  font-size: 13px;
  line-height: 1.5;
}

.help-path span {
  padding: 7px 10px;
  background: rgba(123, 216, 205, 0.16);
}

.help-topic-grid,
.help-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.help-card,
.help-link-row {
  display: block;
  min-width: 0;
  color: inherit;
  background: rgba(255, 248, 233, 0.72);
  box-shadow: 0 0 0 1px rgba(25, 36, 71, 0.08);
  transition: background 160ms var(--ease-out), box-shadow 180ms var(--ease-out), transform 160ms var(--ease-out);
}

.help-card {
  min-height: 176px;
  padding: 22px;
}

.help-card:hover,
.help-card:focus-visible,
.help-link-row:hover,
.help-link-row:focus-visible {
  background: rgba(255, 253, 250, 0.96);
  box-shadow: 0 0 0 1px rgba(22, 125, 119, 0.18), 0 18px 42px rgba(22, 125, 119, 0.12);
}

.help-card span,
.help-link-row span {
  color: var(--mint-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: lowercase;
}

.help-card h2,
.help-card h3 {
  margin: 14px 0 10px;
  color: rgba(25, 36, 71, 0.9);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.22;
}

.help-card p,
.help-link-row p {
  margin: 0;
  color: rgba(25, 36, 71, 0.64);
  font-size: 14px;
  line-height: 1.7;
}

.help-link-row {
  padding: 16px 18px;
}

.help-figure {
  margin: 30px auto;
}

.help-figure img {
  display: block;
  width: min(100%, 420px);
  border-radius: 16px;
  background: rgba(255, 253, 250, 0.74);
  box-shadow: 0 0 0 1px rgba(25, 36, 71, 0.08), 0 20px 54px rgba(55, 68, 92, 0.16);
}

.help-figure-live2d img {
  width: min(100%, 340px);
}

.help-figure[class*="help-figure-onboarding-"] img {
  width: min(100%, 320px);
}

.help-figure figcaption {
  max-width: 520px;
  margin-top: 12px;
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.7;
}

.help-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 28px;
  background: rgba(255, 248, 233, 0.54);
  box-shadow: 0 0 0 1px rgba(25, 36, 71, 0.08);
}

.help-article th,
.help-article td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(25, 36, 71, 0.08);
  text-align: left;
  vertical-align: top;
}

.help-article th {
  color: rgba(25, 36, 71, 0.88);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.help-note {
  margin: 24px 0;
  padding: 18px 20px;
  color: rgba(25, 36, 71, 0.72);
  background: rgba(123, 216, 205, 0.16);
  box-shadow: 0 0 0 1px rgba(22, 125, 119, 0.12);
  font-size: 15px;
  line-height: 1.75;
}

.help-article blockquote.help-note {
  border: 0;
}

.help-warning {
  margin: 24px 0;
  padding: 18px 20px;
  color: rgba(25, 36, 71, 0.72);
  background: rgba(220, 184, 106, 0.18);
  box-shadow: 0 0 0 1px rgba(122, 87, 55, 0.12);
  font-size: 15px;
  line-height: 1.75;
}

.help-bottom-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

: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,
  .together-layout,
  .shared-day-head,
  .memory-layout,
  .relationship-layout,
  .privacy-layout,
  .download-panel,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .together-copy,
  .memory-copy,
  .relationship-copy {
    max-width: 720px;
  }

  .presence-stage {
    width: min(620px, 100%);
    min-height: 820px;
    margin: 12px auto 0;
  }

  .day-ribbon {
    min-height: 470px;
    gap: 18px;
  }

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

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

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

  .memory-stage {
    width: min(660px, 100%);
    min-height: 730px;
    margin: 10px auto 0;
  }

  .relationship-portrait {
    width: min(540px, 100%);
    margin: 0 auto;
  }

  .relationship-carousel {
    width: min(620px, 100%);
    margin: 0 auto;
  }

  .help-hero,
  .help-layout {
    grid-template-columns: 1fr;
  }

  .help-sidebar {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .mark {
    min-width: 98px;
  }

  .hero {
    min-height: 94svh;
  }

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

  .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,
  .shared-day-section,
  .relationship-section,
  .models-section,
  .privacy-section,
  .faq-section,
  .download-section {
    padding: 74px 0;
  }

  .together-section,
  .memory-section {
    padding: 76px 0 88px;
  }

  .presence-stage {
    min-height: 620px;
    padding: 0 12px 42px 34px;
  }

  .presence-window {
    width: 92%;
    border-radius: 15px;
  }

  .presence-live2d {
    left: 0;
    bottom: 36px;
    width: 118px;
  }

  .presence-stage > figcaption {
    max-width: 290px;
  }

  .day-ribbon {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: start;
    padding-left: 38px;
  }

  .day-ribbon::before {
    top: 12px;
    bottom: 14px;
    left: 20px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .day-moment {
    width: 100%;
    justify-items: start;
  }

  .day-stretch {
    margin: 0 0 0 10vw;
  }

  .day-nap {
    margin-left: 2vw;
  }

  .day-writing img,
  .day-stretch img,
  .day-nap img {
    width: min(230px, 78vw);
  }

  .day-time {
    top: 18px;
    left: -38px;
  }

  .memory-facts > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .memory-stage {
    min-height: 610px;
  }

  .memory-timeline {
    width: 74%;
  }

  .memory-summary {
    width: 64%;
  }

  .relationship-portrait {
    min-height: 460px;
  }

  .relationship-portrait img {
    width: min(190px, 58%);
  }

  .relationship-portrait figcaption {
    right: 3%;
  }

  .relationship-carousel-stage {
    min-height: 500px;
  }

  .relationship-slide {
    padding: 20px;
  }

  .relationship-slide-art img {
    width: min(340px, 88%);
  }

  .help-page {
    width: calc(100% - 28px);
    padding-top: 104px;
  }

  .help-topic-grid,
  .help-card-grid,
  .help-bottom-links,
  .help-sidebar {
    grid-template-columns: 1fr;
  }

  .help-path {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-path span {
    min-width: 0;
  }

  .help-article {
    padding: 24px 18px;
  }

  .help-title {
    font-size: clamp(40px, 13vw, 58px);
  }

  .help-figure,
  .help-figure figcaption {
    max-width: 100%;
  }

  .help-article table {
    display: block;
    overflow-x: auto;
  }
}

@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;
  }
}

/* Pocket Chief home: visual-novel marketing direction. */
.pocket-chief-home .hero {
  min-height: 100svh;
  background: #88d5fb;
}

.pocket-chief-home .hero-art {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.pocket-chief-home .hero-bg {
  position: absolute;
  inset: -1.5%;
  width: 103%;
  max-width: none;
  height: 103%;
  object-position: center;
  animation: hero-arrive 9s var(--ease-out) both;
}

.pocket-chief-home .hero-veil {
  background:
    linear-gradient(90deg, rgba(231, 247, 255, 0.84) 0%, rgba(231, 247, 255, 0.64) 28%, rgba(231, 247, 255, 0.12) 55%, transparent 72%),
    linear-gradient(0deg, rgba(18, 42, 77, 0.22) 0%, transparent 25%);
}

.pocket-chief-home .hero-copy {
  width: min(600px, 46vw);
  margin-left: clamp(68px, 11vw, 164px);
  padding-top: clamp(154px, 22vh, 226px);
  padding-bottom: 172px;
}

.pocket-chief-home .hero-copy .overline {
  margin-bottom: 22px;
  color: rgba(19, 60, 101, 0.72);
}

.pocket-chief-home .hero h1 {
  max-width: 680px;
  color: #18335f;
  font-size: clamp(64px, 7.5vw, 116px);
  text-shadow: 0 2px 28px rgba(255, 255, 255, 0.76);
}

.pocket-chief-home .hero-kicker {
  max-width: 570px;
  color: rgba(18, 42, 77, 0.92);
  font-size: clamp(25px, 2.45vw, 36px);
  line-height: 1.28;
}

.pocket-chief-home .hero-text {
  max-width: 520px;
  color: rgba(18, 42, 77, 0.74);
  line-height: 1.86;
}

.pocket-chief-home .hero .primary-action {
  color: #eff9ff;
  background: rgba(18, 42, 77, 0.94);
}

.pocket-chief-home .hero .quiet-action {
  color: rgba(18, 42, 77, 0.78);
  border-color: rgba(18, 42, 77, 0.26);
}

.pocket-chief-home .vertical-line {
  top: 18vh;
  left: clamp(20px, 4vw, 64px);
  color: rgba(18, 42, 77, 0.5);
  font-size: clamp(13px, 1.15vw, 17px);
  line-height: 1.7;
  letter-spacing: 0.16em;
}

.pocket-chief-home .hero-facts {
  color: rgba(17, 43, 76, 0.68);
}

.pocket-chief-home .hero-facts span {
  background: rgba(239, 249, 255, 0.64);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.morning-scene {
  position: relative;
  min-height: min(88svh, 900px);
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: 76px;
  background: #e9f5fb;
}

.morning-scene .scene-bg,
.morning-scene .scene-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.morning-scene .scene-bg {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.morning-scene .scene-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 253, 250, 0.38), transparent 55%),
    linear-gradient(0deg, rgba(19, 41, 73, 0.28), transparent 46%);
}

.morning-scene .scene-copy {
  position: absolute;
  left: clamp(20px, 6vw, 92px);
  bottom: clamp(24px, 7vw, 86px);
  width: min(560px, calc(100% - 40px));
  padding: clamp(24px, 3.5vw, 42px);
  color: rgba(25, 36, 71, 0.76);
  background: rgba(255, 253, 250, 0.82);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.62) inset, 0 30px 80px rgba(37, 56, 81, 0.18);
  backdrop-filter: blur(18px);
}

.scene-number {
  margin: 0 0 16px;
  color: var(--mint-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: lowercase;
}

.morning-scene h2 {
  max-width: 520px;
  font-size: clamp(38px, 4.8vw, 66px);
}

.morning-scene .scene-copy > p:not(.scene-number) {
  margin: 22px 0 0;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.9;
}

.morning-scene .scene-whisper {
  padding-top: 18px;
  border-top: 1px solid rgba(25, 36, 71, 0.12);
  color: rgba(25, 36, 71, 0.82);
  font-style: italic;
}

.pocket-chief-home .cinematic-day {
  padding-bottom: 0;
  background: #f7f1e5;
}

.cinematic-day .shared-day-head {
  padding-bottom: clamp(56px, 7vw, 92px);
}

.scene-stack {
  width: min(1480px, 100%);
  display: grid;
  gap: 1px;
  margin: 0 auto;
  background: rgba(25, 36, 71, 0.12);
}

.day-scene {
  position: relative;
  height: min(76svh, 820px);
  min-height: 560px;
  overflow: hidden;
  margin: 0;
  isolation: isolate;
  scroll-margin-top: 76px;
  background: var(--night);
}

.day-scene::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(9, 17, 32, 0.28), transparent 42%);
}

.day-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.8s var(--ease-out), filter 1.8s var(--ease-out);
}

.day-scene:hover img {
  transform: scale(1.015);
  filter: saturate(1.04);
}

.day-scene figcaption {
  position: absolute;
  z-index: 2;
  bottom: clamp(26px, 6vw, 74px);
  width: min(520px, calc(100% - 40px));
  padding: clamp(24px, 3.5vw, 42px);
  color: rgba(25, 36, 71, 0.82);
  background: rgba(255, 253, 250, 0.86);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.56) inset, 0 28px 72px rgba(5, 13, 28, 0.2);
  backdrop-filter: blur(16px);
}

.day-scene-afternoon figcaption,
.day-scene-night figcaption {
  right: clamp(20px, 6vw, 92px);
}

.day-scene-dusk figcaption {
  left: clamp(20px, 6vw, 92px);
}

.day-scene-night figcaption {
  color: rgba(243, 247, 255, 0.86);
  background: rgba(13, 24, 45, 0.78);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 28px 72px rgba(5, 13, 28, 0.32);
}

.day-scene figcaption span,
.day-scene figcaption strong,
.day-scene figcaption em {
  display: block;
}

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

.day-scene-night figcaption span {
  color: #8ce3d8;
}

.day-scene figcaption strong {
  margin-top: 14px;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.22;
  text-wrap: balance;
}

.day-scene figcaption em {
  margin-top: 18px;
  color: rgba(25, 36, 71, 0.62);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.7;
}

.day-scene-night figcaption em {
  color: rgba(243, 247, 255, 0.64);
}

@keyframes hero-arrive {
  from {
    transform: scale(1.045);
    filter: saturate(0.88) brightness(1.06);
  }
  to {
    transform: scale(1);
    filter: saturate(1) brightness(1);
  }
}

@media (max-width: 1000px) {
  .pocket-chief-home .hero-copy {
    width: min(610px, 76vw);
    margin-left: 24px;
  }

  .morning-scene .scene-bg {
    object-position: 84% center;
  }

  .day-scene-afternoon img {
    object-position: 5% center;
  }

  .day-scene-dusk img {
    object-position: 86% center;
  }

  .day-scene-night img {
    object-position: 4% center;
  }

  .pocket-chief-home .vertical-line {
    top: 108px;
    left: auto;
    right: 22px;
  }

  .day-scene {
    height: min(70svh, 720px);
  }
}

@media (max-width: 700px) {
  .pocket-chief-home .mark,
  .pocket-chief-home .lang-switch {
    flex-shrink: 0;
  }

  .pocket-chief-home .hero {
    min-height: 100svh;
  }

  .pocket-chief-home .hero-bg {
    object-position: 82% center;
  }

  .pocket-chief-home .hero-veil {
    background:
      linear-gradient(180deg, rgba(229, 246, 255, 0.94) 0%, rgba(229, 246, 255, 0.78) 33%, rgba(229, 246, 255, 0.08) 58%, rgba(17, 39, 70, 0.18) 100%);
  }

  .pocket-chief-home .hero-copy {
    width: calc(100% - 36px);
    margin-left: 18px;
    padding-top: 114px;
    padding-bottom: 290px;
  }

  .pocket-chief-home .hero h1 {
    max-width: 100%;
    font-size: clamp(48px, 14vw, 56px);
    letter-spacing: -0.025em;
    white-space: nowrap;
  }

  .pocket-chief-home .hero-kicker {
    max-width: 350px;
    margin-top: 22px;
    font-size: 23px;
  }

  .pocket-chief-home .hero-text {
    display: none;
  }

  .pocket-chief-home .hero-actions {
    margin-top: 24px;
  }

  .pocket-chief-home .vertical-line,
  .pocket-chief-home .hero-facts {
    display: none;
  }

  .morning-scene {
    min-height: 82svh;
  }

  .morning-scene .scene-bg {
    object-position: 82% center;
  }

  .morning-scene .scene-shade {
    background: linear-gradient(0deg, rgba(19, 41, 73, 0.38), transparent 62%);
  }

  .morning-scene .scene-copy {
    left: 18px;
    bottom: 18px;
    width: calc(100% - 36px);
    padding: 24px 22px;
  }

  .morning-scene h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .morning-scene .scene-copy > p:not(.scene-number) {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.72;
  }

  .pocket-chief-home .cinematic-day {
    padding-top: 82px;
  }

  .cinematic-day .shared-day-head {
    padding-bottom: 48px;
  }

  .day-scene {
    height: 72svh;
    min-height: 590px;
  }

  .day-scene-afternoon img {
    object-position: 5% center;
  }

  .day-scene-dusk img {
    object-position: 86% center;
  }

  .day-scene-night img {
    object-position: 4% center;
  }

  .day-scene figcaption,
  .day-scene-afternoon figcaption,
  .day-scene-dusk figcaption,
  .day-scene-night figcaption {
    right: 18px;
    bottom: 18px;
    left: 18px;
    width: auto;
    padding: 22px;
  }

  .day-scene figcaption strong {
    font-size: clamp(25px, 8vw, 34px);
  }
}

/* Product loop: the practical second screen beneath the cinematic hero. */
.product-overview-section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 78px;
  padding: clamp(92px, 10vw, 144px) 0 clamp(104px, 12vw, 170px);
  background:
    linear-gradient(180deg, rgba(223, 243, 255, 0.88) 0, rgba(255, 248, 233, 0.96) 128px, var(--paper) 100%),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(25, 36, 71, 0.04) 31px 32px);
}

.product-overview-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.68fr);
  gap: clamp(42px, 8vw, 112px);
  align-items: end;
}

.product-overview-intro > * {
  min-width: 0;
}

.product-overview-intro h2 {
  max-width: 780px;
  font-size: clamp(40px, 5.6vw, 76px);
}

.product-overview-lede > p:first-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.95;
}

.product-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.96fr 1.02fr 0.9fr;
  gap: clamp(16px, 2vw, 28px);
  width: min(1320px, calc(100% - 36px));
  margin: clamp(64px, 8vw, 106px) auto 0;
  align-items: start;
}

.product-showcase::before {
  content: "";
  position: absolute;
  top: 148px;
  right: -8vw;
  left: -8vw;
  height: 1px;
  background: rgba(22, 125, 119, 0.18);
}

.product-view {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
}

.product-view-timeline {
  margin-top: 82px;
}

.product-view-summary {
  margin-top: 28px;
}

.product-view-settings {
  margin-top: 116px;
}

.product-view img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #f5f6f3;
  box-shadow: var(--lift);
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}

.product-view:hover img {
  transform: translateY(-7px);
  box-shadow: 0 0 0 1px rgba(25, 36, 71, 0.08), 0 26px 60px rgba(55, 68, 92, 0.18);
}

.product-view figcaption {
  padding: 20px 4px 0;
}

.product-view figcaption span {
  color: var(--mint-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: lowercase;
}

.product-view figcaption h3 {
  margin: 10px 0 0;
  color: rgba(25, 36, 71, 0.9);
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 400;
  line-height: 1.22;
}

.models-section {
  position: relative;
  scroll-margin-top: 78px;
  padding: clamp(92px, 11vw, 154px) 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(126, 200, 243, 0.2), transparent 28%),
    linear-gradient(145deg, var(--paper), #edf7f8);
}

.pricing-vision > * {
  min-width: 0;
}

.pricing-vision {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(42px, 8vw, 112px);
}

.pricing-vision-copy h2 {
  max-width: 590px;
  margin: 0;
  color: rgba(25, 36, 71, 0.9);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 400;
  line-height: 1.14;
  text-wrap: balance;
}

.pricing-vision-copy > p:last-child {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.92;
}

.model-choice-list {
  margin: 0;
}

.model-choice-list > div {
  padding: 23px 0 25px;
  border-top: 1px solid rgba(25, 36, 71, 0.13);
}

.model-choice-list > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.model-choice-list dt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
}

.model-choice-list dt span {
  color: rgba(25, 36, 71, 0.9);
  font-size: clamp(20px, 2vw, 27px);
}

.model-choice-list dt strong {
  color: var(--mint-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: right;
}

.model-choice-list dd {
  max-width: 610px;
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.72;
}

.pricing-availability {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px 20px;
  border-left: 2px solid var(--mint-deep);
  color: rgba(25, 36, 71, 0.68);
  background: rgba(123, 216, 205, 0.11);
  font-size: 14px;
  line-height: 1.7;
}

.chief-records-section {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 11vw, 156px) 0;
  color: var(--cloud);
  background: var(--night);
}

.chief-records-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(520px, 1.08fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.chief-records-copy {
  position: relative;
  z-index: 5;
}

.chief-records-copy .section-label,
.chief-records-copy h2 {
  color: var(--cloud);
}

.chief-records-copy h2 {
  max-width: 660px;
  font-size: clamp(40px, 4.8vw, 68px);
}

.chief-records-copy > p:not(.section-label, .chief-records-note) {
  max-width: 560px;
  margin: 30px 0 0;
  color: rgba(255, 253, 250, 0.72);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 2;
}

.chief-records-download {
  display: inline-block;
  margin-top: 32px;
  color: var(--mint);
  border-bottom: 1px solid rgba(123, 216, 205, 0.44);
  font-size: 14px;
  line-height: 1.8;
}

.chief-records-download:hover,
.chief-records-download:focus-visible {
  color: var(--cloud);
}

.chief-records-note {
  max-width: 460px;
  margin: 40px 0 0;
  padding: 16px 18px;
  border-left: 2px solid var(--mint);
  color: rgba(255, 253, 250, 0.82);
  background: rgba(255, 253, 250, 0.055);
  box-shadow: 0 0 0 1px rgba(255, 253, 250, 0.08) inset;
  font-size: 15px;
  line-height: 1.72;
}

.chief-records-carousel {
  position: relative;
  width: min(640px, 100%);
  min-width: 0;
  margin: 0 auto;
}

.chief-records-stage {
  position: relative;
  min-height: 860px;
}

.chief-records-stage::before {
  content: "";
  position: absolute;
  top: 22%;
  right: -14%;
  left: -10%;
  height: 1px;
  background: rgba(123, 216, 205, 0.24);
}

.chief-records-stage::after {
  content: "";
  position: absolute;
  top: calc(22% - 4px);
  left: 4%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 7px rgba(123, 216, 205, 0.1);
}

.chief-record-card {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: min(410px, 72%);
  margin: 0;
  opacity: 0.18;
  pointer-events: none;
  transform: translateX(calc(-50% - 112px)) translateY(58px) rotate(-2.8deg) scale(0.88);
  transform-origin: 50% 18%;
  transition: opacity 260ms var(--ease-out), transform 280ms var(--ease-out), filter 260ms var(--ease-out);
}

.chief-record-card[data-position="1"] {
  z-index: 3;
  opacity: 0.5;
  filter: saturate(0.76);
  transform: translateX(calc(-50% + 92px)) translateY(34px) rotate(2deg) scale(0.92);
}

.chief-record-card[data-position="2"] {
  z-index: 2;
  opacity: 0.22;
  filter: saturate(0.62);
  transform: translateX(calc(-50% + 158px)) translateY(78px) rotate(3.4deg) scale(0.84);
}

.chief-record-card[data-position="3"] {
  z-index: 1;
  opacity: 0.18;
  filter: saturate(0.62);
}

.chief-record-card.is-active {
  z-index: 4;
  opacity: 1;
  filter: none;
  transform: translateX(-50%) rotate(-0.55deg) scale(1);
}

.chief-record-card img {
  width: 100%;
  height: auto;
  border-radius: 17px;
  background: var(--paper);
  box-shadow: var(--deep-lift);
  outline: 1px solid rgba(255, 255, 255, 0.12);
  outline-offset: -1px;
}

@media (max-width: 1000px) {
  .product-overview-intro,
  .pricing-vision {
    grid-template-columns: 1fr;
  }

  .product-overview-lede,
  .pricing-vision-copy {
    max-width: 720px;
  }

  .chief-records-layout {
    grid-template-columns: 1fr;
  }

  .chief-records-copy {
    max-width: 720px;
  }

  .chief-records-carousel {
    margin-top: 8px;
  }
}

@media (max-width: 700px) {
  .product-overview-section {
    padding: 82px 0 96px;
  }

  .product-overview-intro {
    gap: 30px;
  }

  .product-overview-intro h2 {
    font-size: clamp(36px, 9.6vw, 46px);
  }

  .product-showcase {
    display: flex;
    width: 100%;
    margin-top: 58px;
    padding: 0 18px 28px;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 18px;
    scroll-snap-type: inline mandatory;
  }

  .product-showcase::before {
    display: none;
  }

  .product-view,
  .product-view-timeline,
  .product-view-summary,
  .product-view-settings {
    flex: 0 0 min(302px, 80vw);
    margin-top: 0;
    scroll-snap-align: start;
  }

  .product-view figcaption {
    padding-right: 2px;
    padding-left: 2px;
  }

  .pricing-vision {
    gap: 48px;
  }

  .pricing-vision-copy h2 {
    font-size: clamp(35px, 10vw, 48px);
  }

  .model-choice-list dt {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .model-choice-list dt strong {
    text-align: left;
  }

  .chief-records-section {
    padding: 88px 0 78px;
  }

  .chief-records-layout {
    gap: 52px;
  }

  .chief-records-copy h2 {
    font-size: clamp(38px, 10.4vw, 50px);
  }

  .chief-records-copy > p:not(.section-label, .chief-records-note) {
    margin-top: 24px;
  }

  .chief-records-note {
    margin-top: 32px;
  }

  .chief-records-stage {
    min-height: 690px;
  }

  .chief-record-card {
    width: min(320px, 78vw);
    transform: translateX(calc(-50% - 48px)) translateY(38px) rotate(-2.4deg) scale(0.9);
  }

  .chief-record-card[data-position="1"] {
    transform: translateX(calc(-50% + 54px)) translateY(24px) rotate(1.8deg) scale(0.93);
  }

  .chief-record-card[data-position="2"] {
    transform: translateX(calc(-50% + 86px)) translateY(52px) rotate(3deg) scale(0.86);
  }
}

/* Legal pages keep the Pocket Chief workpaper character at reading scale. */
.legal-page {
  background:
    linear-gradient(to bottom, rgba(255, 253, 250, 0.88), rgba(255, 248, 233, 0.98) 360px),
    var(--paper);
}

.legal-page .site-nav,
.help-body .site-nav {
  background: rgba(255, 248, 233, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.lang-switch a {
  min-width: 44px;
  min-height: 44px;
}

.legal-main {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0 96px;
}

.legal-hero {
  margin-bottom: 48px;
}

.legal-hero h1 {
  max-width: 10ch;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.95;
  text-wrap: balance;
}

.legal-hero > p:last-child {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.legal-card {
  margin-bottom: 56px;
  padding: 32px 36px;
  background: rgba(255, 253, 250, 0.78);
  box-shadow: var(--lift);
}

.legal-card h2,
.legal-section h2 {
  color: var(--ink);
  font-weight: 400;
  text-wrap: balance;
}

.legal-card h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
}

.legal-card p,
.legal-card li,
.legal-section p,
.legal-section li {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.legal-card ul,
.legal-card ol,
.legal-section ul,
.legal-section ol {
  padding-left: 1.35em;
}

.legal-card li + li,
.legal-section li + li {
  margin-top: 8px;
}

.legal-section {
  margin-top: 52px;
}

.legal-section h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

.legal-section p {
  margin: 0 0 18px;
}

@media (max-width: 700px) {
  .legal-page .site-nav {
    gap: 12px;
    padding: 12px 18px;
  }

  .legal-page .nav-links {
    display: flex;
    gap: 0;
    padding: 0 6px;
    font-size: 13px;
  }

  .legal-page .nav-links a {
    min-width: auto;
    padding: 0 8px;
  }

  .legal-main {
    width: calc(100% - 36px);
    padding: 110px 0 72px;
  }

  .legal-hero {
    margin-bottom: 36px;
  }

  .legal-hero h1 {
    max-width: 100%;
    font-size: clamp(46px, 14vw, 62px);
    line-height: 0.94;
  }

  .legal-hero > p:last-child {
    font-size: 16px;
    line-height: 1.65;
  }

  .legal-card {
    margin-bottom: 44px;
    padding: 24px 22px;
  }

  .legal-card p,
  .legal-card li,
  .legal-section p,
  .legal-section li {
    font-size: 16px;
  }

  .legal-section {
    margin-top: 44px;
  }

  .legal-section h2 {
    font-size: clamp(28px, 9vw, 38px);
  }
}

/* Steam checkout returns to a quiet handoff surface, not the marketing page. */
.steam-return-page {
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(126, 200, 243, 0.26), transparent 34%),
    linear-gradient(145deg, var(--cloud) 0%, var(--paper) 58%, var(--paper-warm) 100%);
}

.return-nav {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(18px, 4vw, 54px);
}

.return-languages {
  display: flex;
  gap: 2px;
  padding: 4px;
  background: rgba(255, 253, 250, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.62) inset, 0 18px 42px rgba(38, 77, 117, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.return-languages button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 2px;
  color: var(--ink-faint);
  background: transparent;
  font: 500 12px/1 Georgia, "Times New Roman", serif;
  cursor: pointer;
  transition: color 160ms var(--ease-out), background 160ms var(--ease-out), transform 120ms var(--ease-out);
}

.return-languages button:hover,
.return-languages button:focus-visible,
.return-languages button[aria-pressed="true"] {
  color: var(--mint-deep);
  background: rgba(255, 255, 255, 0.58);
}

.return-languages button:focus-visible,
.return-support:focus-visible {
  outline: 2px solid var(--mint-deep);
  outline-offset: 3px;
}

.return-languages button:active,
.return-support:active {
  transform: scale(0.97);
}

.steam-return-main {
  width: min(1080px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 116px 0 52px;
  display: grid;
  place-items: center;
}

.steam-return-panel {
  position: relative;
  width: 100%;
  min-height: min(680px, calc(100svh - 168px));
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  overflow: hidden;
  background: rgba(255, 253, 250, 0.78);
  box-shadow: var(--deep-lift);
}

.steam-return-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.steam-return-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(44px, 7vw, 86px);
}

.return-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--mint-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.return-status > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(123, 216, 205, 0.18);
}

.steam-return-copy h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(48px, 5.5vw, 74px);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.return-title-line {
  display: inline-block;
  white-space: nowrap;
}

.return-lead {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
}

.return-steps {
  max-width: 520px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.return-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 8px 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

.return-steps li + li {
  border-top: 1px solid var(--line);
}

.return-steps span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--mint-deep);
  background: rgba(123, 216, 205, 0.15);
  border-radius: 50%;
  font: 600 13px/1 Georgia, "Times New Roman", serif;
  font-variant-numeric: tabular-nums;
}

.return-note {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--ink-faint);
  font-size: 14px;
  line-height: 1.65;
}

.return-support {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 20px;
  color: var(--ink-faint);
  font-size: 13px;
  transition: color 160ms var(--ease-out), transform 120ms var(--ease-out);
}

.return-support:hover {
  color: var(--mint-deep);
}

.return-support > span:first-child {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
}

.steam-return-chief {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(223, 243, 255, 0.74), rgba(255, 248, 233, 0.24)),
    var(--sky-pale);
}

.steam-return-chief::before {
  content: "";
  position: absolute;
  inset: 10% 10% 8%;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50% 50% 44% 56%;
  background: rgba(255, 255, 255, 0.2);
}

.steam-return-chief img {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -2%;
  width: min(390px, 92%);
  max-height: 94%;
  object-fit: contain;
  object-position: bottom center;
  transform: translateX(-50%);
  filter: drop-shadow(0 24px 28px rgba(25, 36, 71, 0.16));
}

.return-memo {
  position: absolute;
  z-index: 3;
  top: 10%;
  right: 7%;
  width: 112px;
  min-height: 112px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 14px;
  color: var(--ink-soft);
  background: rgba(255, 253, 250, 0.88);
  box-shadow: var(--lift);
  transform: rotate(3deg);
}

.return-memo span,
.return-memo small {
  font: 11px/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.return-memo strong {
  margin: 6px 0;
  color: var(--mint-deep);
  font: 400 32px/1 Georgia, "Times New Roman", serif;
}

.return-memo small {
  color: var(--ink-faint);
  font-size: 9px;
}

@media (max-width: 760px) {
  .return-nav {
    padding: 12px 18px;
  }

  .steam-return-main {
    width: calc(100% - 36px);
    padding: 92px 0 18px;
  }

  .steam-return-panel {
    min-height: calc(100svh - 110px);
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(238px, 34vh);
  }

  .steam-return-copy {
    padding: 34px 24px 28px;
  }

  .steam-return-copy h1 {
    max-width: 100%;
    font-size: clamp(42px, 12vw, 58px);
  }

  .return-lead {
    margin-top: 22px;
    font-size: 16px;
  }

  .return-steps {
    margin-top: 26px;
  }

  .steam-return-chief img {
    width: min(250px, 66vw);
    max-height: 100%;
  }

  .return-memo {
    top: 14%;
    right: 9%;
    width: 96px;
    min-height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .return-languages button,
  .return-support {
    transition: none;
  }
}

/* The desktop-pet and coding-agent states use the homepage's existing paper/sky layers. */
.desktop-section,
.agents-section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 78px;
}

.desktop-section {
  padding: clamp(92px, 11vw, 154px) 0 clamp(104px, 12vw, 170px);
  background:
    linear-gradient(180deg, rgba(255, 248, 233, 0.98), rgba(243, 234, 215, 0.74)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(25, 36, 71, 0.04) 31px 32px);
}

.desktop-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(42px, 8vw, 112px);
  align-items: end;
}

.desktop-intro h2 {
  max-width: 650px;
  font-size: clamp(40px, 5.4vw, 74px);
}

.desktop-intro > p,
.agents-lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.95;
}

.desktop-idle-stage {
  position: relative;
  width: min(1320px, calc(100% - 36px));
  margin: clamp(62px, 8vw, 102px) auto 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--sky-pale);
  box-shadow: var(--lift);
}

.desktop-idle-stage > img {
  display: block;
  width: 100%;
  height: auto;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}

.desktop-workspace {
  position: absolute;
  inset: 0;
  z-index: 1;
  color: #55483b;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  pointer-events: none;
}

.desktop-workspace::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(18, 27, 35, 0.36);
}

.desktop-work-window {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: clamp(8px, 1vw, 14px);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 20px 46px rgba(25, 45, 63, 0.19), 0 0 0 1px rgba(41, 54, 66, 0.08);
  backdrop-filter: blur(10px);
}

.desktop-work-bar {
  min-height: clamp(20px, 2.4vw, 34px);
  display: grid;
  grid-template-columns: 1fr minmax(0, auto) 1fr;
  align-items: center;
  padding: 0 clamp(7px, 0.8vw, 12px);
  border-bottom: 1px solid rgba(56, 42, 29, 0.1);
  background: rgba(250, 247, 240, 0.92);
}

.desktop-work-bar strong {
  overflow: hidden;
  color: #6f6255;
  font-size: clamp(7px, 0.72vw, 11px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-traffic,
.desktop-window-menu {
  display: flex;
  align-items: center;
  gap: clamp(3px, 0.35vw, 5px);
}

.desktop-traffic i {
  width: clamp(5px, 0.55vw, 8px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #d97861;
}

.desktop-traffic i:nth-child(2) { background: #e5b75f; }
.desktop-traffic i:nth-child(3) { background: #72b58f; }

.desktop-window-menu {
  justify-content: flex-end;
  color: rgba(56, 42, 29, 0.34);
  font-size: clamp(7px, 0.7vw, 10px);
  letter-spacing: 0.12em;
}

.desktop-work-editor {
  top: 7%;
  left: 3%;
  width: 65%;
  height: 66%;
}

.desktop-editor-body {
  height: calc(100% - clamp(20px, 2.4vw, 34px));
  display: grid;
  grid-template-columns: 22% 1fr;
}

.desktop-file-list {
  display: flex;
  flex-direction: column;
  gap: clamp(5px, 0.65vw, 10px);
  padding: clamp(10px, 1.3vw, 19px);
  background: rgba(244, 239, 228, 0.76);
  color: #75695c;
  font-size: clamp(7px, 0.72vw, 11px);
}

.desktop-file-list b { color: #44372a; }
.desktop-file-list span { padding-left: 12%; }
.desktop-file-list span:first-of-type {
  margin: 0 -6%;
  padding: 4% 6% 4% 18%;
  border-radius: 6px;
  color: var(--mint-deep);
  background: rgba(27, 124, 115, 0.12);
  font-weight: 700;
}

.desktop-editor-copy {
  display: grid;
  grid-template-columns: clamp(18px, 2.4vw, 34px) 1fr;
  align-content: start;
  gap: clamp(6px, 0.8vw, 12px) clamp(8px, 1vw, 15px);
  padding: clamp(14px, 2vw, 30px);
  background: rgba(255, 253, 248, 0.98);
}

.desktop-editor-copy > * { margin: 0; }
.desktop-editor-copy small {
  color: rgba(101, 89, 76, 0.42);
  font-size: clamp(6px, 0.65vw, 9px);
  text-align: right;
}

.desktop-editor-copy h4,
.desktop-editor-copy p { grid-column: 2; }
.desktop-editor-copy h4 {
  color: #44372a;
  font-size: clamp(12px, 1.5vw, 22px);
  line-height: 1.25;
}

.desktop-editor-copy p {
  color: var(--mint-deep);
  font-size: clamp(7px, 0.8vw, 12px);
  font-weight: 700;
  line-height: 1.5;
}

.desktop-work-assets {
  top: 12%;
  right: 3%;
  width: 31%;
  height: 48%;
  transform: rotate(0.2deg);
}

.desktop-asset-list { padding: clamp(8px, 1vw, 15px); }
.desktop-asset-list > div {
  min-height: clamp(36px, 5vw, 70px);
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: clamp(7px, 0.85vw, 13px);
  align-items: center;
  border-top: 1px solid rgba(56, 42, 29, 0.09);
}

.desktop-asset-list > div:first-child { border-top: 0; }
.desktop-asset-list > div > i {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  background: linear-gradient(150deg, #b9e2ff 0 46%, #fff1c6 47% 60%, #78baf0 61%);
}

.desktop-asset-list > div > i.is-paper {
  background: linear-gradient(110deg, #fffaf0, #efe3ca 58%, #b7ddd4 59% 65%, #fffaf0 66%);
}

.desktop-asset-list b,
.desktop-asset-list small { display: block; }
.desktop-asset-list b {
  color: #55483b;
  font-size: clamp(7px, 0.8vw, 12px);
}

.desktop-asset-list small {
  margin-top: 4px;
  color: var(--mint-deep);
  font-size: clamp(6px, 0.63vw, 9px);
}

.desktop-work-note {
  position: absolute;
  z-index: 1;
  right: 16%;
  bottom: 8%;
  width: 18%;
  padding: clamp(8px, 1vw, 15px);
  border-radius: 10px;
  color: #756247;
  background: rgba(255, 244, 199, 0.9);
  box-shadow: 0 12px 28px rgba(55, 68, 92, 0.16);
  transform: rotate(-1deg);
}

.desktop-work-note span,
.desktop-work-note strong { display: block; }
.desktop-work-note span {
  color: #9b8058;
  font-size: clamp(6px, 0.62vw, 9px);
}

.desktop-work-note strong {
  margin-top: 4px;
  font-size: clamp(7px, 0.78vw, 12px);
  line-height: 1.4;
}

.desktop-work-dock {
  position: absolute;
  z-index: 7;
  bottom: 1.5%;
  left: 50%;
  display: flex;
  gap: clamp(4px, 0.55vw, 8px);
  padding: clamp(4px, 0.5vw, 7px) clamp(7px, 0.8vw, 12px);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 12px;
  background: rgba(245, 249, 251, 0.68);
  box-shadow: 0 8px 24px rgba(23, 42, 58, 0.2);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.desktop-work-dock i {
  width: clamp(12px, 1.7vw, 24px);
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 25%;
  color: white;
  background: #6bb8e5;
  font-size: clamp(7px, 0.8vw, 11px);
  font-style: normal;
}

.desktop-work-dock i:nth-child(2) { background: #243a4f; }
.desktop-work-dock i:nth-child(3) { background: #f2bd52; }
.desktop-work-dock i.is-chief { background: #1c2437; }
.desktop-work-dock i:nth-child(5) { background: #e4aa42; }

.desktop-work-cursor {
  position: absolute;
  z-index: 6;
  bottom: 6%;
  left: 49%;
  width: 12px;
  height: 18px;
  background: #25394a;
  clip-path: polygon(0 0, 100% 62%, 56% 68%, 78% 100%, 61% 100%, 41% 72%, 0 100%);
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.8));
  transform: rotate(-12deg);
}

.desktop-chief-workbench {
  position: absolute;
  z-index: 4;
  top: 2.7%;
  left: 37.8%;
  width: 24.4%;
  height: 90.2%;
  object-fit: contain;
  object-position: top;
  border-radius: clamp(14px, 1.6vw, 22px);
  background: var(--paper);
  box-shadow: 0 30px 70px rgba(16, 29, 41, 0.34);
  outline: 1px solid rgba(255, 255, 255, 0.7);
  outline-offset: -1px;
}

.desktop-transition-chief {
  position: absolute;
  z-index: 5;
  bottom: 4.4%;
  left: 82.7%;
  width: 14.2%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(16, 29, 41, 0.3));
}

.agents-section {
  padding: clamp(94px, 11vw, 156px) 0;
  color: var(--cloud);
  background:
    radial-gradient(circle at 84% 18%, rgba(126, 200, 243, 0.25), transparent 28%),
    radial-gradient(circle at 12% 78%, rgba(123, 216, 205, 0.13), transparent 25%),
    linear-gradient(180deg, var(--night) 0%, #10182c 100%);
}

.agents-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.04fr);
  gap: clamp(46px, 8vw, 112px);
  align-items: center;
}

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

.agents-copy h2 {
  max-width: 670px;
  font-size: clamp(38px, 4.7vw, 66px);
}

.agents-lede {
  max-width: 650px;
  margin-top: 28px;
  color: rgba(255, 253, 250, 0.74);
}

.agents-help-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--mint);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: rgba(123, 216, 205, 0.42);
  text-underline-offset: 3px;
}

.agents-stage {
  position: relative;
  min-height: 780px;
  margin: 0;
}

.agents-terminal {
  position: absolute;
  top: 4%;
  right: 4%;
  left: 0;
  min-height: 350px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(7, 14, 29, 0.94);
  box-shadow: var(--deep-lift);
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -1px;
}

.agents-terminal-bar {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.agents-terminal-bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 253, 250, 0.22);
}

.agents-terminal-bar strong {
  margin-left: 8px;
  color: rgba(255, 253, 250, 0.54);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.agents-terminal code {
  display: grid;
  gap: 18px;
  padding: 34px 30px;
  color: rgba(226, 241, 244, 0.78);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.6;
}

.agents-terminal code span {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
}

.agents-terminal code b {
  color: var(--mint);
  font-weight: 400;
}

.agents-chief {
  position: absolute;
  z-index: 3;
  top: 58px;
  right: 0;
  width: min(420px, 72%);
  height: auto;
  filter: drop-shadow(0 28px 42px rgba(2, 8, 20, 0.38));
}

.agents-settings {
  position: absolute;
  z-index: 4;
  left: 2%;
  bottom: 48px;
  width: min(250px, 42%);
  max-height: 460px;
  object-fit: cover;
  object-position: top;
  border-radius: 15px;
  background: var(--paper);
  box-shadow: var(--deep-lift);
  outline: 1px solid rgba(255, 255, 255, 0.12);
  outline-offset: -1px;
  transform: rotate(-1.2deg);
}

.agents-stage figcaption {
  position: absolute;
  right: 2%;
  bottom: 20px;
  max-width: 310px;
  color: rgba(255, 253, 250, 0.44);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

@media (max-width: 1000px) {
  .desktop-intro,
  .agents-layout {
    grid-template-columns: 1fr;
  }

  .desktop-intro > p,
  .agents-copy {
    max-width: 720px;
  }

  .agents-stage {
    width: min(700px, 100%);
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 700px) {
  .desktop-section,
  .agents-section {
    padding: 82px 0 92px;
  }

  .desktop-intro,
  .agents-layout {
    gap: 34px;
  }

  .desktop-intro h2,
  .agents-copy h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .desktop-idle-stage {
    width: calc(100% - 24px);
    margin-top: 48px;
    border-radius: 15px;
  }

  .desktop-work-bar strong {
    font-size: 6px;
  }

  .desktop-editor-body {
    grid-template-columns: 1fr;
  }

  .desktop-file-list,
  .desktop-editor-copy small,
  .desktop-work-note,
  .desktop-work-cursor {
    display: none;
  }

  .desktop-editor-copy {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 9px;
  }

  .desktop-editor-copy h4,
  .desktop-editor-copy p {
    grid-column: 1;
  }

  .desktop-editor-copy h4 {
    font-size: 8px;
  }

  .desktop-editor-copy p,
  .desktop-asset-list b {
    font-size: 6px;
  }

  .desktop-asset-list {
    padding: 4px 6px;
  }

  .desktop-asset-list > div {
    min-height: 28px;
    gap: 5px;
  }

  .desktop-asset-list small {
    display: none;
  }

  .desktop-chief-workbench {
    border-radius: 8px;
  }

  .agents-stage {
    min-height: 630px;
  }

  .agents-terminal {
    right: 0;
    min-height: 310px;
  }

  .agents-terminal code {
    padding: 28px 20px;
  }

  .agents-chief {
    top: 72px;
    width: min(340px, 82%);
  }

  .agents-settings {
    bottom: 44px;
    width: min(190px, 50%);
    max-height: 360px;
  }

  .agents-stage figcaption {
    right: 0;
    bottom: 8px;
    max-width: 220px;
  }
}
