/* autofyinc.ca: The Divorce Case Engine funnel.
   Design tokens match the Cook funnel and Autofy's brand palette. */

@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,500&family=IBM+Plex+Mono:wght@500;600&display=swap");

:root {
  --ink: #14110f;
  --ink-2: #1d1917;
  --ink-3: #262120;
  --ink-line: rgba(251, 249, 246, 0.12);
  --cream: #fbf9f6;
  --white: #fff;
  --gold: #f0a341;
  --gold-hi: #e28f2a;
  --gold-14: #fdf3e2;
  --on-gold: #14110f;
  --bronze: #9a6212;
  --line: #eae4db;
  --line-2: #dad2c6;
  --muted: #6b635c;
  --on-ink: #fbf9f6;
  --on-ink-muted: #cfc7bd;
  --alert: #c2412d;
  --alert-bg: #fbecea;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --radius: 18px;
  --shadow-card: 0 18px 40px -32px rgba(20, 17, 15, 0.55);
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
/* `hidden` must win over the display rules below (the booking form hides
   the contact block for someone who already gave their details). */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 780px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- surfaces ---------- */
.bg-ink { background: var(--ink); color: var(--on-ink); }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.rule-top { border-top: 1px solid var(--line); }

/* The ring-and-dot pattern behind dark sections. */
.pattern {
  color: var(--on-ink);
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23fbf9f6' stroke-opacity='.07' stroke-width='2'%3E%3Ccircle cx='50' cy='50' r='13'/%3E%3Ccircle cx='167' cy='147' r='9'/%3E%3C/g%3E%3Cg fill='%23fbf9f6' fill-opacity='.07'%3E%3Ccircle cx='50' cy='50' r='5'/%3E%3Ccircle cx='128' cy='92' r='2'/%3E%3Ccircle cx='20' cy='160' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

.section { padding: 88px 0; }
@media (max-width: 767px) { .section { padding: 64px 0; } }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}
.bg-ink .eyebrow, .pattern .eyebrow { color: var(--gold); }
.pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  border: 1px solid rgba(240, 163, 65, 0.55);
  background: rgba(240, 163, 65, 0.08);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4;
}
.pill img { width: 16px; height: 16px; flex: none; }
.gold { color: var(--gold); }
.bronze { color: var(--bronze); }
.mark-u { color: var(--bronze); text-decoration: underline; text-decoration-color: rgba(240, 163, 65, 0.7); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.h2 { font-size: clamp(1.9rem, 2.6vw + 1rem, 2.75rem); }
.rule { width: 56px; height: 2px; background: var(--gold); border: 0; margin: 20px auto 0; }
.rule-left { margin-left: 0; }

/* ---------- buttons ---------- */
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.5rem; padding: 0.95rem 1.9rem;
  background: var(--gold); color: var(--on-gold);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.25;
  letter-spacing: 0.01em; text-transform: uppercase; text-align: center; text-decoration: none;
  border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 12px 26px -16px rgba(20, 17, 15, 0.8);
  transition: background-color 0.2s, transform 0.2s;
}
.btn-cta:hover { background: var(--gold-hi); transform: translateY(-1px); }
.btn-cta svg { width: 18px; height: 18px; flex: none; }
.btn-cta[disabled] { opacity: 0.7; cursor: wait; transform: none; }
.btn-sm { min-height: 2.6rem; padding: 0.55rem 1.1rem; font-size: 0.74rem; gap: 0.5rem; }
.btn-block { width: 100%; }
@media (max-width: 767px) { .btn-cta { font-size: 0.95rem; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink-2); border-bottom: 1px solid var(--ink-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--on-ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; }
.logo img { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a.nav-link { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-muted); text-decoration: none; }
.nav a.nav-link:hover, .nav a.nav-link[aria-current="page"] { color: var(--on-ink); }
.nav .btn-label-short { display: none; }
@media (max-width: 899px) {
  .nav a.nav-link { display: none; }
  .nav .btn-cta { width: 48px; height: 48px; min-height: 0; padding: 0; }
  .nav .btn-label { display: none; }
}

/* ---------- cards ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.card-dark { background: rgba(251, 249, 246, 0.03); border: 1px solid var(--ink-line); border-radius: var(--radius); }
.chip { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.chip svg { width: 22px; height: 22px; }
.chip-soft { background: var(--gold-14); color: var(--bronze); }
.chip-ink { background: var(--ink); color: var(--gold); }
.chip-gold { background: var(--gold); color: var(--ink); }
.num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 999px; background: var(--gold); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; flex: none; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 3.6vw + 1rem, 3.6rem); margin: 26px 0 22px; }
.hero-sub { color: var(--on-ink-muted); font-size: 1.06rem; max-width: 34rem; }
.hero-sub strong { color: var(--gold); }
.hero .btn-cta { margin-top: 32px; }
.guarantee-line { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-weight: 600; font-size: 0.95rem; max-width: 26rem; }
.guarantee-line .tick { width: 22px; height: 22px; border-radius: 999px; background: var(--gold); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; }
.guarantee-line .tick svg { width: 14px; height: 14px; }
@media (max-width: 899px) {
  .hero { padding: 40px 0 64px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-sub { margin: 0 auto; }
  .hero .btn-cta { width: 100%; }
  .guarantee-line { text-align: left; margin-left: auto; margin-right: auto; }
}

/* The five-part system card in the hero. */
.engine { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 22px; padding: 26px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.engine ol { list-style: none; margin: 0; padding: 0; position: relative; }
.engine ol::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--ink-line); }
.engine li { position: relative; display: flex; align-items: center; gap: 16px; padding: 8px 0; font-family: var(--font-display); font-weight: 700; color: rgba(251, 249, 246, 0.45); transition: color 0.4s; text-align: left; }
.engine li .dot { width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid rgba(251, 249, 246, 0.16); background: var(--ink-2); color: rgba(251, 249, 246, 0.5); transition: background 0.4s, color 0.4s, border-color 0.4s; z-index: 1; flex: none; }
.engine li .dot svg { width: 20px; height: 20px; }
.engine li.on { color: var(--on-ink); }
.engine li.on .dot { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.engine-doc { margin-top: 18px; background: var(--cream); border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 16px; }
.engine-doc .paper { width: 94px; height: 64px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--white); padding: 10px; flex: none; }
.engine-doc .paper i { display: block; height: 4px; border-radius: 4px; background: var(--line); margin-bottom: 6px; }
.engine-doc .paper i:first-child { width: 45%; background: var(--gold); }
.engine-doc .paper i:nth-child(2) { width: 80%; }
.engine-doc .paper i:nth-child(3) { width: 60%; }
.engine-doc .bar { flex: 1; height: 10px; border-radius: 10px; background: var(--line); overflow: hidden; }
.engine-doc .bar span { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 10px; transition: width 0.6s; }
.engine-doc .seal { width: 46px; height: 46px; border-radius: 999px; background: var(--gold); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(240, 163, 65, 0.25); opacity: 0; transform: scale(0.6); transition: opacity 0.4s, transform 0.4s; flex: none; }
.engine-doc .seal svg { width: 22px; height: 22px; }
.engine.done .engine-doc .seal { opacity: 1; transform: scale(1); }

/* ---------- sound familiar ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 920px; margin: 44px auto 0; }
.quote { display: flex; gap: 16px; align-items: flex-start; padding: 24px; text-align: left; }
.quote p { font-size: 1.06rem; font-weight: 500; }
.turn { margin-top: 64px; }
.turn h3 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.1rem); }
.turn p { margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--bronze); }
@media (max-width: 767px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- system ---------- */
.parts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px auto 0; max-width: 820px; }
.parts span { display: inline-flex; align-items: center; gap: 8px; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; font-weight: 600; font-size: 0.9rem; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.step { padding: 30px; }
.step-top { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.step-top .n { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; color: var(--bronze); letter-spacing: 0.08em; }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--muted); }
.cta-row { margin-top: 44px; text-align: center; }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; } .cta-row .btn-cta { width: 100%; } }

/* ---------- proof (dark) ---------- */
.facts, .builders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; margin: 40px auto 0; }
.fact { padding: 26px; }
.fact strong { display: block; font-family: var(--font-display); font-size: 2.1rem; color: var(--gold); line-height: 1.1; margin-bottom: 12px; }
.fact p { color: var(--on-ink-muted); }
.builder { padding: 26px; }
.builder p { margin-top: 20px; font-weight: 600; }
.close-line { margin-top: 64px; font-size: clamp(1.5rem, 1.4vw + 1rem, 2rem); }
@media (max-width: 899px) { .facts, .builders { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.faq-grid h2 { font-size: clamp(2rem, 2.4vw + 1rem, 2.75rem); }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: transform 0.25s, background 0.25s, color 0.25s; }
.faq .pm svg { width: 15px; height: 15px; }
.faq details[open] .pm { background: var(--ink); color: var(--gold); border-color: var(--ink); transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 50px 24px 0; }
@media (max-width: 899px) { .faq-grid { grid-template-columns: 1fr; gap: 28px; } .faq details p { padding-right: 0; } }

/* ---------- guarantee bar ---------- */
.guarantee-bar { display: flex; align-items: center; gap: 18px; background: var(--ink); color: var(--on-ink); border-radius: 16px; padding: 22px 28px; max-width: 760px; margin: 0 auto; }
.guarantee-bar svg { width: 30px; height: 30px; color: var(--gold); flex: none; }
.guarantee-bar strong.g { color: var(--gold); }
.guarantee-bar .u { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- lead form ---------- */
.book-panel { border-radius: 28px; padding: 32px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center; margin-top: 28px; }
.book-panel h2 { font-size: clamp(2rem, 2.2vw + 1rem, 2.6rem); margin-top: 22px; }
@media (max-width: 899px) { .book-panel { grid-template-columns: 1fr; padding: 24px 16px; gap: 28px; } }

.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: 0.82rem; font-weight: 600; }
.field label .req { color: var(--alert); }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--white); color: var(--ink);
  font-size: 1rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(240, 163, 65, 0.3); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--alert); }
.field .err { margin-top: 4px; font-size: 0.85rem; font-weight: 600; color: var(--alert); }
.phone-box { grid-column: 1 / -1; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.phone-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 14px; align-items: start; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.76rem; line-height: 1.5; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.consent a { color: var(--ink); font-weight: 700; }
.mobile-info { margin-top: 12px; font-size: 0.72rem; line-height: 1.5; color: var(--muted); }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-error { margin-top: 12px; color: var(--alert); font-weight: 600; text-align: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .form-grid, .phone-row { grid-template-columns: 1fr; } .form-card { padding: 20px 16px; } }

/* ---------- booking page ---------- */
.page-hero { padding: 56px 0 64px; text-align: center; }
.page-hero h1 { font-size: clamp(2.1rem, 3vw + 1rem, 3.2rem); margin: 24px auto 20px; max-width: 900px; }
.page-hero p { color: var(--on-ink-muted); max-width: 680px; margin: 0 auto; }
.page-hero p strong { color: var(--gold); }
.step-head { display: flex; gap: 14px; align-items: flex-start; max-width: 780px; margin: 0 auto 18px; }
.step-head .num { width: 36px; height: 36px; font-size: 1rem; margin-top: 2px; }
.step-head h2 { font-size: clamp(1.25rem, 0.8vw + 1rem, 1.5rem); }
.step-head h2 b { color: var(--bronze); }
.video-card { max-width: 780px; margin: 0 auto; padding: 8px; }
.video-box { position: relative; border-radius: 12px; overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; }
.video-box video { width: 100%; height: 100%; object-fit: cover; }
.sound-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--gold); color: var(--ink); border: 0; border-radius: 14px;
  padding: 18px 26px; cursor: pointer; font-family: var(--font-display);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
}
.sound-btn svg { width: 30px; height: 30px; }
.sound-btn small { font-size: 0.82rem; font-weight: 600; }
.sound-btn span { font-size: clamp(1.1rem, 1.2vw + 0.8rem, 1.5rem); font-weight: 700; }
.discover { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; max-width: 980px; margin-left: auto; margin-right: auto; }
.discover > div { border-top: 2px solid var(--gold); padding-top: 22px; }
.discover h3 { font-size: 1.12rem; margin: 18px 0 8px; }
.discover p { color: var(--muted); }
@media (max-width: 899px) { .discover { grid-template-columns: 1fr; } }
.final-cta h2 { font-size: clamp(1.4rem, 1vw + 1rem, 1.75rem); max-width: 560px; margin: 32px auto 12px; }
.final-cta p { color: var(--bronze); font-weight: 600; max-width: 520px; margin: 0 auto 26px; }

/* ---------- thank you ---------- */
.alert-ring { width: 84px; height: 84px; border-radius: 999px; background: var(--alert-bg); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.alert-ring span { width: 52px; height: 52px; border-radius: 999px; border: 1px solid rgba(194, 65, 45, 0.35); background: var(--white); display: inline-flex; align-items: center; justify-content: center; color: var(--alert); }
.alert-ring svg { width: 26px; height: 26px; }
.ty-hero h1 { font-size: clamp(2.2rem, 3.4vw + 1rem, 3.6rem); }
.ty-hero .sub { color: var(--muted); max-width: 520px; margin: 18px auto 0; }
.ty-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 760px; margin: 36px auto 0; text-align: left; }
.ty-steps .card { display: flex; gap: 12px; padding: 20px; }
@media (max-width: 767px) { .ty-steps { grid-template-columns: 1fr; } }
.confirm { max-width: 760px; margin: 0 auto; display: flex; gap: 20px; padding: 28px; border: 1px solid rgba(240, 163, 65, 0.7); }
.confirm h2 { font-size: clamp(1.25rem, 0.9vw + 1rem, 1.6rem); margin: 8px 0 14px; }
.confirm .live { display: inline-block; width: 18px; height: 18px; border-radius: 999px; background: radial-gradient(circle at 35% 35%, #7ee2a8, #22a35a); vertical-align: -2px; margin-right: 6px; }
.confirm p { color: var(--muted); }
.confirm .bronze { margin-top: 10px; font-weight: 600; font-size: 0.92rem; }
@media (max-width: 640px) { .confirm { flex-direction: column; } }
.details { display: grid; grid-template-columns: 1fr auto; gap: 14px; max-width: 540px; margin: 16px auto 0; text-align: left; }
.details .card { padding: 18px 20px; }
.details b { display: block; color: var(--bronze); font-size: 0.85rem; margin-bottom: 4px; }
.details .big { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
@media (max-width: 640px) { .details { grid-template-columns: 1fr; } }
.ty-quote { padding: 72px 0; }
.ty-quote img { width: 40px; height: 40px; margin: 0 auto 22px; }
.ty-quote blockquote { margin: 0 auto; max-width: 640px; font-family: var(--font-sans); font-style: italic; font-weight: 500; font-size: clamp(1.2rem, 1vw + 1rem, 1.55rem); line-height: 1.45; }

/* ---------- legal pages ---------- */
.legal { padding: 64px 0 88px; }
.legal h1 { font-size: clamp(2rem, 2.4vw + 1rem, 2.8rem); }
.legal .meta { color: var(--muted); margin: 10px 0 36px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.legal p { color: #3a3430; }
.legal .aside { margin-top: 40px; padding: 18px 20px; font-size: 0.92rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink); border-top: 2px solid var(--gold); padding: 40px 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-id { display: flex; align-items: center; gap: 22px; }
.footer-id .logo { padding-right: 22px; border-right: 1px solid var(--ink-line); align-self: stretch; }
.footer-id p { font-size: 0.92rem; color: var(--on-ink-muted); }
.footer-id p strong { color: var(--on-ink); }
.footer-id a { color: var(--on-ink); text-decoration-color: rgba(240, 163, 65, 0.7); text-underline-offset: 3px; }
.footer-legal { text-align: right; font-size: 0.8rem; color: var(--on-ink-muted); }
.footer-legal nav { margin-bottom: 8px; font-size: 0.88rem; font-weight: 700; }
.footer-legal nav a { color: var(--on-ink); text-decoration: none; }
.footer-legal nav a:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-id { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-id .logo { border-right: 0; padding-right: 0; }
  .footer-legal { text-align: left; }
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
