/* =========================================================
   CleanX — marketing site styles
   Plain CSS, no build step. Edit the tokens below to rebrand.
   ========================================================= */

/* ---------- Fonts (self-hosted, OFL licensed) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/poppins-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); }

/* ---------- Design tokens ---------- */
:root {
  --blue-900: #0A1A4A;
  --blue-800: #0E2A78;
  --blue-700: #1747E6;
  --blue-600: #1D5BF2;   /* brand (app icon) */
  --blue-500: #2F7BF5;
  --blue-400: #5BB3F0;
  --blue-100: #E6EEFF;
  --blue-50:  #F3F7FF;

  --gold: #F2C46D;       /* broom bristles */
  --green: #22C55E;
  --red: #F04A4A;
  --violet: #7C5CFF;
  --cyan: #12B5CB;
  --amber: #F59E0B;
  --pink: #EC4899;

  --ink: #0B1633;
  --ink-2: #3B4767;
  --ink-3: #6B7693;
  --line: #E3E8F4;
  --surface: #FFFFFF;
  --bg: #F7F9FE;

  --grad: linear-gradient(135deg, #1747E6 0%, #2F7BF5 55%, #5BB3F0 100%);
  --grad-text: linear-gradient(100deg, #1747E6 0%, #2F7BF5 45%, #39A9F2 100%);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(16, 38, 102, .06), 0 2px 8px rgba(16, 38, 102, .05);
  --shadow: 0 10px 30px -10px rgba(23, 71, 230, .25), 0 4px 12px rgba(16, 38, 102, .06);
  --shadow-lg: 0 30px 60px -20px rgba(23, 71, 230, .35), 0 12px 24px -12px rgba(10, 26, 74, .18);

  --font-head: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 72px;
  --gutter: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
em { font-style: normal; font-weight: 600; color: var(--ink); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 820px; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.ico-xs { width: .85em; height: .85em; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { left: 12px; color: #fff; }

.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue-600); background: var(--blue-100);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow .ico { width: 1em; height: 1em; }
.eyebrow-light { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 22px; border-radius: 14px; border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 16px; font-size: .92rem; border-radius: 12px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(29, 91, 242, .6); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 28px -10px rgba(29, 91, 242, .7); }
.btn-primary .ico { fill: currentColor; stroke: none; width: .95em; height: .95em; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--blue-600); border-color: var(--blue-100); }
.btn-light { background: #fff; color: var(--blue-700); }
.btn-light:hover { color: var(--blue-800); box-shadow: 0 12px 30px -10px rgba(0,0,0,.35); }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff;
  padding: 11px 22px 11px 18px; border-radius: 16px;
  box-shadow: 0 12px 28px -12px rgba(11, 22, 51, .7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.store-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(11, 22, 51, .8); }
.store-btn .store-ico { width: 28px; height: 28px; fill: #fff; stroke: none; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn small { font-size: .68rem; letter-spacing: .08em; opacity: .8; font-weight: 600; }
.store-btn strong { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.store-btn-light { background: #fff; color: var(--ink); }
.store-btn-light:hover { color: var(--ink); }
.store-btn-light .store-ico { fill: var(--blue-600); }

.icon-btn {
  width: 46px; height: 46px; display: inline-grid; place-items: center;
  border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.icon-btn:hover { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.icon-btn .ico { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(247, 249, 254, .72);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10, 26, 74, .35); background: rgba(255,255,255,.85); }
.nav { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 6px 14px -6px rgba(29, 91, 242, .7); }
.brand b { color: var(--blue-600); font-weight: 800; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 10px; color: var(--ink-2); font-weight: 500; font-size: .96rem; }
.nav-links a:hover, .nav-links a.active { color: var(--blue-600); background: var(--blue-100); }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); place-items: center; }
.nav-toggle .ico { width: 22px; height: 22px; }
.nav-toggle .ico-close { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 88px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.b1 { width: 520px; height: 520px; background: #BFD3FF; top: -160px; right: -80px; animation: drift 18s ease-in-out infinite; }
.b2 { width: 420px; height: 420px; background: #C9F0FF; bottom: -140px; right: 28%; animation: drift 22s ease-in-out infinite reverse; }
.b3 { width: 360px; height: 360px; background: #E3DBFF; top: 20%; left: -160px; animation: drift 26s ease-in-out infinite; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(29,91,242,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(29,91,242,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px, 24px) scale(1.06); } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy .lead { font-size: 1.18rem; max-width: 34em; color: var(--ink-2); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 28px; }
.hero-actions .btn-ghost { padding: 16px 22px; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; color: var(--ink-2); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ico { width: 20px; height: 20px; padding: 3px; color: #fff; background: var(--green); border-radius: 50%; stroke-width: 3; }

/* Hero visual */
.hero-visual { position: relative; height: 600px; }
.fan { position: absolute; inset: 0; }
.fan-card {
  position: absolute; top: 50%; left: 50%;
  width: 250px; border-radius: 26px;
  box-shadow: var(--shadow-lg);
  border: 5px solid #fff;
  background: #fff;
}
.fan-center { transform: translate(-50%, -52%); z-index: 3; width: 280px; }
.fan-left   { transform: translate(-112%, -46%) rotate(-9deg); z-index: 2; opacity: .96; }
.fan-right  { transform: translate(12%, -46%) rotate(9deg); z-index: 2; opacity: .96; }

.scan-card {
  position: absolute; left: -12px; bottom: 6px; z-index: 5;
  width: 300px; padding: 16px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
.scan-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.scan-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .98rem; }
.scan-status { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--blue-600); background: var(--blue-100); padding: 4px 10px; border-radius: 999px; }
.scan-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.2s ease-in-out infinite; }
.scan-status.done { color: #12803F; background: #DCFCE7; }
.scan-status.done i { animation: none; }
@keyframes pulse { 50% { opacity: .25; transform: scale(.7); } }

.scan-body {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #2B2FA8 0%, #4338CA 55%, #5B5BE6 100%);
  color: #fff; border-radius: 16px; padding: 12px 14px;
}
.ring { --p: 0; position: relative; width: 86px; height: 86px; flex: none; }
.ring svg { position: relative; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 11; }
.ring-track { stroke: rgba(255,255,255,.95); }
.ring-bar { stroke: #F04A4A; stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: calc(314.16 - (314.16 * var(--p)) / 100); transition: stroke-dashoffset .2s linear; }
.ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ring-label b { font-family: var(--font-head); font-size: .8rem; color: var(--ink); line-height: 1.1; }
.ring-label small { font-size: .5rem; color: var(--ink-3); line-height: 1.1; max-width: 50px; }
.ring::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: #fff; }
.scan-meta { display: flex; flex-direction: column; line-height: 1.2; }
.scan-meta small { font-size: .72rem; opacity: .85; }
.scan-meta strong { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin: 2px 0; font-variant-numeric: tabular-nums; }
.scan-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.scan-stats div { background: var(--blue-50); border: 1px solid var(--line); border-radius: 12px; padding: 8px 6px; text-align: center; line-height: 1.15; }
.scan-stats b { display: block; font-family: var(--font-head); font-size: .86rem; color: var(--ink); }
.scan-stats small { font-size: .68rem; color: var(--ink-3); }
.scan-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .9rem; border-radius: 12px; padding: 11px; }
.scan-btn .ico { fill: currentColor; stroke: none; }

.chip {
  position: absolute; z-index: 6; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 16px; padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  line-height: 1.2;
}
.chip b { display: block; font-family: var(--font-head); color: var(--ink); font-size: .9rem; }
.chip small { font-size: .74rem; color: var(--ink-3); }
.chip-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.c-blue { background: var(--blue-600); }
.c-green { background: var(--green); }
.chip-ico .ico { width: 18px; height: 18px; stroke-width: 2.4; }
.float-b { top: 40px; right: -6px; }
.float-c { bottom: 120px; right: -18px; }

.float-a { animation: floaty 7s ease-in-out infinite; }
.float-b { animation: floaty 6s ease-in-out -2s infinite; }
.float-c { animation: floaty 8s ease-in-out -4s infinite; }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.sparkle { position: absolute; width: 18px; height: 18px; background: var(--gold); z-index: 4;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: twinkle 3s ease-in-out infinite; }
.s1 { top: 18px; left: 22%; }
.s2 { top: 46%; right: 2%; width: 12px; height: 12px; background: var(--blue-400); animation-delay: -1s; }
.s3 { bottom: 22px; right: 34%; width: 14px; height: 14px; animation-delay: -2s; }
@keyframes twinkle { 0%,100% { transform: scale(.6) rotate(0); opacity: .5; } 50% { transform: scale(1.15) rotate(45deg); opacity: 1; } }

/* ---------- Strip ---------- */
.strip { background: var(--ink); color: #DDE6FF; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 22px; padding-bottom: 22px; }
.strip-item { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-align: left; }
.strip-item .ico { width: 22px; height: 22px; color: var(--blue-400); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-tint { background: linear-gradient(180deg, #EEF3FF 0%, #F7F9FE 100%); }
.section-head { max-width: 740px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 1.12rem; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; text-align: left; margin-bottom: 32px; gap: 20px; }
.section-head-row h2 { margin-bottom: 0; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.tile h3 { margin: 16px 0 8px; }
.tile p { font-size: .98rem; margin: 0; color: var(--ink-3); }
.tile-ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: var(--blue-600); box-shadow: 0 10px 18px -10px rgba(16, 38, 102, .45); }
.tile-ico .ico { width: 24px; height: 24px; }
.c-violet { background: var(--violet); } .c-cyan { background: var(--cyan); } .c-red { background: var(--red); }
.c-amber { background: var(--amber); } .c-pink { background: var(--pink); } .c-white { background: rgba(255,255,255,.16); }
.tile-ico.c-green { background: var(--green); }

.tile-lg { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.tile-blue { background: var(--grad); border: 0; color: #DCE8FF; overflow: hidden; }
.tile-blue h3 { color: #fff; font-size: 1.6rem; }
.tile-blue p { color: #E2ECFF; font-size: 1.04rem; }
.tile-blue em { color: #fff; }
.tile-blue .tile-ico { background: rgba(255,255,255,.18); box-shadow: none; }
.tile-blue::after { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.25), transparent 65%); }
.tile-meter { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }
.meter-row { display: grid; gap: 7px; font-size: .9rem; color: #fff; font-weight: 500; }
.meter-row i { display: block; height: 10px; border-radius: 99px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.meter-row i::after { content: ""; position: absolute; inset: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, #fff, var(--gold)); transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.in-view .meter-row i::after { width: var(--w); }

.tile-wide { grid-column: span 4; display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; }
.tile-dark { background: var(--ink); border: 0; }
.tile-dark h3 { color: #fff; font-size: 1.4rem; }
.tile-dark p { color: #AFBCDD; }
.storage-bar .bar { height: 18px; border-radius: 99px; background: rgba(255,255,255,.12); display: flex; overflow: hidden; }
.storage-bar .seg { display: block; height: 100%; width: 0; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.in-view .storage-bar .seg { width: var(--w); }
.seg-media { background: var(--blue-500); }
.seg-apps { background: var(--violet); }
.seg-other { background: var(--gold); }
.seg-free { background: rgba(255,255,255,.3); }
.legend { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: #C9D4F0; font-size: .92rem; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.legend b { color: #fff; font-family: var(--font-head); font-weight: 600; }

/* ---------- Deep dives ---------- */
.dive { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.dive + .dive { margin-top: 110px; }
.dive-media { position: relative; display: grid; place-items: center; }
.dive-media::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); opacity: .16; filter: blur(4px); }
.dive-media img { position: relative; width: min(330px, 80%); border-radius: 30px; border: 6px solid #fff; box-shadow: var(--shadow-lg); transform: rotate(-2deg); transition: transform .5s ease; }
.dive-rev .dive-media img { transform: rotate(2deg); }
.dive:hover .dive-media img { transform: rotate(0) scale(1.02); }
.dive-rev .dive-media { order: 2; }
.dive-copy p { font-size: 1.1rem; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.ticks .ico { width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); stroke-width: 3; }

/* ---------- How it works ---------- */
.how { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.how-media { position: relative; margin: 0; }
.how-media::before { content: ""; position: absolute; inset: 8% -4% -6% 6%; border-radius: 40px; background: var(--grad); opacity: .18; filter: blur(30px); }
.how-media img { position: relative; width: 100%; max-width: 800px; border-radius: 26px; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.how-media figcaption { position: relative; display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .92rem; color: var(--ink-3); font-weight: 500; }
.how-media figcaption .ico { color: var(--blue-600); fill: currentColor; stroke: none; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; position: relative; }
.steps::before { content: ""; position: absolute; left: 34px; top: 40px; bottom: 40px; width: 2px; background: repeating-linear-gradient(180deg, var(--blue-400) 0 8px, transparent 8px 16px); opacity: .55; }
.step { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 20px; align-items: center; }
.step > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.step:hover > div { transform: translateX(4px); box-shadow: var(--shadow); }
.step-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 4px; }
.step-ico { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 16px 30px -14px rgba(29,91,242,.8); position: relative; z-index: 1; }
.step-ico .ico { width: 30px; height: 30px; }
.step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-3); font-size: .98rem; }

/* ---------- Gallery ---------- */
.gallery {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))) 34px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter)));
  scrollbar-width: thin; scrollbar-color: var(--blue-400) transparent;
}
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: var(--blue-400); border-radius: 99px; }
.shot { flex: none; scroll-snap-align: start; padding: 0; border: 0; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; height: 520px; }
.shot img { height: 100%; width: auto; }
.shot:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gallery-nav { display: flex; gap: 10px; }
@media (min-width: 1200px) {
  .gallery { justify-content: center; overflow: visible; gap: 18px; padding-left: var(--gutter); padding-right: var(--gutter); }
  .gallery .shot { height: 490px; }
  .gallery-nav { display: none; }
}

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(6, 12, 32, .86); backdrop-filter: blur(6px); }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; width: auto; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox .icon-btn { position: fixed; background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.2); }
.lightbox .icon-btn:hover { background: #fff; color: var(--ink); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 20px; top: 50%; translate: 0 -50%; }

/* ---------- Privacy ---------- */
.privacy { padding-top: 40px; }
.privacy-card {
  position: relative; overflow: hidden; border-radius: 36px; padding: 64px;
  background: radial-gradient(1200px 400px at 100% 0%, rgba(91,179,240,.35), transparent 60%), linear-gradient(135deg, #0A1A4A 0%, #0E2A78 60%, #1747E6 120%);
  color: #C9D6F5;
}
.privacy-card h2 { color: #fff; }
.privacy-head { max-width: 640px; margin-bottom: 40px; }
.privacy-head p { font-size: 1.12rem; }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
.p-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; }
.p-item h3 { color: #fff; font-size: 1.1rem; margin-top: 14px; }
.p-item p { margin: 0; font-size: .97rem; }
.p-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(91,179,240,.18); color: #8FD0FF; }
.p-ico .ico { width: 22px; height: 22px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #C9D8FF; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D5BF2' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); }
.faq details a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA ---------- */
.cta { padding: 20px 0 110px; }
.cta-card { position: relative; overflow: hidden; text-align: center; border-radius: 36px; padding: 72px 28px; background: var(--grad); color: #E4EDFF; }
.cta-card h2 { color: #fff; max-width: 680px; margin-left: auto; margin-right: auto; }
.cta-card p { font-size: 1.12rem; max-width: 520px; margin: 0 auto 30px; }
.cta-icon { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 26px; border: 4px solid rgba(255,255,255,.4); box-shadow: 0 20px 40px -16px rgba(0,0,0,.45); animation: floaty 6s ease-in-out infinite; }
.cta-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; left: 50%; top: -360px; translate: -50% 0; background: radial-gradient(circle, rgba(255,255,255,.35), transparent 65%); pointer-events: none; }
.cta-card > *:not(.cta-glow) { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #A9B6D6; padding-top: 70px; font-size: .96rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand b { color: var(--blue-400); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 48px; }
.footer-brand p { margin-top: 16px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .02em; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #C9D4F0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; padding-bottom: 28px; font-size: .86rem; }
.footer-bottom p { margin: 0; }

/* ---------- Reveal on scroll ---------- */
/* Content is visible by default; only blocks that start below the fold are
   hidden (by JS) and then animated in as they scroll into view. */
.reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.pre { opacity: 0; transform: translateY(28px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-lg { grid-row: auto; }
  .tile-wide { grid-column: span 2; }
  .hero-inner { gap: 24px; }
  .fan-card { width: 220px; }
  .fan-center { width: 250px; }
}

@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-grid; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; left: 12px; right: 12px; top: calc(var(--header-h) + 6px);
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open a { padding: 12px 14px; font-size: 1.02rem; }
  .nav-links.open .nav-cta-mobile { display: block; margin-top: 6px; }
  .nav-links.open .nav-cta-mobile .btn { display: flex; justify-content: center; width: 100%; color: #fff; background: var(--grad); }
  .site-header.menu-open .nav-toggle .ico-open { display: none; }
  .site-header.menu-open .nav-toggle .ico-close { display: block; }

  .hero { padding-top: 36px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { height: 560px; max-width: 520px; width: 100%; margin: 12px auto 0; }

  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item { justify-content: flex-start; }

  .section { padding: 84px 0; }
  .dive { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .dive-rev .dive-media { order: 0; }
  .dive + .dive { margin-top: 84px; }
  .ticks { max-width: 440px; margin-left: auto; margin-right: auto; text-align: left; }

  .how { grid-template-columns: 1fr; gap: 40px; }
  .how-media { text-align: center; }
  .steps { max-width: 560px; margin: 0 auto; width: 100%; }

  .privacy-card { padding: 44px 28px; }
  .privacy-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --gutter: 16px; }
  .brand { font-size: 1.2rem; }
  .brand img { width: 36px; height: 36px; }
  .hero { padding-bottom: 64px; }
  .hero-visual { height: 470px; }
  .fan-card { width: 160px; border-width: 4px; border-radius: 20px; }
  .fan-center { width: 190px; }
  .fan-left { transform: translate(-100%, -48%) rotate(-8deg); }
  .fan-right { transform: translate(0%, -48%) rotate(8deg); }
  .scan-card { width: 262px; left: 50%; translate: -50% 0; bottom: -6px; padding: 12px; }
  .float-a { animation: none; }
  .ring { width: 74px; height: 74px; }
  .scan-meta strong { font-size: 1.3rem; }
  .chip { padding: 8px 10px 8px 8px; }
  .chip-ico { width: 30px; height: 30px; border-radius: 9px; }
  .float-b { top: 4px; right: 0; }
  .float-c { display: none; }

  .strip-inner { grid-template-columns: 1fr; gap: 14px; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .tile-lg, .tile-wide { grid-column: auto; }
  .tile:not(.tile-lg):not(.tile-wide) { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 20px; align-items: start; }
  .tile:not(.tile-lg):not(.tile-wide) .tile-ico { grid-row: span 2; width: 46px; height: 46px; border-radius: 14px; }
  .tile:not(.tile-lg):not(.tile-wide) h3 { margin: 2px 0 4px; font-size: 1.08rem; }
  .tile:not(.tile-lg):not(.tile-wide) p { font-size: .94rem; }
  .step { grid-template-columns: 52px 1fr; gap: 14px; }
  .step-ico { width: 52px; height: 52px; border-radius: 16px; }
  .step-ico .ico { width: 24px; height: 24px; }
  .steps::before { left: 25px; }
  .step > div { padding: 16px 18px; }
  .dive-media img { width: min(290px, 78%); }
  .tile-wide { grid-template-columns: 1fr; gap: 22px; }

  .section-head-row { flex-direction: column; align-items: flex-start; }
  .gallery-nav { display: none; }
  .shot { height: 420px; }

  .privacy-card, .cta-card { border-radius: 26px; }
  .privacy-card .btn { width: 100%; white-space: normal; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; translate: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal.pre { opacity: 1; transform: none; }
  .meter-row i::after { width: var(--w); }
  .storage-bar .seg { width: var(--w); }
}
