:root {
  --sand: #e8dcc7;
  --oat: #d4b895;
  --sage: #8b9d83;
  --clay: #b08b6e;
  --terracotta: #c66b3d;
  --ochre: #c08e3a;
  --moss: #606c38;
  --ink: #2f3327;
  --ink-soft: #4f5546;
  --line: rgba(47, 51, 39, 0.2);
  --radius: 28px;
  --page: min(1180px, calc(100vw - 40px));
  --display: Aptos, "Microsoft YaHei", system-ui, sans-serif;
  --body: Aptos, "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--sand);
  color: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.72;
  background: var(--sand);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 10px 16px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--sand);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(232, 220, 199, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  width: var(--page);
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 820;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--moss);
  color: var(--sand);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 16px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { background: var(--oat); color: var(--ink); }

.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.minute-rail {
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  z-index: 18;
  height: 4px;
  background: rgba(96, 108, 56, 0.16);
}

.minute-rail span {
  display: block;
  width: var(--read-progress, 0%);
  height: 100%;
  background: var(--terracotta);
  transition: width 120ms linear;
}

.minute-badge {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 17;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 220, 199, 0.55);
  border-radius: 50%;
  background: var(--moss);
  color: var(--sand);
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

main { overflow: clip; }
.page-shell { width: var(--page); margin: 0 auto; }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  gap: 32px;
  align-items: center;
  padding: 80px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.045em; line-height: 1.08; }

h1 {
  max-width: 820px;
  margin: 22px 0 24px;
  font-size: clamp(49px, 7vw, 94px);
  font-weight: 860;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.55;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 18px;
  background: var(--ink);
  color: var(--sand);
  text-decoration: none;
  font: 800 15px/1 var(--body);
  cursor: pointer;
  transition: transform 320ms ease, background 320ms ease, color 320ms ease;
}

.button:hover { transform: translateY(-2px); }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--oat); }

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.timer-orbit {
  position: absolute;
  width: min(440px, 90vw);
  aspect-ratio: 1;
  border: 1px solid var(--moss);
  border-radius: 50%;
  animation: breathe 4s ease-in-out infinite;
}
.timer-orbit::before,
.timer-orbit::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}
.timer-orbit::before { inset: 34px; border: 1px dashed var(--clay); }
.timer-orbit::after { width: 26px; height: 26px; right: 38px; top: 68px; background: var(--terracotta); }

.timer-card {
  position: relative;
  z-index: 2;
  width: min(332px, 76vw);
  padding: 34px;
  border-radius: 32px;
  background: var(--moss);
  color: var(--sand);
  text-align: center;
}

.timer-number { font-size: clamp(76px, 10vw, 126px); font-weight: 860; line-height: 0.85; letter-spacing: -0.08em; }
.timer-unit { margin-top: 16px; font-size: 15px; font-weight: 800; letter-spacing: 0.15em; }
.timer-note { margin: 24px 0 0; color: var(--sand); font-size: 15px; }

.duo-art {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 4px;
  width: 210px;
  filter: drop-shadow(0 14px 18px rgba(47, 51, 39, 0.18));
  animation: float 4.8s ease-in-out infinite;
}

.duo-portraits {
  position: relative;
  width: min(430px, 88vw);
  aspect-ratio: 1;
}

.duo-portraits img {
  position: absolute;
  width: 68%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 10px solid var(--sand);
  border-radius: 50%;
  box-shadow: 0 18px 38px rgba(47, 51, 39, 0.18);
}

.duo-portraits img:first-child { top: 0; left: 0; }
.duo-portraits img:last-child { right: 0; bottom: 0; }

.section { padding: 84px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: 36px; }
.section-head h2 { margin: 14px 0 16px; font-size: clamp(38px, 5vw, 64px); }
.section-head p { color: var(--ink-soft); font-size: 19px; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card {
  grid-column: span 4;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(212, 184, 149, 0.46);
}
.card.wide { grid-column: span 8; }
.card.full { grid-column: 1 / -1; }
.card.moss { background: var(--moss); color: var(--sand); }
.card.terracotta { background: var(--terracotta); color: var(--sand); }
.card h3 { margin: 0 0 14px; font-size: 27px; }
.card p:last-child { margin-bottom: 0; }
.card-label { margin-bottom: 36px; font-size: 12px; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.card-number { display: block; margin-bottom: 28px; font-size: 58px; font-weight: 860; line-height: 1; font-variant-numeric: tabular-nums; }

.steps { display: grid; gap: 14px; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(232, 220, 199, 0.7);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--moss);
  color: var(--sand);
  font-weight: 850;
}
.step h3 { margin: 3px 0 8px; font-size: 24px; }
.step p { margin-bottom: 0; color: var(--ink-soft); }

.compare-table { width: 100%; border-collapse: collapse; border-spacing: 0; }
.compare-table th,
.compare-table td { padding: 18px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table th { font-size: 13px; letter-spacing: 0.05em; }
.compare-table td:first-child { font-weight: 800; }

.proof-list { display: grid; gap: 12px; }
.proof-item {
  padding: 22px 24px;
  border-left: 5px solid var(--terracotta);
  border-radius: 0 22px 22px 0;
  background: rgba(212, 184, 149, 0.42);
}
.proof-item strong { display: block; margin-bottom: 5px; }
.proof-item a { text-underline-offset: 4px; }

.source-list { padding-left: 22px; }
.source-list li { margin-bottom: 10px; }
.source-list a { text-underline-offset: 4px; }

.faq-list { display: grid; gap: 12px; }
.faq-list details {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(212, 184, 149, 0.36);
}
.faq-list summary { cursor: pointer; font-weight: 820; }
.faq-list details p { margin: 14px 0 0; color: var(--ink-soft); }

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 38px;
  border-radius: 32px;
  background: var(--moss);
  color: var(--sand);
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(34px, 5vw, 58px); }
.cta-band p { margin: 0; max-width: 720px; }
.cta-band .button { border-color: var(--sand); background: var(--sand); color: var(--ink); }

.note {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(139, 157, 131, 0.28);
  color: var(--ink-soft);
  font-size: 15px;
}

.site-footer { padding: 50px 0 76px; border-top: 1px solid var(--line); }
.footer-grid { width: var(--page); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; gap: 10px 18px; }
.footer-links a { font-size: 14px; text-underline-offset: 4px; }
.footer-small { max-width: 740px; color: var(--ink-soft); font-size: 13px; }

dialog {
  width: min(560px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--sand);
  color: var(--ink);
}
dialog::backdrop { background: rgba(47, 51, 39, 0.72); backdrop-filter: blur(6px); }
.dialog-body { padding: 30px; }
.dialog-body h2 { font-size: 36px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

@keyframes breathe { 50% { transform: scale(1.025); } }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1deg); } }

@media (max-width: 880px) {
  :root { --page: min(100% - 28px, 720px); }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 74px;
    left: 14px;
    right: 14px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--sand);
  }
  .nav-links[data-open="true"] { display: grid; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 58px; }
  .hero-visual { min-height: 480px; }
  .card, .card.wide { grid-column: span 6; }
  .cta-band, .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(43px, 14vw, 66px); }
  .hero { padding: 48px 0 58px; }
  .hero-visual { min-height: 405px; }
  .timer-card { width: 264px; padding: 26px; }
  .duo-art { width: 158px; }
  .section { padding: 64px 0; }
  .card, .card.wide { grid-column: 1 / -1; min-height: auto; }
  .step { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 19px; }
  .step::before { width: 46px; height: 46px; }
  .compare-scroll { overflow-x: auto; }
  .compare-table { min-width: 670px; }
  .cta-band { padding: 28px; }
  .minute-badge { width: 56px; height: 56px; right: 10px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: 0.01ms !important; }
}

:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }
