/* site.css — layout for the marketing pages. Loaded after theme.css.
   Colour tokens updated to the official CI manual palette — see theme.css header note. */

/* Thin-line topographic/coastline motif, per CI "design direction" (p.19): "thin line
   illustrations inspired by maps, compasses, coastlines, and topographic contours." Built as an
   inline SVG data-URI so no external asset is needed. */
:root {
  --ctw-topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1'%3E%3Cpath d='M-20 60 Q100 20 200 60 T420 60'/%3E%3Cpath d='M-20 120 Q100 80 200 120 T420 120'/%3E%3Cpath d='M-20 180 Q100 140 200 180 T420 180'/%3E%3Cpath d='M-20 240 Q100 200 200 240 T420 240'/%3E%3Cpath d='M-20 300 Q100 260 200 300 T420 300'/%3E%3Ccircle cx='330' cy='90' r='60'/%3E%3Ccircle cx='330' cy='90' r='90'/%3E%3C/g%3E%3C/svg%3E");
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 73, 104, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand:hover { color: #fff; text-decoration: none; }
.brand img.brand-mark { width: 30px; height: 30px; display: block; }

/* Official logo-lockup tagline (CI manual cover / logo sheet) */
.brand-tagline {
  margin: 0.5rem 0 0;
  color: var(--ctw-coral);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 0.92rem;
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--ctw-primary);
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  /* Deep Ocean Blue -> Atlantic Teal. The teal tail is what carries the CI's 20% share and
     reads as "ocean into nature" rather than a flat corporate navy. */
  background: linear-gradient(155deg, var(--ctw-primary-dark) 0%, var(--ctw-primary) 45%, #0d5f74 78%, var(--ctw-teal) 100%);
  color: #fff;
  padding: 6rem 0 6.5rem;
}
.hero::before {
  content: "";
  position: absolute;
  /* Oversized so the parallax shift below never exposes an edge. */
  inset: -40px;
  background-image: var(--ctw-topo);
  background-size: 500px 500px;
  background-repeat: repeat;
  pointer-events: none;
  /* Contour lines are the "far" layer: they drift against the cursor, opposite the badge. */
  transform: translate3d(calc(var(--hx, 0) * -18px), calc(var(--hy, 0) * -12px), 0);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 420px at 88% -8%, rgba(230, 122, 122, 0.20), transparent 62%),
    radial-gradient(560px 380px at 2% 108%, rgba(74, 155, 161, 0.30), transparent 62%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero p.lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 42rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* ── Hero art ─────────────────────────────────────────────────────────────────
   Now holds the real illustrated marketing badge from the CI manual. Previously an original
   thin-line compass drawing, which existed only because that export was unavailable. */
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

/* ── Hero 3D scene ────────────────────────────────────────────────────────────
   Pure CSS 3D. site.js writes two numbers onto .hero — --hx and --hy, each -1..1 (cursor
   position, or an idle sway on touch) — and everything below derives from them. Nothing
   between .hero-scene and .hero-stage may set filter, opacity<1, overflow, mask or
   mix-blend-mode: any of those flattens the 3D context and every layer collapses onto one
   plane. Effects that need them go on the leaf layers instead (as .hs-shadow and .hs-glare do). */
.hero { --hx: 0; --hy: 0; }
.hero-scene {
  perspective: 1300px;
  perspective-origin: 50% 45%;
  animation: hero-scene-in 1.6s cubic-bezier(0.16, 0.84, 0.24, 1) both;
}
@keyframes hero-scene-in {
  from { opacity: 0; transform: perspective(1200px) translate3d(0, 40px, -160px) rotateY(-26deg) rotateX(10deg); }
  35%  { opacity: 1; }
  to   { opacity: 1; transform: none; }
}

/* The real illustrated marketing badge (docs/logo detailed.png). Capped at 425px because that is
   the source's native size and upscaling a raster only softens it — raise --badge the moment a
   larger export exists. */
.hero-stage {
  --badge: min(425px, 82vw);
  position: relative;
  width: var(--badge);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  /* "Looks at" the cursor: cursor right turns the face right, cursor low tips the top forward. */
  transform: rotateX(calc(var(--hy) * -12deg)) rotateY(calc(var(--hx) * 18deg));
}
.hero-stage > * { position: absolute; pointer-events: none; }
.hero-badge {
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transform: translateZ(0);
}

/* Soft teal/coral glow far behind the badge — the deepest layer, so it parallaxes the most. */
/* closest-side, so each gradient has faded out before it reaches the box edge — any colour left
   at the edge shows as a hard-edged disc. */
.hs-halo {
  inset: -22%;
  background:
    radial-gradient(closest-side at 74% 24%, rgba(230, 122, 122, 0.32), transparent),
    radial-gradient(closest-side, rgba(74, 155, 161, 0.42), rgba(30, 124, 130, 0.14) 55%, transparent);
  transform: translateZ(-180px);
}
/* Compass bezel, the CI's "maps, compasses, coastlines" motif (p.19), turning very slowly. */
.hs-rings {
  inset: -12%;
  width: 124%;
  height: 124%;
  transform: translateZ(-90px);
  animation: hs-rings-spin 140s linear infinite;
}
@keyframes hs-rings-spin {
  from { transform: translateZ(-90px) rotate(0deg); }
  to   { transform: translateZ(-90px) rotate(360deg); }
}
/* Cast shadow: a blurred black silhouette of the artwork pushed back and down. Being further from
   the camera than the badge, it slides the opposite way as the stage turns — which is what sells
   the badge as an object floating in front of the hero rather than printed on it. */
.hs-shadow {
  inset: 5%;
  background: url("../img/logo-detailed.png") center / contain no-repeat;
  filter: brightness(0) blur(16px);
  opacity: 0.5;
  transform: translate3d(0, 24px, -70px);
}
/* Rim: site.js stacks several darkened copies a pixel or two apart behind the badge, so it shows
   an edge (thickness) when it turns instead of reading as a paper cut-out. */
.hs-depth {
  inset: 0;
  background: url("../img/logo-detailed.png") center / contain no-repeat;
  filter: brightness(var(--b, 0.35)) saturate(1.4);
}
/* Sheen that follows the light (the cursor). Masked by the artwork itself so it only lands on the
   painted "C", never on the transparent gap. If the mask image can't load, the spec treats the
   mask as fully transparent — the sheen just disappears, nothing else breaks. */
.hs-glare {
  inset: 0;
  background: radial-gradient(circle at calc(50% + var(--hx) * 38%) calc(32% + var(--hy) * 30%),
              rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.1) 26%, transparent 52%);
  -webkit-mask: url("../img/logo-detailed.png") center / contain no-repeat;
          mask: url("../img/logo-detailed.png") center / contain no-repeat;
  transform: translateZ(1px);
}
/* Flight path, echoing the dashed contrail in the artwork. A circle laid nearly flat and tipped
   to climb to the right; it passes behind the artwork at the back and in front of it at the front.

   Drawn as TWO halves (.is-back / .is-front), each clipped to one side of the badge plane. A
   single ring would be one polygon intersecting the badge, and whether a browser splits it to
   depth-sort correctly varies — Chrome drew the whole ring behind. Two halves that never cross
   the badge sort correctly everywhere. clip-path on these leaves is fine; it only flattens the
   element's own children, and they have none.

   The plane that flies it is added by site.js, which must use the same radius (124% / 2 = 0.62)
   and angles (74deg, -14deg) — see HERO_ORBIT there. */
.hs-orbit {
  left: 50%;
  top: 50%;
  width: 124%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.42);
  transform: translate(-50%, -50%) rotateZ(-14deg) rotateX(74deg);
}
/* rotateX(74deg) tips the element's top edge away from the viewer: its top half is the back. */
.hs-orbit.is-back  { clip-path: inset(0 0 50% 0); }
.hs-orbit.is-front { clip-path: inset(50% 0 0 0); }
.hs-plane,
.hs-trail {
  left: 50%;
  top: 50%;
  will-change: transform;
}
.hs-plane {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  color: #fff;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
}
.hs-plane svg { display: block; width: 100%; height: 100%; }
.hs-trail {
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: #fff;
}

.compass-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 50rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  /* Each chip floats at its own depth in front of the badge, so they drift against it and
     against each other as the stage turns. The bob uses the separate `translate` property so it
     composes with the depth `transform` instead of overwriting it. */
  transform: translateZ(var(--z, 90px));
  animation: chip-bob 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes chip-bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -8px; }
}
/* Chips carry either a Bootstrap Icon glyph or an inline SVG (see the wine glass in the hero).
   flex:none stops the flex row squashing the SVG when the label wraps at narrow widths.
   Offsets are a % of the badge now (they used to be % of the wider column), and slightly
   smaller than they look: perspective pushes anything with a positive Z outward from centre. */
.compass-chip svg { flex: none; }
.chip-1 { top: 5%;  left: -8%;   --z: 110px; }
.chip-2 { bottom: 9%; right: -9%; --z: 70px;  --d: -2s; }
.chip-3 { top: 44%; right: -13%; --z: 140px; --d: -4s; }
@media (max-width: 600px) {
  .chip-1 { left: -2%;  --z: 70px; }
  .chip-2 { right: -2%; --z: 50px; }
  .chip-3 { right: -4%; --z: 90px; }
}

/* ── Store badges ────────────────────────────────────────────────────────── */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--ctw-r-md);
  padding: 0.65rem 1.15rem;
  position: relative;
}
.store-badge:hover { text-decoration: none; color: #fff; transform: translateY(-1px); }
.store-badge i { font-size: 1.7rem; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge .sb-text small { font-size: 0.68rem; opacity: 0.85; }
.store-badge .sb-text strong { font-size: 1rem; letter-spacing: -0.01em; }
.store-badge.is-pending { cursor: default; }
.store-badge.is-pending:hover { transform: none; }
.store-badge .sb-ribbon {
  position: absolute;
  top: -0.55rem;
  right: -0.55rem;
  background: var(--ctw-coral);
  color: var(--ctw-on-coral);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 50rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* ── Feature grid ────────────────────────────────────────────────────────── */
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card .fc-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--ctw-r-md);
  background: var(--ctw-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}
/* Icon colour mix follows the CI's 60/20/10 weighting across the 6 cards:
   3 navy, 2 teal, 1 coral — rather than an even split that would over-use the accent. */
.feature-card:nth-child(2) .fc-icon,
.feature-card:nth-child(5) .fc-icon { background: var(--ctw-teal); }
.feature-card:nth-child(4) .fc-icon { background: var(--ctw-coral); color: var(--ctw-on-coral); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feature-card p { margin: 0; font-size: 0.92rem; }

/* ── Role strip (traveller / business owner) ─────────────────────────────
   Two roles at first release — driver flow/portal is a later addition, not
   part of the first release, so only these two ship here. */
.role-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 620px) { .role-strip { grid-template-columns: 1fr; } }
.role-card { border-top: 4px solid var(--ctw-primary); text-align: left; }
.role-card.role-business { border-top-color: var(--ctw-coral); }
.role-card .role-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ctw-on-surface-variant); }

/* ── Why section ─────────────────────────────────────────────────────────── */
.why-section { background: var(--ctw-surface-low); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }
.why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.why-list li { display: flex; gap: 1rem; align-items: flex-start; }
.why-list .wi-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ctw-teal-tint);
  color: var(--ctw-teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.why-list h4 { margin: 0 0 0.2rem; font-size: 1rem; }
.why-list p { margin: 0; font-size: 0.92rem; }

/* ── Download CTA band ───────────────────────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ctw-primary), var(--ctw-primary-dark));
  color: #fff;
  text-align: center;
  border-radius: var(--ctw-r-xl);
  padding: 3.5rem 2rem;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ctw-topo);
  background-size: 420px 420px;
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.82); }
.cta-band .store-badges { justify-content: center; margin-top: 1.75rem; }

/* ── 3D cards & scroll reveal ────────────────────────────────────────────────
   site.js adds .fx3d to cards, section heads and the CTA band, .tilt to the ones that follow the
   mouse, and .rv to those still below the fold (removed as they scroll in). Without JS none of
   these classes exist and the page is the plain static version.

   One transform carries both effects, built from four custom properties. They are registered
   with @property so they can be transitioned individually: the tilt eases quickly, the reveal
   slowly. Where @property isn't supported the values snap instead of easing — still correct. */
@property --tx   { syntax: "<angle>";  inherits: false; initial-value: 0deg; }
@property --ty   { syntax: "<angle>";  inherits: false; initial-value: 0deg; }
@property --rv-r { syntax: "<angle>";  inherits: false; initial-value: 0deg; }
@property --rv-y { syntax: "<length>"; inherits: false; initial-value: 0px; }

.fx3d {
  --tx: 0deg;
  --ty: 0deg;
  --rv-r: 0deg;
  --rv-y: 0px;
  transform: perspective(1000px) translateY(var(--rv-y)) rotateX(calc(var(--rv-r) + var(--tx))) rotateY(var(--ty));
  transition:
    --tx 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    --ty 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    --rv-r 0.9s cubic-bezier(0.2, 0.75, 0.25, 1) var(--rv-delay, 0s),
    --rv-y 0.9s cubic-bezier(0.2, 0.75, 0.25, 1) var(--rv-delay, 0s),
    opacity 0.8s ease var(--rv-delay, 0s),
    box-shadow 0.35s ease;
}
/* A card tipped back in perspective is a few px wider at its near edge. On a phone that is enough
   to give the whole page a sideways scroll, so clip it. `clip`, not `hidden`: hidden would make
   <main> a scroll container. */
main { overflow-x: clip; }

/* Waiting below the fold: tipped back and lowered. transition:none so ENTERING this state is
   instant (the element is off-screen anyway); leaving it uses .fx3d's transitions above. */
.fx3d.rv {
  --rv-r: 16deg;
  --rv-y: 48px;
  opacity: 0;
  transition: none;
}

.tilt {
  position: relative;
  transform-style: preserve-3d;
  --glare: rgba(30, 124, 130, 0.12);
}
.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), var(--glare), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.tilt.is-tilting::after { opacity: 1; }
.tilt.is-tilting { box-shadow: 0 2px 4px rgba(10, 73, 104, 0.06), 0 26px 50px rgba(10, 73, 104, 0.16); }
/* The icon tile floats above the card face, so it parallaxes against the text as the card turns. */
.tilt .fc-icon {
  transform: translateZ(34px);
  box-shadow: 0 10px 18px rgba(10, 73, 104, 0.22);
}
.cta-band.tilt { --glare: rgba(255, 255, 255, 0.16); }
@media (prefers-color-scheme: dark) {
  .tilt { --glare: rgba(255, 255, 255, 0.07); }
  .tilt.is-tilting { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 26px 50px rgba(0, 0, 0, 0.45); }
}

/* ── Reduced motion ──────────────────────────────────────────────────────────
   No sway, no bob, no reveal, no spin. The hero keeps a fixed three-quarter pose, so the depth
   (rim, shadow, chips in front) still reads, it just doesn't move. site.js also skips its
   animation loop, the orbiting plane, the card tilt and the reveal under this setting. */
@media (prefers-reduced-motion: reduce) {
  .hero-scene,
  .hs-rings,
  .compass-chip { animation: none; }
  .hs-rings { transform: translateZ(-90px); }
  .hero-stage { transform: rotateX(5deg) rotateY(-12deg); }
  .hero::before { transform: none; }
  .fx3d { transition: none; }
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ctw-primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.footer-links { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255, 255, 255, 0.75); font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

/* ── Coming-soon page ────────────────────────────────────────────────────── */
.coming-soon-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: linear-gradient(155deg, var(--ctw-primary-dark), var(--ctw-primary) 45%, #0d5f74 78%, var(--ctw-teal));
  color: #fff;
}
.coming-soon-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ctw-topo);
  background-size: 500px 500px;
  pointer-events: none;
}
.coming-soon-main {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.coming-soon-main .container-narrow { max-width: 620px; }
.cs-logo { width: 64px; height: 64px; margin: 0 auto 1.5rem; display: block; }
.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 50rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.coming-soon-main h1 { color: #fff; margin-bottom: 0.75rem; }
.coming-soon-main p.lead { color: rgba(255, 255, 255, 0.82); font-size: 1.1rem; margin-bottom: 2rem; }


.cs-footer {
  position: relative;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.cs-footer a { color: rgba(255, 255, 255, 0.7); }

/* ── POPIA / legal page ──────────────────────────────────────────────────── */
.legal-page { padding: 3rem 0 5rem; }
.legal-page .updated { color: var(--ctw-on-surface-variant); font-size: 0.9rem; margin-top: -0.5rem; }
.legal-page h2 {
  font-size: 1.15rem;
  margin-top: 2.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--ctw-outline-variant);
}
/* The 4-column retention table can't compress to a phone width. Give it its own
   horizontal scroll container so the *page* never scrolls sideways. */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
}
.legal-page table { border-collapse: collapse; width: 100%; margin: 0; font-size: 0.92rem; }
.legal-page .table-scroll table { min-width: 640px; }

/* Belt and braces: nothing on a legal page should be able to push the page wide. */
.legal-page { overflow-x: hidden; }
.legal-page p, .legal-page li, .legal-page td, .legal-page th { overflow-wrap: anywhere; }
.legal-page th, .legal-page td {
  text-align: left;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--ctw-outline-variant);
  vertical-align: top;
}
.legal-page th { background: var(--ctw-surface-high); color: var(--ctw-primary); }
.legal-page .draft-notice {
  background: var(--ctw-coral-tint);
  color: var(--ctw-coral-dark);
  border-radius: var(--ctw-r-md);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
}
.legal-page .fill-in {
  background: rgba(255, 214, 10, 0.25);
  border-bottom: 2px dashed #b8860b;
  padding: 0 0.2rem;
  font-weight: 700;
}
