@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 400; font-display: swap; src: url(/fonts/atkinson-400.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 700; font-display: swap; src: url(/fonts/atkinson-700.woff2) format('woff2'); }
@font-face { font-family: 'Big Shoulders Display'; font-weight: 800; font-display: swap; src: url(/fonts/big-shoulders-800.woff2) format('woff2'); }
@font-face { font-family: 'Big Shoulders Display'; font-weight: 900; font-display: swap; src: url(/fonts/big-shoulders-900.woff2) format('woff2'); }

:root {
  --pitch: #1d5c3a; --pitch-stripe: #236b44; --pitch-deep: #134229;
  --mist: #e9efe4; --chalk: #fbfcf8; --ink: #13233f; --ink-soft: #4b5a73; --line: #d3dccd;
  --cone: #ff7a1a; --cone-deep: #e05f00;
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Atkinson Hyperlegible', system-ui, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 1.0625rem/1.6 var(--body); color: var(--ink); background: var(--chalk); -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; }
a { color: var(--pitch); }
:focus-visible { outline: 3px solid var(--cone); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; }
h1, h2 { font-family: var(--display); font-weight: 900; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.3rem, 7vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
.small { font-size: 0.9rem; color: var(--ink-soft); }
.skip { position: absolute; left: -999px; top: 0; background: var(--cone); color: var(--ink); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--chalk); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-block: 6px; }
.logo { font-family: var(--display); font-weight: 900; font-size: 1.8rem; letter-spacing: 0.04em; color: var(--pitch); text-decoration: none; }
.nav { display: flex; gap: 4px 16px; flex-wrap: wrap; flex: 1; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 4px; font-weight: 700; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--pitch); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; text-decoration-color: var(--cone); }
.top-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang { color: var(--ink-soft); text-decoration: none; font-weight: 700; padding: 8px 4px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 14px; background: var(--cone); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: 0 3px 0 var(--cone-deep); border: 0; font-size: 1.05rem; }
.btn:hover { background: #ff8a35; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--cone-deep); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 0.95rem; }
.btn-ghost { background: transparent; box-shadow: none; border: 2px solid currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* hero */
.hero { color: #fff; background: repeating-linear-gradient(90deg, var(--pitch) 0 56px, var(--pitch-stripe) 56px 112px); padding: 56px 0 64px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.25rem; max-width: 36em; }
.hero-inner { display: grid; gap: 40px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-small { padding: 44px 0 48px; }
.hero-small .small { color: #d7e8dc; margin-top: 16px; }
.hero .btn-ghost { color: #fff; }

/* sections */
.section { padding: 56px 0; }
.alt { background: var(--mist); }
.two { display: grid; gap: 32px; }
.cards { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.card p { margin: 0; color: var(--ink-soft); }
.card-link { display: flex; flex-direction: column; gap: 12px; }
.card-link a { margin-top: auto; font-weight: 700; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; counter-reset: s; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps .n { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--pitch); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 1.5rem; }
.steps p { margin: 0; color: var(--ink-soft); }
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
details p { color: var(--ink-soft); }
.cta { background: var(--pitch); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #e0efe5; }
.notice { background: #fff4e8; border: 1px solid #ffd2ad; border-radius: 14px; padding: 12px 16px; }
.devices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 16px; }
.device h2 { font-size: 1.5rem; }
.device ol { padding-left: 1.2em; margin: 0 0 12px; }
.device li { margin-bottom: 6px; }
.device-me { border: 3px solid var(--cone); }

/* the drawn app */
.mock { display: flex; gap: 16px; align-items: flex-end; justify-content: center; flex-wrap: wrap; }
.pcard { width: 220px; border-radius: 22px; padding: 16px 18px 18px; color: var(--ink); background: linear-gradient(160deg, #eef0f2, #c9ced4 55%, #e6e9ec); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3); text-align: center; }
.pcard-top { display: flex; justify-content: space-between; align-items: baseline; }
.overall { font-family: var(--display); font-weight: 900; font-size: 3rem; line-height: 1; }
.tier { font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; }
.face { margin: 2px 0 4px; }
.pname { font-family: var(--display); font-weight: 900; font-size: 1.6rem; letter-spacing: 0.08em; border-bottom: 2px solid rgba(19, 35, 63, 0.25); padding-bottom: 4px; }
.stats { margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px 8px; }
.stats div { display: flex; gap: 6px; justify-content: center; align-items: baseline; }
.stats dt { font-size: 0.7rem; font-weight: 700; color: var(--ink-soft); }
.stats dd { margin: 0; font-family: var(--display); font-weight: 900; font-size: 1.25rem; }
.plan { width: 220px; background: var(--chalk); color: var(--ink); border-radius: 22px; padding: 14px; display: grid; gap: 8px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25); }
.plan-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 700; font-size: 0.95rem; }
.plan-row .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 0.8rem; flex: none; }
.plan-row.done .dot { background: var(--pitch); border-color: var(--pitch); color: #fff; }
.streak { text-align: center; font-weight: 700; color: var(--cone-deep); }

/* footer */
.foot { background: var(--pitch-deep); color: #dbe9e0; padding: 40px 0; }
.foot a { color: #fff; }
.foot .logo { color: #fff; }
.foot-inner { display: grid; gap: 24px; }
.foot nav { display: flex; flex-direction: column; gap: 4px; }
.foot nav a { text-decoration: none; padding: 4px 0; }
.foot nav a:hover { text-decoration: underline; }
.foot .small { color: #b7cfc0; }

@media (min-width: 760px) {
  .hero-inner { grid-template-columns: 1.1fr 1fr; }
  .two { grid-template-columns: 1fr 1fr; }
  .foot-inner { grid-template-columns: 2fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.nf { padding: 64px 0; }
