/* ==========================================================================
   Yangabid marketing site
   Design notes
   - The whole site is built around one physical object: the day pass.
     400 naira buys a ticket into the market for the day, so the ticket stub
     (perforated edge, notched sides, mono serial numbers) is the recurring
     card shape across hero, testimonials and the download block.
   - Green is kept from the app but pushed into two directions: a near black
     forest ink for structure and a bright market green for action.
   - Display face is Bricolage Grotesque, body is Manrope, and DM Mono is
     used only for amounts, serials and labels, the way a real ticket prints.
   ========================================================================== */

/* 1. Tokens
   ------------------------------------------------------------------ */
:root {
  --ink:        #071A0E;
  --ink-soft:   #0E2C18;
  --ink-line:   #1B4227;
  --green:      #1FBF3B;
  --green-deep: #0E7A2A;
  --lime:       #C9F24C;
  --gold:       #FFC220;
  --cream:      #FBF7EC;
  --white:      #FFFFFF;
  --text:       #16241B;
  --muted:      #5C6E62;
  --line:       rgba(11, 42, 23, .14);
  --danger:     #B3261E;

  --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "DM Mono", ui-monospace, "Courier New", monospace;

  --wrap: 1180px;
  --gutter: 24px;
  --radius: 18px;
  --shadow-soft: 0 18px 50px rgba(7, 26, 14, .10);
  --shadow-lift: 0 26px 70px rgba(7, 26, 14, .18);
}

/* 2. Reset and base
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0 0 .4em;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -.015em; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--lime);
  color: var(--ink);
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 3. Shared type helpers
   ------------------------------------------------------------------ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--green);
  display: inline-block;
}
.eyebrow--light { color: var(--lime); }
.eyebrow--light::before { background: var(--lime); }

.lede { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.lede--light { color: rgba(255, 255, 255, .78); }

.amount {
  font-family: var(--font-mono);
  font-weight: 500;
  font-feature-settings: "tnum";
}

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: var(--white); }
.section--tight { padding-top: clamp(48px, 6vw, 72px); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* 4. Buttons
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: -.01em;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #04140A; }
.btn--primary:hover { background: var(--lime); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--green-deep); }
.btn--block { width: 100%; }

/* Store badges, drawn rather than imported so they stay crisp */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 18px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  transition: transform .18s ease, border-color .18s ease;
}
.store:hover { transform: translateY(-2px); border-color: var(--lime); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: block; line-height: 1.15; }
.store .store__top {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  opacity: .8;
  font-family: var(--font-mono);
}
.store .store__name { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; }
.stores--onlight .store { background: var(--ink); border-color: transparent; }
@media (max-width: 480px) {
  .stores { flex-direction: column; align-items: stretch; }
  .store { width: 100%; }
}

/* 5. Header and navigation
   ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: -.03em;
  line-height: 1;
}
.brand__word em { font-style: normal; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .74);
  font-size: .95rem;
  font-weight: 600;
  transition: color .16s ease, background-color .16s ease;
}
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
.nav a[aria-current="page"] { color: var(--lime); }

.header-cta { display: inline-flex; }
.nav > .btn { display: none; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--ink-line);
    padding: 12px var(--gutter) 26px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--ink-line); font-size: 1.05rem; }
  .nav > .btn { display: inline-flex; margin-top: 18px; border-bottom: none; }
}

/* 6. Hero
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(31, 191, 59, .28), transparent 68%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .naira { color: var(--gold); }
.hero h1 .stroke {
  -webkit-text-stroke: 2px var(--lime);
  color: transparent;
}
.hero__actions { margin-top: 34px; }
.hero__note {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
}

/* 7. Signature: the day pass ticket
   ------------------------------------------------------------------ */
.ticket {
  --notch: var(--ink);
  position: relative;
  background: var(--cream);
  color: var(--text);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-lift);
}
/* notched sides, cut from the surrounding background colour */
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--notch);
  top: var(--notch-top, 58%);
}
.ticket::before { left: -13px; }
.ticket::after  { right: -13px; }

.ticket__perf {
  border: none;
  border-top: 2px dashed rgba(11, 42, 23, .28);
  margin: 22px -32px;
}

.ticket__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ticket__label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.ticket__price {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  margin: 0;
}
.ticket__price sup { font-size: .42em; top: -.75em; color: var(--green-deep); }
.ticket__serial {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .06em;
}
.ticket__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticket__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .95rem;
  line-height: 1.5;
}
.ticket__list li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 2px;
  background: var(--green);
  transform: rotate(45deg);
}

/* the spinning wheel that sits behind the ticket */
.hero__stage { position: relative; display: flex; justify-content: center; }
.wheel {
  position: absolute;
  top: -46px;
  right: -30px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: conic-gradient(
    var(--green)   0deg  30deg,
    var(--gold)   30deg  60deg,
    #E8452F       60deg  90deg,
    var(--lime)   90deg 120deg,
    #2E7DD6      120deg 150deg,
    var(--gold)  150deg 180deg,
    #8E44C6      180deg 210deg,
    var(--green) 210deg 240deg,
    #E8452F      240deg 270deg,
    var(--lime)  270deg 300deg,
    #2E7DD6      300deg 330deg,
    var(--gold)  330deg 360deg
  );
  border: 9px solid var(--ink-soft);
  box-shadow: 0 0 0 4px var(--gold), var(--shadow-lift);
  animation: spin 26s linear infinite;
}
.wheel::after {
  content: "";
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  background: var(--ink-soft);
  border: 3px solid var(--gold);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__ticket { position: relative; z-index: 2; width: min(100%, 420px); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .wheel { width: 150px; height: 150px; top: -54px; right: 0; }
}

/* 8. Marquee strip
   ------------------------------------------------------------------ */
.strip {
  background: var(--lime);
  color: var(--ink);
  padding: 16px 0;
  overflow: hidden;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.strip__track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: slide 34s linear infinite;
  font-family: var(--font-mono);
  font-size: .84rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.strip__track span { display: inline-flex; align-items: center; gap: 44px; }
.strip__track span::after { content: "\25C6"; color: var(--green-deep); }
@keyframes slide { to { transform: translateX(-50%); } }

/* 9. Numbered steps
   ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); }
.step {
  background: var(--cream);
  padding: 34px 26px 40px;
  position: relative;
}
.section--ink .step { background: var(--ink-soft); }
.step__no {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--green-deep);
  display: block;
  margin-bottom: 26px;
}
.section--ink .step__no { color: var(--lime); }
.step h3 { margin-bottom: 12px; }
.step p { font-size: .96rem; color: var(--muted); }
.section--ink .step p { color: rgba(255, 255, 255, .7); }

@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* 10. Category tiles
   ------------------------------------------------------------------ */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 30px;
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.tile__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--lime);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}
.tile h3 { font-size: 1.1rem; margin-bottom: 8px; }
.tile p { font-size: .92rem; color: var(--muted); }
@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }

/* 11. Testimonials
   ------------------------------------------------------------------ */
.voices { position: relative; }
.voices__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 1fr);
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.voices__rail > * { scroll-snap-align: start; }
.voice {
  --notch: var(--cream);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: none;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
}
.voice::before, .voice::after { display: none; }
.voice .ticket__perf { margin-top: auto; margin-inline: -28px; }
.voice__quote { font-size: 1.02rem; line-height: 1.6; margin: 0; }
.voice__quote::before { content: "\201C"; font-family: var(--font-display); font-size: 2.6rem; line-height: 0; color: var(--green); vertical-align: -.28em; margin-right: 4px; }
.voice__who { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.voice__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink-soft);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  flex: none;
  overflow: hidden;
}
.voice__avatar img { width: 100%; height: 100%; object-fit: cover; }
.voice__name { font-weight: 700; font-size: .98rem; }
.voice__meta { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); letter-spacing: .04em; }

.voices__hint {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* 12. FAQ
   ------------------------------------------------------------------ */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -.015em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--green-deep);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 44px 24px 0; color: var(--muted); font-size: 1rem; }

/* 13. Download block
   ------------------------------------------------------------------ */
.download {
  background: linear-gradient(120deg, var(--green-deep), var(--green) 62%, var(--lime));
  color: var(--ink);
  border-radius: 26px;
  padding: clamp(40px, 6vw, 68px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download h2 { max-width: 16ch; margin-inline: auto; }
.download p { max-width: 52ch; margin-inline: auto; color: rgba(7, 26, 14, .78); }
.download .stores { justify-content: center; margin-top: 32px; }

/* 14. Content pages
   ------------------------------------------------------------------ */
.page-head {
  background: var(--ink);
  color: var(--white);
  padding: clamp(52px, 7vw, 92px) 0 clamp(48px, 6vw, 76px);
}
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 16px; }
.page-head p { color: rgba(255, 255, 255, .75); max-width: 62ch; }
.page-head .updated {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-top: 22px;
}

.prose { max-width: 780px; }
.prose h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  margin-top: 52px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
}
.prose h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.prose h3 { font-size: 1.12rem; margin-top: 30px; }
.prose p, .prose li { color: #2A3A2F; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose strong { font-weight: 700; color: var(--text); }
.prose .callout {
  background: var(--cream);
  border-left: 4px solid var(--green);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
}

.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 100px; }
.legal-toc p {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.legal-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.legal-toc li { counter-increment: toc; margin-bottom: 2px; }
.legal-toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: .9rem;
  color: var(--muted);
  border-left: 2px solid var(--line);
}
.legal-toc a::before { content: counter(toc) ". "; font-family: var(--font-mono); font-size: .78rem; color: var(--green-deep); }
.legal-toc a:hover { background: var(--cream); color: var(--text); }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
}

/* 15. About page pieces
   ------------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.fact { border-top: 3px solid var(--green); padding-top: 16px; }
.fact__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -.03em;
  line-height: 1;
}
.fact__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.section--ink .fact__label { color: rgba(255, 255, 255, .6); }
@media (max-width: 620px) { .facts { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; background: var(--white); }
.value h3 { font-size: 1.15rem; }
.value p { font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }

/* 16. Contact page
   ------------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 32px;
}
.contact-card h3 { color: var(--white); }
.contact-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--ink-line); }
.contact-line:last-of-type { border-bottom: none; }
.contact-line__label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  min-width: 74px;
  padding-top: 3px;
}
.contact-line__value { color: rgba(255, 255, 255, .88); font-size: .98rem; }
.contact-line__value a:hover { color: var(--lime); }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: .92rem; }
.field .hint { font-size: .82rem; color: var(--muted); font-weight: 400; }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  width: 100%;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 191, 59, .16);
  outline: none;
}
.field--half { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .field--half { grid-template-columns: 1fr; } }
.field .error { color: var(--danger); font-size: .85rem; font-weight: 600; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--danger); }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

.alert {
  border-radius: 12px;
  padding: 16px 18px;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
}
.alert--ok { background: rgba(31, 191, 59, .12); border: 1px solid rgba(31, 191, 59, .4); color: var(--green-deep); }
.alert--bad { background: rgba(179, 38, 30, .08); border: 1px solid rgba(179, 38, 30, .3); color: var(--danger); }

.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 28px; }
.map-frame iframe { display: block; width: 100%; height: 320px; border: 0; }

/* 17. Footer
   ------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 72px 0 0; }
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 500;
  margin: 0 0 18px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--lime); }
.footer-brand p { font-size: .95rem; max-width: 34ch; margin-top: 18px; }
.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  margin-bottom: 10px;
}
.footer-tagline em { font-style: normal; color: var(--green); }

.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--ink-line);
  display: grid;
  place-items: center;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}
.socials a:hover { background: var(--green); border-color: var(--green); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid var(--ink-line);
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .86rem;
}
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* 18. Motion and reveal
   ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* 19. Print, mainly for the legal pages
   ------------------------------------------------------------------ */
@media print {
  .site-header, .site-footer, .download, .legal-toc, .strip { display: none !important; }
  body { font-size: 12pt; }
  .prose { max-width: none; }
}


.phones{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    perspective: 1200px;
}

.phones__img{
    display: block;
    flex: 0 0 auto;          /* stop flexbox shrinking one of them */
    height: clamp(320px, 42vw, 500px);
    width: auto;             /* let width follow the height */
    max-width: none;         /* override the global img max-width */
    border-radius: 26px;
    filter: drop-shadow(0 26px 40px rgba(0,0,0,.35));
}

/* left phone sits forward */
.phones__img--front{
    position: relative;
    z-index: 2;
    transform: rotate(-4deg);
}

/* right phone tucks behind and overlaps */
.phones__img--back{
    position: relative;
    z-index: 1;
    margin-left: -8%;
    transform: rotate(3deg);
}

@media (max-width: 640px){
    .phones__img{ height: clamp(240px, 52vw, 340px); }
    .phones__img--back{ margin-left: -10%; }
}
