:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --accent: #ea580c;
  --accent-dark: #c2410c;
  --link: #a6380b;
  --warm: #fff7ed;
  --paper: #fcf9f5;
  --face: "DM Sans", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.55 var(--face); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:where(a, summary):focus-visible { outline: 3px solid #0369a1; outline-offset: 4px; }
.wrap { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.site-head { position: sticky; top: 0; z-index: 2; background: #fff; border-bottom: 1px solid var(--line); }
.head-inner { min-height: 68px; display: flex; align-items: center; gap: 22px; }
.brand img { height: 30px; width: auto; }
.head-sections, .head-auth { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 14px; }
.head-sections { margin-left: auto; }
.head-sections a, .head-auth a { display: block; padding-block: 8px; }
.head-sections a:hover, .head-auth a:hover { color: var(--ink); }
.head-auth .register, .action { color: #fff; background: var(--accent); border-radius: 999px; font-weight: 700; }
.head-auth .register { padding: 8px 15px; }
.head-auth .register:hover, .action:hover { color: #fff; background: var(--accent-dark); }
.hero-band { background: linear-gradient(180deg, var(--warm), #fffaf4 68%, #fff); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr); align-items: center; gap: clamp(30px,5vw,74px); padding-block: clamp(38px,5.5vw,82px); }
.eyebrow { display: inline-block; margin-bottom: 16px; padding: 5px 12px; border-radius: 99px; background: #ffebd8; color: var(--link); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow:hover { text-decoration: underline; }
h1 { font-size: clamp(39px,4.65vw,63px); line-height: 1.05; letter-spacing: -.055em; text-wrap: balance; }
h1 span { color: var(--accent); }
.lead { max-width: 520px; margin: 20px 0 24px; color: var(--muted); font-size: 19px; line-height: 1.55; }
.action { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 22px; font-size: 19px; }
.action span { font-size: 20px; line-height: 1; }

.report-frame { padding: clamp(12px,2.1vw,26px); background: #faeddf; border-radius: 22px; }
.report-preview { padding: clamp(14px,1.9vw,23px); border-radius: 15px; background: #fff; box-shadow: 0 14px 34px -22px #7d4828; }
.report-preview h2 { font-size: clamp(18px,2vw,24px); line-height: 1.22; letter-spacing: -.035em; }
.report-period { margin-top: 4px; color: var(--muted); font-size: 13px; }
.sample-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding-block: 16px; margin-block: 12px; border-block: 1px solid var(--line); }
.sample-metrics dt { color: var(--muted); font-size: clamp(11px,1.2vw,13px); line-height: 1.25; }
.metric-value { margin-block: 3px 0; font-size: clamp(18px,2.1vw,27px); letter-spacing: -.045em; font-weight: 700; white-space: nowrap; }
.metric-detail { color: #875039; font-size: 11px; line-height: 1.25; }
.chart-title { font-size: 13px; font-weight: 700; }
.chart { display: grid; grid-template-columns: repeat(7,1fr); align-items: end; gap: clamp(7px,1.2vw,14px); height: 94px; margin-top: 9px; border-bottom: 1px solid #d9e3eb; background: repeating-linear-gradient(to top, transparent 0, transparent 22px, #eef3f8 22px, #eef3f8 23px); }
.chart span { display: block; height: var(--height); border-radius: 5px 5px 0 0; background: #9db5cb; }
.chart span:nth-child(6) { background: #f28c38; }
.chart-days { display: grid; grid-template-columns: repeat(7,1fr); gap: clamp(7px,1.2vw,14px); margin-top: 5px; text-align: center; color: var(--muted); font-size: 11px; }
.report-note { margin-top: 13px; color: #5f4738; font-size: 12px; line-height: 1.4; }

.guide-index { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding-block: 19px; border-block: 1px solid var(--line); }
.guide-index a { display: grid; align-content: start; gap: 5px; padding: 8px 37px 8px 23px; position: relative; }
.guide-index a:first-child { padding-left: 0; }
.guide-index a + a { border-left: 1px solid var(--line); }
.guide-index a::after { content: "↓"; position: absolute; right: 14px; top: 8px; color: var(--link); }
.guide-index a:hover strong { color: var(--link); }
.guide-index strong { font-size: 17px; line-height: 1.32; }
.guide-index span { font-size: 14px; line-height: 1.4; color: var(--muted); }

.story, .details-band { padding-block: clamp(37px,5vw,66px); scroll-margin-top: 100px; }
.story { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.78fr); align-items: start; gap: clamp(25px,6vw,100px); }
.band { background: var(--paper); border-block: 1px solid #f1eae1; }
.section-title { font-size: clamp(27px,3.2vw,37px); line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
.story-copy p, .details-band p, .setup-list { margin-top: 13px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.prompt-panel { padding: 21px 23px; background: #edf3f8; border-radius: 16px; }
.prompt-panel h3 { font-size: 16px; }
.prompt-panel p { margin-block: 8px 11px; color: #233950; line-height: 1.55; }
.text-link { display: inline-block; color: var(--link); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }
.setup-list { padding-left: 1.6em; }
.setup-list li + li { margin-top: 9px; }
.setup-list li::marker { color: var(--link); font-weight: 700; }
.faq { margin-top: 20px; max-width: 770px; }
.faq details { border-top: 1px solid #d8dfe7; }
.faq details:last-child { border-bottom: 1px solid #d8dfe7; }
.faq summary { min-height: 47px; padding-block: 12px; font-weight: 700; cursor: pointer; }
.faq details p { margin: 0 0 15px; }
.related { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-block: 48px; padding: 30px 34px; background: var(--warm); border-radius: 20px; }
.closing p { margin-top: 7px; color: var(--muted); }
.closing .action { flex-shrink: 0; }

@media (max-width: 760px) {
  .wrap { width: min(540px,calc(100% - 36px)); }
  .head-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding-top: 7px; }
  .brand img { height: 24px; }
  .head-auth { grid-column: 2; grid-row: 1; gap: 9px; }
  .head-auth .register { padding-inline: 11px; }
  .head-sections { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 6px; margin: 3px 0 0; font-size: 12px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; padding-block: 30px 24px; }
  h1 { font-size: clamp(36px,10.5vw,55px); }
  .lead { margin: 15px 0 18px; font-size: 17px; }
  .report-frame { border-radius: 15px; }
  .guide-index { grid-template-columns: 1fr; padding: 0; }
  .guide-index a, .guide-index a:first-child { padding: 12px 29px 12px 0; }
  .guide-index a + a { border-top: 1px solid var(--line); border-left: 0; }
  .guide-index a::after { right: 5px; top: 12px; }
  .story { grid-template-columns: 1fr; gap: 16px; }
  .closing { flex-direction: column; align-items: start; padding: 24px; margin-block: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
