/* 67° North — site styles (v2, modern refresh 2026-09-28) */
:root {
  --bg: #F6F6F3;
  --surface: #FFFFFF;
  --surface-2: #EFEEEA;
  --ink: #0B1220;
  --text: #1C2330;
  --muted: #5D6675;
  --border: #E4E2DC;
  --navy: #081222;
  --navy-2: #101D33;
  --accent: #E3B35E;
  --accent-hover: #EDC57C;
  --ice: #9CC3E6;
  --error: #B4412F;
  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1160px;
  --gutter: 20px;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(11,18,32,.04), 0 8px 24px -12px rgba(11,18,32,.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.035em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 7vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.3; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
::selection { background: rgba(227,179,94,.35); }
:focus-visible { outline: 2px solid #6FA0CF; outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 900px) { :root { --gutter: 32px; } }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 100; border-radius: 8px; }

.eyebrow {
  display: flex; align-items: center; gap: 8px; width: fit-content;
  font: 500 .88rem/1 var(--font); letter-spacing: 0; color: var(--muted);
  margin: 0 0 1.25rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { font-size: 1.15rem; color: var(--muted); margin: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,18,34,.9);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: #fff;
  transition: box-shadow .25s, background .25s;
}
.site-header.scrolled { background: rgba(8,18,34,.96); box-shadow: 0 10px 30px -18px rgba(0,0,0,.55); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-logo { width: 30px; height: 30px; flex: none; }
.brand-mark { font: 600 1.12rem/1 var(--font); letter-spacing: -.02em; }
.brand-sub { font: 500 .78rem/1 var(--font); color: rgba(255,255,255,.55); display: none; }
@media (min-width: 420px) { .brand-sub { display: inline; } }
.nav { display: flex; gap: 4px; align-items: center; font-size: .92rem; }
.nav a { text-decoration: none; color: rgba(255,255,255,.72); padding: 8px 12px; border-radius: 999px; transition: color .15s, background .15s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav a.active, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.09); }
.mobile-menu a[aria-current="page"] { background: rgba(255,255,255,.06); }
.nav .nav-link { display: none; }
@media (min-width: 900px) { .nav .nav-link { display: inline-block; } }
.nav .btn { margin-left: 8px; color: var(--navy); }
.nav .btn:hover { color: var(--navy); background: var(--accent-hover); }

/* Mobile menu */
.menu-btn {
  display: grid; place-items: center; width: 42px; height: 42px; margin-left: 6px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05);
  color: #fff; cursor: pointer; padding: 0;
}
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .close { display: none; }
.menu-open .menu-btn .open { display: none; }
.menu-open .menu-btn .close { display: block; }
@media (min-width: 900px) { .menu-btn { display: none; } }
.mobile-menu {
  position: fixed; left: 12px; right: 12px; top: 76px; z-index: 49;
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r);
  padding: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.mobile-menu a { display: flex; justify-content: space-between; align-items: center; padding: 15px 14px; border-radius: 12px; color: #fff; text-decoration: none; font-weight: 500; font-size: 1.05rem; }
.mobile-menu a:hover, .mobile-menu a:active { background: rgba(255,255,255,.06); }
.mobile-menu a::after { content: "›"; color: rgba(255,255,255,.35); font-size: 1.3rem; line-height: 1; }
.mobile-menu .btn { margin-top: 6px; width: 100%; justify-content: center; color: var(--navy); }
.mobile-menu .btn::after { content: none; }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  font: 600 .98rem/1 var(--font); letter-spacing: -.005em;
  padding: 15px 24px; border-radius: 999px; border: 1px solid transparent;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; transition: transform .18s; }
.btn:hover svg { transform: translateX(2px); }
.btn-primary { background: var(--accent); color: var(--navy); box-shadow: 0 6px 20px -8px rgba(227,179,94,.7); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.btn-small { padding: 10px 18px; font-size: .9rem; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1b2436; }

/* Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: #fff;
  padding: 157px 0 56px; margin-top: -69px;
}
.hero::before { /* aurora glow */
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 110%; z-index: -2;
  background:
    radial-gradient(40% 50% at 18% 20%, rgba(90,160,220,.28), transparent 70%),
    radial-gradient(35% 45% at 70% 10%, rgba(70,200,170,.18), transparent 70%),
    radial-gradient(40% 50% at 90% 70%, rgba(227,179,94,.14), transparent 70%);
  filter: blur(10px);
}
.hero::after { /* faint grid */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.2vw, 4.4rem); max-width: 15ch; }
.hero h1 em { display: block; font-style: normal; background: linear-gradient(92deg, #F2CD8A, var(--accent) 40%, #9CC3E6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 12px; border-radius: 999px; margin-bottom: 28px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  font: 500 .85rem/1.2 var(--font); color: rgba(255,255,255,.82);
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: #5FD08A; box-shadow: 0 0 0 0 rgba(95,208,138,.6); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .badge i { animation: pulse 2.4s infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95,208,138,.55); } 70% { box-shadow: 0 0 0 8px rgba(95,208,138,0); } 100% { box-shadow: 0 0 0 0 rgba(95,208,138,0); } }
}
.hero .lede { font-size: clamp(1.08rem, 1.6vw, 1.22rem); max-width: 36rem; color: rgba(255,255,255,.72); margin: 1.4rem 0 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }


/* Hero graphic: the Arctic Circle, and a path crossing it */
.hero-art { display: none; width: 100%; max-width: 440px; justify-self: center; }
@media (min-width: 980px) { .hero-art { display: block; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .trail { animation: trail 2.8s linear infinite; }
  @keyframes trail { to { stroke-dashoffset: -40; } }
  .hero-art .dot-glow { transform-origin: 220px 150px; animation: glow 3.2s ease-in-out infinite; }
  @keyframes glow { 0%, 100% { opacity: .7; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.08); } }
}

/* Trust strip under the hero */
.trust { margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 14px 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 820px) { .trust { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
.trust div { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: rgba(255,255,255,.75); }
.trust svg { width: 18px; height: 18px; flex: none; color: var(--accent); }

/* Sections */
section { padding: 104px 0; }
@media (max-width: 700px) { section { padding: 76px 0; } }
.section-alt { background: var(--surface); }
.grid-2 { display: grid; gap: 40px; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 72px; } }
.lead { font-size: 1.18rem; color: var(--muted); }

/* Mission */
.mission-quote {
  margin-top: 28px; padding: 26px 28px; border-radius: var(--r);
  background: var(--navy); color: #fff;
  font-size: 1.25rem; line-height: 1.4; letter-spacing: -.015em; font-weight: 500;
  display: flex; gap: 16px; align-items: center;
}
.mission-quote svg { width: 44px; height: 44px; flex: none; }
#mission .mission-quote { margin-top: 16px; }
.impact { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 640px) { .impact { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .impact { grid-template-columns: repeat(4, 1fr); } }
.impact-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 26px; }
.impact-item .card-icon { margin-bottom: 18px; background: var(--bg); }
.impact-item h3 { margin-bottom: 8px; }
.impact-item p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.55; }
@media (max-width: 639px) {
  .impact { gap: 10px; margin-top: 40px; }
  .impact-item { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; padding: 18px; }
  .impact-item .card-icon { grid-row: span 2; margin: 0; }
  .impact-item h3 { margin: 0; font-size: 1.05rem; align-self: end; }
}

/* Links to the detail pages */
.more-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 3px; }
.text-link svg { width: 16px; height: 16px; transition: transform .18s; }
.text-link:hover svg { transform: translateX(3px); }

/* Inner content pages */
.page-section { padding: 72px 0 104px; }
.page-section + .cta-section { padding-top: 0; }
.faq-more { margin: 28px 0 0; color: var(--muted); }

/* Bento: you bring / we bring / together */
.bento { display: grid; gap: 16px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px;
}
.section-alt .card { background: var(--bg); }
.card, .steps li, .contrast div, .creds div { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
@media (hover: hover) {
  .card:hover, .steps li:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(11,18,32,.35); }
}
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); margin-bottom: 22px; color: var(--ink); }
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.35rem; margin-bottom: 14px; }
.card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.card li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.card li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: .62em; }
.card.dark { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.85); }
.card.dark h3 { color: #fff; }
.card.dark .card-icon { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: var(--accent); }
.card.gold { background: linear-gradient(150deg, #F4D59C, var(--accent)); border-color: transparent; color: var(--navy); }
.card.gold .card-icon { background: rgba(255,255,255,.4); border-color: transparent; color: var(--navy); }
.card.gold li::before { background: var(--navy); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; padding: 26px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 18px;
  background: var(--ink); color: #fff; font: 600 .9rem/1 var(--font);
}
.steps strong { display: block; font-weight: 600; font-size: 1.08rem; color: var(--ink); margin-bottom: 6px; letter-spacing: -.01em; }
.steps span { color: var(--muted); font-size: .96rem; line-height: 1.55; }

/* Who */
.trades { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.trades li { font-size: .92rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.trades li:last-child { border-style: dashed; color: var(--muted); background: transparent; }
.contrast { display: grid; gap: 12px; margin: 28px 0 0; }
@media (min-width: 560px) { .contrast { grid-template-columns: 1fr 1fr; } }
.contrast div { padding: 22px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); }
.contrast .yes { background: var(--navy); border-color: var(--navy); }
.contrast small { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); margin-bottom: 10px; }
.contrast .yes small { color: var(--accent); }
.contrast p { font-size: 1rem; line-height: 1.5; margin: 0; color: var(--text); }
.contrast .yes p { color: #fff; }
.fit-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; }
.fit-card h3 { margin-bottom: 16px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; line-height: 1.5; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: #E9F3EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F7A3E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist.not-fit li::before {
  background: #F4ECEA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A0473A' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.fit-divider { height: 1px; background: var(--border); margin: 28px 0; }

/* Founder */
.founder { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .founder { grid-template-columns: 5fr 7fr; gap: 72px; } }
.founder-photo { margin: 0; max-width: 300px; position: relative; }
@media (min-width: 900px) { .founder-photo { max-width: none; position: sticky; top: 100px; } }
.founder-photo img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(11,18,32,.45); }
.founder-role { color: var(--muted); margin-top: -.3rem; margin-bottom: 1.6rem; }
.creds { margin: 32px 0; display: grid; gap: 10px; }
@media (min-width: 560px) { .creds { grid-template-columns: 1fr 1fr; } }
.creds div { padding: 16px 18px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--border); }
.creds dt { font-size: .78rem; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.creds dd { margin: 0; font-weight: 500; color: var(--ink); line-height: 1.4; font-size: .96rem; }
.founder-quote {
  margin: 0; padding: 26px 28px; border-radius: var(--r);
  background: var(--navy); color: #fff; font-size: 1.15rem; line-height: 1.5; letter-spacing: -.01em;
  position: relative;
}
.founder-quote::before { content: "\201C"; position: absolute; top: -6px; left: 22px; font-size: 4rem; line-height: 1; color: var(--accent); }
.founder-quote { padding-top: 38px; }

/* FAQ */
.faq-layout { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 1fr 1.6fr; gap: 72px; } }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 22px; position: relative; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1220' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted); max-width: 64ch; }

/* CTA */
.cta-section { padding-top: 0; }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: #fff; border-radius: var(--r-lg);
  padding: clamp(40px, 7vw, 80px);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 80% at 100% 0%, rgba(227,179,94,.25), transparent 70%), radial-gradient(40% 70% at 0% 100%, rgba(90,160,220,.22), transparent 70%);
}
.cta-panel h2 { color: #fff; max-width: 16ch; }
.cta-panel .lead { color: rgba(255,255,255,.72); max-width: 36rem; margin-bottom: 2rem; }
.cta-panel .note { font-size: .9rem; color: rgba(255,255,255,.5); margin: 1.6rem 0 0; max-width: 40rem; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.6); font-size: .92rem; padding: 64px 0 32px; }
.footer-top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { margin: 0 0 6px; max-width: 30ch; }
.footer-email { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(227,179,94,.6); }
.footer-email:hover { border-bottom-color: var(--accent); }
.footer-col h4 { font: 600 .8rem/1 var(--font); color: #fff; margin: 4px 0 16px; letter-spacing: 0; }
.footer-col a { display: block; color: rgba(255,255,255,.6); text-decoration: none; padding: 5px 0; width: fit-content; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 24px; font-size: .85rem; color: rgba(255,255,255,.42); }

/* Application progress bar */
.progress { position: sticky; top: 68px; z-index: 40; background: rgba(246,246,243,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.progress .wrap { display: flex; align-items: center; gap: 14px; height: 48px; font-size: .85rem; color: var(--muted); }
.progress-track { flex: 1; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress-fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #F2CD8A); transition: width .35s cubic-bezier(.2,.7,.2,1); }
.progress-label { min-width: 88px; text-align: right; font-variant-numeric: tabular-nums; }

/* Scroll reveal (only when JS is on and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Inner pages (apply, thanks, privacy) ---------- */
.page-head {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: #fff; padding: 136px 0 64px; margin-top: -69px;
}
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(45% 80% at 15% 0%, rgba(90,160,220,.25), transparent 70%), radial-gradient(40% 80% at 90% 20%, rgba(227,179,94,.14), transparent 70%);
}
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 5.5vw, 3.6rem); max-width: 20ch; }
.page-head .eyebrow { color: rgba(255,255,255,.65); }
.page-head p { color: rgba(255,255,255,.72); max-width: 40rem; font-size: 1.08rem; }
.form-wrap { padding: 48px 0 96px; }

/* Application form */
form fieldset {
  border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface);
  margin: 0 0 16px; padding: 28px clamp(20px, 4vw, 36px) 12px;
}
form legend { float: left; width: 100%; font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; padding: 0; margin-bottom: 22px; color: var(--ink); }
form legend + * { clear: both; }
.field { margin-bottom: 22px; }
.field label, .field .label { display: block; font-weight: 500; font-size: .96rem; margin-bottom: 8px; color: var(--ink); }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: 2px; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 13px 14px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D6675' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
textarea { min-height: 120px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #CFCCC4; }
input:focus, select:focus, textarea:focus { outline: none; background: var(--surface); border-color: #6FA0CF; box-shadow: 0 0 0 4px rgba(111,160,207,.2); }
.row-2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label {
  font-weight: 400; display: inline-flex; align-items: center; gap: 10px; margin: 0; cursor: pointer;
  padding: 11px 16px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--bg);
  transition: border-color .15s, background .15s;
}
.choices label:hover { border-color: #CFCCC4; }
.choices label:has(input:checked) { border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 1px var(--ink); }
.choices input { accent-color: var(--ink); margin: 0; }
.choices-stack { flex-direction: column; }
.choices-stack label { align-items: flex-start; }
.choices-stack input { margin-top: 5px; }
form.submitted input:invalid, form.submitted select:invalid, form.submitted textarea:invalid { border-color: var(--error); }
form.submitted .choices:has(input:invalid) label, form.submitted .consent:has(input:invalid) label { color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: .92rem; color: var(--muted); }
.consent label { font-weight: 400; display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.form-error { display: none; background: #F8EBE8; color: var(--error); border-radius: var(--r-sm); padding: 14px 16px; margin: 20px 0; }
.form-error.show { display: block; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 8px 0 20px; }
button[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Long-form text (privacy) */
.prose .wrap > p, .prose li { color: var(--text); }
.prose h2 { font-size: 1.5rem; margin-top: 2.6rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1em; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--ink); }

/* Thank-you */
.thanks-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 48px); margin-top: -40px; position: relative; box-shadow: var(--shadow); }
.thanks-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #E9F3EA; color: #2F7A3E; margin-bottom: 20px; }
.thanks-icon svg { width: 26px; height: 26px; }

/* ---------- Phone tuning (kept last so it wins) ---------- */
@media (max-width: 699px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .page-section { padding: 40px 0 56px; }
  h2 { font-size: 1.85rem; }
  .lead, .section-head p { font-size: 1.05rem; }
  .section-head { margin-bottom: 28px; }
  .eyebrow { margin-bottom: .9rem; }

  /* Hero */
  .hero { padding: 116px 0 36px; }
  .hero h1 { font-size: 2.3rem; max-width: none; }
  .badge { font-size: .78rem; margin-bottom: 22px; }
  .hero .lede { font-size: 1.05rem; margin: 1rem 0 1.6rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .trust { grid-template-columns: 1fr; gap: 10px; margin-top: 40px; padding-top: 22px; }
  .trust div { font-size: .9rem; }

  /* Mission: one consistent text style, tighter gaps */
  .grid-2 { gap: 28px; }
  #mission .grid-2 { gap: 4px; }
  #mission .lead { color: var(--text); font-size: 1rem; }
  .mission-quote { font-size: 1.02rem; padding: 18px 20px; gap: 14px; }
  .mission-quote svg { width: 34px; height: 34px; }

  /* Steps: number beside the text instead of stacked cards */
  .steps { margin-top: 0; gap: 10px; }
  .steps li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding: 18px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps strong { margin-bottom: 2px; }
  .more-links { margin-top: 24px; flex-direction: column; }

  /* Cards and panels */
  .card, .fit-card { padding: 22px; border-radius: var(--r); }
  .card-icon { width: 40px; height: 40px; margin-bottom: 16px; }
  .cta-section { padding-bottom: 56px; }
  .cta-panel { padding: 32px 22px; }
  .cta-panel .lead { font-size: 1rem; }
  .founder-photo { max-width: 240px; }
  .founder-quote { font-size: 1.02rem; padding: 32px 20px 20px; }
  .page-head { padding: 108px 0 40px; }
  .page-head h1 { font-size: 2.1rem; }
  .site-footer { padding-top: 44px; }
  .footer-top { gap: 28px; padding-bottom: 28px; }
}
