/* ============================================================================
   BuildApp — design system v4 "Editorial"

   Palette, type scale and interaction grammar adapted from the reference
   hero spec (Inter, deep forest ink, sage neutrals, typewriter headline,
   scrub-driven background, multi-select pills with a contingent banner).

   Rebuilt in plain CSS: no Tailwind, no Framer Motion, no build step. Every
   utility class in the spec has an equivalent here, and every animation the
   spec asks Framer Motion for is a CSS transition or keyframe.

   Structure, spacing scale, touch targets and the accessibility floor still
   come from ui-ux-pro-max (design-system/buildapp/MASTER.md). Colour and
   type are user-directed overrides — see pages/_overrides.md.

   Colour comes from the LNative logo: violet #7519F5 through #4F27EE to the
   blue tip #0072FE, on the wordmark's navy #010A36. Every value was sampled
   from the file and then measured. The blue is 4.34:1 on white, so it is a
   fill and large-text colour only -- never body copy.
   ========================================================================= */

:root {
  /* --- brand: sampled from the LNative logo, then contrast-checked ------
     The mark runs violet on the left (the speed lines, the web you came
     from) to blue at the tip (the app you end up with). That is the same
     journey the product performs, so the gradient is reused for exactly
     one thing: progress from website to installed app. */
  --brand:       #7519F5;   /* 6.53:1 on white */
  --brand-deep:  #4F27EE;   /* 7.35:1 — the wordmark's L */
  --connect:     #0072FE;   /* the logo's blue tip: 4.34:1, fills and large text only */

  --ink:        #010A36;   /* the wordmark navy — 19.13:1 on white */
  --on-ink:     #FFFFFF;
  --body:       #535C77;   /* 6.63:1 */
  --quiet:      #646E8C;   /* 5.06:1 on white, 4.74:1 on mist */
  --quiet-lg:   #8B93AC;   /* large text only */
  --leaf:       var(--brand);        /* kept as an alias so no markup changed */
  --leaf-deep:  var(--brand-deep);
  --line:       #E7E9F4;
  --mist:       #F7F7FE;
  --select:     #E7DEFF;
  --card:       #FFFFFF;
  --canvas:     #FFFFFF;

  /* --- status: colour is never the only signal ------------------------ */
  --ready-text:   #0E7A62;   /* 4.79:1 on its tint */
  --ready-bg:     #E9F7F3;
  --warn-text:    #92400E;   /* 6.71:1 */
  --warn-bg:      #FFF8EB;
  --danger:       #C0242B;   /* 5.41:1 */
  --danger-bg:    #FEF1F2;

  /* website → installed app, in the logo's own gradient */
  --rail: linear-gradient(90deg, var(--brand) 0%, var(--brand-deep) 45%, var(--connect) 100%);

  /* --- spacing & depth (MASTER, density 5) ---------------------------- */
  --space-xs: 4px; --space-sm: 8px; --space-md: 16px;
  --space-lg: 24px; --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px;
  --shadow-sm: 0 1px 2px rgba(1,10,54,.05);
  --shadow-md: 0 4px 8px rgba(1,10,54,.08);
  --shadow-lg: 0 12px 28px -8px rgba(1,10,54,.16);
  --shadow-xl: 0 28px 56px -18px rgba(1,10,54,.26);
  --shadow-brand: 0 10px 30px -10px rgba(117,25,245,.55);

  --r-xs: 8px; --r-sm: 12px; --r-md: 16px; --r-lg: 24px; --r-full: 999px;
  --card-radius: 24px;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
  --spring: cubic-bezier(.34,1.56,.64,1);   /* stands in for stiffness 300 / damping 20 */
  --t-fast: 150ms; --t-base: 200ms; --t-slow: 300ms;

  /* driven by JS as the hero is scrubbed, 0 → 1 */
  --scrub: 0;
  /* pointer position, for the glow that follows the cursor */
  --px: 50%; --py: 30%;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px; line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--select); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -.03em; line-height: 1.12;
  margin: 0; color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 8vw, 4.75rem); line-height: 1.08; letter-spacing: -.04em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
p  { margin: 0 0 1rem; }
a  { color: var(--ink); text-decoration: none; }

.mono   { font-family: var(--font-mono); font-size: .8em; letter-spacing: -.03em; }
.muted  { color: var(--quiet); }
.small  { font-size: .875rem; }
.center { text-align: center; }
.select-none { -webkit-user-select: none; user-select: none; }

:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; border-radius: var(--r-xs); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--on-ink);
  padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; }

/* ============================================ typewriter (spec §1 + §6) == */

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.animate-blink { animation: blink 1s step-end infinite; }

.caret {
  display: inline-block; width: 2px; height: 1.1em;
  background: var(--ink); vertical-align: middle; margin-left: 2px;
}

/* ==================================================================== nav */

.mk-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  padding: var(--space-md) var(--space-lg);
  background: transparent;
  transition: background var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.mk-bar.stuck {
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.mk-nav { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }

.wordmark { display: flex; align-items: center; gap: 10px; }
.wordmark b {
  font-size: 21px; font-weight: 500; letter-spacing: -.03em; color: var(--ink);
}
.wordmark i {
  font-style: normal; font-size: 25px; font-weight: 500; line-height: 1;
  letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px;
}
@media (min-width: 640px) {
  .wordmark b { font-size: 26px; }
  .wordmark i { font-size: 30px; }
}

.nav-links { display: none; font-size: 19px; color: var(--ink); }
@media (min-width: 768px) { .nav-links { display: flex; align-items: center; } }
.nav-links a { transition: opacity var(--t-base) var(--ease); }
.nav-links a:hover { opacity: .6; }
.nav-links .sep { opacity: .4; }

.nav-cta {
  display: none; font-size: 19px; color: var(--ink);
  text-decoration: underline; text-underline-offset: 2px;
  transition: opacity var(--t-base) var(--ease);
}
.nav-cta:hover { opacity: .6; }
@media (min-width: 768px) { .nav-cta { display: inline-block; } }

.burger {
  width: 44px; height: 44px; padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: none; border: 0; cursor: pointer;
  /* Sits above the overlay so the same button closes the menu it opened. */
  position: relative; z-index: 20;
}
@media (min-width: 768px) { .burger { display: none; } }
.burger span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  transition: all var(--t-slow) var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 19;
  background: rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; flex-direction: column; justify-content: center; gap: var(--space-md);
  padding: var(--space-3xl) var(--space-lg);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-slow) var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-size: 2.2rem; font-weight: 500; letter-spacing: -.03em; min-height: 56px; display: flex; align-items: center; }
.mobile-menu a.btn { font-size: 1.05rem; justify-content: center; }
.mobile-menu a:hover { opacity: .6; }
@media (min-width: 768px) { .mobile-menu { display: none; } }

/* =================================================================== hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 132px var(--space-lg) var(--space-2xl);
  flex: 1; display: flex; flex-direction: column; justify-content: center;
}
@media (min-width: 1024px) {
  .hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--space-2xl); align-items: center; }
}

.hero h1 { margin-bottom: var(--space-lg); white-space: pre-wrap; }
.hero-sub {
  font-size: 1.125rem; color: var(--body); line-height: 1.65;
  max-width: 34rem; margin-bottom: var(--space-2xl);
}
@media (min-width: 768px) { .hero-sub { font-size: 1.25rem; } }

/* --- scrub stage: browser turns into an installed app ------------------- */

.stage {
  position: relative;
  aspect-ratio: 4/5; width: 100%; max-width: 520px; margin: 0 auto;
  border-radius: var(--card-radius);
  background: var(--mist); border: 1px solid var(--line);
  overflow: hidden; touch-action: pan-y;
}
@media (min-width: 1024px) { .stage { aspect-ratio: 3/4; max-width: none; } }

.stage video { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: right bottom; }

/* the browser: fades and recedes as scrub goes 0 → 1 */
.win {
  position: absolute; left: 8%; right: 8%; top: 12%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); overflow: hidden;
  opacity: calc(1 - var(--scrub) * .85);
  transform: translateY(calc(var(--scrub) * -18px)) scale(calc(1 - var(--scrub) * .12));
  transition: opacity 90ms linear, transform 90ms linear;
}
.win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.win-bar u { width: 9px; height: 9px; border-radius: 99px; background: var(--line); display: block; }
.win-url {
  flex: 1; margin-left: 6px; height: 22px; border-radius: 99px; background: var(--mist);
  display: flex; align-items: center; padding: 0 10px;
  font-family: var(--font-mono); font-size: 9px; color: var(--quiet);
}
.win-body { padding: 14px; display: grid; gap: 8px; }
.win-body i { display: block; height: 9px; border-radius: 99px; background: var(--line); }
.win-body i:nth-child(1) { width: 62%; height: 13px; background: #E2E7E2; }
.win-body i:nth-child(3) { width: 84%; }
.win-body i:nth-child(4) { width: 71%; }
.win-hero { height: 62px; border-radius: var(--r-xs); background: var(--select); margin-bottom: 4px; }

/* the phone: rises in as scrub approaches 1 */
.stage-phone {
  position: absolute; left: 50%; bottom: 4%;
  width: 46%; max-width: 210px;
  transform: translateX(-50%) translateY(calc((1 - var(--scrub)) * 22%)) scale(calc(.9 + var(--scrub) * .1));
  opacity: calc(.25 + var(--scrub) * .75);
  transition: opacity 90ms linear, transform 90ms linear;
  background: var(--ink); border-radius: 30px; padding: 7px;
  box-shadow: var(--shadow-xl);
}
.stage-screen {
  border-radius: 24px; aspect-ratio: 9/17.5; overflow: hidden;
  background: linear-gradient(168deg, #3A0F86 0%, #010A36 100%);
  padding: 12px 10px 9px; display: flex; flex-direction: column;
}
.stage-clock { color: #fff; font-size: 1.5rem; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.stage-date { color: rgba(255,255,255,.6); font-size: .5rem; margin: 2px 0 12px; }
.stage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px 6px; }
.stage-grid i { display: block; aspect-ratio: 1; border-radius: 8px; background: rgba(255,255,255,.16); }
/* their app, installing itself at the end of the scrub */
.stage-grid i.mine {
  background: var(--select);
  opacity: calc(max(0, var(--scrub) - .55) / .45);
  transform: scale(calc(.6 + max(0, var(--scrub) - .55) / .45 * .4));
  box-shadow: 0 6px 14px -4px rgba(0,0,0,.5);
}
.stage-dock { margin-top: auto; display: flex; gap: 6px; background: rgba(255,255,255,.14); border-radius: 14px; padding: 6px; }
.stage-dock i { flex: 1; aspect-ratio: 1; border-radius: 8px; background: rgba(255,255,255,.2); display: block; }

/* the scrub readout */
.scrub-hint {
  position: absolute; left: var(--space-md); right: var(--space-md); bottom: var(--space-md);
  display: flex; align-items: center; gap: 10px;
  font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--quiet);
}
.scrub-hint span:last-child { color: var(--ink); }
.scrub-track { flex: 1; height: 3px; border-radius: 99px; background: var(--line); overflow: hidden; }
.scrub-track i { display: block; height: 100%; width: calc(var(--scrub) * 100%); background: var(--rail); }

/* ============================================ multi-select pills (spec §8) */

.picker { margin-top: var(--space-xl); }
.picker h2 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; margin-bottom: 4px; }
.picker > p { color: var(--quiet); opacity: .85; margin-bottom: var(--space-lg); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 12px 20px;
  border-radius: var(--r-full); cursor: pointer;
  font-family: var(--font-sans); font-size: .95rem; font-weight: 500;
  background: var(--card); color: var(--ink); border: 1px solid var(--line);
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease), transform var(--t-base) var(--spring),
              box-shadow var(--t-base) var(--ease);
}
.pill-btn:hover { background: rgba(241,243,241,.55); }
.pill-btn[aria-pressed="true"] {
  background: var(--ink); color: var(--on-ink); border-color: var(--ink);
  box-shadow: var(--shadow-md); transform: translateY(-1px);
}
.pill-btn svg { width: 17px; height: 17px; }
/* the check springs in, standing in for stiffness 300 / damping 20 */
.pill-btn .tick {
  width: 0; opacity: 0; transform: scale(.4);
  transition: width var(--t-base) var(--spring), opacity var(--t-fast) linear, transform var(--t-base) var(--spring);
}
.pill-btn[aria-pressed="true"] .tick { width: 17px; opacity: 1; transform: scale(1); }

/* contingent banner: 0fr → 1fr animates height with no JS measuring */
.banner-slot { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-slow) var(--ease); margin-top: var(--space-md); }
.banner-slot.open { grid-template-rows: 1fr; }
.banner-slot > div { overflow: hidden; }

.banner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-md);
  background: var(--mist); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--space-md) var(--space-lg);
  margin-top: var(--space-sm);
}
.banner p { margin: 0; font-size: .95rem; color: var(--body); }
.banner b { color: var(--ink); font-weight: 600; }
.banner-go {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--r-full);
  background: var(--ink); color: var(--on-ink);
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.banner-go:hover { transform: translateX(2px); opacity: .9; }

.picker-empty {
  font-size: .78rem; font-style: italic; opacity: .5; color: var(--body);
  margin-top: var(--space-md); transition: opacity var(--t-base) var(--ease);
}
.picker-empty.gone { opacity: 0; height: 0; margin: 0; overflow: hidden; }

/* ================================================================== shell */

.shell { display: flex; min-height: 100vh; }
.rail {
  display: none; width: 248px; flex-shrink: 0;
  background: var(--card); border-right: 1px solid var(--line);
  padding: var(--space-lg) var(--space-md);
  position: sticky; top: 0; height: 100vh; flex-direction: column;
}
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); font-size: 1.15rem; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.brand-mark {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--ink); color: var(--on-ink);
  display: grid; place-items: center; font-size: .9rem; font-weight: 600;
}
.rail nav { margin-top: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-xs); }
.rail nav a {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 14px;
  border-radius: var(--r-sm); color: var(--ink); font-weight: 500; font-size: .95rem;
  transition: background var(--t-fast) var(--ease);
}
.rail nav a:hover { background: var(--mist); }
.rail nav a.on { background: var(--ink); color: var(--on-ink); }
.rail nav a svg { width: 20px; height: 20px; flex-shrink: 0; }
.rail-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: var(--space-md); }

.main { flex: 1; min-width: 0; padding: var(--space-md) var(--space-md) 110px; }
.wrap { max-width: 1120px; margin: 0 auto; }
.page-head { margin-bottom: var(--space-lg); }
.page-head.between { flex-wrap: wrap; }
.page-head h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 500; }
.page-head p { color: var(--quiet); margin: var(--space-sm) 0 0; }

.mobile-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--space-md); background: var(--card);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30;
}
@media (min-width: 920px) { .mobile-top { display: none; } }

.tabs {
  position: fixed; z-index: 40; left: 50%; transform: translateX(-50%);
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; gap: var(--space-xs);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-full); padding: 6px; box-shadow: var(--shadow-lg);
  max-width: calc(100vw - 24px);
}
.tabs a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 64px; min-height: 48px; padding: 6px 12px; border-radius: var(--r-full);
  color: var(--quiet); font-size: .7rem; font-weight: 600;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.tabs a.on { background: var(--ink); color: var(--on-ink); }
.tabs svg { width: 20px; height: 20px; }

@media (min-width: 920px) {
  .rail { display: flex; }
  .tabs { display: none; }
  .main { padding: var(--space-xl) var(--space-xl) var(--space-3xl); }
}

/* ================================================================ pieces */

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--card-radius); box-shadow: var(--shadow-sm); transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.card-pad { padding: var(--space-lg); }
@media (min-width: 700px) { .card-pad { padding: var(--space-xl); } }

.grid { display: grid; gap: var(--space-md); }
@media (min-width: 820px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.row { display: flex; align-items: center; gap: var(--space-sm); }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack { display: flex; flex-direction: column; gap: var(--space-md); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm);
  min-height: 48px; padding: 13px 24px; white-space: nowrap;
  border-radius: var(--r-full); border: 1px solid transparent;
  font-family: var(--font-sans); font-weight: 500; font-size: .95rem;
  cursor: pointer; background: var(--ink); color: var(--on-ink);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); opacity: .94; }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn svg { width: 18px; height: 18px; }
.btn-go { background: var(--ink); color: var(--on-ink); }
.btn-pay { background: var(--leaf); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--mist); }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .875rem; }
.btn-wide { width: 100%; }

label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: 6px; color: var(--ink); }
.hint { font-size: .8rem; color: var(--quiet); margin-top: 6px; line-height: 1.5; }
.field { margin-bottom: var(--space-md); }

input[type=text], input[type=url], input[type=email], input[type=password],
input[type=number], select, textarea {
  width: 100%; min-height: 48px; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--font-sans); font-size: 16px; color: var(--ink); background: var(--card);
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28,46,30,.12); }
input[aria-invalid="true"] { border-color: var(--danger); }
textarea { resize: vertical; line-height: 1.6; }
input[type=color] { width: 56px; height: 48px; padding: 4px; cursor: pointer; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); }
input[type=file] { font-size: .875rem; padding: 12px; }

.check {
  display: flex; align-items: flex-start; gap: 12px; min-height: 48px; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; background: var(--card);
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.check:hover { border-color: var(--ink); }
.check:has(input:checked) { border-color: var(--ink); background: var(--mist); }
.check input { margin: 2px 0 0; width: 20px; height: 20px; accent-color: var(--ink); cursor: pointer; }
.check span { font-size: .92rem; font-weight: 600; }
.check em { display: block; font-style: normal; font-size: .8rem; color: var(--quiet); font-weight: 400; margin-top: 2px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  border-radius: var(--r-full); font-size: .75rem; font-weight: 600;
  background: var(--mist); color: var(--body); border: 1px solid var(--line);
}
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 99px; background: currentColor; }
.pill-live { background: #EFF6FF; color: #1D4ED8; border-color: #BFDBFE; }
.pill-live::before { border-radius: 2px; animation: blink 1.4s ease-in-out infinite; }
.pill-ready { background: var(--ready-bg); color: var(--ready-text); border-color: #D6E3D4; }
.pill-hold { background: var(--warn-bg); color: var(--warn-text); border-color: #FDE68A; }
.pill-hold::before { border-radius: 0; transform: rotate(45deg); }
.pill-fail { background: var(--danger-bg); color: var(--danger); border-color: #FECACA; }
.pill-fail::before { width: 8px; height: 2px; border-radius: 0; }

.note { border-radius: var(--r-sm); padding: 14px 16px; font-size: .9rem; border: 1px solid; line-height: 1.5; }
.note-ok { background: var(--ready-bg); border-color: #D6E3D4; color: var(--ready-text); }
.note-warn { background: var(--warn-bg); border-color: #FDE68A; color: var(--warn-text); }
.note-bad { background: var(--danger-bg); border-color: #FECACA; color: var(--danger); }

.errors { background: var(--danger-bg); border: 2px solid var(--danger); border-radius: var(--r-sm); padding: var(--space-md); margin-bottom: var(--space-lg); }
.errors h2 { font-size: 1.05rem; color: var(--danger); margin-bottom: var(--space-sm); }
.errors ul { margin: 0; padding-left: 20px; }
.errors a { color: var(--danger); text-decoration: underline; font-weight: 600; }

.rail-track { height: 8px; border-radius: var(--r-full); background: var(--line); overflow: hidden; }
.rail-fill { height: 100%; width: 0; border-radius: var(--r-full); background: var(--rail); background-size: 220% 100%; transition: width .7s var(--ease); }
.rail-fill.pulse { animation: slide 1.8s linear infinite; }
@keyframes slide { to { background-position: -220% 0; } }
.stages { display: flex; justify-content: space-between; margin-top: var(--space-sm); font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--quiet); }
.stages .done { color: var(--ready-text); }
.stages .at { color: var(--connect); }

.phone { width: 248px; margin: 0 auto; background: var(--ink); border-radius: 40px; padding: 10px; box-shadow: var(--shadow-xl); }
.phone-screen {
  border-radius: 32px; overflow: hidden; background: #fff;
  aspect-ratio: 9/18.6; display: flex; flex-direction: column;
  /* Fallback for engines without aspect-ratio: without it the screen
     collapses to the height of its contents and stops looking like a phone. */
  min-height: 480px;
  /* Positioning context for the site layer. Without this, .pv-site escapes
     to the sticky aside and covers the whole card instead of the screen. */
  position: relative;
}
.phone-bar { height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: .6rem; font-weight: 600; color: #fff; }
.phone-splash { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.phone-icon { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; overflow: hidden; color: #fff; font-weight: 600; font-size: 2rem; background: rgba(255,255,255,.25); box-shadow: var(--shadow-lg); }
.phone-icon img { width: 100%; height: 100%; object-fit: cover; }
.phone-name { color: #fff; font-weight: 500; font-size: 1rem; text-align: center; padding: 0 14px; word-break: break-word; }
.phone-url { color: rgba(255,255,255,.8); font-size: .7rem; padding: 0 16px; text-align: center; word-break: break-all; }
.phone-home { height: 36px; display: grid; place-items: center; }
.phone-home i { display: block; width: 84px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.65); }

.apps { display: grid; gap: var(--space-lg); }
@media (min-width: 860px) { .apps { grid-template-columns: repeat(2, 1fr); } }
.apps .card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.app-head { display: flex; gap: var(--space-md); align-items: flex-start; padding: var(--space-lg) var(--space-lg) var(--space-md); }
.avatar { width: 52px; height: 52px; border-radius: var(--r-md); flex-shrink: 0; display: grid; place-items: center; overflow: hidden; color: #fff; font-weight: 600; font-size: 1.3rem; box-shadow: var(--shadow-md); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.app-title { font-weight: 600; font-size: 1.1rem; letter-spacing: -.02em; }
.app-meta { font-family: var(--font-mono); font-size: .75rem; color: var(--quiet); word-break: break-all; }
.app-body { border-top: 1px solid var(--line); padding: var(--space-md) var(--space-lg); }
.build-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: 12px 0; border-bottom: 1px solid var(--line); }
.build-row:last-child { border-bottom: 0; }
.icon-btn { width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; cursor: pointer; color: var(--quiet); transition: all var(--t-base) var(--ease); }
.icon-btn:hover { color: var(--danger); border-color: var(--danger); background: var(--danger-bg); }
.icon-btn svg { width: 18px; height: 18px; }
.chip { width: 44px; height: 44px; border-radius: var(--r-full); flex-shrink: 0; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); font-weight: 600; font-size: .95rem; }

details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }

/* ============================================================ marketing */

.marketing { background: var(--canvas); }

.strip { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-in { max-width: 1280px; margin: 0 auto; padding: var(--space-3xl) var(--space-lg); display: grid; gap: var(--space-xl); }
@media (min-width: 840px) { .strip-in { grid-template-columns: repeat(3, 1fr); } }
.step-n { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .12em; color: var(--leaf); display: block; margin-bottom: 10px; }
.step h3 { margin-bottom: 8px; font-size: 1.25rem; font-weight: 500; }
.step p { font-size: .95rem; color: var(--body); margin: 0; }

.bento-wrap { max-width: 1280px; margin: 0 auto; padding: var(--space-3xl) var(--space-lg); }
.bento { display: grid; gap: var(--space-md); grid-template-columns: 1fr; margin-top: var(--space-lg); }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bento { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--card-radius); padding: var(--space-lg); transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.tile:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.tile h3 { margin-bottom: 6px; }
.tile p { font-size: .92rem; color: var(--body); margin: 0; }
.tile-kicker { display: block; font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); margin-bottom: var(--space-sm); }
@media (min-width: 1040px) { .tile-wide { grid-column: span 2; } }
.tile-fill { background: var(--ink); border-color: var(--ink); }
.tile-fill h3 { color: var(--on-ink); }
.tile-fill .tile-kicker { color: #B7C9B4; }
.tile-fill p { color: rgba(255,255,255,.82); }
.tile-accent { background: var(--select); border-color: var(--select); }
.big-stat { font-size: 2.6rem; font-weight: 500; letter-spacing: -.04em; line-height: 1; margin-bottom: 6px; }

.prices { max-width: 1280px; margin: 0 auto; padding: var(--space-3xl) var(--space-lg) var(--space-2xl); }
.prices > p { color: var(--body); }
.price-grid { display: grid; gap: var(--space-md); margin-top: var(--space-xl); }
@media (min-width: 860px) { .price-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.price { padding: var(--space-xl); border-radius: var(--card-radius); border: 1px solid var(--line); background: var(--card); transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.price:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.price.pick { border: 1px solid var(--ink); box-shadow: var(--shadow-lg); position: relative; }
.price.pick::before { content: 'Most popular'; position: absolute; top: -12px; left: var(--space-xl); background: var(--ink); color: var(--on-ink); font-size: .68rem; font-weight: 600; letter-spacing: .06em; padding: 5px 12px; border-radius: var(--r-full); }
.price .amt { font-size: 2.2rem; font-weight: 500; letter-spacing: -.04em; margin: 10px 0 2px; }
.price ul { list-style: none; padding: 0; margin: var(--space-md) 0 var(--space-lg); font-size: .92rem; color: var(--body); }
.price li { padding: 7px 0 7px 26px; position: relative; }
.price li::before { content: ''; position: absolute; left: 0; top: 13px; width: 13px; height: 7px; border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg); }

.faq { max-width: 820px; margin: 0 auto; padding: var(--space-md) var(--space-lg) var(--space-2xl); }
.faq details { border-bottom: 1px solid var(--line); padding: var(--space-md) 0; }
.faq summary { font-size: 1.1rem; font-weight: 500; letter-spacing: -.02em; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.faq summary::after { content: '+'; color: var(--leaf); font-size: 1.5rem; font-weight: 300; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--body); margin: var(--space-sm) 0 0; font-size: .95rem; }

.closer { max-width: 1280px; margin: 0 auto var(--space-3xl); padding: 0 var(--space-lg); }
.closer-in { background: var(--ink); border-radius: var(--card-radius); padding: var(--space-3xl) var(--space-lg); text-align: center; }
.closer-in h2 { color: var(--on-ink); }
.closer-in p { color: rgba(255,255,255,.8); max-width: 34rem; margin: var(--space-sm) auto var(--space-lg); }
.closer-in .btn { background: var(--card); color: var(--ink); }

.foot { border-top: 1px solid var(--line); padding: var(--space-xl) var(--space-lg); text-align: center; color: var(--quiet); font-size: .875rem; }

.auth-page { min-height: 100vh; display: grid; place-items: center; padding: var(--space-lg) var(--space-md); background: var(--mist); }
.auth-card { width: 100%; max-width: 420px; }
.seg { display: flex; background: var(--line); border-radius: var(--r-full); padding: 5px; margin-bottom: var(--space-lg); }
.seg a { flex: 1; text-align: center; min-height: 44px; display: grid; place-items: center; border-radius: var(--r-full); font-weight: 600; font-size: .9rem; color: var(--quiet); transition: all var(--t-base) var(--ease); }
.seg a.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }

/* =================================================================== motion */

.js-anim .reveal { opacity: 0; transform: translateY(20px); }
.js-anim .reveal.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-anim .reveal.d1.in { transition-delay: .1s; }
.js-anim .reveal.d2.in { transition-delay: .2s; }
.js-anim .reveal.d3.in { transition-delay: .3s; }

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

/* --- markup this sheet did not yet cover -------------------------------- */

/* no-JS fallback: a label-wrapped checkbox still shows its pressed state */
.pill-btn:has(input:checked) {
  background: var(--ink); color: var(--on-ink); border-color: var(--ink);
  box-shadow: var(--shadow-md);
}
.pill-btn:has(input:checked) .tick { width: 17px; opacity: 1; transform: scale(1); }
.pill-btn input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill-btn:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }

.pill-note { font-size: .8rem; font-style: italic; opacity: .5; margin-top: var(--space-md); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; color: var(--leaf-deep);
  background: var(--mist); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: var(--r-full); margin-bottom: var(--space-md);
}

.try { display: flex; flex-wrap: wrap; gap: 10px; max-width: 34rem; }
.try input { flex: 1; min-width: 220px; }

.proof {
  display: flex; flex-wrap: wrap; gap: var(--space-lg);
  margin-top: var(--space-xl); padding-top: var(--space-md);
  border-top: 1px solid var(--line);
}
.proof div { min-width: 104px; }
.proof b { display: block; font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; }
.proof span { font-size: .8rem; color: var(--quiet); }

.big-stat { font-size: 2.5rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-bottom: 4px; }


/* ======================================================= brand + polish */

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; display: block; }
.brand-word { font-weight: 600; font-size: 1.15rem; letter-spacing: -.03em; color: var(--ink); }
.brand-word b { color: var(--brand-deep); font-weight: 600; }
.foot .brand img, .auth-card .brand img { height: 40px; }

/* the one place the logo gradient becomes type. Solid violet is the base;
   the gradient only replaces it where background-clip:text is supported,
   so an older browser shows a coloured word rather than an invisible one. */
.grad { color: var(--brand-deep); font-style: normal; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad {
    background: var(--rail);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
  }
}

.tagline {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-deep);
}

/* glow that follows the pointer across the hero, behind everything */
.hero::before {
  content: ''; position: absolute; inset: -10% -5% 20%;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(38% 46% at var(--px) var(--py), rgba(117,25,245,.16) 0%, transparent 70%),
    radial-gradient(30% 40% at calc(var(--px) + 22%) calc(var(--py) + 12%), rgba(0,114,254,.14) 0%, transparent 72%);
  transition: background 240ms linear;
}

/* light sweeps across a primary button on hover, once */
.btn-go { position: relative; overflow: hidden; background: var(--brand-deep); color: #fff; box-shadow: var(--shadow-brand); }
.btn-go:hover { background: var(--brand); }
.btn-go::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-18deg); opacity: 0;
}
.btn-go:hover::after { animation: sheen .75s var(--ease) forwards; }
@keyframes sheen { from { left: -60%; opacity: 1; } to { left: 115%; opacity: 0; } }

.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--rail); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero::before { transition: none; }
  .btn-go:hover::after { animation: none; }
}

/* "or" divider between password and Google sign-in */
.or-line { display: flex; align-items: center; gap: 12px; margin: 20px 0 16px; color: var(--quiet); font-size: .82rem; }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ============================================== legal documents (terms etc) */

.legal-wrap { max-width: 1180px; margin: 0 auto; padding: 32px 20px 64px; display: grid; gap: 32px; }
@media (min-width: 1000px) { .legal-wrap { grid-template-columns: 260px 1fr; gap: 48px; } }

.legal-toc { display: none; }
@media (min-width: 1000px) {
  .legal-toc { display: block; }
  .legal-toc-inner { position: sticky; top: 90px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 8px; }
}
.legal-toc ol { list-style: decimal; padding-left: 20px; margin: 0; font-size: .82rem; line-height: 1.45; color: var(--quiet); }
.legal-toc li { margin-bottom: 7px; }
.legal-toc a { color: var(--quiet); }
.legal-toc a:hover { color: var(--brand-deep); }

.legal-body { max-width: 74ch; }
.legal-body h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 6px; }
.legal-body h2 {
  font-size: 1.25rem; margin: 42px 0 12px; padding-top: 18px;
  border-top: 1px solid var(--line); scroll-margin-top: 90px;
}
.legal-body h3 { font-size: 1.02rem; margin: 24px 0 8px; }
.legal-body p  { color: var(--body); line-height: 1.7; margin: 0 0 14px; }
.legal-body ul, .legal-body ol { color: var(--body); line-height: 1.7; padding-left: 22px; margin: 0 0 16px; }
.legal-body li { margin-bottom: 5px; }
.legal-body strong { color: var(--ink); }
/* The document's own --- rules would double up with the h2 borders. */
.legal-body hr { display: none; }
.legal-body h1 + p strong { color: var(--brand-deep); }

/* home screen */
.pv-home {
  flex: 1; padding: 22px 14px 14px;
  background: linear-gradient(165deg, #3A0F86 0%, #010A36 100%);
  display: flex; flex-direction: column;
}
.pv-clock { font-size: 2rem; font-weight: 700; color: #fff; letter-spacing: -.04em; line-height: 1; }
.pv-date  { font-size: .62rem; color: rgba(255,255,255,.7); margin: 3px 0 20px; }
.pv-grid  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; }
.pv-app   { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.pv-app i {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  overflow: hidden; font-style: normal; color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 6px 14px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.25);
}
.pv-app i img { width: 100%; height: 100%; object-fit: cover; }
.pv-app span { font-size: .5rem; color: rgba(255,255,255,.85); text-align: center; max-width: 50px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* in-app screen */
.pv-web { flex: 1; background: #fff; padding: 14px 12px; overflow: hidden; }
.pv-web-note {
  border: 1px dashed var(--line); border-radius: 10px; padding: 10px;
  display: flex; flex-direction: column; gap: 3px; margin-bottom: 14px;
}
.pv-web-note strong { font-size: .68rem; color: var(--brand-deep); word-break: break-all; }
.pv-web-note span   { font-size: .58rem; color: var(--quiet); line-height: 1.4; }
.pv-skeleton { display: flex; flex-direction: column; gap: 9px; }
.pv-skeleton i { display: block; height: 10px; border-radius: 5px; background: #EEF0F7; }
.pv-skeleton i:nth-child(2) { width: 78%; }
.pv-skeleton i:nth-child(3) { width: 62%; }
.pv-skeleton i.wide { height: 54px; }
.pv-skeleton i:last-child { width: 45%; }

.pv-test-banner {
  background: rgba(117,25,245,.88); color: #fff;
  font-size: .52rem; font-weight: 700; text-align: center; padding: 6px 4px;
}

/* ======================================= live preview: splash then the site */

.pv-site {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2;
  background: #fff; overflow: hidden;
}
.pv-site[hidden] { display: none; }
.pv-site iframe {
  width: 100%; height: 100%; border: 0; display: block;
  /* The frame renders at desktop width and is scaled down, so the preview
     shows the mobile layout a phone would actually get. */
  transform-origin: 0 0;
}

/* The splash covers the WHOLE screen, not just the space between the status
   bar and the home indicator. A real splash hides everything behind it; a
   splash that leaves the website peeking out below is worse than none. */
.phone-splash {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 0 10px;
  transition: opacity .45s var(--ease);
}
/* The status bar has to stay above the site layer too, or the site scrolls
   underneath a transparent strip and the illusion breaks. */
.phone-bar, .phone-home { position: relative; z-index: 4; }
.phone-splash.gone { opacity: 0; pointer-events: none; }

.pv-loading { display: flex; gap: 5px; margin-top: 14px; }
.pv-loading[hidden] { display: none; }
.pv-loading i {
  width: 6px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.85);
  animation: pvbounce 1s ease-in-out infinite;
}
.pv-loading i:nth-child(2) { animation-delay: .15s; }
.pv-loading i:nth-child(3) { animation-delay: .3s; }
@keyframes pvbounce { 0%,100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }

@media (prefers-reduced-motion: reduce) {
  .pv-loading i { animation: none; }
  .phone-splash { transition: none; }
}


/* ============================== submission screenshots (staff view only) */

.asset-grid {
  /* Flex first so older browsers still get a tidy row of thumbnails; grid
     takes over where it is supported and evens out the last row. */
  display: flex; flex-wrap: wrap; gap: 10px;
}
.asset-grid > a { flex: 0 0 104px; }

@supports (display: grid) {
  .asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  }
  .asset-grid > a { flex: none; }
}
.asset-grid a {
  display: block; text-decoration: none;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--mist);
}
.asset-grid a:hover { border-color: var(--ink); }
.asset-grid img {
  display: block; width: 100%; height: 150px;
  object-fit: cover; object-position: top;
  /* Screenshots are tall; cover keeps the grid tidy and the full size is one
     click away. */
  background: #fff;
}
.asset-grid span {
  display: block; padding: 5px 6px; font-size: .62rem; color: var(--quiet);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ================================================ WhatsApp button + contact */

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 18px; border-radius: 999px;
  background: #25D366; color: #fff; font-weight: 600; font-size: .92rem;
  box-shadow: 0 10px 28px -8px rgba(37,211,102,.7);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.wa-float:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 16px 34px -10px rgba(37,211,102,.8); }
.wa-float svg { width: 22px; height: 22px; flex: none; }

/* Above the bottom tab bar on the signed-in pages, where the tabs already
   own the bottom of the screen. */
.wa-float.lifted { bottom: 84px; }
@media (min-width: 920px) { .wa-float.lifted { bottom: 18px; } }

/* On a small screen the label costs more than it earns. */
@media (max-width: 520px) {
  .wa-float { padding: 14px; }
  .wa-float span { display: none; }
}

.foot-contact {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 22px 40px; text-align: center; margin-top: 8px;
}
.foot-contact > div { min-width: 180px; max-width: 260px; }
.foot-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand-deep); margin-bottom: 5px;
}
.foot-contact a { color: inherit; }
.foot-contact a:hover { color: var(--brand-deep); }
