/* ----------------------------------------------------------------------
   Sitewise — marketing site styles
   Aesthetic: industrial editorial. Tradie-credible, not SaaS-slick.

   Type: Bricolage Grotesque (display) + Newsreader (body)
   Colour: Ink, paper, hi-vis amber accent + Sitewise blue
---------------------------------------------------------------------- */

:root {
  /* Colour */
  --ink:        #0F1115;       /* near-black text on paper */
  --ink-soft:   #2A2D34;
  --paper:      #F5F1EA;       /* warm off-white, like recycled stock */
  --paper-deep: #EBE6DB;       /* slightly darker for cards */
  --paper-edge: #D4CCBC;       /* hairline borders */

  --rule:       #C9C0AE;       /* horizontal rules */
  --muted:      #6B6F78;
  --faint:      #9AA0A8;

  --accent:     #E89B2C;       /* knocked-back hi-vis amber */
  --accent-deep:#B8761A;
  --brand:      #0E5B96;       /* deeper than app's #0072C6 for print contrast */
  --brand-deep: #073D67;
  --signal:     #C53030;       /* watermark warnings, flags */
  --success:    #2F855A;

  /* Type scale (modular, 1.25 ratio anchored at 16px) */
  --t-12: 0.75rem;
  --t-14: 0.875rem;
  --t-16: 1rem;
  --t-18: 1.125rem;
  --t-20: 1.25rem;
  --t-24: 1.5rem;
  --t-30: 1.875rem;
  --t-36: 2.25rem;
  --t-48: 3rem;
  --t-60: 3.75rem;
  --t-72: 4.5rem;

  /* Layout */
  --gutter: 1.25rem;
  --max-w:  1240px;
  --rail:   72ch;             /* readable text column */

  --radius-sm: 4px;
  --radius-md: 8px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ----- Reset ------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: var(--t-18);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }

/* Subtle paper texture — adds tactility without being noisy */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
body > * { position: relative; z-index: 1; }

/* ----- Typography -------------------------------------------------- */

h1, h2, h3, h4, h5, h6,
.eyebrow, .display, .nav, .button, .pill, .stat-num {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1, .display {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.75rem, 6vw + 0.5rem, var(--t-72));
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
}

h2 {
  font-size: clamp(1.875rem, 3.5vw, var(--t-48));
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0 0 1rem 0;
}

h3 {
  font-size: var(--t-24);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem 0;
}

p { margin: 0 0 1rem 0; }
p.lead {
  font-size: var(--t-20);
  color: var(--ink-soft);
  max-width: var(--rail);
  line-height: 1.5;
}

.eyebrow {
  font-size: var(--t-12);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-deep);
}

.amp {
  font-style: italic;
  font-family: 'Newsreader', serif;
  font-weight: 400;
}

.muted { color: var(--muted); }
.serif { font-family: 'Newsreader', serif; }

/* ----- Layout ------------------------------------------------------ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.rail { max-width: var(--rail); }

section { padding: clamp(4rem, 7vw, 7rem) 0; }
section + section { border-top: 1px solid var(--paper-edge); }

.row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.cluster > * + * { margin-left: 0.75rem; }

/* ----- Header ------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 234, 0.85);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--paper-edge); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: var(--t-20);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-mark {
  width: 22px; height: 22px;
  background: var(--ink);
  position: relative;
  flex: 0 0 auto;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 4px 4px 4px 4px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.nav a {
  font-size: var(--t-14);
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.15s var(--ease);
}
.nav a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .nav a:not(.button) { display: none; }
}

/* ----- Buttons ----------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: var(--t-16);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }

.button.primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.button.primary:hover { background: var(--ink-soft); }

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.button.secondary:hover { background: var(--ink); color: var(--paper); }

.button.ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--paper-edge);
}
.button.ghost:hover { background: var(--paper-deep); color: var(--ink); }

.button.compact { padding: 0.5rem 0.875rem; font-size: var(--t-14); }

/* ----- Hero -------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(3rem, 5vw, 5rem) 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: var(--t-12);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-deep);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 .em {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--brand);
}

.hero-sub {
  margin-top: 1.75rem;
  font-size: var(--t-20);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 38ch;
}

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  font-size: var(--t-14);
  color: var(--muted);
  border-top: 1px solid var(--paper-edge);
  padding-top: 1.5rem;
  max-width: 38rem;
}
.hero-trust div { display: flex; align-items: center; gap: 0.5rem; }
.hero-trust .check { color: var(--success); font-weight: 700; }

/* Phone screenshot mock */
.phone {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  aspect-ratio: 9 / 19;
  background: var(--ink);
  border-radius: 36px;
  padding: 10px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 30px 60px -20px rgba(15,17,21,0.45),
    0 10px 20px -10px rgba(15,17,21,0.3);
  transform: rotate(2.5deg);
  transition: transform 0.5s var(--ease);
}
.phone:hover { transform: rotate(0deg) scale(1.02); }
.phone-screen {
  width: 100%; height: 100%;
  background: var(--paper);
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 22px;
  background: var(--ink);
  border-radius: 12px;
  z-index: 2;
}

/* The "report" mock inside the phone */
.mock-app { padding: 36px 14px 12px; flex: 1; display: flex; flex-direction: column; gap: 8px; font-family: 'Bricolage Grotesque', sans-serif; }
.mock-bar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--muted); padding: 0 4px;
}
.mock-bar .live { color: var(--signal); font-weight: 600; }
.mock-title { font-size: 17px; font-weight: 700; line-height: 1.2; padding: 0 4px; margin-top: 4px; }
.mock-sub { font-size: 11px; color: var(--muted); padding: 0 4px; }
.mock-card {
  background: var(--paper-deep);
  border: 1px solid var(--paper-edge);
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 11px;
  margin-top: 4px;
}
.mock-num {
  background: var(--ink);
  color: var(--paper);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 11px; flex: 0 0 auto;
}
.mock-card .body { flex: 1; }
.mock-card .body .area { font-weight: 700; font-size: 12px; color: var(--ink); }
.mock-card .body .cat { color: var(--muted); font-size: 10px; margin-top: 1px; }
.mock-pill {
  font-size: 9px; font-weight: 700; letter-spacing: 0.08em;
  padding: 2px 6px; border-radius: 3px; flex: 0 0 auto;
}
.mock-pill.fail { background: #FEE2E2; color: #991B1B; }
.mock-pill.pass { background: #DCFCE7; color: #166534; }
.mock-fab {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 12px; font-weight: 600;
  padding: 10px 18px;
  border-radius: 22px;
  box-shadow: 0 8px 16px -4px rgba(0,0,0,0.25);
}

/* Decorative measurement marks behind the hero */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 16px;
  background-image:
    linear-gradient(to right, var(--ink) 1px, transparent 1px);
  background-size: 40px 16px;
  background-position: 0 100%;
  background-repeat: repeat-x;
  opacity: 0.08;
}

/* ----- Section labels --------------------------------------------- */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--paper-edge);
}
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 1rem; }
}
.section-head .num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--t-14);
  letter-spacing: 0.2em;
  color: var(--muted);
}
.section-head h2 .em {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}

/* ----- Problem section -------------------------------------------- */

.problem {
  background: var(--paper-deep);
  border-top: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
}
.problem-quote {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, var(--t-30));
  line-height: 1.4;
  color: var(--ink);
  max-width: 28ch;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
}
.problem-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}
.problem-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
  font-size: var(--t-18);
  line-height: 1.5;
}
.problem-list .x {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  color: var(--signal);
  font-size: var(--t-20);
  line-height: 1;
  margin-top: 4px;
}

/* ----- How it works ----------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  position: relative;
  padding-top: 2.5rem;
  border-top: 2px solid var(--ink);
}
.step .step-num {
  position: absolute;
  top: -1px; left: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: var(--t-14);
  letter-spacing: 0.05em;
}
.step h3 { margin-top: 0.5rem; margin-bottom: 0.75rem; }
.step p { color: var(--ink-soft); font-size: var(--t-16); }

/* ----- Sample report panel ---------------------------------------- */

.sample {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.sample .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .sample .container { grid-template-columns: 1fr; gap: 3rem; }
}
.sample h2 { color: var(--paper); }
.sample h2 .em { color: var(--accent); }
.sample p { color: rgba(245, 241, 234, 0.8); }

.report-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 4px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5), 0 10px 20px -10px rgba(0,0,0,0.4);
  padding: 2rem 1.5rem;
  font-family: 'Newsreader', serif;
  position: relative;
  transform: rotate(-1.5deg);
  transition: transform 0.4s var(--ease);
  max-width: 380px;
  margin: 0 auto;
}
.report-card:hover { transform: rotate(0); }
.report-card .report-bar {
  background: var(--brand);
  color: var(--paper);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: var(--t-14);
  padding: 0.5rem 0.75rem;
  margin: -2rem -1.5rem 1.5rem -1.5rem;
  border-radius: 4px 4px 0 0;
}
.report-card h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--t-20);
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.01em;
}
.report-card .meta-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  font-size: var(--t-14);
  margin: 1rem 0;
}
.report-card .meta-row dt {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  color: var(--ink);
}
.report-card .meta-row dd {
  margin: 0;
  color: var(--ink-soft);
}
.report-card .urgency {
  margin-top: 1rem;
  padding: 0.625rem 0.75rem;
  background: #FEE2E2;
  border-left: 3px solid var(--signal);
  color: #7F1D1D;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--t-12);
  font-weight: 600;
}

/* ----- Features grid ---------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.feature {
  padding: 1.75rem 0 0 0;
  border-top: 1px solid var(--ink);
}
.feature .icon {
  width: 32px; height: 32px;
  margin-bottom: 1rem;
  color: var(--brand);
}
.feature h3 {
  font-size: var(--t-18);
  margin-bottom: 0.5rem;
}
.feature p {
  font-size: var(--t-16);
  color: var(--ink-soft);
  margin: 0;
}

/* ----- Pricing ----------------------------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 720px) { .pricing-grid { grid-template-columns: 1fr; } }

.plan {
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  padding: 2rem;
  border-radius: var(--radius-md);
  position: relative;
}
.plan.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.plan.featured .muted { color: rgba(245, 241, 234, 0.7); }

.plan .tag {
  position: absolute;
  top: -10px; right: 16px;
  background: var(--accent);
  color: var(--ink);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: var(--t-12);
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
}

.plan h3 {
  font-size: var(--t-18);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem 0;
}
.plan .price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: var(--t-48);
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan .price .unit {
  font-size: var(--t-14);
  font-weight: 500;
  letter-spacing: 0;
  font-family: 'Newsreader', serif;
  font-style: italic;
}
.plan .annual-note {
  font-size: var(--t-14);
  color: var(--accent);
  margin-top: 0.5rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
}
.plan .feature-list {
  list-style: none; padding: 0; margin: 1.5rem 0;
  display: flex; flex-direction: column; gap: 0.625rem;
}
.plan .feature-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.625rem;
  align-items: baseline;
  font-size: var(--t-16);
  line-height: 1.4;
}
.plan .feature-list .check {
  color: var(--success);
  font-weight: 700;
}
.plan.featured .feature-list .check { color: var(--accent); }
.plan .feature-list .x { color: var(--faint); }

/* ----- FAQ -------------------------------------------------------- */

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--paper-edge);
}
.faq-item:last-child { border-bottom: 1px solid var(--paper-edge); }
.faq-q {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: var(--t-20);
  letter-spacing: -0.01em;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--ink);
}
.faq-q::after {
  content: '+';
  font-weight: 400;
  font-size: var(--t-24);
  line-height: 1;
  color: var(--brand);
  transition: transform 0.2s var(--ease);
  flex: 0 0 auto;
}
.faq-item[open] .faq-q::after { content: '−'; }
.faq-a {
  padding-bottom: 1.5rem;
  color: var(--ink-soft);
  max-width: 64ch;
  font-size: var(--t-18);
  line-height: 1.55;
}

/* ----- Signup section --------------------------------------------- */

.signup {
  background: var(--paper-deep);
  text-align: center;
}
.signup .container { max-width: 720px; }
.signup h2 { margin-bottom: 0.75rem; }
.signup p { color: var(--ink-soft); margin-bottom: 2rem; }

.signup-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.signup-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 0.875rem 1rem;
  font: inherit;
  font-size: var(--t-16);
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.signup-form input[type="email"]:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}
.signup-form button { padding: 0.875rem 1.5rem; }

.signup-note {
  margin-top: 1rem;
  font-size: var(--t-14);
  color: var(--muted);
}

.signup-success {
  display: none;
  background: var(--success);
  color: var(--paper);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
}
.signup-success.is-visible { display: block; }

/* ----- Footer ----------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 3rem 0 2rem;
  font-size: var(--t-14);
}
.site-footer a { color: rgba(245, 241, 234, 0.8); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-grid h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--t-12);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(245, 241, 234, 0.5);
  margin-bottom: 0.75rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-grid p { color: rgba(245, 241, 234, 0.7); margin: 0; }

.footer-bottom {
  border-top: 1px solid rgba(245, 241, 234, 0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(245, 241, 234, 0.6);
}

/* ----- Sub-page (terms / privacy) styles -------------------------- */

.legal-page {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.legal-page .container { max-width: 760px; }
.legal-page h1 {
  font-size: clamp(2rem, 4vw, var(--t-48));
  margin-bottom: 1rem;
}
.legal-page .updated {
  color: var(--muted);
  font-size: var(--t-14);
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--paper-edge);
  font-family: 'Bricolage Grotesque', sans-serif;
}
.legal-page h2 {
  font-size: var(--t-24);
  margin: 2.5rem 0 0.75rem;
}
.legal-page h3 {
  font-size: var(--t-18);
  margin: 1.5rem 0 0.5rem;
}
.legal-page p, .legal-page li {
  font-size: var(--t-18);
  line-height: 1.65;
}
.legal-page ul {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

/* ----- Animations -------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .hero h1 {
    animation: rise 0.8s var(--ease) both;
  }
  .hero-sub {
    animation: rise 0.8s 0.15s var(--ease) both;
  }
  .hero-cta {
    animation: rise 0.8s 0.3s var(--ease) both;
  }
  .hero-trust {
    animation: rise 0.8s 0.45s var(--ease) both;
  }
  .phone {
    animation: rise 1s 0.2s var(--ease) both;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
