@font-face {
  font-family: Island;
  src: url("assets/island-rounded.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
:root {
  --paper: #faf8ed;
  --sand: #deebe4;
  --ink: #294b3e;
  --muted: #526a5e;
  --brand: var(--ink);
  --honey: #dfba65;
  --line: #c2d3c8;
  --scene: var(--sand);
  --sage: #a8beb0;
  --display:
    Island, "Hiragino Maru Gothic ProN", "PingFang SC", ui-rounded, system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.8 "PingFang SC",
    system-ui,
    sans-serif;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #294b3e;
  outline-offset: 5px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
b,
.primary,
.secondary,
.island-home,
.speaker-name {
  font-family: var(--display);
  font-weight: 800;
}
h1,
h2,
h3 {
  line-height: 1.35;
}
img {
  max-width: 100%;
  height: auto;
}
.wrap {
  width: min(1040px, calc(100% - 64px));
  margin-inline: auto;
}
[data-lang] {
  display: none;
}
html[data-active="zh"] [data-lang="zh"],
html[data-active="en"] [data-lang="en"] {
  display: revert;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  background: var(--paper);
  padding: 10px 16px;
  border-radius: 14px;
}
.skip-link:focus {
  transform: none;
}
.island-nav {
  position: absolute;
  z-index: 5;
  top: 24px;
  left: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.island-home {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 0;
  text-decoration: none;
  font-size: 14px;
}
.island-home > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 30px;
  font-size: 20px;
}
.resident-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.resident-chip i {
  display: none;
}
.langbar {
  display: flex;
  gap: 4px;
}
.langbar button {
  border: 0;
  border-radius: 12px;
  min-width: 44px;
  height: 44px;
  background: none;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.langbar button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
}
.story-hero {
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 740px;
  max-height: 1000px;
  overflow: hidden;
  background: #d4e4d8;
}
.garden-scene {
  position: absolute;
  z-index: -1;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, calc((100svh - 100px) * 1.5));
  height: auto;
  aspect-ratio: 3 / 2;
  pointer-events: none;
  user-select: none;
  mask-image:
    linear-gradient(to right, transparent, #000 24%, #000 76%, transparent),
    linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
  max-width: none;
}
.hero-copy {
  position: absolute;
  top: 90px;
  left: 20px;
  right: 20px;
  text-align: center;
}
.hero-copy h1 {
  font-size: clamp(44px, 5.5vw, 76px);
  letter-spacing: -0.045em;
  margin: 0;
  color: var(--ink);
}
.hero-slogan {
  font-size: clamp(16px, 1.6vw, 20px);
  margin: 8px 0 0;
  font-weight: 500;
  color: var(--muted);
}
.welcome-dialogue {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 64px));
  padding: 24px 32px 28px;
  background: var(--paper);
  border-radius: 24px;
}
.speaker-name {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
}
.dialogue-copy {
  min-width: 0;
}
.dialogue-copy p {
  max-width: 64ch;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  padding: 10px 24px;
  background: var(--honey);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  transition: transform 0.15s;
}
.primary:hover {
  transform: translateY(-2px);
}
.primary:active {
  transform: translateY(2px);
}
.text-link {
  background: none;
  border: 0;
  padding: 10px 0;
  min-height: 44px;
  color: var(--muted);
  text-decoration: underline;
  font-size: 14px;
  font-weight: 500;
}
.scroll-cue {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
  padding: 5px 20px;
  color: var(--ink);
}
.journey {
  padding-block: 92px 70px;
}
.section-heading {
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
}
.eyebrow {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 8px;
}
.section-heading h2,
.privacy-story h2,
.download-band h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin: 0;
  letter-spacing: -0.03em;
}
.trail {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 36px;
}
.trail-stop {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 12px 22px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--muted);
  min-height: 56px;
}
.trail-stop i {
  font-style: normal;
  font-size: 20px;
  color: inherit;
}
.trail-stop b {
  font-size: 15px;
}
.trail-stop small {
  display: none;
}
.trail-stop[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}
.scene-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 54px;
  min-height: 320px;
}
.scene-card > div {
  min-width: 0;
}
.scene-kicker {
  color: var(--muted);
  margin: 0 0 10px;
  font-size: 13px;
}
.scene-card h3 {
  font-size: 27px;
  margin: 0 0 14px;
}
.scene-card p:last-child {
  color: var(--muted);
  margin: 0;
}
.scene-visual {
  background: var(--sand);
  padding: 28px;
  border-radius: 20px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.preview-caption {
  font-size: 11px;
  display: block;
  color: var(--muted);
  text-align: center;
  margin: 0;
}
.log-window {
  background: var(--ink);
  border-radius: 12px;
  overflow: hidden;
  color: var(--paper);
  font:
    13px/1.9 ui-monospace,
    SFMono-Regular,
    monospace;
}
.window-top {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--sand);
  font-size: 10px;
}
.window-top i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
}
.window-top span {
  margin-left: auto;
}
.log-lines {
  padding: 16px;
}
.log-lines p {
  margin: 0 0 8px !important;
  color: var(--paper) !important;
  font-size: 12px;
}
.log-lines time {
  color: var(--sage);
  margin-right: 8px;
}
.log-lines .cursor {
  color: var(--sand) !important;
}
.care-note {
  background: var(--paper);
  border-radius: 15px;
  padding: 20px;
  color: var(--ink);
}
.care-note > strong {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  margin-bottom: 10px;
}
.care-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  font-size: 14px;
}
.care-check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  flex-shrink: 0;
}
.care-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.breathe-circle {
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 10px solid #deebe4;
  border-radius: 50%;
  background: var(--sage);
  color: var(--ink);
  font-size: 16px;
}
.care-note > p {
  font-size: 13px;
  text-align: center;
}
.tool-section {
  padding-block: 30px 78px;
}
.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  row-gap: 0;
}
.tool-grid article {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 16px;
  align-content: start;
}
.tool-grid i {
  grid-row: 1/4;
  display: grid;
  place-items: center;
  background: var(--sage);
  border-radius: 12px;
  width: 48px;
  height: 48px;
  font-style: normal;
  font-weight: 800;
  color: var(--ink);
}
.tool-grid h3 {
  margin: 0 0 6px;
  font-size: 19px;
}
.tool-grid p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.privacy-story {
  background: var(--sand);
  border-radius: 24px;
  padding: 40px 48px;
  margin-block: 0 65px;
}
.privacy-story h2 {
  font-size: 28px;
}
.privacy-story p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  margin: 14px 0;
}
.privacy-story a {
  font-size: 14px;
  font-weight: 600;
}
.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 0 64px;
}
.download-band > div:first-child {
  max-width: 620px;
}
.download-band h2 {
  font-size: 29px;
}
.download-band p:not(.eyebrow) {
  font-size: 15px;
  color: var(--muted);
  margin: 12px 0 0;
}
.download-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.download-cta small {
  font-size: 12px;
  color: var(--muted);
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: 24px 36px;
  font-size: 13px;
  color: var(--muted);
  gap: 16px;
}
footer a {
  text-decoration: none;
}
footer p {
  margin: 0;
}
.policy-page {
  background: var(--sand);
}
.policy-page .island-nav {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  width: min(1040px, calc(100% - 48px));
  margin: 24px auto 0;
}
.policy-header {
  text-align: center;
  padding: 46px 20px 32px;
}
.policy-header img {
  width: 62px;
  height: 62px;
  border-radius: 19px;
}
.policy-header h1 {
  margin: 12px 0 0;
  font-size: 32px;
}
.policy-header p {
  color: var(--muted);
  margin: 4px 0;
}
.policy-content {
  max-width: 780px;
  margin: 0 auto 44px;
  padding: 40px 48px 48px;
  background: var(--paper);
  border-radius: 24px;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.policy-content h2 {
  font: 800 20px/1.5 var(--display);
  margin: 32px 0 10px;
}
.policy-content p {
  margin: 0 0 14px;
}
.policy-content ul {
  padding-left: 24px;
}
.policy-content li {
  margin-block: 8px;
}
.policy-content .meta,
.policy-content .date {
  font-size: 13px;
  color: var(--muted);
}
.policy-content .hl {
  padding: 20px 24px;
  background: var(--sand);
  border-radius: 18px;
  margin: 20px 0;
  font-weight: 600;
}
.policy-page footer {
  width: min(780px, calc(100% - 48px));
  margin: auto;
}
@media (min-width: 1500px) {
  .hero-copy {
    top: 110px;
  }
  .story-hero {
    max-height: 1100px;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .island-nav {
    top: 18px;
    left: 20px;
    right: 20px;
  }
  .resident-chip {
    display: none;
  }
  .story-hero {
    min-height: 740px;
    max-height: 980px;
  }
  .garden-scene {
    width: min(1100px, 145vw);
  }
  .hero-copy {
    top: 110px;
  }
  .hero-copy h1 {
    font-size: 54px;
  }
  .hero-slogan {
    font-size: 17px;
  }
  .welcome-dialogue {
    width: calc(100% - 40px);
    padding: 24px 28px;
  }
  .scene-card {
    gap: 28px;
    grid-template-columns: 1fr 1fr;
  }
  .scene-card h3 {
    font-size: 23px;
  }
  .scene-visual {
    padding: 14px;
  }
  .tool-grid {
    column-gap: 30px;
  }
  .privacy-story {
    padding: 32px;
  }
  .download-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .download-cta {
    align-items: flex-start;
  }
  .policy-content {
    margin-inline: 20px;
    padding: 32px;
  }
  .policy-page .island-nav {
    width: calc(100% - 40px);
  }
}
@media (max-width: 560px) {
  .story-hero {
    height: 100svh;
    min-height: 740px;
    max-height: 980px;
  }
  .garden-scene {
    width: min(760px, 200vw);
    height: auto;
    top: 150px;
    mask-image: linear-gradient(
      to bottom,
      transparent,
      #000 8%,
      #000 90%,
      transparent
    );
    mask-composite: add;
  }
  .hero-copy {
    top: 105px;
  }
  .hero-copy h1 {
    font-size: 46px;
  }
  .hero-slogan {
    font-size: 15px;
  }
  .welcome-dialogue {
    bottom: 47px;
    padding: 22px;
    border-radius: 22px;
  }
  .dialogue-copy p {
    font-size: 14px;
    line-height: 1.85;
  }
  .hero-actions {
    gap: 8px 18px;
  }
  .primary {
    font-size: 13px;
    min-height: 44px;
    padding: 9px 18px;
  }
  .text-link {
    font-size: 12px;
  }
  .speaker-name {
    font-size: 12px;
  }
  .island-home {
    font-size: 13px;
    gap: 7px;
  }
  .island-home > span {
    width: 28px;
    height: 28px;
  }
  .langbar button {
    min-width: 44px;
    height: 44px;
  }
  .journey {
    padding-block: 58px 42px;
  }
  .section-heading {
    margin-bottom: 26px;
  }
  .section-heading h2 {
    font-size: 27px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .trail {
    gap: 8px;
    margin-bottom: 20px;
  }
  .trail-stop {
    padding: 10px 13px;
    gap: 6px;
    min-height: 48px;
  }
  .trail-stop b {
    font-size: 13px;
  }
  .trail-stop i {
    font-size: 17px;
  }
  .scene-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .scene-visual {
    padding: 20px;
    min-height: 210px;
  }
  .scene-card h3 {
    font-size: 24px;
  }
  .scene-card p:last-child {
    font-size: 15px;
  }
  .tool-section {
    padding-block: 24px 40px;
  }
  .tool-grid {
    grid-template-columns: 1fr;
  }
  .tool-grid article {
    padding: 22px 0;
  }
  .privacy-story {
    padding: 28px;
    margin-bottom: 46px;
    border-radius: 22px;
  }
  .privacy-story h2 {
    font-size: 26px;
  }
  .download-band {
    padding-bottom: 40px;
  }
  .download-band h2 {
    font-size: 26px;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 24px;
  }
  .policy-header {
    padding-top: 32px;
  }
  .policy-header h1 {
    font-size: 27px;
  }
  .policy-content {
    margin-inline: 14px;
    padding: 26px 22px;
    font-size: 15px;
  }
  .policy-content .hl {
    padding: 16px;
  }
  .policy-content h2 {
    font-size: 19px;
  }
  .policy-page footer {
    width: calc(100% - 40px);
  }
}
@media (max-width: 360px) {
  .island-nav {
    left: 14px;
    right: 14px;
  }
  .wrap {
    width: calc(100% - 28px);
  }
  .welcome-dialogue {
    width: calc(100% - 28px);
    padding: 22px 20px;
  }
  .hero-copy h1 {
    font-size: 40px;
  }
  .hero-slogan {
    font-size: 14px;
  }
  .trail-stop {
    padding: 10px;
  }
  .trail-stop i {
    display: none;
  }
}
@media (max-width: 560px) and (max-height: 680px) {
  .story-hero {
    min-height: 560px;
  }
  .hero-copy {
    top: 82px;
  }
  .hero-copy h1 {
    font-size: 36px;
  }
  .hero-slogan {
    font-size: 13px;
    margin-top: 4px;
  }
  .garden-scene {
    width: 480px;
    top: 85px;
  }
  .welcome-dialogue {
    bottom: 35px;
    padding: 18px 20px;
    border-radius: 20px;
  }
  .dialogue-copy p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 10px;
  }
  .speaker-name {
    font-size: 11px;
    margin-bottom: 7px;
  }
  .hero-actions .text-link {
    display: none;
  }
  .hero-actions .primary {
    min-height: 42px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
