/* =========================================================
   Storm Chance — shared styles
   Hand-written replacement for the WordPress/Elementor build.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root{
  --ink:#eef4fb;
  --ink-soft:#cdd8ec;
  --muted:#94a1be;
  --brand:#509ad1;        /* lightning-bolt blue, sampled from the logo cube face */
  --brand-2:#509ad1;
  --brand-deep:#1b6fa8;
  --magenta:#bd47db;
  --magenta-soft:#d987f2;
  --line:rgba(255,255,255,.10);
  --card:rgba(255,255,255,.035);
  --card-hover:rgba(255,255,255,.06);
  --maxw:85vw;
  --pad:clamp(20px,5vw,48px);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Roboto,sans-serif;
  color:var(--ink-soft);
  line-height:1.65;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  background:#2b0030;
  overflow-x:hidden;
}

/* The storm front: one continuous vertical gradient behind everything.
   Colors sampled directly from the original WordPress site so the page
   reads purple (hero) -> warm taupe cloud -> maroon-red (maps) -> purple
   foothills -> deep purple, with the blue ocean handled by the footer. */
.page{
  position:relative;
  background:
    linear-gradient(180deg,
      #38003e 0%,      /* hero: magenta-purple */
      #2f0033 5%,
      #260027 10%,
      #1b001a 15%,
      #140010 20.5%,   /* darkest — bottom of hero */
      #0d000f 23%,     /* under the cloudline: DARK PURPLE (the .designed section paints its own brown on top; this only shows where the hero padding bleeds through, so it must be purple not brown) */
      #0d0011 28%,
      #0e0014 32%,
      #0d0012 36%,
      #0c0010 40%,
      #0e0013 43.5%,
      #160b0d 46%,     /* section bottom — DARK; exactly matches the 2nd cloud fill so the cloud is seamless */
      #1a0009 52%,     /* flat base: holds one constant colour across the whole
                          range the hills' bottom edge can land in at any viewport
                          width, so the SVG's bottom stop always matches */
      #1a0009 76%,     /* hills base — from here the ramp matches the original
                          site: a long, slow slide from near-black maroon into
                          deep violet, sampled stop-for-stop */
      #1c0011 82%,
      #1f001c 88%,
      #24002b 93%,     /* flat from here down so the footer can land anywhere in
                          this range and still match the ocean SVG's base fill */
      #24002b 100%);
}

h1,h2,h3,h4{font-family:Roboto,sans-serif;color:var(--ink);font-weight:500;line-height:1.15;margin:0}
a{color:var(--brand-2);text-decoration:none}
a:hover{color:#fff}
img{max-width:100%;display:block}
p{margin:0 0 1em}

.container{max-width:var(--maxw);margin:0 auto;padding-inline:var(--pad)}
.center{text-align:center}

/* ---------- Header ---------- */
.site-header{
  position:relative;z-index:30;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  max-width:var(--maxw);margin:0 auto;padding:22px var(--pad) 4px;
}
.site-header .brand img{height:38px;width:auto}
.nav{display:flex;gap:28px;align-items:center;font-family:Roboto,sans-serif;font-weight:500}
.nav a{color:var(--ink-soft);letter-spacing:.02em;font-size:15px}
.nav a:hover,.nav a[aria-current]{color:#fff}
.nav a[aria-current]{color:var(--brand-2)}

/* ---------- Buttons ---------- */
.store-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.store-btn{display:inline-block;transition:transform .18s ease,filter .18s ease}
.store-btn img{height:54px;width:auto}
.store-btn:hover{transform:translateY(-2px)}

.btn{
  display:inline-block;font-family:Roboto,sans-serif;font-weight:600;
  background:var(--brand);color:#03121c;border:0;border-radius:10px;
  padding:13px 26px;font-size:15px;letter-spacing:.02em;cursor:pointer;
  transition:transform .15s ease,background .2s ease;
}
.btn:hover{background:#6fb0e0;transform:translateY(-2px);color:#03121c}
.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}

/* ---------- Hero ---------- */
.hero{position:relative;z-index:5;padding:36px 0 90px;overflow:hidden}
.hero .hero-video{ /* thundercloud loop behind the hero, same treatment as the storm band */
  position:absolute;left:0;right:0;top:0;z-index:-2;
  width:100%;height:100%;object-fit:cover;pointer-events:none;
  opacity:.3;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 72%,transparent 100%);
  mask-image:linear-gradient(180deg,#000 0%,#000 72%,transparent 100%);
}
.hero::before{ /* soft glow behind logo */
  content:"";position:absolute;inset:-10% 0 auto;height:520px;z-index:-1;
  background:radial-gradient(60% 70% at 35% 30%,rgba(63,30,110,.55),transparent 70%);
  pointer-events:none;
}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.78fr);
  gap:clamp(32px,5vw,80px);align-items:center;max-width:1280px;margin-inline:auto}
.hero-copy{text-align:center}
.hero-copy .hero-logo{margin-inline:auto}
.hero-copy .lead{margin-inline:auto}
.hero-copy .store-row{justify-content:center}
.hero-logo{width:min(330px,80%);margin-bottom:6px}
.hero h1{
  font-weight:300;font-size:clamp(2.1rem,4.6vw,3.4rem);letter-spacing:.005em;
  margin:.2em 0 .5em;color:#fff;
}
.hero h1 b{font-weight:600}
.lead{color:var(--muted);font-size:1.02rem;max-width:48ch;margin-bottom:1.8em}
.hero-art{display:flex;justify-content:center;align-items:center}

/* ---------- Phone / screenshot device ---------- */
.shot{
  border-radius:30px;border:1px solid rgba(255,255,255,.14);
  box-shadow:0 28px 70px rgba(0,0,0,.55),0 0 0 1px rgba(0,0,0,.4);
  background:#05070d;overflow:hidden;
}
.phone{width:clamp(220px,72%,290px)}
.phone .shot,.phone.shot{aspect-ratio:auto}

/* Hills geometry lives in one place: the storm band's bottom edge is computed
   from these so the band always terminates exactly at the hills' bottom and
   stays hidden behind the opaque near-hill fill. */
:root{--hills-gap:150px;--hills-h:387px;--hills-lift:-408px}

/* ---------- Rolling hills band ---------- */
/* Silhouette separator, same model as the cloudline: transparent sky, solid
   ridges, the frontmost fill matching the page gradient below so it merges. */
.hills{
  position:relative;z-index:1;margin-bottom:-2px;
  margin-top:var(--hills-gap);top:var(--hills-lift);height:var(--hills-h);
  background:url('/assets/img/hills.svg') center bottom / 100% 100% no-repeat;
  pointer-events:none;
}
/* Below the desktop breakpoint the dragged size/offset is out of proportion and
   pulls the ridges up into the phone mockups — fall back to a fluid band. */
@media (max-width:900px){
  :root{--hills-gap:90px;--hills-h:clamp(130px,32vw,300px);--hills-lift:0px}
}


/* ---------- Storm band ----------
   The stretch between the bottom cloud and the hills: one uniform
   light-red -> dark-red gradient at 70% opacity over the page gradient.
   Edges fade to transparent so the cloud above and hills below stay seamless. */
.section.stormband{position:relative;z-index:1}
.stormband .storm-video{
  position:absolute;left:0;right:0;z-index:-2;
  top:-186px;bottom:-150px;width:100%;height:auto;
  min-height:calc(100% + 336px);
  object-fit:cover;pointer-events:none;
  opacity:.55;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 88%,transparent 100%);
  mask-image:linear-gradient(180deg,#000 0%,#000 88%,transparent 100%);
}
.stormband::before{
  content:"";position:absolute;left:0;right:0;z-index:-1;pointer-events:none;
  top:-186px;
  bottom:calc(-1 * (var(--hills-gap) + var(--hills-h) + var(--hills-lift)));
  /* sampled from the original site: near-black mauve under the clouds,
     deepening to a wine maroon at the hills */
  background:linear-gradient(180deg,
    rgba(36,22,25,.9) 0%,
    rgba(50,6,19,.9) 100%);
}

/* Weather Alerts band (features page): lightning loop behind the content,
   same treatment as the home page's storm band video. */
.section.alertband{position:relative;overflow:hidden}
.alertband .alert-video{
  position:absolute;left:0;right:0;top:0;z-index:-1;
  width:100%;height:100%;object-fit:cover;pointer-events:none;
  opacity:.55;
  -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 12%,#000 86%,transparent 100%);
  mask-image:linear-gradient(180deg,transparent 0%,#000 12%,#000 86%,transparent 100%);
}
.alertband > .container{position:relative;z-index:1}

/* Videocast band (features page): rain loop at full strength behind a 95%-opaque
   copy of the page gradient, so the rain reads as a faint texture through it. */
.section.rainband{position:relative;overflow:hidden;z-index:1}
.rainband .rain-video{
  position:absolute;left:0;right:0;top:0;z-index:-2;
  width:100%;height:100%;object-fit:cover;pointer-events:none;
  -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 14%,#000 86%,transparent 100%);
  mask-image:linear-gradient(180deg,transparent 0%,#000 14%,#000 86%,transparent 100%);
}
.rainband::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,var(--band-top,#0f1430) 0%,var(--band-bot,#0d0c22) 100%);
  opacity:.95;
}
.rainband > .container{position:relative;z-index:1}


/* ---------- Section scaffolding ---------- */
.section{position:relative;z-index:2;padding:84px 0}
.section-head{max-width:780px;margin:0 auto 52px;text-align:center}
.section-head h2{font-size:clamp(1.7rem,3.4vw,2.5rem);font-weight:300;margin-bottom:.5em}
.section-head p{color:var(--muted)}
.eyebrow{
  font-family:Roboto,sans-serif;font-weight:600;letter-spacing:.22em;
  text-transform:uppercase;font-size:.72rem;color:var(--brand-2);margin-bottom:14px;
}

/* Cloud divider — Elementor "clouds" shape, stretched tall so it billows */
.divider{display:block;width:100%;height:clamp(80px,10vw,130px);position:relative;z-index:3;margin-top:-1px}
.divider svg{display:block;width:100%;height:100%}
.divider.cloud{height:clamp(120px,17vw,200px)}

/* Cloud section (Elementor-style shape dividers): the section carries its own
   light->dark gradient, and two FIXED-HEIGHT cloud layers anchor to its top and
   bottom edges. Robust at any viewport/section height. Top cloud billows UP into
   the dark hero; bottom cloud billows DOWN into the lighter maps area. */
.designed{
  --ch:clamp(88px,11vw,290px);
  position:relative;z-index:6;   /* above the hero (z-index 5) so the top cloud
                                    billows OVER the hero instead of behind it */
  background:linear-gradient(180deg,#5b4444 0%,#5b4444 18%,#312122 55%,#160b0d 100%);
}
.designed > .container{position:relative;z-index:1}
.designed::before,
.designed::after{
  content:"";position:absolute;left:0;right:0;height:var(--ch);z-index:0;pointer-events:none;
}
.designed::before{ /* top cloud: flat base at section top, billows up */
  top:calc(-1 * var(--ch) + 1px);
  background:url('/assets/img/cloud-top.svg') bottom center / 100% 100% no-repeat;
}
.designed::after{ /* bottom cloud: flat top at section bottom, billows down */
  bottom:calc(-1 * var(--ch) + 1px);
  background:url('/assets/img/cloud-bottom.svg') top center / 100% 100% no-repeat;
}

/* Lightning accent (descends through the dark cloud band) */
.bolt{
  position:absolute;top:34%;left:46%;transform:translateX(-50%);
  width:44px;height:auto;z-index:5;opacity:.92;
  filter:drop-shadow(0 0 12px rgba(150,210,255,.95)) drop-shadow(0 0 34px rgba(90,170,255,.55));
}

/* ---------- Video embed (click-to-play) ---------- */
.video-wrap{
  position:relative;
  max-width:880px;margin:0 auto;border-radius:18px;overflow:hidden;
  border:1px solid var(--line);box-shadow:0 30px 80px rgba(0,0,0,.55);
  background:#000;aspect-ratio:16/9;
}
.video-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.video-facade{
  position:absolute;inset:0;width:100%;height:100%;border:0;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;
  background:
    radial-gradient(120% 120% at 50% 38%,rgba(42,169,224,.18),transparent 62%),
    linear-gradient(160deg,#241433 0%,#3a1828 55%,#15243f 100%);
}
.video-facade .vf-logo{height:clamp(34px,5vw,52px);opacity:.95}
.video-facade .vf-thumb{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;
}
.video-facade::after{  /* scrim so the play button and label stay legible */
  content:"";position:absolute;inset:0;z-index:0;
  background:linear-gradient(180deg,rgba(6,4,14,.25) 0%,rgba(6,4,14,.55) 100%);
}
.video-facade .vf-play,
.video-facade .vf-label{position:relative;z-index:1}

.video-facade .vf-play{
  display:grid;place-items:center;width:74px;height:74px;border-radius:50%;
  background:rgba(8,6,16,.55);color:#fff;border:2px solid rgba(255,255,255,.85);
  transition:transform .18s ease,background .2s ease,border-color .2s ease;
  box-shadow:0 8px 30px rgba(0,0,0,.4);
}
.video-facade .vf-play svg{width:30px;height:30px;margin-left:3px}
.video-facade:hover .vf-play,.video-facade:focus-visible .vf-play{
  background:var(--brand);border-color:var(--brand);transform:scale(1.08)}
.video-facade .vf-label{
  font-family:Roboto,sans-serif;font-weight:600;letter-spacing:.04em;
  font-size:.95rem;color:var(--ink-soft)}

/* ---------- Trio of feature phones ---------- */
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.trio .item{text-align:center}
.trio .phone{margin:0 auto 26px}
.trio h3{font-size:1.4rem;font-weight:500;margin-bottom:.4em}
.trio p{color:var(--muted);font-size:.95rem;max-width:34ch;margin:0 auto}

/* ---------- Feature grid (icon list) ---------- */
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:40px 56px;max-width:920px;margin:0 auto}
.feature{display:flex;gap:18px;align-items:flex-start}
.feature .ico{
  flex:0 0 auto;width:50px;height:50px;border-radius:12px;
  border:1.5px solid var(--magenta);display:grid;place-items:center;
  color:var(--magenta-soft);
  background:rgba(189,71,219,.06);
}
.feature .ico svg{width:24px;height:24px}
.feature h3{font-size:1.18rem;font-weight:500;margin-bottom:.25em}
.feature p{color:var(--muted);font-size:.93rem;margin:0}

/* ---------- Features page: alternating rows ---------- */
.frow{
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,72px);
  align-items:center;max-width:1000px;margin:0 auto 84px;
}
.frow.flip .fr-media{order:2}
.frow .fr-media{display:flex;justify-content:center}
.frow .fr-media img{border-radius:22px}
.frow .fr-media .plain{border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.5);border:1px solid var(--line)}
.frow h3{font-size:clamp(1.4rem,2.6vw,1.9rem);font-weight:400;margin-bottom:.45em}
.frow p{color:var(--muted)}
.frow .micro{font-size:.85rem;color:var(--brand-2);font-weight:500;letter-spacing:.04em}

.map-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;max-width:1000px;margin:0 auto 80px}
.map-strip figure{margin:0;text-align:center}
.map-strip img{border-radius:16px;border:1px solid var(--line);box-shadow:0 16px 44px rgba(0,0,0,.45)}
.map-strip figcaption{font-family:Roboto,sans-serif;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;font-size:.68rem;color:var(--muted);margin-top:12px}

/* ---------- Cloud bands (features page) ----------
   Four full cloud sections, each scalloped on BOTH edges like the
   .designed section on the home page: a top cloud billowing up and a
   bottom cloud billowing down, each filled with that edge's own color.
   Everything between them rides on the page's base gradient. */
.page.bands{
  background:linear-gradient(180deg,
    #3d1259 0%,
    #2d1047 14%,
    #1f0b38 28%,
    #180a2e 42%,
    #120f2c 56%,
    #0f1430 68%,
    #0d0c22 82%,
    #0b0030 100%);
}
.cband{
  --ch:clamp(88px,11vw,290px);
  position:relative;z-index:2;padding:96px 0;
  background:linear-gradient(180deg,var(--top) 0%,var(--bot) 100%);
}
.cband::before,
.cband::after{
  content:"";position:absolute;left:0;right:0;height:var(--ch);
  z-index:0;pointer-events:none;
}
.cband::before{
  top:calc(-1 * var(--ch) + 1px);
  background:var(--cloud-top) bottom center / 100% 100% no-repeat;
}
.cband::after{
  bottom:calc(-1 * var(--ch) + 1px);
  background:var(--cloud-bot) top center / 100% 100% no-repeat;
}
.cband > .container{position:relative;z-index:1}
/* Masked clouds for any band: --cloud-ink-top / --cloud-ink-bot take a color OR
   a gradient, so a transition can fade like the band itself. */
.cband.inkclouds::before,
.cband.inkclouds::after{
  -webkit-mask-size:100% 100%;mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
}
.cband.inkclouds::before{
  background:var(--cloud-ink-top,var(--top));
  -webkit-mask-image:var(--cloud-top);mask-image:var(--cloud-top);
  -webkit-mask-position:bottom center;mask-position:bottom center;
}
.cband.inkclouds::after{
  background:var(--cloud-ink-bot,var(--bot));
  -webkit-mask-image:var(--cloud-bot);mask-image:var(--cloud-bot);
  -webkit-mask-position:top center;mask-position:top center;
}

/* Cloud band with a video behind it: the band's own gradient moves to a 95%-opaque
   tint layer so the loop reads faintly through it, clouds unchanged. */
.cband.vidband{background:none;z-index:3}  /* clouds ride over the section below */
.cband.vidband > .band-video{
  position:absolute;left:0;right:0;z-index:-2;
  top:calc(-1 * var(--ch));bottom:calc(-1 * var(--ch));
  width:100%;height:auto;min-height:calc(100% + 2 * var(--ch));
  object-fit:cover;pointer-events:none;
  filter:blur(2px) saturate(.92);  /* kills the webm's compression banding */
  /* fades out across the cloud zones above and below the band */
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 var(--ch),#000 calc(100% - var(--ch)),transparent 100%);
  mask-image:linear-gradient(180deg,transparent 0,#000 var(--ch),#000 calc(100% - var(--ch)),transparent 100%);
}
.cband.vidband > .band-tint{
  position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,var(--top) 0%,var(--bot) 100%);
  opacity:.9;
}
.cband.vidband::before,
.cband.vidband::after{opacity:.9}  /* clouds let the loop show through */

/* Weather Maps band: clouds are masked silhouettes, so their color comes from
   --cloud-ink-top / --cloud-ink-bot (set on the section) instead of the SVG file.
   Edit those two hex values to recolor the transitions. */
.cband.vidband::before,
.cband.vidband::after{
  background:var(--cloud-ink-top,var(--top));
  -webkit-mask-size:100% 100%;mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
}
.cband.vidband::before{
  -webkit-mask-image:var(--cloud-top);mask-image:var(--cloud-top);
  -webkit-mask-position:bottom center;mask-position:bottom center;
}
.cband.vidband::after{
  background:var(--cloud-ink-bot,var(--bot));
  -webkit-mask-image:var(--cloud-bot);mask-image:var(--cloud-bot);
  -webkit-mask-position:top center;mask-position:top center;
}


/* Bands are lighter than the page, so body copy gets brighter ink inside them */
.cband p,
.cband .map-strip figcaption{color:#eef3fc}
.cband .micro{color:#bfe4ff}
/* The pale band sits light, like the live site — ink flips dark on it */
.cband.pale h1,.cband.pale h2,.cband.pale h3,.cband.pale h4{color:#0f1221}
.cband.pale p,.cband.pale .map-strip figcaption{color:#1c2033}
.cband.pale .micro{color:#1b4a73}
.cband.pale .eyebrow{color:#2a4a86}
/* Dark plate for screenshots whose annotations were drawn for a dark page */
.img-plate{background:#141622;border:1px solid var(--line);border-radius:14px;padding:16px;
  box-shadow:0 18px 50px rgba(0,0,0,.4)}
.img-plate img{border-radius:6px}
.cband .frow{margin-bottom:0}
.cband .frow + .frow{margin-top:78px}
.page.bands .section{padding:96px 0}
.page.bands .section .frow{margin-bottom:0}
.page.bands .section .frow + .frow{margin-top:78px}
@media (max-width:880px){
  .cband{padding:66px 0}
  .cband .frow + .frow,
  .page.bands .section .frow + .frow{margin-top:56px}
  .page.bands .section{padding:66px 0}
}

/* Three-across arrangement used across the features page: callout / screen / callout */
.triptych{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr);
  gap:clamp(24px,4vw,56px);
  align-items:center;max-width:100%;margin:0 auto}
.triptych .mid{display:flex;justify-content:center;min-width:0}
.triptych img{margin-inline:auto;width:100%;height:auto}
.callout{text-align:center}
.callout + .callout{margin-top:38px}
.triptych > .callout + .callout{margin-top:0}
.callout h4{font-family:Roboto,sans-serif;font-weight:600;letter-spacing:.16em;
  text-transform:uppercase;font-size:.76rem;margin:0 0 12px;color:inherit;opacity:.9}
.callout p{font-size:.88rem;margin:12px 0 0}
.flist{list-style:none;padding:0;margin:0;font-size:.92rem;line-height:1.95}
.flist li::before{content:"·";margin-right:8px;opacity:.6}
/* UV scale: below the 3-column breakpoint the range + level sit on one line, guidance beneath */
@media (max-width:1000px){
  .uv-row{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)!important}
  .uv-row > :last-child{grid-column:1 / -1}
}
@media (max-width:880px){
  .triptych{grid-template-columns:1fr!important;gap:38px;text-align:center;max-width:430px}
}

/* ---------- Legal pages: calm background + text panel ---------- */
.page.legal{
  background:linear-gradient(180deg,
    #38003e 0%,
    #210026 22%,
    #180020 48%,
    #110026 74%,
    #0b0030 100%);
}
.page.legal .form-wrap{
  width:80%;
  max-width:720px;
  background:rgba(255,255,255,.045);
  border:1px solid var(--line);
  border-radius:20px;
  padding:clamp(28px,5vw,56px);
  margin:0 auto 110px;
  box-shadow:0 30px 80px rgba(0,0,0,.45);
}
.page.legal .form-wrap h1{
  font-family:Roboto,sans-serif;font-size:2rem;font-weight:400;
  color:#fff;text-align:center;margin:0 0 .35em;
}
@media (max-width:560px){
  .page.legal .form-wrap{width:auto;border-radius:14px;margin-inline:14px;margin-bottom:80px;padding-inline:22px}
}

.page.legal .prose{
  width:80%;
  max-width:1000px;
  background:rgba(255,255,255,.045);
  border:1px solid var(--line);
  border-radius:20px;
  padding:clamp(28px,5vw,60px);
  margin:0 auto 110px;
  box-shadow:0 30px 80px rgba(0,0,0,.45);
}
@media (max-width:560px){
  .page.legal .prose{width:auto;border-radius:14px;margin-inline:14px;margin-bottom:80px}
}
.page.legal{padding-top:46px}
.prose-logo{display:block;width:min(168px,42%);margin:0 auto 26px}
.prose-logo img{width:100%;height:auto}
.prose-head img{height:auto;width:min(152px,37%)}

/* ---------- Prose (legal pages) ---------- */
.prose-head{padding:40px 0 6px;text-align:center}
.prose-head img{margin:0 auto 18px}
.prose{
  max-width:820px;margin:0 auto;padding:30px var(--pad) 90px;
  font-size:.95rem;color:var(--ink-soft);
}
.prose h1{font-size:2rem;font-weight:400;margin:0 0 .2em;text-align:center}
.prose .updated{text-align:center;color:var(--muted);font-size:.82rem;margin-bottom:40px}
.prose h2{font-size:1.25rem;font-weight:600;margin:2em 0 .5em;color:#fff;
  padding-top:.6em;border-top:1px solid var(--line)}
.prose h3{font-size:1.05rem;font-weight:600;margin:1.4em 0 .4em;color:var(--ink)}
.prose p{margin:0 0 1em;color:var(--muted)}
.prose ul,.prose ol{margin:0 0 1.2em;padding-left:1.4em;color:var(--muted)}
.prose li{margin:.35em 0}
.prose strong,.prose b{color:var(--ink-soft);font-weight:600}
.prose a{color:var(--brand-2);word-break:break-word}
.prose .table-wrap{overflow-x:auto;margin:0 0 1.4em;-webkit-overflow-scrolling:touch}
.prose table{border-collapse:collapse;width:100%;min-width:560px;font-size:.86rem;color:var(--muted)}
.prose th,.prose td{border:1px solid var(--line);padding:9px 11px;text-align:left;vertical-align:top}
.prose th{color:var(--ink-soft);font-weight:600;background:rgba(255,255,255,.04)}
.prose .updated-foot{margin-top:2.2em;padding-top:1.1em;border-top:1px solid var(--line);color:var(--muted);font-size:.85rem}

/* ---------- Form (feedback) ---------- */
.form-wrap{max-width:680px;margin:0 auto;padding:10px var(--pad) 100px}
.form-wrap .lead{margin:0 auto 36px;text-align:center;max-width:52ch}
.field{margin-bottom:22px}
.field label{display:block;font-family:Roboto,sans-serif;font-weight:600;
  font-size:.85rem;color:var(--ink-soft);margin-bottom:8px;letter-spacing:.02em}
.field label .req{color:#ff5d7a;margin-left:3px}
.field input,.field textarea{
  width:100%;background:#eef1f6;border:1px solid transparent;border-radius:8px;
  padding:13px 15px;font:inherit;font-size:.98rem;color:#15203a;
}
.field input::placeholder,.field textarea::placeholder{color:#9aa3b6}
.field input:focus,.field textarea:focus{
  outline:none;border-color:var(--brand);box-shadow:0 0 0 3px rgba(42,169,224,.3)}
.field textarea{min-height:150px;resize:vertical}
.counter{text-align:right;font-size:.78rem;color:var(--muted);margin-top:6px}
.form-note{font-size:.82rem;color:var(--muted);margin-top:18px}
.form-status{margin-top:16px;font-size:.9rem;color:var(--brand-2);min-height:1.2em}

/* ---------- Do Not Sell / opt-out page ---------- */
.optout-form{margin:0 0 1.6em;max-width:460px}
.optout-form .field{margin-bottom:16px}
.field-help{font-size:.8rem;color:var(--muted);margin:7px 0 0}
.gpc-note{border:1px solid var(--line);border-left:3px solid var(--brand-2);
  border-radius:8px;padding:12px 15px;font-size:.88rem;background:rgba(255,255,255,.03)}
.optout-done{border:1px solid var(--line);border-radius:10px;padding:16px 18px;
  margin:0 0 1.6em;background:rgba(255,255,255,.04)}
.optout-done p:last-child{margin-bottom:0}

/* ---------- Email signup ---------- */
.notify-form{max-width:420px;margin:0 auto;display:flex;flex-direction:column;align-items:stretch;gap:6px}
.notify-form .field{margin-bottom:12px;text-align:left}
.notify-form .btn{align-self:center}
.signup .section-head p b{color:var(--ink);font-weight:600}

/* ---------- Footer (blue ocean) ---------- */
.site-footer{
  position:relative;z-index:5;text-align:center;
  padding:120px var(--pad) 46px;
  margin-top:-1px;
  background:#2e396b;
  color:var(--ink-soft);font-size:.9rem;
}
.site-footer::before{ /* layered ocean-wave bands rising out of the deep-purple page */
  content:"";position:absolute;left:0;right:0;top:0;height:150px;
  background:url('/assets/img/ocean-waves.svg') top center / 100% 100% no-repeat;
  pointer-events:none;
}

/* Features page ends on blue-purple, not the home page's maroon: its own wave
   sheet, cropped so only ~8px of flat color sits above the first wave. */
.page.bands .site-footer::before,
.page.legal .site-footer::before{background-image:url('/assets/img/ocean-waves-blue.svg')}
.site-footer nav{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:6px 10px;justify-content:center;align-items:center;margin:0 auto 12px;max-width:640px}
.footer-stores{justify-content:center;position:relative;z-index:1}
.footer-stores .store-btn img{height:46px}
.site-footer nav a{color:var(--ink-soft)}
.site-footer nav a:hover{color:#fff}
.site-footer .sep{color:var(--muted);opacity:.6}
.site-footer .copy{position:relative;z-index:1;color:var(--muted);font-size:.82rem}

/* ---------- Responsive ---------- */
@media (max-width:880px){
  .hero-grid{grid-template-columns:1fr;gap:34px}
  .hero-copy{text-align:center}
  .hero-copy .hero-logo{margin-inline:auto}
  .hero .lead{margin-inline:auto}
  .hero-copy .store-row{justify-content:center}
  .hero-art{order:-1}
  .trio{grid-template-columns:1fr;gap:48px;max-width:340px;margin-inline:auto}
  .fgrid{grid-template-columns:1fr;gap:30px;max-width:460px}
  .frow{grid-template-columns:1fr;gap:26px;text-align:center;margin-bottom:64px}
  .frow.flip .fr-media{order:0}
  .frow .fr-media{max-width:300px;margin-inline:auto}
  .map-strip{grid-template-columns:1fr 1fr;max-width:440px}
  .nav{gap:18px}
  .nav .hide-sm{display:none}
}
@media (max-width:480px){
  .section{padding:60px 0}
  .store-btn img{height:46px}
}

@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
