/* ============================================================
   ROUX AND CO. — v2 "Midnight" theme
   Dark navy brand base, refined type, glass surfaces, gradient accents.
   Edit colours/fonts in :root.
   ============================================================ */

@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  --bg: #020a16;
  --bg-2: #061529;
  --navy: #001f3f;            /* brand navy */
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f1f5fb;
  --muted: #aab6c8;           /* ~9:1 on --bg */
  --faint: #96a2b6;           /* >= 4.7:1 even over the brightest rain glyph */
  --blue: #2f86ff;            /* brand blue, lifted for contrast */
  --blue-ink: #0b63e5;        /* button base (white text >= 4.6:1) */
  --cyan: #38c8ff;
  --mint: #3ee6a8;
  --wa: #25d366;
  --wa-ink: #0c7a39;          /* white text 5.4:1 (AA) */
  --grad: linear-gradient(120deg, #2f86ff 0%, #38c8ff 55%, #3ee6a8 100%);
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(47, 134, 255, 0.45); color: #fff; }
img, svg { display: block; max-width: 100%; }
a { color: #7fb4ff; text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* page transition (cross-document View Transitions, progressive) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .12s; }  /* quick cross-fade, never blocks content */

/* ---------- background ---------- */
.bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(47, 134, 255, 0.18), transparent 60%),
    radial-gradient(900px 600px at -10% 10%, rgba(0, 31, 63, 0.9), transparent 70%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 55%);
}
.bg::before { /* fine grid, masked */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* brand watermark (fixed, centred, faint; never intercepts clicks). Vector trace of the emblem (tools/trace_emblem.py),
   so edges stay smooth at any size/DPR; the old 127x99 PNG was being upscaled ~6x and looked stair-stepped. */
.bg .watermark {
  position: absolute; left: 50%; top: 50%; width: min(78vw, 760px); aspect-ratio: 127 / 99;
  transform: translate(-50%, -46%);
  background: url("../img/mark-emblem.svg") center / contain no-repeat;
  opacity: .03;
}
/* matrix code rain canvas (injected by main.js after load) */
#code-rain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: .6; }  /* worst-case glyph keeps body/faint text >= 4.5:1 */

/* cursor glow (desktop, fine pointer only; positioned by JS) */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0;
  background: radial-gradient(circle, rgba(47,134,255,.13), rgba(56,200,255,.05) 40%, transparent 70%);
  transition: opacity .4s; will-change: transform;
}
.cursor-glow.on { opacity: 1; }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: 22px; }
@media (min-width: 768px) { .container { padding-inline: 40px; } }
main, .site-footer { position: relative; z-index: 2; }
.section { padding: 110px 0; }
.section.tight { padding-top: 0; }
@media (max-width: 640px) { .section { padding: 72px 0; } }

/* ---------- type ---------- */
h1, h2, h3, h4 { color: #fff; font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; }
h1 { font-size: clamp(40px, 6.4vw, 78px); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(32px, 4.4vw, 54px); }
h3 { font-size: 20px; letter-spacing: -0.015em; line-height: 1.25; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 620px; line-height: 1.6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--muted);
  padding: 7px 14px 7px 10px; border: 1px solid var(--border); border-radius: 999px;
  background: rgba(6, 18, 38, .78);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(62,230,168,.15); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head .lead { margin-top: 18px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background .35s var(--ease), border-color .35s, box-shadow .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(3, 12, 26, 0.93);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,.6);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; transition: height .35s var(--ease); }
.site-header.scrolled .header-inner { height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: linear-gradient(145deg, #0d3466, #001226);
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 24px -10px rgba(47,134,255,.6);
}
.brand-mark img { width: 30px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.brand-sub { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; padding: 9px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: #fff; background: var(--surface-2); }
.nav-link.active { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--border); }
.nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: rgba(6, 18, 38, .85);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px; position: relative; z-index: 3;
}
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .brand { position: relative; z-index: 3; }
  .nav {
    position: fixed; inset: 0; z-index: 2;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    padding: calc(var(--header-h) + 18px) 22px 32px;
    background: #030c1a;               /* fully opaque: page never shows through */
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav-link { font-size: 26px; font-weight: 600; letter-spacing: -.02em; color: #fff; padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--border); }
  .nav-link:hover, .nav-link.active { background: none; box-shadow: none; }
  .nav-link.active { color: var(--cyan); }
  .nav .btn { margin: 22px 0 0; justify-content: center; }
  body.menu-open { overflow: hidden; }
  .site-header.menu-on { background: #030c1a; }
}

/* ---------- buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
  transform: translate(var(--mx), var(--my));
  transition: transform .35s var(--ease), background .25s, box-shadow .3s, border-color .25s, color .2s;
  isolation: isolate; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { color: #fff; }
.btn-primary {
  color: #fff; background: var(--blue-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 30px -10px rgba(47,134,255,.8);
}
.btn-primary::before { /* gradient sheen */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(120deg, #1a74f5, #0b5bd6 60%, #0a4fbd);
}
.btn-primary::after { /* moving shine */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn-primary:hover::after { left: 120%; }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 16px 40px -12px rgba(47,134,255,.95); }
.btn-ghost { color: #fff; border: 1px solid var(--border-strong); background: rgba(6, 18, 38, .8); }
.btn-ghost:hover { border-color: rgba(255,255,255,.32); background: rgba(16, 34, 62, .9); }
.btn-wa { color: #fff; background: var(--wa-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 30px -12px rgba(37,211,102,.7); }
.btn-wa:hover { background: #0a6f33; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 56px; } }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 34px; }
.hero-note { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--mint); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } }
.page-hero { padding: 64px 0 40px; }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 68px); margin-bottom: 20px; max-width: 900px; }

/* illustrative browser mock in hero */
.mock {
  position: relative; border-radius: 22px; padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,.04) 40%, rgba(47,134,255,.35));
  box-shadow: 0 40px 100px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02);
  transform-style: preserve-3d;
}
.mock-inner { border-radius: 21px; overflow: hidden; background: linear-gradient(180deg, #0a1a33, #06122a); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.mock-url { margin-left: 12px; flex: 1; height: 26px; border-radius: 8px; background: rgba(255,255,255,.05); display: flex; align-items: center; padding: 0 12px; font-size: 12px; color: var(--faint); gap: 8px; }
.mock-url svg { width: 12px; height: 12px; color: var(--mint); }
.mock-body { padding: 26px; display: grid; gap: 16px; }
.sk { border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,.07), rgba(255,255,255,.12), rgba(255,255,255,.07)); background-size: 200% 100%; animation: shimmer 3.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk-title { height: 26px; width: 78%; }
.sk-title.b { width: 54%; height: 26px; margin-top: -6px; background: var(--grad); opacity: .85; animation: none; }
.sk-line { height: 10px; width: 92%; }
.sk-line.s { width: 66%; }
.sk-row { display: flex; gap: 10px; margin-top: 6px; }
.sk-btn { height: 34px; width: 120px; border-radius: 999px; background: var(--blue-ink); }
.sk-btn.g { background: rgba(255,255,255,.08); width: 96px; }
.sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.sk-card { height: 70px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--border); }
.mock-toast {
  position: absolute; right: -18px; bottom: 34px; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(8, 22, 44, .94); border: 1px solid var(--border-strong);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8);
  transform: translateZ(40px);
  animation: toast 6s 1.2s var(--ease) infinite;
}
.mock-toast .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--wa-ink); color: #fff; }
.mock-toast .ic svg { width: 20px; height: 20px; }
.mock-toast b { display: block; font-size: 14px; color: #fff; font-weight: 600; }
.mock-toast small { font-size: 12.5px; color: var(--muted); }
@keyframes toast { 0%, 8% { opacity: 0; transform: translateY(12px) translateZ(40px); } 14%, 80% { opacity: 1; transform: translateY(0) translateZ(40px); } 90%, 100% { opacity: 0; transform: translateY(-6px) translateZ(40px); } }
.mock-badge {
  position: absolute; left: -16px; top: 70px; padding: 10px 14px; border-radius: 14px; font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(8, 22, 44, .94); border: 1px solid var(--border-strong);
  display: flex; align-items: center; gap: 8px; transform: translateZ(30px);
  animation: bob 5s ease-in-out infinite;
}
.mock-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(62,230,168,.2); }
@keyframes bob { 50% { transform: translateY(-8px) translateZ(30px); } }
/* CTA under the mock (was an inline style). The toast sits ABOVE the CTA so it never covers it. */
a.mock { display: block; color: inherit; text-decoration: none; cursor: pointer; }
.mock-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px;
  padding: 13px 20px; border-radius: 999px; background: #4db3ff; color: #001f3f;
  font-weight: 700; font-size: 15px; text-align: center; box-shadow: 0 8px 24px rgba(77,179,255,.35);
}
a.mock:hover .mock-cta, a.mock:focus-visible .mock-cta { background: #7cc7ff; }
/* "Click here" cue centred ABOVE the demo window (owner request): static and always visible.
   Its row is in normal flow, so its space is always reserved. Only the glow breathes, very gently. */
.mock-cue-row { display: flex; justify-content: center; margin-bottom: 16px; pointer-events: none; }
.mock-cue {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 20px; border-radius: 999px;
  background: linear-gradient(120deg, #4db3ff 0%, #38c8ff 55%, #3ee6a8 100%); color: #001f3f;  /* >= 7.9:1 across the gradient */
  font-size: 1rem; font-weight: 800; line-height: 1.2; letter-spacing: .01em; white-space: nowrap;
  box-shadow: 0 0 22px rgba(56,200,255,.45), 0 8px 24px -8px rgba(0,0,0,.6);
  animation: cue-glow 3s ease-in-out infinite;
}
.mock-cue svg { width: 18px; height: 18px; flex: none; }
@keyframes cue-glow {
  0%, 100% { box-shadow: 0 0 18px rgba(56,200,255,.40), 0 8px 24px -8px rgba(0,0,0,.6); }
  50% { box-shadow: 0 0 28px rgba(62,230,168,.55), 0 8px 24px -8px rgba(0,0,0,.6); }
}
.mock.anim-paused *, .mock.anim-paused *::before, .mock-wrap.anim-paused .mock-cue { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .mock-cue { animation: none !important; } }
.mock-toast { bottom: 100px; }   /* CTA block is ~64px tall (16px margin + ~48px pill) */
@media (max-width: 560px) {
  .mock-toast { right: 10px; bottom: 82px; padding: 10px 14px 10px 10px; }
  .mock-cue-row { margin-bottom: 14px; }
  .mock-toast .ic { width: 32px; height: 32px; }
  .mock-badge { left: 10px; top: 58px; }
  .mock-body { padding: 20px; }
}

/* ---------- stats ---------- */
.stats { padding: 0 0 20px; }
.stats-inner {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: rgba(6, 18, 38, .82);
  overflow: hidden;
}
.stat { padding: 30px 28px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat b { display: flex; align-items: baseline; gap: 4px; font-size: clamp(36px, 4vw, 48px); font-weight: 600; letter-spacing: -.04em; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.stat b small { font-size: .42em; font-weight: 500; letter-spacing: -.01em; color: var(--cyan); }
.stat > span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 720px) {   /* 3 stats: two side by side, the third full width below */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .stat:last-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .stat { padding: 24px 18px; } }
.stat-text b { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.02em; }
@media (max-width: 420px) { .stat-text b { font-size: 24px; } .stat b small { font-size: .5em; } }

/* ---------- cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  --sx: 50%; --sy: 0%;
  position: relative; border-radius: var(--radius); padding: 30px;
  background: linear-gradient(180deg, rgba(10, 26, 52, .88), rgba(5, 15, 32, .88));
  border: 1px solid var(--border);
  transition: transform .5s var(--ease), border-color .3s, box-shadow .4s, background .3s;
  transform-style: preserve-3d;
}
.card::before { /* spotlight following pointer */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(56,200,255,.10), transparent 45%);
  transition: opacity .3s;
}
.card::after { /* gradient border on hover */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0;
  background: radial-gradient(300px circle at var(--sx) var(--sy), rgba(56,200,255,.7), rgba(47,134,255,.25) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  transition: opacity .3s;
}
.card:hover { border-color: var(--border-strong); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card > * { position: relative; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  color: #fff; background: linear-gradient(145deg, rgba(47,134,255,.35), rgba(56,200,255,.12));
  border: 1px solid rgba(120,180,255,.25); box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}
.card-icon svg { width: 22px; height: 22px; }
.num { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.tag-row, .pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #d7e3f4; background: rgba(255,255,255,.06); border: 1px solid var(--border); }
.chip.green { color: #b9f5dd; background: rgba(62,230,168,.10); border-color: rgba(62,230,168,.25); }
.chip.concept { color: #ffe3a8; background: rgba(255,196,77,.10); border-color: rgba(255,196,77,.3); }

.checklist { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: #d9e2ef; font-size: 15.5px; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: rgba(62,230,168,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ee6a8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 54px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(56,200,255,.4), transparent); }
.step { position: relative; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px;
  font-weight: 600; font-size: 16px; color: #fff; background: #071a35; border: 1px solid rgba(56,200,255,.45);
  box-shadow: 0 0 0 6px rgba(56,200,255,.06), 0 0 30px -6px rgba(56,200,255,.6);
}
@media (max-width: 960px) { .process { grid-template-columns: 1fr 1fr; } .process::before { display: none; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- included / split ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.included { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.included li { list-style: none; display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 14px; background: rgba(6, 18, 38, .85); border: 1px solid var(--border); font-size: 15.5px; color: #e3eaf4; transition: border-color .3s, background .3s, transform .4s var(--ease); }
.included li:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-2px); }
.included li svg { flex: none; width: 20px; height: 20px; color: var(--mint); }
@media (max-width: 560px) { .included { grid-template-columns: 1fr; } }

/* ---------- note ---------- */
.note { padding: 22px 24px; border-radius: 16px; border: 1px solid rgba(47,134,255,.3); background: linear-gradient(135deg, rgba(47,134,255,.12), rgba(47,134,255,.03)); color: #d7e2f2; font-size: 16px; }
.note b { color: #fff; }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; background: rgba(6, 18, 38, .85); transition: border-color .3s, background .3s; }
.faq-item.open { border-color: rgba(56,200,255,.35); background: rgba(10, 26, 52, .92); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 22px 24px; font-size: 17px; font-weight: 600; color: #fff; border-radius: 16px; }
.faq-q .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-strong); position: relative; transition: transform .4s var(--ease), background .3s, border-color .3s; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease); }
.faq-q .plus::after { transform: rotate(90deg); }
.faq-item.open .plus { transform: rotate(180deg); background: var(--blue-ink); border-color: var(--blue-ink); }
.faq-item.open .plus::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); max-width: 720px; }

/* ---------- work (concept) ---------- */
.concept-banner { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; max-width: 760px; }
.concept-banner svg { flex: none; width: 22px; height: 22px; color: #ffcf66; margin-top: 2px; }
.work-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: inherit; }
.work-card:hover { color: inherit; }
.work-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--border); padding: 22px 22px 0; }
.work-media .chip { position: absolute; top: 14px; left: 14px; z-index: 3; background: rgba(3,12,26,.85); }
.work-media .chip.concept { left: auto; right: 14px; }
.work-body { padding: 24px 26px 28px; }
.work-body p { font-size: 15px; }
.minisite { position: relative; height: 100%; margin-top: 30px; border-radius: 12px 12px 0 0; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-bottom: 0; box-shadow: 0 -10px 40px -10px rgba(0,0,0,.5); transition: transform .6s var(--ease); }
.work-card:hover .minisite { transform: translateY(-8px); }
.minisite .bar { height: 20px; display: flex; gap: 5px; align-items: center; padding: 0 9px; background: rgba(0,0,0,.3); }
.minisite .bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.35); }
.minisite .ms { padding: 16px; display: grid; gap: 9px; }
.minisite .ms-nav { display: flex; justify-content: space-between; align-items: center; }
.minisite .ms-logo { width: 46px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.75); }
.minisite .ms-links { display: flex; gap: 6px; }
.minisite .ms-links i { width: 18px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.35); }
.minisite .ms-h { height: 13px; width: 80%; border-radius: 4px; background: rgba(255,255,255,.92); margin-top: 10px; }
.minisite .ms-h.s { width: 55%; }
.minisite .ms-p { height: 6px; width: 70%; border-radius: 3px; background: rgba(255,255,255,.45); }
.minisite .ms-cta { width: 70px; height: 18px; border-radius: 999px; margin-top: 4px; }
.minisite .ms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.minisite .ms-grid i { height: 34px; border-radius: 6px; background: rgba(255,255,255,.14); }
/* image fills the visible part of the frame (frame is offset 30px and its 20px bar sits above) */
.minisite.has-shot img { display: block; width: 100%; height: calc(100% - 50px); object-fit: cover; object-position: top center; background: rgba(0,0,0,.2); }
.theme-harbor { background: linear-gradient(160deg, #0e2a47, #12395f 60%, #1b4d73); }
.theme-harbor .ms-cta { background: #d9b26a; }
.theme-northwind { background: linear-gradient(160deg, #3b2414, #6b3f1f 60%, #a2662f); }
.theme-northwind .ms-cta { background: #f5d9a8; }
.theme-capeRoast { background: linear-gradient(160deg, #1a1411, #2e211a 55%, #4a3326); }
.theme-capeRoast .ms-cta { background: #3ee6a8; }
.case { scroll-margin-top: 100px; }
.case + .case { margin-top: 20px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center; border-radius: 28px; padding: 76px 30px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(56,200,255,.22), transparent 70%),
    linear-gradient(180deg, rgba(47,134,255,.16), rgba(47,134,255,.04));
  border: 1px solid rgba(120,180,255,.22);
}
.cta-band::after { content: ""; position: absolute; right: -40px; bottom: -50px; width: 280px; height: 220px; opacity: .06; background: url("../img/mark-emblem.svg") center / contain no-repeat; pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; font-size: 18px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 500; color: #d9e2ef; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff;
  background: rgba(2, 10, 22, .6); border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aab6c8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.field select option { background: #071a35; color: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7d8aa0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(56,200,255,.15); background: rgba(2,10,22,.85); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #ff7a7a; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.form-fallback {
  margin-top: 18px; padding: 20px; border-radius: 16px; border: 1px solid rgba(37,211,102,.35);
  background: linear-gradient(135deg, rgba(37,211,102,.12), rgba(37,211,102,.03));
  animation: rise .5s var(--ease) both;
}
.form-fallback[hidden] { display: none; }
.form-fallback h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.form-fallback h3 svg { width: 20px; height: 20px; color: var(--wa); }
.form-fallback p { color: #d2ddea; font-size: 15px; margin-bottom: 14px; }
.form-fallback .btn-row { gap: 10px; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions .btn { width: 100%; justify-content: center; }
@media (max-width: 520px) { .form-actions { grid-template-columns: 1fr; } }
.form-status { margin-top: 18px; padding: 20px; border-radius: 16px; border: 1px solid var(--border-strong); background: rgba(56,200,255,.07); }
.form-status[hidden] { display: none; }
.form-status.ok { border-color: rgba(62,230,168,.45); background: rgba(62,230,168,.08); }
.form-status h3 { font-size: 17px; margin-bottom: 6px; }
.form-status p { color: #d2ddea; font-size: 15px; margin-bottom: 14px; }
.form-status p:last-child { margin-bottom: 0; }
.form-status .btn-row { gap: 10px; }
.form-status:focus { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- founder (about page; hidden until real copy exists) ---------- */
.founder { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; padding: 32px; }
.founder[hidden] { display: none; }
.founder-photo { width: 220px; aspect-ratio: 1; border-radius: 20px; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(47,134,255,.25), rgba(62,230,168,.12)); border: 1px solid var(--border-strong);
  font-size: 13px; color: var(--muted); text-align: center; padding: 12px; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-initials { padding: 0; background: linear-gradient(135deg, #0b63e5 0%, #001f3f 100%); border-color: rgba(56,200,255,.35); }
.founder-initials span { font-size: 76px; font-weight: 600; letter-spacing: -.03em; color: #fff; line-height: 1; }
@media (max-width: 720px) { .founder-initials span { font-size: 56px; } }
.founder h2 { font-size: clamp(26px, 3vw, 34px); margin: 6px 0 4px; }
.founder .role { color: var(--cyan); font-weight: 500; margin-bottom: 14px; }
.founder p { color: var(--muted); }
.founder .based { margin-top: 14px; font-size: 14.5px; color: #d2ddea; }
@media (max-width: 720px) { .founder { grid-template-columns: 1fr; padding: 24px; } .founder-photo { width: 160px; } }
.copied { color: var(--mint) !important; }

.contact-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; color: inherit; }
.contact-card:hover { color: inherit; transform: translateY(-3px); }
.contact-card .ci { flex: none; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; }
.contact-card .ci svg { width: 24px; height: 24px; }
.ci-wa { background: var(--wa-ink); box-shadow: 0 10px 24px -10px rgba(37,211,102,.8); }
.ci-tel { background: var(--blue-ink); box-shadow: 0 10px 24px -10px rgba(47,134,255,.8); }
.ci-mail { background: linear-gradient(145deg, #4b5cf0, #2f3fc4); box-shadow: 0 10px 24px -10px rgba(75,92,240,.8); }
.contact-card h3 { font-size: 17px; margin-bottom: 2px; }
.contact-card p { font-size: 14.5px; }
.contact-card .val { display: block; margin-top: 4px; font-weight: 600; color: #fff; font-size: 15.5px; word-break: break-word; }
.contact-card .go { margin-left: auto; flex: none; width: 20px; height: 20px; color: var(--faint); transition: transform .3s var(--ease), color .3s; }
.contact-card:hover .go { transform: translateX(4px); color: #fff; }

/* inline icon links */
.icon-link { display: inline-flex; align-items: center; gap: 10px; }
.icon-link svg { width: 18px; height: 18px; flex: none; }
.icon-link .wa-ic { color: var(--wa); }

/* ---------- legal ---------- */
.legal { max-width: 820px; }
.legal .card { margin-bottom: 16px; }
.legal .card p + p { margin-top: 10px; }
.legal .card ul { margin: 10px 0 0 20px; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { margin-top: 40px; border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(2,10,22,.4), rgba(2,8,18,.95)); }
.footer-inner { padding-block: 64px 32px; }   /* padding-block only: keeps .container side padding */
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-title { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #c9d4e3; margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: grid; gap: 11px; }
.footer-grid a { color: var(--muted); font-size: 15px; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 320px; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--faint); }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,.75), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .35s var(--ease), box-shadow .3s;
  animation: wa-in .6s 1s var(--ease) both;
}
.wa-float svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: wa-pulse 2.6s 2s ease-out infinite; }
.wa-float:hover { color: #fff; transform: translateY(-3px) scale(1.05); }
.wa-float .wa-tip {
  position: absolute; right: 70px; white-space: nowrap; padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #fff;
  background: rgba(8,22,44,.92); border: 1px solid var(--border-strong); opacity: 0; transform: translateX(6px); pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease);
}
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: none; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes wa-in { from { opacity: 0; transform: scale(.6) translateY(20px); } }
@media (max-width: 560px) { .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; } }
body.menu-open .wa-float { display: none; }
/* Hide the float while the hero "Try the live demo" button is on screen (phones/tablets), so it never covers it. */
.wa-float.wa-float--tamed { animation: none; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear 0s; }  /* entrance anim off once toggled, so these transitions apply */
.wa-float.wa-float--hide { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px) scale(.9);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float.wa-float--hide { transition: none; transform: none; } }

/* ---------- reveal ---------- */
.reveal-armed { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: var(--d, 0s); }
.reveal-armed.visible { opacity: 1; transform: none; }

/* ---------- a11y ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #fff; color: #001f3f; font-weight: 600; }
.skip-link:focus { top: 12px; color: #001f3f; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.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; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal-armed { opacity: 1; transform: none; }
  .cursor-glow, #code-rain { display: none; }
  @view-transition { navigation: none; }
}

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-size: clamp(90px, 16vw, 180px); font-weight: 600; letter-spacing: -.06em; line-height: 1; }

/* ---------- trusted-by strip ---------- */
.trusted { padding: 28px 0 80px; }
.trusted-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding: 22px 28px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(6, 18, 38, .82); }
.trusted-label { font-size: 14px; font-weight: 500; color: var(--muted); }
.trusted-logos { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; flex: 1; justify-content: center; }
.client-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; opacity: .82; filter: grayscale(1); transition: opacity .3s, filter .3s, transform .4s var(--ease); }
.client-logo:hover { opacity: 1; filter: none; color: #fff; transform: translateY(-2px); }
.cl-mark { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid var(--border-strong); }
.cl-mark img { width: 28px; height: auto; }
.cl-text { font-weight: 800; font-size: 12.5px; letter-spacing: -.02em; }
.client-logo:hover .cl-text { background: #ff7a1a; border-color: #ff7a1a; }
.client-logo:hover .cl-mark img { filter: drop-shadow(0 0 0 #fff); }
.cl-name { display: flex; flex-direction: column; line-height: 1.15; }
.cl-name b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.cl-name small { font-size: 12.5px; color: var(--muted); }
.trusted-more { font-size: 14.5px; font-weight: 500; }
.trusted-more svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .trusted-inner { flex-direction: column; align-items: flex-start; } .trusted-logos { justify-content: flex-start; } }

/* ---------- client projects ---------- */
.project { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 34px; border-radius: 28px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(10, 26, 52, .88), rgba(5, 15, 32, .88)); scroll-margin-top: 100px; }
.project + .project { margin-top: 28px; }
.project:nth-child(odd of .project) .project-media { order: 2; }
.project-media { position: relative; display: block; padding: 0 0 40px 0; }
.device-desktop { border-radius: 14px; overflow: hidden; border: 1px solid var(--border-strong); background: #0a1528; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); transition: transform .7s var(--ease); }
.dd-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: rgba(255,255,255,.06); border-bottom: 1px solid var(--border); }
.dd-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.dd-bar span { margin-left: 10px; font-size: 11.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device-desktop img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.device-phone { position: absolute; right: -14px; bottom: 0; width: 26%; min-width: 92px; border-radius: 22px; padding: 6px; background: #0b1424; border: 1px solid var(--border-strong); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); transition: transform .7s var(--ease); }
.device-phone img { width: 100%; height: auto; border-radius: 16px; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; }
.project-media:hover .device-desktop { transform: translateY(-6px); }
.project-media:hover .device-phone { transform: translateY(-14px) rotate(-1.5deg); }
.project-body h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.025em; }
.project-place { color: var(--cyan) !important; font-size: 14.5px !important; font-weight: 500; margin: 6px 0 16px; }
.project-body p { color: var(--muted); font-size: 16.5px; }
.project-body p + p { margin-top: 10px; }
@media (max-width: 960px) {
  .project { grid-template-columns: 1fr; gap: 32px; padding: 22px; }
  .project:nth-child(odd of .project) .project-media { order: 0; }
  .device-phone { right: 4px; }
}

/* ---------- reviews carousel ---------- */
.reviews[hidden] { display: none !important; }
.rv-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.rv-viewport::-webkit-scrollbar { display: none; }
.rv-track { display: flex; gap: 20px; }
.rv-slide { flex: 0 0 calc((100% - 20px) / 2); scroll-snap-align: start; margin: 0; padding: 34px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 860px) { .rv-slide { flex-basis: 100%; } }
.rv-slide blockquote { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; color: #eef3fa; letter-spacing: -.01em; flex: 1; }
.rv-stars { color: #ffc94d; letter-spacing: 2px; font-size: 18px; }
.rv-stars-off { color: rgba(255,255,255,.18); }
.rv-slide figcaption { display: flex; align-items: center; gap: 14px; font-weight: 600; color: #fff; }
.rv-slide figcaption small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.rv-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #021022; font-weight: 700; }
.rv-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 26px; }
.rv-controls[hidden] { display: none; }
.rv-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong); background: rgba(6, 18, 38, .85); transition: background .25s, border-color .25s, transform .3s var(--ease); }
.rv-btn:hover { background: var(--surface-2); border-color: rgba(255,255,255,.3); transform: scale(1.06); }
.rv-btn svg { width: 20px; height: 20px; }
.rv-dots { display: flex; gap: 8px; }
.rv-dot { width: 10px; height: 10px; padding: 0; border-radius: 999px; background: rgba(255,255,255,.22); transition: width .35s var(--ease), background .3s; position: relative; }
.rv-dot::after { content: ""; position: absolute; inset: -12px -4px; }  /* bigger tap target */
.rv-dot[aria-selected="true"] { width: 28px; background: var(--cyan); }

/* ---------- mission (home) ---------- */
.mission { padding: 88px 0 0; }
.mission-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.mission-inner h2 { font-size: clamp(28px, 3.6vw, 44px); }
.mission-inner .lead { margin: 18px auto 0; }
@media (max-width: 640px) { .mission { padding-top: 64px; } }
.mission + .trusted { padding-top: 48px; }
/* links inside running text are underlined (not colour-only) */
.lead a:not(.btn), .card p a:not(.btn), .form-note a, .legal p a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- pricing (services page) ---------- */
.value-points { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: -24px 0 36px; }
.value-points li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: rgba(6, 18, 38, .85); border: 1px solid var(--border); }
.value-points p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.value-points b { color: #fff; }
.vp-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--mint); background: rgba(62,230,168,.1); border: 1px solid rgba(62,230,168,.25); }
.vp-ic svg { width: 19px; height: 19px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.care-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 980px; }
.price-card, .care-card { display: flex; flex-direction: column; padding: 30px 28px; }
.price-card h3, .care-card h3 { font-size: 22px; margin-bottom: 6px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 4px 0 14px; color: var(--muted); font-size: 15px; }
.price b { font-size: clamp(34px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.05; }
.price .from { font-size: 15px; color: var(--muted); }
.care-card .price span { margin-left: -6px; font-size: 16px; }
.price small { flex-basis: 100%; font-size: 14px; color: var(--cyan); }
.price-for { color: var(--muted); font-size: 15.5px; line-height: 1.55; padding-bottom: 4px; }
.price-for b, .price-turn b { color: #fff; }
.price-card .checklist, .care-card .checklist { margin: 16px 0 22px; gap: 10px; }
.price-card .checklist li, .care-card .checklist li { font-size: 15px; line-height: 1.5; }
.price-turn { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); color: #d9e2ef; font-size: 15px; }
.price-cta { margin-top: 18px; width: 100%; white-space: normal; text-align: center; padding-block: 12px; }
.care-card .price-cta { margin-top: auto; }
.price-note { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 860px; }
.founding {
  position: relative; margin: 48px 0 72px; padding: clamp(24px, 4vw, 40px); border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, rgba(11, 99, 229, .22), rgba(6, 18, 38, .92) 55%, rgba(62, 230, 168, .12));
  border: 1px solid rgba(56, 200, 255, .38); box-shadow: 0 30px 70px -40px rgba(47, 134, 255, .8);
}
.founding::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); }
.founding-label { display: inline-block; padding: 7px 14px; border-radius: 12px; line-height: 1.4; font-size: 13.5px; font-weight: 700; letter-spacing: .01em;
  color: #04241a; background: #3ee6a8; }   /* dark text on mint, ~11:1 */
.founding h3 { font-size: clamp(24px, 3vw, 32px); margin: 16px 0 10px; letter-spacing: -.02em; }
.founding > p { color: #d7e2f2; font-size: 16.5px; max-width: 760px; }
.founding-list { list-style: none; display: grid; gap: 10px; margin: 16px 0 18px; max-width: 760px; }
.founding-list li { padding: 12px 16px; border-radius: 12px; background: rgba(2, 10, 22, .55); border: 1px solid var(--border); color: #d7e2f2; font-size: 15.5px; }
.founding-list b { color: #fff; }
.founding .founding-small { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 22px; }
.care-head { max-width: 720px; margin-bottom: 32px; }
.care-head .lead { margin-top: 14px; }
.terms-box { margin-top: 48px; padding: 26px 28px; border-radius: 18px; background: rgba(6, 18, 38, .85); border: 1px solid var(--border); max-width: 980px; }
.terms-box h3 { font-size: 20px; }
.terms-box .checklist { margin-top: 14px; }
.terms-box .checklist b { color: #fff; }
@media (max-width: 1020px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .value-points { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .price-grid, .care-grid { grid-template-columns: 1fr; } .price-card, .care-card { padding: 24px 22px; } .value-points { margin-top: -28px; } }

/* add-ons: compact list under the package cards (not standalone services) */
.addons { margin-top: 32px; padding: 24px 26px; border-radius: 18px; background: rgba(6, 18, 38, .85); border: 1px solid var(--border); }
.addons h3 { font-size: 20px; margin-bottom: 8px; }
.addon-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
.addon-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.addon-name { color: #e6edf7; font-size: 15.5px; font-weight: 600; }
.addon-name small { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 400; color: var(--muted); line-height: 1.45; }
.addon-price { flex: none; color: #fff; font-weight: 700; font-size: 15.5px; white-space: nowrap; }
@media (max-width: 720px) { .addon-list { grid-template-columns: 1fr; } .addons { padding: 20px; } }
/* footer social (Facebook Page). 44px tap target, 24px icon; muted ~9:1, hover/focus white */
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-grid .social-link { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--muted);
  border: 1px solid var(--border-strong); background: rgba(255,255,255,.04); transition: color .2s, background-color .2s, border-color .2s; }
.footer-grid .social-link svg { width: 24px; height: 24px; }
.footer-grid .social-link:hover, .footer-grid .social-link:focus-visible { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.32); }
.ci-fb { background: #0b5fd6; box-shadow: 0 10px 24px -10px rgba(24,119,242,.8); }
.ci-ig { background: linear-gradient(145deg, #a02bb8, #c8236a 55%, #d04a1c); box-shadow: 0 10px 24px -10px rgba(200,35,106,.8); }
/* homepage: trust strip removed, so give the mission its own breathing room before the CTA band */
.mission + .section { padding-top: 88px; }
@media (max-width: 640px) { .mission + .section { padding-top: 64px; } }
/* 3-stat row on small phones: keep each unit on one line beside its number */
@media (max-width: 420px) { .stat b small { font-size: .42em; white-space: nowrap; } }
/* homepage: Free website check (linked from social posts as /#free-check) */
#free-check { scroll-margin-top: calc(var(--header-h) - 48px); }   /* section has ~64–88px top padding, so the card lands just below the sticky header */
.fc-card { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  padding: 32px 36px; border-radius: var(--radius); border: 1px solid rgba(37,211,102,.28);
  background: linear-gradient(135deg, rgba(15,143,67,.14), rgba(6,18,38,.88) 55%); }
.fc-text { flex: 1 1 420px; max-width: 640px; }
.fc-text h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 10px; }
.fc-text p { color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.fc-actions { flex: none; }
@media (max-width: 560px) {
  .fc-card { padding: 24px 22px; }
  .fc-actions { width: 100%; flex-direction: column; }
  .fc-actions .btn { width: 100%; }
}
