:root {
  color-scheme: light dark;
  --ink: #14312e;
  --muted: #59706c;
  --background: #f4f8f6;
  --surface: #ffffff;
  --surface-strong: #e2f3ed;
  --warm-surface: #fff4e5;
  --warm-accent: #98551f;
  --line: #d5e5df;
  --brand: #0d766b;
  --brand-dark: #07554f;
  --hero: #071f23;
  --hero-text: #effaf6;
  --hero-muted: #b5cec7;
  --mint: #72ddc8;
  --shadow: 0 24px 70px rgb(20 61 54 / 12%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #edf8f5;
    --muted: #afc7c2;
    --background: #061b1f;
    --surface: #0b292e;
    --surface-strong: #123a39;
    --warm-surface: #30271f;
    --warm-accent: #f1b76f;
    --line: #24484a;
    --brand: #70ddca;
    --brand-dark: #9cebdc;
    --shadow: 0 24px 70px rgb(0 0 0 / 28%);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: inherit; text-underline-offset: 0.22em; }
.site-header, main, footer { width: min(1160px, calc(100% - 2.5rem)); margin-inline: auto; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 84px;
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--ink); font-weight: 800; text-decoration: none; }
.brand img { border-radius: 0.85rem; box-shadow: 0 8px 22px rgb(0 0 0 / 14%); }
.brand small { margin-left: 0.25rem; color: var(--muted); font-size: 0.78em; font-weight: 650; }
nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 1.35rem; font-size: 0.92rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--brand); }
a:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; border-radius: 0.25rem; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  min-height: 680px;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 7rem);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 84% 15%, rgb(101 213 194 / 18%), transparent 28%),
    linear-gradient(145deg, #09292d, var(--hero));
  color: var(--hero-text);
  box-shadow: var(--shadow);
}
.hero::after {
  position: absolute;
  right: -9rem;
  bottom: -13rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgb(114 221 200 / 25%);
  border-radius: 50%;
  content: "";
}
.hero-copy, .care-preview { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 0.6rem; color: var(--brand); font-size: 0.82rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.hero .eyebrow { color: var(--mint); }
h1 { max-width: 13ch; margin: 0; font-size: clamp(2.7rem, 7vw, 5.6rem); line-height: 1.06; letter-spacing: -0.045em; }
.zh-headline { max-width: none; font-size: clamp(2.7rem, 5.2vw, 4.35rem); }
.headline-line { display: block; white-space: nowrap; }
.hero-lead { max-width: 34rem; margin: 1.6rem 0 0; color: var(--hero-muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.primary-action, .secondary-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
  font-weight: 800;
  text-decoration: none;
}
.primary-action { background: var(--mint); color: #052b29; }
.secondary-action { border: 1px solid rgb(237 248 245 / 32%); color: var(--hero-text); }
.availability { margin: 1rem 0 0; color: var(--hero-muted); font-size: 0.88rem; }
.care-preview {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 1.8rem;
  background: rgb(255 255 255 / 8%);
  box-shadow: 0 26px 60px rgb(0 0 0 / 24%);
  backdrop-filter: blur(16px);
}
.preview-top { display: flex; justify-content: space-between; gap: 1rem; color: var(--hero-muted); font-size: 0.8rem; }
.status-dot::before { display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.45rem; border-radius: 50%; background: #f5c06a; content: ""; }
.care-preview h2 { margin: 1.5rem 0 0; font-size: 1.55rem; }
.care-preview > p { margin: 0.2rem 0 0.75rem; color: var(--hero-muted); }
.progress { height: 0.45rem; margin-bottom: 1.6rem; overflow: hidden; border-radius: 99px; background: rgb(255 255 255 / 13%); }
.progress span { display: block; width: 60%; height: 100%; border-radius: inherit; background: var(--mint); }
.care-item { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 0; border-top: 1px solid rgb(255 255 255 / 10%); }
.care-item > span { display: grid; flex: 0 0 2.3rem; width: 2.3rem; height: 2.3rem; place-items: center; border-radius: 0.75rem; background: rgb(255 255 255 / 10%); color: var(--mint); font-weight: 850; }
.care-item.done > span { background: var(--mint); color: #063e38; }
.care-item strong, .care-item small { display: block; }
.care-item small { color: var(--hero-muted); }
.problem { max-width: 840px; margin: clamp(5rem, 10vw, 9rem) auto; text-align: center; }
.problem blockquote { margin: 0; font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 850; line-height: 1.2; letter-spacing: -0.035em; }
.problem > p:last-child { color: var(--muted); }
.story-panel {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  margin-bottom: clamp(5rem, 10vw, 9rem);
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: 2rem;
  background: var(--warm-surface);
}
.story-panel .eyebrow { color: var(--warm-accent); }
.pronunciation {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
}
.taiwanese-name { margin: 1rem 0 0; color: var(--warm-accent); font-weight: 800; }
.story-copy h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.2; letter-spacing: -0.03em; }
.story-copy p { color: var(--muted); }
.section-block { padding: 2rem 0 clamp(5rem, 10vw, 9rem); }
.section-heading { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.section-heading h2, .privacy-panel h2, .support-panel h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; letter-spacing: -0.035em; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.feature-grid article { min-height: 235px; padding: 2rem; border: 1px solid var(--line); border-radius: 1.4rem; background: var(--surface); }
.feature-number { color: var(--brand); font-weight: 850; }
.feature-grid h3 { margin: 2.8rem 0 0.55rem; font-size: 1.35rem; }
.feature-grid p { margin: 0; color: var(--muted); }
.privacy-panel, .support-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: clamp(2rem, 6vw, 5rem); border-radius: 2rem; }
.privacy-panel { background: var(--surface-strong); }
.privacy-copy { align-self: end; }
.privacy-copy p, .support-panel p { color: var(--muted); }
.privacy-copy a { color: var(--brand); font-weight: 800; }
.support-panel { grid-template-columns: 1fr; margin-top: 1rem; border: 1px solid var(--line); background: var(--surface); }
footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2.5rem 0 4rem; color: var(--muted); font-size: 0.9rem; }
footer div { display: flex; gap: 1.2rem; }

@media (max-width: 800px) {
  .site-header { align-items: flex-start; padding: 1rem 0; }
  nav { gap: 0.65rem 1rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 3rem 1.5rem; }
  .care-preview { max-width: 520px; }
  .section-heading, .story-panel, .privacy-panel, .support-panel { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header { display: block; }
  nav { justify-content: flex-start; margin-top: 1rem; }
  .hero { width: calc(100% + 1rem); margin-left: -0.5rem; border-radius: 1.4rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .privacy-panel, .support-panel { padding: 2rem 1.4rem; border-radius: 1.4rem; }
  .story-panel { padding: 2rem 1.4rem; border-radius: 1.4rem; }
  footer { display: block; }
}

@media (max-width: 420px) {
  .zh-headline { font-size: clamp(2.2rem, 10vw, 2.7rem); }
}

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