/* =========================================================================
   Downs ICT — Site stylesheet
   Hand-editable. No build step required.
   Sections: 1 Tokens  2 Reset/base  3 Layout  4 Header/nav  5 Buttons
             6 Hero  7 Sections/cards  8 Footer  9 Forms  10 Utilities
   ========================================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand palette (from the Downs ICT logo) */
  --navy-900: #0a1526;
  --navy-800: #0d1b30;
  --navy-700: #12243f;
  --navy-600: #1a3355;
  --cyan-500: #29abe2;   /* brand blue */
  --cyan-400: #4dbce9;   /* bright accent */
  --cyan-300: #7fd0f0;
  --coral-500: #e0555f;  /* brand red / primary CTA */
  --coral-600: #cf434d;
  /* Accessible text/button shades — use these wherever text sits on a light
     background or white text sits on coral (WCAG AA, 4.5:1 or better). */
  --cyan-700: #0e76a8;   /* cyan text on white/tint (5.0:1) */
  --coral-700: #c8424c;  /* primary button / CTA background (4.8:1 with white) */
  --coral-800: #b8343e;  /* hover / gradient end */
  --gold-500: #d4a017;   /* subtle accent */

  --ink-900: #10192a;    /* headings on light */
  --ink-700: #33415a;    /* body on light */
  --ink-500: #5d6b83;    /* muted */
  --line: #e4e9f0;       /* hairlines on light */
  --surface: #ffffff;
  --surface-alt: #f5f8fb;
  --surface-tint: #eef4f9;

  /* On-dark text */
  --on-dark: #eaf2fb;
  --on-dark-muted: #9fb2ce;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16,25,42,.06), 0 2px 8px rgba(16,25,42,.05);
  --shadow-md: 0 6px 24px rgba(16,25,42,.09);
  --shadow-lg: 0 18px 50px rgba(10,21,38,.16);
  --shadow-glow: 0 10px 40px rgba(41,171,226,.28);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --font-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--surface);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-900); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
p { margin: 0 0 1rem; }
a { color: var(--cyan-700); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--coral-700); }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 108px); }
.section--tint { background: var(--surface-alt); }
.section--navy { background: var(--navy-800); color: var(--on-dark); }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--cyan-700);
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--coral-500); border-radius: 2px; }
.section--navy .eyebrow, .panel:not(.panel--light) .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--cyan-400); }
/* Links on dark backgrounds keep the brighter cyan */
.section--navy a:not(.btn), .panel:not(.panel--light) a:not(.btn) { color: var(--cyan-400); }
.section--navy a:not(.btn):hover, .panel:not(.panel--light) a:not(.btn):hover { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: 1.12rem; color: var(--ink-500); }
.section--navy .lead { color: var(--on-dark-muted); }

.grid { display: grid; gap: 24px; }
@media (min-width: 640px){ .grid.cols-2 { grid-template-columns: repeat(2,1fr);} }
@media (min-width: 860px){ .grid.cols-3 { grid-template-columns: repeat(3,1fr);} .grid.cols-4{grid-template-columns:repeat(4,1fr);} }
@media (min-width: 640px) and (max-width: 859px){ .grid.cols-4 { grid-template-columns: repeat(2,1fr);} }

/* ---------- 4. Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,21,38,.82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar { background: var(--navy-900); color: var(--on-dark-muted); font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: var(--on-dark-muted); }
.topbar a:hover { color: #fff; }
.topbar .portal { font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; color: var(--cyan-400); display:inline-flex; align-items:center; gap:6px; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand:hover { color: inherit; }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--on-dark); padding: 8px 14px; border-radius: 8px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a[aria-current="page"] { color: var(--cyan-400); }
.nav-cta { display: none; align-items: center; gap: 12px; }
.nav-phone { font-family: var(--font-head); font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.22); padding: 9px 16px; border-radius: 999px; font-size: .92rem; }
.nav-phone:hover { border-color: var(--cyan-400); color:#fff; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
  width: 46px; height: 42px; padding: 10px; border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px; background: transparent; cursor: pointer;
}
.nav-toggle span { height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.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 (min-width: 1000px){
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

.mobile-menu {
  display: none; background: var(--navy-800); border-top: 1px solid rgba(255,255,255,.08);
  padding: 12px var(--gutter) 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; color: var(--on-dark); font-family: var(--font-head); font-weight: 600; padding: 13px 6px; border-bottom: 1px solid rgba(255,255,255,.07); }
.mobile-menu a:hover { color: var(--cyan-400); }
.mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .16s ease, box-shadow .18s ease, background .18s ease, border-color .18s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--coral-700); color: #fff; box-shadow: 0 8px 22px rgba(224,85,95,.32); }
.btn-primary:hover { background: var(--coral-800); color:#fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(224,85,95,.4); }
.btn-cyan { background: var(--cyan-500); color: #04121f; }
.btn-cyan:hover { background: var(--cyan-400); color:#04121f; transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color:#fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--cyan-700); border-color: var(--cyan-700); }
.btn-outline:hover { background: var(--cyan-700); color: #fff; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; background: var(--navy-800); color: var(--on-dark); overflow: hidden; }
.hero::before { /* circuit / grid texture */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1000px 600px at 78% 18%, rgba(41,171,226,.22), transparent 60%),
    radial-gradient(700px 500px at 12% 90%, rgba(224,85,95,.12), transparent 60%),
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  z-index: 0;
}
.hero::after { /* subtle grid lines */
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(120% 100% at 70% 30%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 100% at 70% 30%, #000 30%, transparent 78%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; gap: 40px; align-items: center; padding-block: clamp(56px, 9vw, 104px); }
@media (min-width: 940px){ .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 .accent { color: var(--cyan-400); }
.hero-sub { font-size: 1.18rem; color: var(--on-dark-muted); max-width: 44ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2rem; }
.hero-rotator { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; color: var(--on-dark-muted); margin-bottom: 1rem; }
.hero-rotator .chip { background: rgba(41,171,226,.16); color: var(--cyan-300); border: 1px solid rgba(41,171,226,.35); padding: 6px 14px; border-radius: 999px; font-weight: 700; min-width: 168px; text-align:center; transition: opacity .3s; }
.rotator-toggle { width:28px; height:28px; border-radius:50%; border:1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: var(--on-dark-muted); font-size:.62rem; line-height:1; cursor:pointer; display:grid; place-items:center; padding:0; }
.rotator-toggle:hover { color:#fff; border-color: var(--cyan-400); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; color: var(--on-dark-muted); font-size: .9rem; }
.trust-row .badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; letter-spacing: .04em; font-size: .78rem; text-transform: uppercase; color: var(--cyan-300); }
.trust-row .badge::before { content:""; width:8px; height:8px; border-radius:50%; background: var(--gold-500); box-shadow: 0 0 10px var(--gold-500); }

/* Hero side card */
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg); }
.hero-card h3 { color:#fff; font-size: 1.1rem; }
.hero-card .stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 18px; }
.hero-card .stat { text-align: center; }
.hero-card .stat b { display:block; font-family: var(--font-head); font-size: 1.8rem; color: var(--cyan-400); line-height:1; }
.hero-card .stat span { font-size: .74rem; color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: .06em; }
.hero-card ul.mini { margin-top: 20px; display: grid; gap: 10px; }
.hero-card ul.mini li { display:flex; gap:10px; font-size:.92rem; color: var(--on-dark); }
.hero-card ul.mini li::before { content:"✓"; color: var(--cyan-400); font-weight: 800; }

/* ---------- 7. Sections / cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0ee; }
.card .num { font-family: var(--font-head); font-weight: 800; color: var(--cyan-700); font-size: .85rem; letter-spacing:.1em; }
.card .kicker { font-family: var(--font-head); font-weight:700; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color: var(--ink-500); margin:.4rem 0; }
.card h3 { margin: .2rem 0 .5rem; }
.card p { color: var(--ink-500); font-size: .96rem; }
.card .card-link { margin-top: auto; padding-top: 12px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; display:inline-flex; align-items:center; gap:7px; }
.card .card-link::after { content:"→"; transition: transform .18s; }
.card:hover .card-link::after { transform: translateX(4px); }
.card .ic { width: 52px; height: 52px; border-radius: 13px; display:grid; place-items:center; background: linear-gradient(135deg, rgba(41,171,226,.14), rgba(224,85,95,.12)); color: var(--cyan-500); margin-bottom: 16px; }
.card .ic svg { width: 26px; height: 26px; }

/* Feature (why us) tiles on navy */
.feature { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px; }
.feature .num { color: var(--cyan-400); }
.feature h3 { color:#fff; }
.feature p { color: var(--on-dark-muted); font-size:.96rem; }

/* Split (about / 3CX) */
.split { display: grid; gap: clamp(32px,5vw,64px); align-items: center; }
@media (min-width: 900px){ .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } }
.check-list { display: grid; gap: 12px; margin: 22px 0; }
.check-list li { display: flex; gap: 12px; align-items:flex-start; font-weight: 500; }
.check-list li::before { content:"✓"; flex:none; width:24px; height:24px; border-radius:50%; background: rgba(41,171,226,.15); color: var(--cyan-500); font-weight:800; display:grid; place-items:center; font-size:.8rem; margin-top:2px; }
.section--navy .check-list li { color: var(--on-dark); }
.panel { background: linear-gradient(150deg, var(--navy-700), var(--navy-800)); border:1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: clamp(28px,4vw,44px); color: var(--on-dark); box-shadow: var(--shadow-lg); }
.panel--light { background: var(--surface); border-color: var(--line); color: var(--ink-700); }

/* Stat band */
.statband { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; text-align:center; }
@media(min-width:720px){ .statband{ grid-template-columns: repeat(4,1fr);} }
.statband .s b { font-family: var(--font-head); font-weight:800; font-size: clamp(2.2rem,5vw,3.2rem); color: var(--cyan-400); display:block; line-height:1; }
.statband .s span { color: var(--on-dark-muted); font-size:.9rem; text-transform:uppercase; letter-spacing:.06em; }

/* Testimonials */
.quote { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); height:100%; }
.quote .stars { color: var(--gold-500); letter-spacing: 3px; margin-bottom: 12px; }
.quote p { color: var(--ink-700); font-size:1rem; }
.quote .who { display:flex; align-items:center; gap:12px; margin-top:18px; }
.quote .who .av { width:44px; height:44px; border-radius:50%; background: linear-gradient(135deg,var(--cyan-500),var(--coral-500)); color:#fff; display:grid; place-items:center; font-family:var(--font-head); font-weight:800; }
.quote .who b { font-family:var(--font-head); color: var(--ink-900); }

/* Case studies */
.case { border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.case .case-top { background: var(--navy-800); color:#fff; padding: 16px 22px; font-family:var(--font-head); font-weight:700; letter-spacing:.1em; text-transform:uppercase; font-size:.74rem; }
.case .case-body { padding: 24px 22px; }
.case .case-body dt { font-family:var(--font-head); font-weight:800; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color: var(--coral-700); margin-top: 14px; }
.case .case-body dt:first-child { margin-top:0; }
.case .case-body dd { margin:4px 0 0; color: var(--ink-700); font-size:.96rem; }
.case .result { background: var(--surface-tint); color: var(--ink-900); font-weight:600; padding: 14px 22px; border-top:1px solid var(--line); }

/* Partner logos strip */
.logos { display:flex; flex-wrap:wrap; gap: 14px; }
.logos .lg { background: var(--surface); border:1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-family:var(--font-head); font-weight:700; color: var(--ink-700); font-size:.9rem; box-shadow: var(--shadow-sm); }
.section--navy .logos .lg { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--on-dark); }

/* Blog cards */
.post { display:flex; flex-direction:column; background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; height:100%; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg,var(--navy-700),var(--cyan-500)); position:relative; }
.post .thumb[data-cat]::after { content: attr(data-cat); position:absolute; left:14px; top:14px; background:#fff; color:var(--ink-900); font-family:var(--font-head); font-weight:800; font-size:.66rem; letter-spacing:.1em; text-transform:uppercase; padding:5px 11px; border-radius:999px; }
.post .p-body { padding: 22px; display:flex; flex-direction:column; flex:1; }
.post .p-meta { color: var(--ink-500); font-size:.82rem; margin-bottom:8px; }
.post h2, .post h3 { font-size:1.14rem; }
.post h2 a, .post h3 a { color: inherit; }
.post h2 a:hover, .post h3 a:hover { color: var(--cyan-700); }
.post .card-link { margin-top:auto; font-family:var(--font-head); font-weight:700; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--coral-700), var(--coral-800)); color:#fff; border-radius: var(--radius-lg); padding: clamp(36px,6vw,64px); text-align:center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color:#fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 52ch; margin-inline:auto; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.6); }
.cta-band .btn-cyan { background:#fff; color: var(--coral-800); }
.cta-band .btn-cyan:hover { background: var(--navy-900); color:#fff; }

/* ---------- 8. Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); padding-block: clamp(48px,6vw,72px) 0; }
.footer-grid { display:grid; gap: 36px; }
@media(min-width:720px){ .footer-grid{ grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color:#fff; font-size:.82rem; letter-spacing:.14em; text-transform:uppercase; margin-bottom: 16px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--cyan-400); }
.site-footer .f-links li { margin-bottom: 10px; }
.site-footer .f-brand img { height: 42px; width: auto; margin-bottom: 16px; }
.site-footer .f-brand p { font-size:.92rem; max-width: 34ch; }
.f-contact li { display:flex; gap:10px; margin-bottom:12px; font-size:.94rem; }
.f-contact svg { width:18px; height:18px; flex:none; color: var(--cyan-400); margin-top:3px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); margin-top: 44px; padding-block: 22px; font-size:.84rem; display:flex; flex-wrap:wrap; gap:10px 20px; justify-content:space-between; }

/* ---------- 9. Forms ---------- */
.form-card { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px,4vw,40px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display:block; font-family:var(--font-head); font-weight:600; font-size:.9rem; color: var(--ink-900); margin-bottom:7px; }
.field input, .field textarea, .field select {
  width:100%; padding: 13px 15px; border:1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink-900); background: var(--surface-alt); transition: border-color .16s, box-shadow .16s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--cyan-500); box-shadow: 0 0 0 3px rgba(41,171,226,.18); background:#fff; }
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display:grid; gap:18px; }
@media(min-width:560px){ .form-row.two { grid-template-columns:1fr 1fr; } }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.form-note { font-size:.82rem; color: var(--ink-500); margin-top:6px; }
.form-status { margin-top:14px; padding:12px 16px; border-radius:var(--radius-sm); font-size:.92rem; display:none; }
.form-status.ok { display:block; background:#e7f7ee; color:#12703f; border:1px solid #bfe6cf; }
.form-status.err { display:block; background:#fdeceb; color:#a3282a; border:1px solid #f3c7c5; }

/* ---------- 10. Utilities ---------- */
.center { text-align:center; }
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.stack > * + * { margin-top: 1rem; }
.skip-link { position:absolute; left:-999px; top:auto; background:#fff; color:var(--ink-900); padding:10px 16px; border-radius:8px; z-index:100; }
.skip-link:focus { left: 16px; top: 10px; }
/* Content is visible by default. Only elements JS has marked as below the fold
   (`will-reveal`) start hidden, so nothing above the fold can ever be blank. */
.js .reveal.will-reveal { opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.will-reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .js .reveal.will-reveal { opacity:1; transform:none; } }
.page-hero { background: var(--navy-800); color: var(--on-dark); position:relative; overflow:hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(800px 400px at 80% 0%, rgba(41,171,226,.2), transparent 60%), linear-gradient(120deg,var(--navy-900),var(--navy-700)); }
.page-hero .wrap { position:relative; z-index:2; padding-block: clamp(48px,7vw,84px); }
.page-hero h1 { color:#fff; }
.page-hero .lead { color: var(--on-dark-muted); max-width: 60ch; }
.crumbs { font-size:.85rem; color: var(--on-dark-muted); margin-bottom: 14px; font-family:var(--font-head); }
.crumbs a { color: var(--cyan-400); }
.badge-pill { display:inline-flex; align-items:center; gap:8px; background:rgba(41,171,226,.14); border:1px solid rgba(41,171,226,.34); color:var(--cyan-300); font-family:var(--font-head); font-weight:700; font-size:.76rem; letter-spacing:.1em; text-transform:uppercase; padding:7px 15px; border-radius:999px; }

/* Article / prose */
.prose { max-width: 760px; margin-inline: auto; }
.prose > * { margin-bottom: 1.25rem; }
.prose h2 { margin-top: 2.2rem; font-size: clamp(1.5rem,3vw,2rem); }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose li { font-size: 1.08rem; color: var(--ink-700); }
.prose ul { list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: "▸"; position: absolute; left: 4px; color: var(--cyan-700); font-weight: 800; }
.prose ol { padding-left: 22px; display: grid; gap: 10px; }
.prose blockquote { margin: 1.6rem 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--coral-500); font-size: 1.15rem; color: var(--ink-900); font-family: var(--font-head); font-weight: 500; }
.prose strong { color: var(--ink-900); }
.article-meta { display:flex; flex-wrap:wrap; gap:8px 16px; align-items:center; color:var(--on-dark-muted); font-family:var(--font-head); font-size:.9rem; margin-top:14px; }
.article-meta .cat { color: var(--cyan-400); font-weight:700; letter-spacing:.08em; text-transform:uppercase; font-size:.76rem; }

/* Tables inside articles (wrapped in .table-wrap so they scroll on phones) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-alt); font-family: var(--font-head); color: var(--ink-900); font-size: .86rem; }
.prose tr:last-child td { border-bottom: 0; }
.prose ol li::marker { color: var(--cyan-700); font-weight: 700; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Photos */
.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: var(--surface-alt); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.card .media { margin: -28px -28px 20px; border-radius: var(--radius) var(--radius) 0 0; box-shadow: none; aspect-ratio: 4/3; }

/* FAQ accordions (native <details>, no JS) */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font-family: var(--font-head); font-weight: 700; color: var(--ink-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--cyan-700); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-700); padding-bottom: 18px; margin: 0; }

/* Pricing / tier cards */
.price { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative; }
.price--featured { border: 2px solid var(--coral-700); box-shadow: var(--shadow-md); }
.price .flag { position: absolute; top: -13px; left: 24px; background: var(--coral-700); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.price .amount { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--ink-900); line-height: 1.1; margin: 8px 0 2px; }
.price .amount small { font-size: .9rem; font-weight: 600; color: var(--ink-500); }
.price dl { margin: 18px 0 22px; display: grid; gap: 8px; font-size: .92rem; }
.price dl div { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.price dt { color: var(--ink-500); }
.price dd { margin: 0; color: var(--ink-900); font-weight: 600; text-align: right; }
.price .btn { margin-top: auto; }

/* Numbered steps */
.steps { counter-reset: step; }
.steps .card::before { counter-increment: step; content: "Step " counter(step); font-family: var(--font-head); font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-700); margin-bottom: 8px; }
