/* GoalRuler funnel pages (6 Dec 2026). Same design system as the TP slides: navy, blue, Inter + Space Grotesk. Mobile first. */
:root {
  --navy: #0f2a4a; --navy2: #163a61; --line-dark: #26507e; --blue: #1a5fd6; --blue-light: #6fa6ff;
  --bg: #f5f7fb; --card: #fcfdfe; --line: #d3dce8; --text: #4a5568; --muted: #8a97ab; --soft: #c9d8f0;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 'Inter', system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; color: var(--navy); font-weight: 500; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(34px, 7vw, 60px); line-height: 1.07; }
h2 { font-size: clamp(27px, 4.6vw, 40px); line-height: 1.12; }
h3 { font-size: 21px; line-height: 1.25; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.label { font: 600 13px/1.2 'Inter'; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.dark { background: var(--navy); color: var(--soft); }
.dark h1, .dark h2, .dark h3 { color: #f5f7fb; }
.dark .label { color: var(--blue-light); }
.lead { font-size: clamp(18px, 2.4vw, 21px); line-height: 1.55; margin-top: 18px; max-width: 700px; }
.dark .lead { color: var(--soft); }
section { padding: 64px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--blue); color: #fff; text-decoration: none; border: 0; border-radius: 12px;
  padding: 17px 28px; font: 600 18px/1 'Inter'; cursor: pointer; }
.btn:hover { background: #1550b8; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.small { font-size: 14px; color: var(--muted); }
.dark .small { color: #8fa6c8; }

/* top bar */
.top { padding: 18px 0; }
.top .wrap { display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 600 18px/1 'Space Grotesk'; color: #f5f7fb; }
.brand img { width: 38px; height: 38px; border-radius: 50%; background: #fff; object-fit: contain; padding: 4px; }
.top.light .brand { color: var(--navy); }

/* hero */
.hero { padding: 26px 0 70px; }
.hero .grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-top: 16px; }
.hero .cta { margin-top: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.stack { position: relative; max-width: 440px; margin: 0 auto; }
.stack img { border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.stack img + img { position: absolute; width: 62%; right: -6%; bottom: -8%; }
.tag { display: inline-block; margin-top: 26px; font-size: 13px; color: #8fa6c8; }
@media (min-width: 900px) { .hero .grid { grid-template-columns: 1.15fr 0.85fr; } }

/* cards */
.cards { display: grid; gap: 18px; margin-top: 34px; }
@media (min-width: 760px) { .cards.c2 { grid-template-columns: 1fr 1fr; } .cards.c3 { grid-template-columns: repeat(3, 1fr); } .cards.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards.c4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 24px 24px 26px; }
.card .bar { width: 48px; height: 5px; border-radius: 3px; background: var(--blue); margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.dark .card { background: var(--navy2); border-color: var(--line-dark); }
.dark .card p { color: var(--soft); }

/* pains */
.pains { display: grid; gap: 14px; margin-top: 30px; }
.pain { background: var(--card); border-left: 5px solid #d9473f; border-radius: 10px; padding: 18px 22px; font-size: 19px; color: var(--navy); }
.punch { margin-top: 28px; font: 500 24px/1.35 'Space Grotesk'; color: var(--navy); }

/* fit lists */
.fit { display: grid; gap: 18px; margin-top: 30px; }
@media (min-width: 760px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit ul { margin: 12px 0 0; padding: 0; list-style: none; }
.fit li { padding: 8px 0 8px 32px; position: relative; border-bottom: 1px solid var(--line); }
.fit li:last-child { border-bottom: 0; }
.fit .yes li::before { content: '✓'; position: absolute; left: 4px; color: #13a06f; font-weight: 700; }
.fit .no li::before { content: '✕'; position: absolute; left: 4px; color: #d9473f; font-weight: 700; }

/* steps */
.steps { counter-reset: s; margin-top: 30px; display: grid; gap: 14px; }
.step { counter-increment: s; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 20px 22px 20px 74px; position: relative; }
.step::before { content: counter(s); position: absolute; left: 22px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff;
  font: 600 17px/36px 'Inter'; text-align: center; }
.step h3 { font-size: 19px; margin-bottom: 4px; }

/* folder list */
.folder { margin-top: 30px; display: grid; gap: 12px; }
.folder div { background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.folder b { color: var(--navy); }

/* sample gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(5, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { border-radius: 8px; border: 1.5px solid var(--line); }
.gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.wide-shot { margin-top: 30px; border-radius: 12px; border: 1.5px solid var(--line); }

/* forms */
.formcard { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 26px 22px; color: var(--text); }
.formcard h2, .formcard h3 { color: var(--navy); }
.formcard .label { color: var(--blue); }
.formcard .small { color: var(--muted); }
.field { margin-top: 16px; }
.field:first-child { margin-top: 0; }
.field label, .legend { display: block; font: 600 15px/1.3 'Inter'; color: var(--navy); margin-bottom: 7px; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 5px; }
input, select, textarea { width: 100%; font: 400 17px/1.3 'Inter'; color: var(--navy); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.formcard .btn { width: 100%; margin-top: 22px; }
.err { color: #b0332c; font-size: 15px; margin-top: 12px; min-height: 1em; }
.ages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .ages { grid-template-columns: repeat(4, 1fr); } }
.age { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.age span { display: block; font: 600 15px/1.2 'Inter'; color: var(--navy); margin-bottom: 6px; }
.age input { padding: 9px 10px; }
.teamrow { display: grid; gap: 8px; margin-top: 10px; padding: 12px; border-radius: 10px; background: var(--bg); }
.teamrow b { color: var(--navy); font-size: 15px; }

/* opt-in page */
.optin .grid { display: grid; gap: 34px; align-items: start; }
@media (min-width: 900px) { .optin .grid { grid-template-columns: 1fr 440px; } }
.optin .bul { margin: 24px 0 0; padding: 0; list-style: none; }
.optin .bul li { padding: 9px 0 9px 34px; position: relative; color: #e4ecf8; font-size: 18px; }
.optin .bul li::before { content: ''; position: absolute; left: 6px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-light); }
.optin .shots { margin-top: 30px; display: grid; gap: 12px; }
.optin .shots img { border-radius: 10px; border: 1.5px solid var(--line-dark); }
.done h2 { font-size: 28px; }
.done .btn { margin-top: 18px; }

footer { padding: 34px 0 44px; font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); }
