/* PhoneSync — marketing site. Liquid glass over a living colour field. */

:root {
  --brand: #2a9f66;
  --brand-2: #1a789e;
  --brand-grad: linear-gradient(135deg, #34c77b 0%, #1fa2c8 100%);
  --cta-grad: linear-gradient(180deg, #3fd38a 0%, #20a464 100%);
  /* Accent for text. Deliberately not green: the colour field and many surfaces are green. */
  --accent-grad: linear-gradient(120deg, #0a5fd1 0%, #5b3ce0 55%, #a02fc4 100%);
  --accent-text: #1f5fc4;

  --bg: #eef2f6;
  --text: #0b1220;
  --text-2: #3b4656;
  --text-3: #6b7685;
  --hair: rgba(15, 23, 42, .08);

  --glass-bg: rgba(255, 255, 255, .42);
  --glass-bg-strong: rgba(255, 255, 255, .62);
  --glass-edge: rgba(255, 255, 255, .85);
  --glass-edge-low: rgba(255, 255, 255, .25);
  --glass-shadow: 0 1px 1px rgba(15, 23, 42, .04), 0 12px 40px rgba(15, 23, 42, .10);
  --glass-tint: rgba(255, 255, 255, .0);
  --spec: rgba(255, 255, 255, .75);

  --orb-1: #5be3a0;
  --orb-2: #4cc3f0;
  --orb-3: #8f9bff;
  --orb-4: #ffc46b;
  --orb-5: #c792ff;
  --orb-opacity: .55;

  --radius: 28px;
  --radius-sm: 18px;
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #05070b;
    --text: #f4f6fa;
    --text-2: #b8c0cc;
    --text-3: #8590a0;
    --hair: rgba(255, 255, 255, .09);
    --glass-bg: rgba(255, 255, 255, .07);
    --glass-bg-strong: rgba(255, 255, 255, .11);
    --glass-edge: rgba(255, 255, 255, .32);
    --glass-edge-low: rgba(255, 255, 255, .06);
    --glass-shadow: 0 1px 1px rgba(0, 0, 0, .3), 0 18px 50px rgba(0, 0, 0, .45);
    --spec: rgba(255, 255, 255, .28);
    --orb-1: #16a663;
    --orb-2: #0c7fb3;
    --orb-3: #4b3fd6;
    --orb-4: #b36b12;
    --orb-5: #8a2ed1;
    --orb-opacity: .6;
    --accent-grad: linear-gradient(120deg, #9fe6ff 0%, #bfb0ff 55%, #f5b0ff 100%);
    --accent-text: #a8dcff;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.lede, .section-head p { text-wrap: balance; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 99px; background: var(--text); color: var(--bg); }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid #3fb6ff; outline-offset: 3px; border-radius: 8px; }

/* ---------- Living colour field behind the glass ---------- */
.field {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}
.field i {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: var(--orb-opacity);
  will-change: transform; animation: drift 26s ease-in-out infinite alternate;
}
.field i:nth-child(1) { width: 55vmax; height: 55vmax; left: -15vmax; top: -18vmax; background: var(--orb-1); }
.field i:nth-child(2) { width: 50vmax; height: 50vmax; right: -18vmax; top: -10vmax; background: var(--orb-2); animation-duration: 32s; animation-delay: -6s; }
.field i:nth-child(3) { width: 45vmax; height: 45vmax; left: 20vmax; top: 40vh; background: var(--orb-3); animation-duration: 38s; animation-delay: -12s; }
.field i:nth-child(4) { width: 26vmax; height: 26vmax; left: -6vmax; bottom: -8vmax; background: var(--orb-4); animation-duration: 30s; animation-delay: -3s; opacity: calc(var(--orb-opacity) * .7); }
.field i:nth-child(5) { width: 34vmax; height: 34vmax; right: -8vmax; bottom: -12vmax; background: var(--orb-5); animation-duration: 34s; animation-delay: -18s; }
.field::after {
  /* fine grain keeps big gradients from banding */
  content: ""; position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vmax, 4vmax, 0) scale(1.08); }
  100% { transform: translate3d(-4vmax, 8vmax, 0) scale(.95); }
}

/* ---------- Liquid glass ---------- */
.glass {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 40%),
    var(--glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(185%);
  backdrop-filter: blur(22px) saturate(185%);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 var(--glass-edge),
    inset 0 -1px 0 var(--glass-edge-low),
    inset 1px 0 0 var(--glass-edge-low),
    inset -1px 0 0 var(--glass-edge-low),
    var(--glass-shadow);
}
/* bright rim that catches the light on the top-left and fades round the edge */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: linear-gradient(140deg, var(--glass-edge) 0%, transparent 32%, transparent 68%, var(--glass-edge-low) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* specular hotspot that follows the pointer (set by main.js) */
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 30%) var(--my, -20%), var(--spec), transparent 45%);
  opacity: .0; transition: opacity .35s ease;
  mix-blend-mode: soft-light;
}
.glass:hover::after { opacity: 1; }
.glass > * { position: relative; z-index: 2; }
.glass-strong { background: linear-gradient(160deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 45%), var(--glass-bg-strong); }

/* Chromium gets real refraction at the edges (see js/main.js → liquid()). */
.refract.glass { -webkit-backdrop-filter: var(--lg-filter, blur(22px) saturate(185%)); backdrop-filter: var(--lg-filter, blur(22px) saturate(185%)); }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
section { padding: 110px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  padding: 7px 14px 7px 10px; border-radius: 99px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #2fd67f; box-shadow: 0 0 0 4px rgba(47, 214, 127, .22); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(47, 214, 127, 0); } }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 750; margin-top: 18px; }
.section-head p { font-size: clamp(17px, 2vw, 21px); color: var(--text-2); margin-top: 18px; }
.grad-text { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0;
  height: var(--h); padding: 0 26px; border-radius: 99px; border: 0;
  font: 600 17px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s ease, filter .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-buy {
  color: #fff; background: var(--cta-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 6px rgba(0, 60, 30, .25), 0 10px 30px rgba(32, 164, 100, .45), 0 2px 4px rgba(32, 164, 100, .3);
  position: relative; overflow: hidden;
}
.btn-buy::after { /* glint that sweeps across now and then */
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg); animation: glint 5.5s ease-in-out infinite;
}
@keyframes glint { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn-buy:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 6px rgba(0, 60, 30, .25), 0 16px 40px rgba(32, 164, 100, .55); }
.btn-buy s { color: #fff; font-weight: 500; margin-left: .45em; text-decoration-color: rgba(255, 255, 255, .9); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { transform: translateY(-2px); }
.btn-lg { --h: 62px; font-size: 19px; padding: 0 34px; }
.btn-sm { --h: 40px; font-size: 15px; padding: 0 18px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(100% - 24px, 980px); height: 60px; border-radius: 99px;
  display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px;
  transition: top .3s ease;
}
.nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: -.01em; margin-right: auto; }
.nav .brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 8px 14px; border-radius: 99px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text-2); transition: background .2s, color .2s; }
.nav ul a:hover { background: var(--hair); color: var(--text); }
.nav .btn-buy { --h: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 820px) { .nav ul { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 60px; text-align: center; }
.hero h1 { font-size: clamp(42px, 7.6vw, 92px); font-weight: 800; letter-spacing: -.04em; margin: 22px auto 0; max-width: 980px; }
.hero .lede { font-size: clamp(18px, 2.3vw, 23px); color: var(--text-2); max-width: 720px; margin: 24px auto 0; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero .micro { margin-top: 16px; font-size: 14px; color: var(--text-3); display: flex; gap: 6px 18px; justify-content: center; flex-wrap: wrap; }
.hero .micro > span { display: inline-flex; align-items: center; gap: 6px; }
.hero .micro svg { width: 16px; height: 16px; color: var(--brand); }
.ticker { font-variant-numeric: tabular-nums; }

/* Device stage */
.stage { position: relative; margin: 70px auto 0; width: min(100%, 1080px); }
.mac { container-type: inline-size; border-radius: 22px; overflow: hidden; padding: 0; }
.mac-in { font-size: calc(100cqw / 64); display: grid; grid-template-columns: 13em 1fr; height: 38em; text-align: left; }
.mac-side { padding: 1.2em .8em; border-right: 1px solid var(--hair); background: rgba(255, 255, 255, .06); }
.lights { display: flex; gap: .5em; margin: .1em .4em 1.6em; }
.lights i { width: .85em; height: .85em; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.side-item { display: flex; align-items: center; gap: .7em; padding: .55em .75em; border-radius: .7em; font-size: 1em; color: var(--text-2); }
.side-item svg { width: 1.15em; height: 1.15em; color: var(--brand); flex: none; }
.side-item.on { background: rgba(42, 159, 102, .16); color: var(--text); font-weight: 600; }
.side-item b { margin-left: auto; font-size: .75em; background: #ff3b30; color: #fff; border-radius: 99px; padding: .1em .55em; font-weight: 700; }
.side-phone { margin-top: 2em; padding: .9em; border-radius: 1em; background: var(--brand-grad); color: #fff; font-size: .82em; }
.side-phone strong { display: block; font-size: 1.15em; }
.side-phone .bar { height: .4em; border-radius: 99px; background: rgba(255, 255, 255, .3); margin-top: .7em; overflow: hidden; }
.side-phone .bar i { display: block; height: 100%; width: 82%; background: #fff; border-radius: inherit; }

.mac-main { display: grid; grid-template-columns: 19em 1fr; min-width: 0; }
.convos { border-right: 1px solid var(--hair); padding: 1.2em .8em; }
.convos .search { height: 2.2em; border-radius: .7em; background: var(--hair); margin: 0 .3em 1em; display: flex; align-items: center; padding: 0 .8em; font-size: .85em; color: var(--text-3); }
.convo { display: flex; gap: .75em; padding: .7em; border-radius: .8em; align-items: center; }
.convo.on { background: rgba(31, 162, 200, .14); }
.avatar { width: 2.6em; height: 2.6em; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .9em; }
.convo div { min-width: 0; }
.convo div strong { display: block; font-size: .95em; }
.convo div span { display: block; font-size: .82em; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread { display: flex; flex-direction: column; padding: 1.4em 1.6em; gap: .7em; min-width: 0; }
.thread header { display: flex; align-items: center; gap: .8em; padding-bottom: 1em; border-bottom: 1px solid var(--hair); margin-bottom: .6em; }
.thread header strong { font-size: 1.05em; }
.thread header small { display: block; color: var(--text-3); font-size: .8em; }
.bubble { max-width: 72%; padding: .65em 1em; border-radius: 1.2em; font-size: .98em; line-height: 1.4; }
.bubble.in { background: var(--glass-bg-strong); align-self: flex-start; border-bottom-left-radius: .35em; box-shadow: inset 0 0 0 1px var(--hair); }
.bubble.out { background: linear-gradient(180deg, #34c77b, #22a868); color: #fff; align-self: flex-end; border-bottom-right-radius: .35em; }
.typing { margin-top: auto; display: flex; gap: .6em; align-items: center; }
.typing .field-in { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; height: 2.6em; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--hair); display: flex; align-items: center; padding: 0 1.1em; color: var(--text-3); font-size: .92em; }
.typing .caret { display: inline-block; width: 1px; height: 1.1em; background: var(--brand); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.typing .send { width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--brand-grad); display: grid; place-items: center; color: #fff; }
.typing .send svg { width: 1.2em; height: 1.2em; }

.phone {
  position: absolute; right: -2%; bottom: -9%; width: 23%; aspect-ratio: 9 / 19.2; border-radius: 15% / 7%;
  padding: 2.4%; container-type: inline-size;
  background: linear-gradient(145deg, #3a3f47, #15181d 40%, #2b3038 75%, #0e1013);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22), inset 0 0 0 4px #0b0d10, 0 30px 70px rgba(0, 0, 0, .45), 0 8px 20px rgba(0, 0, 0, .25);
}
.phone-screen {
  height: 100%; border-radius: 13% / 6%; overflow: hidden; position: relative; font-size: calc(100cqw / 18);
  background: linear-gradient(165deg, #1b8a5c 0%, #136c8e 55%, #2a2d78 100%); color: #fff; padding: 2.6em 1.1em 1em;
  display: flex; flex-direction: column; gap: .8em;
}
.phone-screen::before { content: ""; position: absolute; top: .9em; left: 50%; width: 2.4em; height: .7em; border-radius: 99px; background: #000; transform: translateX(-50%); }
.phone-time { text-align: center; font-size: 3.4em; font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.phone-date { text-align: center; font-size: .85em; opacity: .85; margin-top: -.3em; }
.p-card { border-radius: 1.1em; padding: .8em .9em; font-size: .78em; background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.p-card strong { display: block; font-size: 1.05em; }
.p-card .link { display: flex; align-items: center; gap: .5em; }
.p-card .link i { width: .6em; height: .6em; border-radius: 50%; background: #5df2a5; box-shadow: 0 0 .6em #5df2a5; }

/* floating notifications on the stage */
.toast {
  position: absolute; width: min(330px, 34%); padding: 14px 16px; border-radius: 22px; display: flex; gap: 12px; text-align: left;
  font-size: 14px; line-height: 1.35; opacity: 0; transform: translateY(14px) scale(.96);
  transition: opacity .6s ease, transform .7s cubic-bezier(.2, 1.3, .4, 1);
}
.toast.show { opacity: 1; transform: none; }
.toast .ic { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; color: #fff; }
.toast .ic svg { width: 20px; height: 20px; }
.toast strong { display: block; font-size: 14px; }
.toast small { color: var(--text-3); font-size: 12px; }
.toast .acts { display: flex; gap: 8px; margin-top: 10px; }
.toast .acts span { flex: 1; text-align: center; padding: 6px 0; border-radius: 99px; font-weight: 600; font-size: 13px; color: #fff; }
.t1 { left: -3%; top: 8%; }
.t2 { left: 4%; bottom: 6%; }
.t3 { right: 20%; top: -5%; }
@media (max-width: 760px) {
  .toast { width: 74%; font-size: 13px; }
  .t1 { left: 2%; top: -6%; } .t2 { display: none; } .t3 { display: none; }
  .phone { width: 30%; right: -1%; bottom: -12%; }
  .mac-in { grid-template-columns: 1fr; font-size: calc(100cqw / 44); height: 40em; }
  .mac-side { display: none; }
  .mac-main { grid-template-columns: 16em 1fr; }
}
@media (max-width: 520px) {
  .mac-in { font-size: calc(100cqw / 28); height: 32em; }
  .mac-main { grid-template-columns: 1fr; }
  .convos { display: none; }
  .thread { padding: 1.2em 1.1em; padding-right: 36%; }
  .phone { width: 34%; bottom: -8%; }
  .toast { width: 86%; left: 7%; top: -9%; }
}

/* ---------- Trust strip ---------- */
.strip { padding: 90px 0 30px; }
.strip ul { list-style: none; margin: 0; padding: 18px 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; border-radius: 99px; }
.strip li { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; color: var(--text-2); }
.strip svg { width: 20px; height: 20px; color: var(--brand); }
@media (max-width: 760px) { .strip ul { border-radius: var(--radius); } }

/* ---------- Pain → relief ---------- */
.pain { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pain .glass { padding: 34px; }
.pain h3 { font-size: 24px; margin-bottom: 18px; display: flex; gap: 10px; align-items: center; }
.pain ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pain li { display: flex; gap: 12px; color: var(--text-2); }
.pain li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.pain .bad svg { color: #ff5a52; }
.pain .good svg { color: var(--brand); }
.pain .good { box-shadow: inset 0 1px 0 var(--glass-edge), 0 0 0 2px rgba(52, 199, 123, .45), var(--glass-shadow); }
@media (max-width: 760px) { .pain { grid-template-columns: 1fr; } }

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { padding: 32px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; min-height: 300px; }
.tile.w3 { grid-column: span 3; } .tile.w2 { grid-column: span 2; } .tile.w4 { grid-column: span 4; } .tile.w6 { grid-column: span 6; }
.tile .k { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.tile .k svg { width: 18px; height: 18px; }
.tile h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 750; }
.tile p { color: var(--text-2); }
.tile .vis { margin-top: auto; padding-top: 18px; }
@media (max-width: 960px) { .tile.w2 { grid-column: span 3; } .tile.w4 { grid-column: span 6; } }
@media (max-width: 680px) { .bento { grid-template-columns: 1fr; } .tile.w2, .tile.w3, .tile.w4, .tile.w6 { grid-column: auto; } .tile { min-height: 0; padding: 26px; } }

/* mini visuals inside tiles */
.mini-bubbles { display: grid; gap: 8px; }
.mini-bubbles .bubble { font-size: 15px; max-width: 85%; }
.call-banner { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px; background: var(--glass-bg-strong); box-shadow: inset 0 0 0 1px var(--hair); }
.call-banner .avatar { width: 44px; height: 44px; font-size: 16px; }
.call-banner div { flex: 1; min-width: 0; }
.call-banner strong { display: block; }
.call-banner small { color: var(--text-3); }
.round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.round svg { width: 20px; height: 20px; }
.red { background: #ff3b30; } .green { background: #30c75b; }
.ring { animation: ring 1.6s ease-in-out infinite; }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 10%, 30%, 50% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }
.notif-stack { display: grid; gap: 10px; }
.notif-stack .n { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: var(--glass-bg-strong); box-shadow: inset 0 0 0 1px var(--hair); font-size: 14px; }
.notif-stack .n .ic { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.notif-stack .n:nth-child(2) { transform: scale(.96); opacity: .8; }
.notif-stack .n:nth-child(3) { transform: scale(.92); opacity: .55; }
.drop { border: 2px dashed rgba(42, 159, 102, .5); border-radius: 20px; padding: 18px; display: flex; align-items: center; gap: 14px; }
.drop .file { width: 44px; height: 54px; border-radius: 8px; background: linear-gradient(180deg, #5aa7ff, #2d6ff0); flex: none; position: relative; }
.drop .file::after { content: "PDF"; position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; color: #fff; font-size: 10px; font-weight: 800; }
.drop .prog { flex: 1; }
.drop .prog small { color: var(--text-3); }
.drop .bar { height: 8px; border-radius: 99px; background: var(--hair); overflow: hidden; margin-top: 6px; }
.drop .bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--brand-grad); animation: fill 3.2s ease-in-out infinite; }
@keyframes fill { 0% { width: 0; } 70%, 100% { width: 100%; } }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.photo-grid span { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--hair); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-grid span:hover img { transform: scale(1.06); }
/* video duration badge, like the gallery on the phone */
.photo-grid .vid::after { content: "▶ " attr(data-len); position: absolute; right: 6px; bottom: 6px; padding: 2px 7px; border-radius: 99px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* a selected photo, ready for "Import to Photos" */
.photo-grid .sel { box-shadow: 0 0 0 3px #0a84ff; }
.photo-grid .sel img { transform: scale(.9); border-radius: 6px; }
.photo-grid .sel::after { content: "✓"; position: absolute; right: 6px; bottom: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: #0a84ff; box-shadow: 0 0 0 2px #fff; }
.mirror-vis { display: flex; justify-content: center; }
.mirror-vis .mini-phone { width: 120px; aspect-ratio: 9 / 18; border-radius: 22px; padding: 6px; background: #111; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.mirror-vis .mini-phone div { height: 100%; border-radius: 17px; background: linear-gradient(160deg, #ff8a5b, #c94bff 60%, #4f6bff); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 26px 10px; align-content: start; }
.mirror-vis .mini-phone span { aspect-ratio: 1; border-radius: 9px; background: rgba(255, 255, 255, .45); }
.cursor { position: absolute; width: 22px; height: 22px; animation: cursor 6s ease-in-out infinite; }
@keyframes cursor { 0%, 100% { transform: translate(40px, 80px); } 30% { transform: translate(78px, 34px); } 60% { transform: translate(20px, 120px); } }
.kbd { display: inline-flex; gap: 6px; }
.kbd kbd { font: 600 15px var(--font); min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 10px; border-radius: 10px; background: var(--glass-bg-strong); box-shadow: inset 0 -2px 0 var(--hair), inset 0 0 0 1px var(--hair); }

/* ---------- Everything-else grid ---------- */
.more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.more .glass { padding: 22px; border-radius: var(--radius-sm); }
.more .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--brand-grad); margin-bottom: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 14px rgba(31, 162, 200, .25); }
.more .ico svg { width: 22px; height: 22px; }
.more h3 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 6px; }
.more p { font-size: 15px; color: var(--text-2); line-height: 1.45; }
@media (max-width: 960px) { .more { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .more { grid-template-columns: 1fr; } }

/* ---------- Privacy ---------- */
.privacy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: stretch; }
.privacy .big { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.privacy .big h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 780; margin: 16px 0 18px; }
.privacy .big p { color: var(--text-2); font-size: 19px; }
.privacy .list { display: grid; gap: 14px; }
.privacy .list .glass { padding: 22px 24px; border-radius: var(--radius-sm); display: flex; gap: 16px; align-items: flex-start; }
.privacy .list svg { width: 26px; height: 26px; color: var(--brand); flex: none; margin-top: 2px; }
.privacy .list strong { display: block; font-size: 17px; }
.privacy .list span { color: var(--text-2); font-size: 15px; }
.diagram { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; font-weight: 600; font-size: 14px; color: var(--text-2); flex-wrap: wrap; }
.diagram .node { padding: 10px 16px; border-radius: 99px; background: var(--glass-bg-strong); box-shadow: inset 0 0 0 1px var(--hair); display: flex; align-items: center; gap: 8px; }
.diagram .node svg { width: 18px; height: 18px; color: var(--brand); }
.diagram .wire { width: 70px; height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: flow 1s linear infinite; position: relative; }
@keyframes flow { to { background-position: 28px 0; } }
.diagram .nope { text-decoration: line-through; opacity: .55; }
@media (max-width: 900px) { .privacy { grid-template-columns: 1fr; } .privacy .big { padding: 30px; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps .glass { padding: 30px; }
.steps .num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--brand-grad); margin-bottom: 18px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { color: var(--text-2); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Value math ---------- */
.math { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.math .glass { padding: 30px 24px; }
.math .figure { font-size: clamp(40px, 5vw, 58px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.math .figure.bad { color: #ff5a52; }
.math p { color: var(--text-2); margin-top: 10px; font-size: 15px; }
.math .hl { box-shadow: inset 0 1px 0 var(--glass-edge), 0 0 0 2px rgba(52, 199, 123, .5), var(--glass-shadow); }
@media (max-width: 820px) { .math { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; place-items: center; }
.price-card { width: min(100%, 560px); padding: 44px 40px 36px; text-align: center; border-radius: 36px; }
.price-card .badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); z-index: 3; padding: 8px 16px; border-radius: 99px; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: #fff; background: linear-gradient(90deg, #ff6a3d, #ff3d77); box-shadow: 0 8px 20px rgba(255, 61, 119, .4); white-space: nowrap; }
.price-card h3 { font-size: 22px; font-weight: 700; color: var(--text-2); }
.price { display: flex; align-items: baseline; justify-content: center; gap: 14px; margin: 14px 0 4px; }
.price .now { font-size: 92px; font-weight: 850; letter-spacing: -.05em; line-height: 1; }
.price .now sup { font-size: .42em; vertical-align: .9em; margin-right: 2px; font-weight: 700; }
.price .was { font-size: 30px; font-weight: 600; color: var(--text-3); text-decoration: line-through; text-decoration-color: #ff5a52; text-decoration-thickness: 3px; }
.price-note { font-size: 15px; color: var(--text-2); }
.save { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 99px; font-size: 14px; font-weight: 700; color: var(--text); background: rgba(52, 199, 123, .22); box-shadow: inset 0 0 0 1px rgba(52, 199, 123, .35); }
.countdown { display: flex; justify-content: center; gap: 10px; margin: 26px 0 8px; }
.countdown div { min-width: 70px; padding: 10px 6px; border-radius: 16px; background: var(--glass-bg-strong); box-shadow: inset 0 0 0 1px var(--hair); }
.countdown b { display: block; font-size: 28px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1.1; }
.countdown small { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); font-weight: 600; }
.countdown-label { font-size: 14px; color: var(--text-3); }
.includes { list-style: none; margin: 28px 0; padding: 0; text-align: left; display: grid; gap: 11px; }
.includes li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.includes svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 1px; }
.price-card .btn { width: 100%; }
.guarantee { display: flex; gap: 14px; align-items: center; text-align: left; margin-top: 22px; padding: 16px; border-radius: 20px; background: var(--glass-bg-strong); box-shadow: inset 0 0 0 1px var(--hair); }
.guarantee svg { width: 44px; height: 44px; flex: none; color: var(--brand); }
.guarantee strong { display: block; font-size: 15px; }
.guarantee div > span { font-size: 14px; color: var(--text-2); }
.paysafe { margin-top: 16px; font-size: 13px; color: var(--text-3); display: flex; align-items: center; justify-content: center; gap: 8px; }
.paysafe svg { width: 15px; height: 15px; }
[hidden] { display: none !important; } /* .btn/.eyebrow set display, which would beat the hidden attribute */
#waitlist { scroll-margin-top: 120px; max-width: 600px; margin: 32px auto 0; }
.waitlist label { display: block; margin-bottom: 12px; font-weight: 600; }
.wl-row { display: flex; gap: 10px; }
@media (max-width: 520px) { .wl-row { flex-direction: column; } }
.waitlist input { flex: 1; min-width: 0; height: 56px; padding: 0 18px; border: 0; border-radius: 16px; font: inherit; font-size: 17px; color: var(--text); background: var(--glass-bg-strong); box-shadow: inset 0 0 0 1px var(--hair); }
.waitlist input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.wl-msg { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.wl-msg:empty { display: none; }
.ended .badge, .ended .was, .ended .save, .ended .countdown, .ended .countdown-label { display: none; }
@media (max-width: 520px) { .price-card { padding: 40px 22px 26px; } .price .now { font-size: 76px; } .countdown div { min-width: 60px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 22px; padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; font-weight: 650; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--text-3); border-bottom: 2.5px solid var(--text-3); transform: translateY(-70%) rotate(45deg); transition: transform .3s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 26px 22px; color: var(--text-2); }
.faq .a p + p { margin-top: 10px; }

/* ---------- Final CTA ---------- */
.final { text-align: center; padding: 70px 30px; border-radius: 40px; overflow: hidden; }
.final h2 { font-size: clamp(34px, 5.5vw, 64px); font-weight: 800; max-width: 820px; margin: 0 auto; }
.final p { font-size: 20px; color: var(--text-2); margin: 18px auto 32px; max-width: 600px; }

/* ---------- Footer ---------- */
footer { padding: 60px 0 120px; color: var(--text-3); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }
footer .fine { margin-top: 18px; font-size: 12.5px; line-height: 1.6; max-width: 900px; }

/* ---------- Sticky buy bar ---------- */
.sticky {
  position: fixed; left: 50%; bottom: 16px; z-index: 40; width: min(100% - 24px, 560px);
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 99px;
  transform: translate(-50%, 140%); transition: transform .5s cubic-bezier(.2, 1.2, .4, 1);
}
.sticky.show { transform: translate(-50%, 0); }
.sticky .txt { flex: 1; min-width: 0; line-height: 1.25; }
.sticky strong { font-size: 15px; display: block; white-space: nowrap; }
.sticky small { font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.sticky .btn { --h: 46px; padding: 0 20px; font-size: 16px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .9, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Simple pages (thanks, legal) ---------- */
.page { padding: 140px 0 80px; }
.page .card { padding: 44px; max-width: 820px; margin: 0 auto; }
.page h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; }
.page h2 { font-size: 24px; margin: 34px 0 10px; }
.page p, .page li { color: var(--text-2); }
.page p + p { margin-top: 12px; }
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.dl a { padding: 22px; border-radius: 22px; text-decoration: none; display: flex; gap: 14px; align-items: center; }
.dl svg { width: 34px; height: 34px; flex: none; color: var(--brand); }
.dl strong { display: block; font-size: 18px; }
.dl span { color: var(--text-2); font-size: 14px; }
@media (max-width: 640px) { .dl { grid-template-columns: 1fr; } .page .card { padding: 28px 22px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .toast { opacity: 1; transform: none; }
}
@media (max-width: 680px) { section { padding: 80px 0; } body { font-size: 16px; } }
@media (max-width: 480px) { .hide-sm { display: none; } }
