/* Unhaze website. Colours match the app's Palette (ui/Theme.kt). Light by default; dark only
   when someone picks it with the toggle (theme.js sets data-theme). Brand rules: unhaze/MOTION.md */
@font-face {
  font-family: "Nunito";
  src: url("/assets/nunito.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --cloud: #F4F8FC;
  --card: #FFFFFF;
  --card-lip: #D3DCE8;
  --line: #E3E9F1;
  --ink: #1D2B44;
  --muted: #5E6C84;
  --sky: #2474B5;
  --sky-lip: #1A5A8F;
  --sky-tint: #E4F2FD;
  --sky-text: #1A5A8F;
  --on-sky: #FFFFFF;
  --sun: #FFCB45;
  --sun-lip: #F0A92E;
  --sun-text: #8A5600;
  --leaf-text: #1F7A47;
  --leaf-tint: #E3F5EA;
  --ink-on-bright: #1D2B44;
  --band-sky: #DCEEFC;
  --band-leaf: #E3F5EA;
  --band-night: #101A30;
  --band-sky-muted: #3F5675;
  --band-leaf-muted: #3B5A48;
  --shadow: 0 30px 60px -32px rgba(29, 43, 68, 0.35);
  --lift: 0 2px 4px rgba(29, 43, 68, 0.06), 0 18px 40px -22px rgba(29, 43, 68, 0.38);
  --header: rgba(244, 248, 252, 0.82);
  color-scheme: light;
}

/* Night colours: only when someone picks dark with the toggle (light is the default). */
:root[data-theme="dark"] {
  --cloud: #0F1626;
  --card: #18223A;
  --card-lip: #0A101D;
  --line: #2A3650;
  --ink: #E9EEF6;
  --muted: #A9B5C8;
  --sky: #6DB3F2;
  --sky-lip: #3D84C6;
  --sky-tint: #1B3350;
  --sky-text: #9CCBF7;
  --on-sky: #0B1222;
  --sun-text: #F7CF55;
  --leaf-text: #84DCA6;
  --leaf-tint: #17352A;
  --band-sky: #14233B;
  --band-leaf: #12261F;
  --band-night: #080D19;
  --band-sky-muted: #B3CAE6;
  --band-leaf-muted: #AFD3BE;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  --lift: 0 2px 4px rgba(0, 0, 0, 0.25), 0 18px 40px -22px rgba(0, 0, 0, 0.8);
  --header: rgba(15, 22, 38, 0.82);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { scroll-padding-top: 88px; scrollbar-color: var(--card-lip) var(--cloud); accent-color: var(--sky); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
::selection { background: var(--sun); color: var(--ink-on-bright); }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(36, 116, 181, 0.16); }

body {
  margin: 0;
  background: var(--cloud);
  color: var(--ink);
  font: 600 17px/1.65 "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; }
a { color: var(--sky-text); font-weight: 800; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 12px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); }
.center { text-align: center; }
.muted { color: var(--muted); }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--card); color: var(--ink); padding: 10px 16px; border-radius: 12px; }
.skip:focus { left: 16px; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.4vw, 3.9rem); font-weight: 900; }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.75rem); font-weight: 900; }
h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: 1.14rem; color: var(--muted); }
.highlight { background: var(--sun); color: var(--ink-on-bright); border-radius: 14px; padding: 0 0.16em; white-space: nowrap; }

/* ---------- Buttons, pills, links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 12px 26px; border-radius: 18px;
  background: var(--sky); color: var(--on-sky); text-decoration: none;
  font-weight: 900; font-size: 1.06rem;
  box-shadow: 0 5px 0 var(--sky-lip);
  transition: transform 140ms cubic-bezier(.3,.7,.4,1.4), box-shadow 140ms ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 6px 0 var(--sky-lip); }
.button:active { transform: translateY(5px); box-shadow: 0 0 0 var(--sky-lip); }
.button-sm { min-height: 42px; padding: 8px 16px; font-size: 0.95rem; border-radius: 14px; box-shadow: 0 4px 0 var(--sky-lip); }
.button-light { background: #FFFFFF; color: #1A5A8F; box-shadow: 0 5px 0 #A9CDEE; }
.button-light:hover { box-shadow: 0 6px 0 #A9CDEE; }
.button-light:active { box-shadow: 0 0 0 #A9CDEE; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 6px 14px; border-radius: 999px;
  background: var(--sky-tint); color: var(--sky-text); font-weight: 900; font-size: 0.92rem;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf-text); }
.text-link { font-weight: 900; text-decoration: none; border-bottom: 3px solid currentColor; padding-bottom: 1px; }
.text-link:hover { border-bottom-color: var(--sun); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 900; font-size: 1.32rem; letter-spacing: -0.01em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.site-header nav { display: flex; align-items: center; gap: 6px; }
.site-header nav a:not(.button) { color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 12px; font-weight: 800; }
.site-header nav a:not(.button):hover { background: var(--sky-tint); color: var(--sky-text); }
.nav-cta { margin-left: 6px; }
.theme-toggle {
  width: 44px; height: 44px; border-radius: 14px; border: 2px solid var(--line);
  background: var(--card); color: var(--ink); cursor: pointer;
  display: inline-grid; place-items: center; padding: 0;
}
.theme-toggle[hidden] { display: none; }
.theme-toggle svg { width: 21px; height: 21px; }
.theme-toggle .to-light { display: none; }
:root[data-theme="dark"] .theme-toggle .to-light { display: block; }
:root[data-theme="dark"] .theme-toggle .to-dark { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 0; }
.hero-art img { display: block; }
.hero-card {
  display: grid; gap: 18px; justify-items: start;
  background: var(--card); border-radius: 32px; padding: 34px 38px 32px;
  box-shadow: var(--lift), var(--shadow);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-weight: 800; font-size: 0.95rem; padding: 0; margin: 0; list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts li::before { content: ""; width: 15px; height: 15px; flex: none; background: var(--leaf-text); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M5 12.5l4.2 4.2L19 7%27 fill=%27none%27 stroke=%27black%27 stroke-width=%273.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M5 12.5l4.2 4.2L19 7%27 fill=%27none%27 stroke=%27black%27 stroke-width=%273.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; }

@media (min-width: 900px) {
  .hero-art img { width: 100%; height: clamp(600px, 47vw, 720px); object-fit: cover; object-position: 62% 50%; }
  .hero-wrap { position: absolute; inset: 0; display: flex; align-items: center; }
  .hero-card { max-width: 560px; }
}
@media (max-width: 899px) {
  .hero-art img { width: calc(100% - 32px); height: auto; margin: 12px 16px 0; border-radius: 28px; }
  .hero-wrap { position: relative; margin-top: -48px; }
  .hero-card { padding: 26px 22px 24px; border-radius: 28px; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { display: grid; gap: 12px; max-width: 700px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; justify-items: center; }

/* How it works: three cards joined by a dashed path */
.how { padding-top: 96px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 26px 0 0; margin: 0; list-style: none; }
.steps::before { content: ""; position: absolute; top: 26px; left: 17%; right: 17%; border-top: 3px dashed var(--card-lip); }
.steps li { position: relative; text-align: center; display: grid; gap: 8px; align-content: start; padding: 44px 18px 0; }
.steps li p { color: var(--muted); }
.step-num {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: var(--ink-on-bright); font-weight: 900; font-size: 1.35rem;
  box-shadow: 0 0 0 8px var(--cloud);
}

/* Split rows: art + copy */
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: center; }
.split.flip > :first-child { order: 2; }
.copy { display: grid; gap: 18px; justify-items: start; }
.art { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: var(--lift); }
.ticks { display: grid; gap: 12px; padding: 0; margin: 4px 0 0; list-style: none; }
.ticks li { position: relative; padding-left: 36px; color: var(--muted); }
.ticks li strong { color: var(--ink); font-weight: 900; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--leaf-tint);
}
.ticks li::after {
  content: ""; position: absolute; left: 5px; top: 8px; width: 14px; height: 14px; background: var(--leaf-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M5 12.5l4.2 4.2L19 7%27 fill=%27none%27 stroke=%27black%27 stroke-width=%273.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M5 12.5l4.2 4.2L19 7%27 fill=%27none%27 stroke=%27black%27 stroke-width=%273.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
}

/* The phone with the pause screen (keeps the app's light look in both themes) */
.phone {
  justify-self: center; margin: 0; width: min(316px, 82vw);
  border: 11px solid #1D2B44; border-radius: 48px; background: #1D2B44;
  box-shadow: 0 2px 6px rgba(14, 22, 38, 0.2), 0 40px 80px -34px rgba(29, 43, 68, 0.6);
  position: relative;
}
.phone::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 72px; height: 18px; border-radius: 12px; background: #1D2B44; z-index: 1; }
.phone-screen {
  display: grid; gap: 10px; padding: 34px 14px 20px; border-radius: 37px;
  background: #F4F8FC; color: #1D2B44; text-align: center;
}
.phone-art { width: 100%; height: auto; border-radius: 22px; }
.phone-title { font-size: 1.32rem; font-weight: 900; line-height: 1.2; margin-top: 4px; }
.phone-body { font-size: 0.9rem; color: #5E6C84; padding: 0 6px; }
.phone-btn {
  display: block; border-radius: 16px; padding: 12px 10px; font-weight: 900; font-size: 0.95rem;
  background: #FFFFFF; color: #1D2B44; border: 2px solid #E3E9F1; box-shadow: 0 4px 0 #D3DCE8;
}
.phone-btn.primary { background: #2474B5; color: #FFFFFF; border-color: #2474B5; box-shadow: 0 4px 0 #1A5A8F; margin-top: 6px; }

/* Colour bands with a cloud edge on top */
.band { padding: 0; margin-top: 24px; }
.band .edge { display: block; width: 100%; height: 60px; fill: var(--band); margin-bottom: -1px; }
.band-inner { background: var(--band); padding: 36px 0 96px; }
.band-sky { --band: var(--band-sky); --muted: var(--band-sky-muted); }
.band-leaf { --band: var(--band-leaf); --muted: var(--band-leaf-muted); margin-top: 0; }
.band-leaf .band-inner { padding-top: 88px; }
.band-night {
  --band: var(--band-night);
  --ink: #E9EEF6; --muted: #B4C0D3; --sky-text: #9CCBF7; --leaf-text: #84DCA6; --leaf-tint: #17352A; --card-lip: #04070F;
  color: var(--ink);
}
.band-night .band-inner {
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 62%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 47% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 78%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 82% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 70%, #fff 50%, transparent 51%),
    var(--band);
}
.band-note { text-align: center; color: var(--muted); max-width: 640px; margin: 36px auto 0; }

/* Sky tiles */
.sky-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile {
  margin: 0; background: var(--card); border-radius: 26px; padding: 10px 10px 16px;
  box-shadow: var(--lift);
}
.tile img { display: block; width: 100%; height: auto; border-radius: 18px; }
.tile figcaption { display: grid; gap: 2px; text-align: center; padding-top: 12px; }
.tile figcaption strong { font-weight: 900; font-size: 1.08rem; }
.tile figcaption span { color: var(--muted); font-size: 0.92rem; }
.art.wide { max-width: 960px; margin: 0 auto; }

/* Privacy promises */
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0; margin: 0 0 32px; list-style: none; }
.promise-grid li { display: grid; gap: 8px; align-content: start; padding: 4px 6px; }
.promise-grid svg { width: 52px; height: 52px; padding: 10px; border-radius: 16px; background: var(--sky-tint); fill: var(--sky-text); stroke: var(--sky-text); margin-bottom: 6px; }
.promise-grid svg .dot { fill: var(--sky-tint); }
.promise-grid p { color: var(--muted); font-size: 0.98rem; }

/* Questions */
.faq-section { padding-top: 40px; }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-grid .section-head { position: sticky; top: 100px; margin-bottom: 0; }
.faq details { background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 0 22px; margin-bottom: 12px; transition: border-color 160ms ease; }
.faq details[open] { border-color: var(--sky); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 900; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: -4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  background:
    linear-gradient(var(--sky-text), var(--sky-text)) center / 12px 3px no-repeat,
    linear-gradient(var(--sky-text), var(--sky-text)) center / 3px 12px no-repeat,
    var(--sky-tint);
}
.faq details[open] summary::after {
  background: linear-gradient(var(--sky-text), var(--sky-text)) center / 12px 3px no-repeat, var(--sky-tint);
}
.faq details p { padding-bottom: 20px; color: var(--muted); }
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    :root { interpolate-size: allow-keywords; }
    .faq details::details-content { height: 0; overflow: clip; transition: height 260ms ease, content-visibility 260ms allow-discrete; }
    .faq details[open]::details-content { height: auto; }
  }
}

/* Call to action */
.cta { padding: 40px 0 96px; }
.cta-card {
  display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 32px; align-items: center;
  border-radius: 36px; padding: 40px 48px 44px;
  background: linear-gradient(135deg, #1C64A6, #2474B5);
  box-shadow: 0 2px 6px rgba(20, 73, 122, 0.25), var(--shadow);
  color: #FFFFFF;
}
.cta-card h2 { color: #FFFFFF; }
.cta-card .lead { color: #FFFFFF; }
.cta-copy { display: grid; gap: 18px; }
.cta-art { width: 100%; height: auto; }
.cta-mail { color: #FFFFFF; font-weight: 700; }
.cta-mail a { color: #FFFFFF; }

/* Footer */
/* ---------- Footer: a dark link band, then the scene (Puff calm while the haze drifts past) ---------- */
.site-footer { margin-top: 24px; }
.footer-band { background: #0F1626; color: #E9EEF6; padding: 56px 0 28px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px 40px; }
.footer-brand .brand { color: #fff; font-size: 1.25rem; }
.footer-brand .brand img { width: 32px; height: 32px; border-radius: 9px; }
.footer-brand p { color: #A9B5C8; margin-top: 8px; }
.footer-head { color: #A9B5C8; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.footer-links, .footer-contact { display: grid; align-content: start; gap: 8px; }
.footer-band a { color: #E9EEF6; text-decoration: none; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s cubic-bezier(.25,1,.5,1); }
.footer-band a:hover, .footer-band a:focus-visible { background-size: 100% 2px; }
.footer-legal { color: #A9B5C8; font-size: .85rem; margin-top: 8px; }
.footer-legal a { color: #A9B5C8; }
.footer-signoff { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 22px; border-top: 1px solid #2A3650; }
.signoff { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 900; letter-spacing: -0.01em; color: #fff; }
.to-top span { display: inline-block; transition: transform .25s cubic-bezier(.25,1,.5,1); }
.to-top:hover span { transform: translateY(-3px); }
.footer-scene { position: relative; overflow: hidden; background: linear-gradient(#D8EEFC, #F1F8FE 70%); padding-top: clamp(24px, 4vw, 56px); }
:root[data-theme="dark"] .footer-scene { background: linear-gradient(#16304F, #1B3350 70%); }
.footer-word { position: absolute; inset: clamp(8px, 2vw, 24px) 0 auto; text-align: center; font-weight: 900; line-height: .9; letter-spacing: -0.03em;
  font-size: clamp(88px, 21vw, 330px); color: #fff; opacity: .75; user-select: none; pointer-events: auto; }
:root[data-theme="dark"] .footer-word { color: #2A4A70; opacity: 1; }
.footer-word span { display: inline-block; transition: transform .45s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(var(--i) * 45ms); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .footer-word:hover span { transform: translateY(-14px); } }
.footer-art { position: relative; display: block; width: 100%; height: auto; margin-top: clamp(40px, 9vw, 140px); }
.footer-quip { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: .85rem; font-weight: 700; color: #1F5A33; }
@media (max-width: 720px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-signoff { flex-direction: column; align-items: flex-start; }
  .footer-quip { position: static; background: #5EBF7E; color: #12391F; padding: 0 16px 14px; }
}

/* Meet Puff: the pose strip */
.meet { padding-top: 24px; }
.poses { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding: 0; margin: 0; list-style: none; }
.poses li { display: grid; gap: 12px; justify-items: center; font-weight: 900; font-size: 1.05rem; }
.poses img { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: var(--lift); }

/* The promo video, in a phone-shaped frame */
.video-frame { justify-self: center; width: min(340px, 80vw); border-radius: 34px; overflow: hidden; background: #0E1626; box-shadow: 0 2px 6px rgba(14, 22, 38, 0.2), 0 40px 80px -34px rgba(29, 43, 68, 0.6); }
.video-frame video { display: block; width: 100%; height: auto; }
@media (max-width: 860px) {
  .poses { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
  .poses li { width: calc(33.333% - 10px); font-size: 0.95rem; }
}
@media (max-width: 420px) {
  .poses li { width: calc(50% - 7px); }
}

/* ---------- Long-form pages (privacy policy) ---------- */
.doc { max-width: 780px; padding-top: 40px; padding-bottom: 56px; }
.doc h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); }
.doc h2 { font-size: 1.45rem; margin-top: 2.2em; margin-bottom: 0.5em; }
.doc h3 { font-size: 1.12rem; margin-top: 1.5em; margin-bottom: 0.4em; }
.doc p, .doc ul { margin: 0 0 1em; }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: 0.45em; }
.doc .meta { color: var(--muted); margin: 0.4em 0 1.6em; }
.doc .summary { background: var(--sky-tint); border-radius: 20px; padding: 20px 22px; }
.doc strong { font-weight: 900; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="off"]) .hero-card { animation: rise 700ms 120ms cubic-bezier(.16,1,.3,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.motion-toggle {
  position: absolute; z-index: 2; right: max(16px, env(safe-area-inset-right)); bottom: 16px;
  min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.92); color: #1D2B44; font: inherit; font-weight: 800; font-size: 0.88rem;
  box-shadow: 0 2px 8px rgba(29, 43, 68, 0.18);
}
.motion-toggle[hidden] { display: none; }
@media (max-width: 899px) {
  .motion-toggle { top: 24px; bottom: auto; right: 28px; min-height: 34px; padding: 6px 12px; font-size: 0.8rem; }
}
.motion-toggle:hover { background: #FFFFFF; }

/* ---------- Smaller screens ---------- */
@media (max-width: 980px) {
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .how { padding-top: 72px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .split, .faq-grid, .cta-card { grid-template-columns: 1fr; gap: 36px; }
  .split.flip > :first-child { order: 0; }
  .faq-grid .section-head { position: static; }
  .band-inner { padding-bottom: 72px; }
  .cta-card { padding: 28px 24px 32px; }
  .cta-art { max-width: 260px; justify-self: center; }
  .nav-link { display: none; }
}
@media (max-width: 560px) {
  .sky-trio { gap: 10px; }
  .tile { padding: 6px 6px 10px; border-radius: 18px; }
  .tile img { border-radius: 13px; }
  .tile figcaption { padding-top: 8px; }
  .tile figcaption strong { font-size: 0.86rem; line-height: 1.2; }
  .tile figcaption span { display: none; }
  .promise-grid { gap: 12px; }
  .promise-grid p { font-size: 0.9rem; }
  .band .edge { height: 44px; }
}
@media (max-width: 360px) {
  .promise-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .nav-cta { display: none; }
  .brand { font-size: 1.2rem; }
}
