/* ==========================================================================
   Leetu website - Alpine Cloud design system
   New Zealand technology consultancy - practical AI enablement
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  /* Colour system */
  --midnight-slate: #334155;
  --cloud-grey: #64748B;
  --sky-blue: #38BDF8;
  --glacier-white: #F8FAFC;
  --alpine-mist: #E2E8F0;
  --aurora-teal: #2DD4BF;
  --alpine-night: #0F172A;

  --white: #FFFFFF;
  --sky-blue-dark: #0284C7;   /* accessible link/CTA text on light */
  --teal-dark: #0F766E;

  /* Semantic */
  --bg: var(--glacier-white);
  --surface: var(--white);
  --text: var(--midnight-slate);
  --text-muted: var(--cloud-grey);
  --border: var(--alpine-mist);

  /* Typography */
  --font-heading: "Space Grotesk", "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --radius-card: 14px;
  --radius-btn: 9px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-pad: clamp(48px, 9vw, 120px);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--sky-blue-dark); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--midnight-slate); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text); line-height: 1.12; margin: 0 0 0.5em; font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

/* ---- Skip link + focus ---- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--midnight-slate); color: var(--white);
  padding: 12px 20px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }
:focus-visible {
  outline: 3px solid var(--sky-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); }
.section--tight { padding-block: clamp(36px, 6vw, 72px); }
.section--dark { background: var(--midnight-slate); color: var(--glacier-white); }
.section--night { background: var(--alpine-night); color: var(--glacier-white); }
.section--mist { background: linear-gradient(180deg, #eef2f7 0%, var(--glacier-white) 100%); }
.section--dark h1, .section--dark h2, .section--dark h3,
.section--night h1, .section--night h2, .section--night h3 { color: var(--glacier-white); }
.section--dark p, .section--night p { color: #cbd5e1; }

.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sky-blue-dark);
  margin-bottom: 0.9rem;
}
.section--dark .eyebrow, .section--night .eyebrow { color: var(--sky-blue); }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--text-muted); max-width: 62ch; }
.section--dark .lede, .section--night .lede { color: #cbd5e1; }
.measure { max-width: 68ch; }
.center { text-align: center; margin-inline: auto; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-heading);
  font-weight: 600; font-size: 1rem;
  padding: 0.85em 1.5em;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
  line-height: 1;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--sky-blue); color: var(--alpine-night); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #5cc9fa; color: var(--alpine-night); box-shadow: var(--shadow-md); }
.btn--secondary { background: transparent; color: var(--midnight-slate); border-color: var(--midnight-slate); }
.btn--secondary:hover { background: var(--midnight-slate); color: var(--glacier-white); }
.btn--onDark { background: transparent; color: var(--glacier-white); border-color: rgba(248,250,252,0.5); }
.btn--onDark:hover { background: var(--glacier-white); color: var(--alpine-night); }
.btn--teal { background: var(--aurora-teal); color: var(--alpine-night); }
.btn--teal:hover { background: #4fe0cd; color: var(--alpine-night); }
.btn--sm { padding: 0.6em 1.1em; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link { font-family: var(--font-heading); font-weight: 600; display: inline-flex; align-items: center; gap: 0.35em; }
.text-link .arrow { transition: transform 0.2s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-transparent {
  background: transparent;
  border-bottom-color: transparent;
}
.site-header.is-transparent .brand, .site-header.is-transparent .nav-links a { color: var(--glacier-white); }
.site-header.is-transparent .nav-toggle span { background: var(--glacier-white); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 72px;
}
.brand {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.5rem;
  letter-spacing: 0.18em;
  color: var(--midnight-slate);
  display: inline-flex; align-items: center; gap: 10px;
}
.brand:hover { color: var(--midnight-slate); }
.brand svg { width: 26px; height: 26px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 8px 12px; border-radius: 8px;
  color: var(--midnight-slate); font-weight: 500; font-size: 0.96rem;
}
.nav-links a:hover { background: var(--alpine-mist); color: var(--midnight-slate); }
.site-header.is-transparent .nav-links a:hover { background: rgba(248,250,252,0.15); }
.nav-links a.is-active { color: var(--sky-blue-dark); font-weight: 600; }
.site-header.is-transparent .nav-links a.is-active { color: var(--sky-blue); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--midnight-slate); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--glacier-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 8px var(--gutter) 16px;
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height 0.3s var(--ease), visibility 0s 0.3s;
  }
  .nav-links.is-open { max-height: 70vh; visibility: visible; overflow-y: auto; transition: max-height 0.3s var(--ease); }
  .nav-links a { padding: 14px 8px; border-radius: 8px; font-size: 1.05rem; color: var(--midnight-slate); }
  .site-header.is-transparent .nav-links a { color: var(--midnight-slate); }
  .nav-cta .btn { display: none; }
  .nav-links .mobile-cta { display: block; margin-top: 10px; }
  .nav-links .mobile-cta .btn { display: inline-flex; width: 100%; justify-content: center; }
}
.nav-links .mobile-cta { display: none; }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background: var(--alpine-night);
  color: var(--glacier-white);
  margin-top: -73px; padding-top: 73px;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.72) 0%, rgba(15,23,42,0.55) 45%, rgba(15,23,42,0.85) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(96px, 16vh, 200px); max-width: 780px; }
.hero h1 { color: var(--glacier-white); margin-bottom: 0.4em; }
.hero p { color: #cbd5e1; font-size: clamp(1.1rem, 1.9vw, 1.35rem); max-width: 60ch; }
.hero .btn-row { margin-top: 2rem; }
.page-hero { position: relative; overflow: hidden; background: var(--midnight-slate); color: var(--glacier-white); margin-top: -73px; padding-top: 73px; }
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15,23,42,0.85) 0%, rgba(51,65,85,0.6) 100%); }
.page-hero__inner { position: relative; z-index: 1; padding-block: clamp(80px, 12vh, 150px); max-width: 780px; }
.page-hero h1 { color: var(--glacier-white); }
.page-hero p { color: #cbd5e1; }

/* ---- Grid ---- */
.grid { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---- Cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--text-muted); margin-bottom: 1em; }
.card .text-link { margin-top: auto; }
.card--teal { border-top: 3px solid var(--aurora-teal); }
.card__icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: rgba(56, 189, 248, 0.12);
  display: grid; place-items: center; margin-bottom: 16px; color: var(--sky-blue-dark);
}
.card--teal .card__icon { background: rgba(45, 212, 191, 0.14); color: var(--teal-dark); }
.card__icon svg { width: 24px; height: 24px; }
.tag {
  display: inline-block; font-family: var(--font-heading); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
  background: var(--alpine-mist); color: var(--cloud-grey);
}
.tag--teal { background: rgba(45, 212, 191, 0.16); color: var(--teal-dark); }
.tag--blue { background: rgba(56, 189, 248, 0.16); color: var(--sky-blue-dark); }

/* ---- Feature split ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media img { border-radius: var(--radius-card); box-shadow: var(--shadow-md); width: 100%; }

/* ---- Platform / logo strip ---- */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  font-family: var(--font-heading); font-weight: 500; font-size: 0.92rem;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  color: var(--glacier-white);
}
.chip-row--light .chip { background: var(--white); border-color: var(--border); color: var(--midnight-slate); }

/* ---- Steps / process ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 26px); counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 26px 24px 24px;
}
.step__num {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem;
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--midnight-slate); color: var(--glacier-white); margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--text-muted); margin-bottom: 0; }

/* ---- Principles / values ---- */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }
.pillar { text-align: left; padding: 22px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--border); }
.pillar__icon { width: 40px; height: 40px; color: var(--sky-blue-dark); margin-bottom: 12px; }
.pillar h3 { font-size: 1.1rem; margin-bottom: 0.3em; }
.pillar p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* ---- Outcome list ---- */
.check-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
@media (max-width: 720px) { .check-list { grid-template-columns: 1fr; } }
.check-list li { position: relative; padding-left: 32px; margin: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 6px;
  background: rgba(45, 212, 191, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center;
}
.section--dark .check-list li::before, .section--night .check-list li::before {
  background-color: rgba(45, 212, 191, 0.22);
}

/* ---- Callout ---- */
.callout {
  border-left: 4px solid var(--sky-blue);
  background: rgba(56, 189, 248, 0.07);
  padding: 20px 24px; border-radius: 0 12px 12px 0;
}
.callout--teal { border-left-color: var(--aurora-teal); background: rgba(45, 212, 191, 0.08); }
.callout p:last-child { margin-bottom: 0; }
.callout strong { font-family: var(--font-heading); }

/* ---- Placeholder marker ---- */
.placeholder {
  display: inline-block; background: rgba(100, 116, 139, 0.12);
  border: 1px dashed var(--cloud-grey); color: var(--cloud-grey);
  padding: 2px 8px; border-radius: 6px; font-size: 0.88em; font-style: italic;
}

/* ---- CTA band ---- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 52ch; margin-inline: auto; }

/* ---- Pricing / comparison table ---- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.compare {
  width: 100%; border-collapse: collapse; min-width: 720px; font-size: 0.95rem;
}
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.compare thead th { font-family: var(--font-heading); background: var(--glacier-white); position: sticky; top: 0; }
.compare tbody th { font-weight: 500; }
.compare th[scope="row"] { font-weight: 500; color: var(--midnight-slate); white-space: nowrap; }
.compare td { color: var(--text-muted); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: none; }
.compare .yes { color: var(--teal-dark); font-weight: 600; }

/* ---- FAQ accordion ---- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 18px 22px; font-family: var(--font-heading);
  font-weight: 600; font-size: 1.05rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--sky-blue-dark); transition: transform 0.2s var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 22px 20px; color: var(--text-muted); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---- Forms ---- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-heading); font-weight: 600; font-size: 0.92rem; color: var(--midnight-slate); }
.field .req { color: var(--sky-blue-dark); }
.field .hint { font-size: 0.82rem; color: var(--text-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--midnight-slate);
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 9px;
  background: var(--white); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sky-blue); box-shadow: 0 0 0 3px rgba(56,189,248,0.2);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: auto; margin-top: 4px; }
.field--check label { font-weight: 400; font-size: 0.92rem; color: var(--text-muted); }
.form-note { font-size: 0.88rem; color: var(--text-muted); background: rgba(100,116,139,0.08); border-radius: 10px; padding: 12px 16px; }
.form-status { display: none; margin-top: 6px; padding: 14px 18px; border-radius: 10px; font-weight: 500; }
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(45,212,191,0.12); color: var(--teal-dark); border: 1px solid rgba(45,212,191,0.4); }
.field-error { color: #b91c1c; font-size: 0.82rem; }

/* ---- Split contact ---- */
.contact-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; }
.info-list li { display: flex; gap: 12px; margin-bottom: 18px; }
.info-list .info-ico { color: var(--sky-blue-dark); flex: none; margin-top: 2px; }
.info-list strong { display: block; font-family: var(--font-heading); }

/* ---- Resources ---- */
.article-card { padding: 0; overflow: hidden; }
.article-card .article-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.article-card .meta { font-size: 0.82rem; color: var(--text-muted); margin-top: auto; padding-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.article-card .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cloud-grey); }

/* ---- Article body ---- */
.prose { max-width: 72ch; margin-inline: auto; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.3em; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; }
.toc h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6em; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: 6px; }

/* ---- Footer ---- */
.site-footer { background: var(--alpine-night); color: #cbd5e1; position: relative; overflow: hidden; }
.site-footer .footer-ridge { position: absolute; inset: 0 0 auto; width: 100%; height: auto; opacity: 0.25; pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; position: relative; z-index: 1; padding-block: clamp(48px, 7vw, 80px); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { color: var(--glacier-white); margin-bottom: 14px; }
.footer-promise { font-family: var(--font-heading); color: var(--glacier-white); font-weight: 600; margin-bottom: 10px; }
.footer-grid h4 { color: var(--glacier-white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #cbd5e1; font-size: 0.95rem; }
.footer-grid a:hover { color: var(--sky-blue); }
.footer-signup input { width: 100%; padding: 11px 14px; border-radius: 9px; border: 1.5px solid rgba(203,213,225,0.25); background: rgba(255,255,255,0.05); color: var(--glacier-white); margin-bottom: 10px; }
.footer-signup input::placeholder { color: #94a3b8; }
.footer-signup input:focus { outline: none; border-color: var(--sky-blue); }
.footer-bottom { border-top: 1px solid rgba(203,213,225,0.15); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; font-size: 0.88rem; color: #94a3b8; }
.footer-bottom a { color: #94a3b8; }
.footer-bottom .footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---- 404 ---- */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-family: var(--font-heading); font-size: clamp(4rem, 14vw, 9rem); font-weight: 700; color: var(--alpine-mist); line-height: 1; margin-bottom: 0; letter-spacing: -0.04em; }

/* ---- Utilities ---- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.divider { height: 1px; background: var(--border); border: 0; margin-block: clamp(32px,5vw,56px); }
