/* Producer Terminal -- public Gmail connection pages.
   Dark, cinematic, no JavaScript: the strict Content-Security-Policy forbids scripts, so every interaction here is CSS
   (:has() for the consent gate, <details> for the benefit rows). Entrance ~1.3 s; prefers-reduced-motion disables it. */
:root {
  --bg: #04050a; --ink: #f2f4fa; --muted: #9aa3b8; --soft: #c9cfdd; --line: rgba(160, 170, 255, .12);
  --glass: rgba(255, 255, 255, .035); --glass-2: rgba(255, 255, 255, .06);
  --blue: #3b82ff; --blue-2: #5b8cff; --violet: #8b5cf6; --cyan: #38bdf8;
  --grad: linear-gradient(92deg, #3b82ff 0%, #6d7cff 45%, #9b6bff 100%);
  --ok: #34d399; --err: #ff6b7a; --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html { background: var(--bg); }
html, body { margin: 0; color: var(--ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  min-height: 100vh; min-height: 100dvh; background: var(--bg); overflow-x: hidden;
  font: 16px/1.55 "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI",
        Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: #a9b8ff; text-underline-offset: 3px; }
:focus { outline: none; }
:focus-visible { outline: 3px solid #8fa4ff; outline-offset: 3px; border-radius: 10px; }
strong { font-weight: 650; }

/* ── ambient light ───────────────────────────────────────────────────────── */
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
  background: radial-gradient(120% 90% at 20% 30%, #0c1230 0%, rgba(8, 10, 24, .6) 40%, transparent 70%),
              radial-gradient(90% 80% at 85% 85%, #120c26 0%, transparent 60%), var(--bg); }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.g1 { width: 46vw; height: 46vw; left: -6vw; top: 8vh; background: radial-gradient(circle, rgba(59, 130, 255, .55), transparent 65%);
  animation: drift1 24s ease-in-out infinite alternate; }
.g2 { width: 34vw; height: 34vw; left: 18vw; top: 34vh; background: radial-gradient(circle, rgba(139, 92, 246, .35), transparent 65%);
  animation: drift2 30s ease-in-out infinite alternate; }
.g3 { width: 40vw; height: 30vw; right: -8vw; bottom: -10vh; background: radial-gradient(circle, rgba(64, 80, 200, .28), transparent 65%);
  animation: drift1 36s ease-in-out infinite alternate-reverse; }
.grain { position: absolute; inset: -50%; opacity: .07; 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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes drift1 { to { transform: translate3d(3vw, -2vh, 0) scale(1.06); } }
@keyframes drift2 { to { transform: translate3d(-3vw, 3vh, 0) scale(.94); } }

/* ── header ──────────────────────────────────────────────────────────────── */
.top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 26px clamp(18px, 4vw, 56px) 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 700;
  font-size: 19px; letter-spacing: -.01em; }
.mark { width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto;
  background: linear-gradient(135deg, #6d7cff 0%, #3b82ff 55%, #8b5cf6 100%);
  box-shadow: 0 0 22px rgba(91, 140, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .35); }
.trust-top { display: flex; align-items: center; gap: 12px; color: var(--soft); }
.trust-top strong { display: block; font-size: 13px; color: var(--ink); }
.trust-top small { display: block; font-size: 12px; color: var(--muted); }
.trust-top > .ico { width: 26px; height: 26px; }
.help { width: 34px; height: 34px; margin-left: 14px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .28); display: grid;
  place-items: center; color: var(--soft); text-decoration: none; font-weight: 600; transition: border-color .2s, color .2s; }
.help:hover { border-color: #8fa4ff; color: #fff; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* ── progress steps ──────────────────────────────────────────────────────── */
.steps { position: relative; z-index: 2; list-style: none; margin: -6px auto 0; padding: 0; display: flex; align-items: flex-start;
  justify-content: center; }
.step { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; color: var(--muted); font-size: 13px; }
.dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 15px;
  border: 1.5px solid rgba(255, 255, 255, .28); background: rgba(10, 12, 22, .7); }
.step.is-current { color: #fff; font-weight: 600; }
.step.is-current .dot { border: 0; color: #fff; background: radial-gradient(circle at 50% 35%, #6f9bff, #2f6dff 70%);
  box-shadow: 0 0 0 4px rgba(59, 130, 255, .22), 0 0 26px rgba(59, 130, 255, .85); animation: stepOn .7s var(--ease) .2s both; }
.bar { width: 74px; height: 2px; margin-top: 17px; background: rgba(255, 255, 255, .14); border-radius: 2px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, transparent, rgba(91, 140, 255, .9), transparent);
  animation: flow 3.2s linear 1.2s infinite; transform: translateX(-120%); }
.bar ~ .bar span { animation-delay: 2.2s; opacity: .55; }
.bar ~ .bar ~ .bar span { animation-delay: 3.2s; opacity: .35; }
@keyframes stepOn { from { box-shadow: 0 0 0 0 rgba(59, 130, 255, 0), 0 0 0 rgba(59, 130, 255, 0); filter: brightness(.6); } }
@keyframes flow { to { transform: translateX(320%); } }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 690px); gap: clamp(24px, 3.5vw, 56px);
  align-items: center; max-width: 1380px; margin: 0 auto; padding: 10px clamp(18px, 4vw, 56px) 4px; }
.panel { position: relative; }
.pill { display: inline-block; margin: 0 0 12px; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #8fb0ff; background: rgba(59, 130, 255, .14);
  border: 1px solid rgba(91, 140, 255, .35); animation: rise .6s var(--ease) .1s both; }
h1 { margin: 0 0 10px; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800;
  animation: rise .7s var(--ease) .15s both; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(91, 140, 255, .35)); }
.lead { margin: 0 0 18px; font-size: clamp(16px, 1.3vw, 18.5px); color: var(--muted); line-height: 1.55; animation: rise .7s var(--ease) .25s both; }
.lead strong { color: var(--soft); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* benefit rows (native <details>: keyboard + screen-reader friendly without script) */
.benefits { display: grid; gap: 8px; margin-bottom: 12px; }
.benefit { border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: border-color .25s, background .25s, transform .25s var(--ease); animation: rise .55s var(--ease) both; }
.b1 { animation-delay: .35s; } .b2 { animation-delay: .45s; } .b3 { animation-delay: .55s; } .b4 { animation-delay: .65s; }
.benefit:hover { border-color: rgba(143, 164, 255, .35); background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  transform: translateY(-1px); }
.benefit summary { display: flex; align-items: center; gap: 16px; padding: 10px 18px 10px 12px; cursor: pointer; list-style: none; border-radius: 16px; }
.benefit summary::-webkit-details-marker { display: none; }
.bi { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: 0 0 auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.bi svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.b1 .bi { color: #6ea8ff; background: linear-gradient(160deg, rgba(59, 130, 255, .35), rgba(59, 130, 255, .12)); }
.b2 .bi { color: #b69cff; background: linear-gradient(160deg, rgba(139, 92, 246, .38), rgba(139, 92, 246, .12)); }
.b3 .bi { color: #5ee6a8; background: linear-gradient(160deg, rgba(52, 211, 153, .32), rgba(52, 211, 153, .1)); }
.b4 .bi { color: #ffcf5a; background: linear-gradient(160deg, rgba(251, 191, 36, .34), rgba(251, 191, 36, .1)); }
.bt { flex: 1 1 auto; min-width: 0; }
.bt strong { display: block; font-size: 16.5px; color: #fff; letter-spacing: -.005em; }
.bt small { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.chev { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s var(--ease), stroke .25s; }
.benefit:hover .chev { stroke: #fff; }
.benefit[open] .chev { transform: rotate(90deg); }
.more { margin: 0; padding: 0 20px 14px 76px; color: var(--soft); font-size: 14px; }

/* consent */
.consent { margin: 0; display: grid; gap: 12px; }
.checks { border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); padding: 6px;
  animation: rise .55s var(--ease) .75s both; }
.check { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 10px 14px; border-radius: 12px; cursor: pointer;
  font-size: 15.5px; line-height: 1.45; color: var(--soft); transition: background .2s; }
.check:hover { background: rgba(255, 255, 255, .04); }
.check strong { color: #fff; }
.check.optional { color: var(--muted); font-size: 14.5px; }
.check input { position: absolute; left: 14px; top: 10px; width: 26px; height: 26px; margin: 0; opacity: 0; cursor: pointer; }
.box-ui { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 8px; border: 1.8px solid rgba(255, 255, 255, .38);
  background: rgba(0, 0, 0, .25); display: grid; place-items: center; transition: background .2s, border-color .2s, box-shadow .2s; }
.box-ui::after { content: ""; width: 11px; height: 6px; border: solid #fff; border-width: 0 0 2.4px 2.4px; transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0; transition: opacity .15s; }
.check input:checked + .box-ui { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 16px rgba(59, 130, 255, .6); }
.check input:checked + .box-ui::after { opacity: 1; }
.check input:focus-visible + .box-ui { outline: 3px solid #8fa4ff; outline-offset: 3px; }
.check .txt { padding-top: 1px; }

/* the Google button: white, full width; looks disabled until the required box is ticked (the browser AND the server enforce it) */
.google { appearance: none; width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: center; gap: 14px; position: relative;
  border: 0; border-radius: 16px; background: #fff; color: #14161c; font: inherit; font-size: 19px; font-weight: 650; cursor: pointer;
  letter-spacing: -.005em; box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), 0 10px 40px rgba(59, 130, 255, .35), 0 0 60px rgba(59, 130, 255, .25);
  transition: transform .25s var(--ease), box-shadow .3s, opacity .25s, filter .25s; animation: rise .55s var(--ease) .85s both, halo 3.6s ease-in-out 1.4s infinite; }
.google .g-logo { width: 26px; height: 26px; }
.google .arrow { position: absolute; right: 22px; width: 22px; height: 22px; fill: none; stroke: #14161c; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.google:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px #fff, 0 14px 50px rgba(59, 130, 255, .55), 0 0 80px rgba(110, 124, 255, .45); }
.google:hover .arrow { transform: translateX(3px); }
.google:active { transform: translateY(0); }
.google:focus-visible { outline: 3px solid #8fa4ff; outline-offset: 4px; }
@keyframes halo { 50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), 0 10px 46px rgba(59, 130, 255, .48), 0 0 76px rgba(110, 124, 255, .35); } }
.gate { display: none; margin: -4px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.consent:has(input[name="authorize"]:not(:checked)) .google { opacity: .55; filter: saturate(.6); cursor: not-allowed;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); animation: rise .55s var(--ease) .85s both; transform: none; }
.consent:has(input[name="authorize"]:not(:checked)) .google .arrow { transform: none; }
.consent:has(input[name="authorize"]:not(:checked)) .gate { display: block; }

/* trust strip */
.trust { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between;
  gap: 14px; color: var(--soft); animation: rise .55s var(--ease) .95s both; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust strong { display: block; font-size: 13.5px; color: #fff; }
.trust small { display: block; font-size: 12.5px; color: var(--muted); }

/* ── the opening box (CSS 3D, decorative, aria-hidden) ────────────────────── */
.stage { --w: 300px; --d: 300px; --h: 196px; --lw: 318px; --ld: 318px; --lh: 62px;
  position: relative; height: min(66vh, 600px); min-height: 500px; perspective: 1500px; perspective-origin: 50% 30%; }
.world { position: absolute; z-index: 1; left: 50%; top: 70%; width: 0; height: 0; transform-style: preserve-3d;
  transform: rotateX(-24deg) rotateY(-32deg); animation: settle 1.3s var(--ease) both; }
@keyframes settle { from { transform: rotateX(-18deg) rotateY(-24deg) translateY(18px); } }
.box, .lid { position: absolute; transform-style: preserve-3d; }
.box { width: var(--w); height: var(--h); left: calc(var(--w) / -2); top: calc(var(--h) / -2); }
.f { position: absolute; backface-visibility: visible; border: 1px solid rgba(150, 165, 255, .2);
  background: linear-gradient(165deg, #252a37 0%, #14161e 45%, #0a0b10 100%); }
.front, .back { width: var(--w); height: var(--h); }
.left, .right { width: var(--d); height: var(--h); left: calc((var(--w) - var(--d)) / 2); }
.bottom, .inner { width: var(--w); height: var(--d); top: calc((var(--h) - var(--d)) / 2); }
.front { transform: translateZ(calc(var(--d) / 2)); background: linear-gradient(175deg, #2b3040, #151821 55%, #0b0c12);
  box-shadow: inset 0 2px 0 rgba(170, 190, 255, .75), inset 0 40px 60px -30px rgba(110, 140, 255, .35); }
.back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.left { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); background: linear-gradient(175deg, #3a4153, #1b1e28 55%, #0e1016);
  box-shadow: inset 0 2px 0 rgba(170, 190, 255, .8), inset 0 40px 60px -30px rgba(110, 140, 255, .45); }
.right { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); background: linear-gradient(200deg, #1d212c, #090a0f 70%);
  box-shadow: inset 0 2px 0 rgba(170, 190, 255, .5); }
.bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); background: #050608; }
.inner { transform: rotateX(90deg) translateZ(calc(var(--h) / 2 - 18px)); border: 0;
  background: radial-gradient(closest-side, rgba(225, 235, 255, .95), rgba(110, 150, 255, .75) 35%, rgba(70, 70, 220, .35) 70%, transparent);
  animation: innerOn 1.2s var(--ease) .35s both; }
@keyframes innerOn { from { opacity: 0; } }
.etch { position: absolute; left: 22px; bottom: 22px; font: 600 11.5px/1.9 ui-monospace, "SF Mono", Consolas, monospace; letter-spacing: .32em;
  text-transform: uppercase; color: rgba(210, 218, 255, .38); }
/* lid: floats above, tilted open; the entrance starts it closed */
.lid { width: var(--lw); height: var(--lh); left: calc(var(--lw) / -2); top: calc(var(--lh) / -2);
  transform: translate3d(-34px, -292px, 30px) rotateZ(-13deg) rotateX(-34deg);
  animation: lidOpen 1.25s var(--ease) .1s both, lidFloat 9s ease-in-out 1.4s infinite; }
.l-top { width: var(--lw); height: var(--ld); top: calc((var(--lh) - var(--ld)) / 2); transform: rotateX(90deg) translateZ(calc(var(--lh) / 2));
  display: grid; place-items: center; background: linear-gradient(150deg, #323848, #171a23 60%, #0d0e14);
  box-shadow: inset 0 0 0 1px rgba(170, 190, 255, .35), inset 0 -60px 90px -40px rgba(91, 140, 255, .35); }
.l-front, .l-back { width: var(--lw); height: var(--lh); }
.l-left, .l-right { width: var(--ld); height: var(--lh); left: calc((var(--lw) - var(--ld)) / 2); }
.l-front { transform: translateZ(calc(var(--ld) / 2)); background: linear-gradient(180deg, #1c202b, #0b0c12);
  box-shadow: inset 0 -12px 30px -10px rgba(91, 140, 255, .55); }
.l-back { transform: rotateY(180deg) translateZ(calc(var(--ld) / 2)); }
.l-left { transform: rotateY(-90deg) translateZ(calc(var(--lw) / 2)); background: linear-gradient(180deg, #222734, #0c0d13);
  box-shadow: inset 0 -12px 30px -10px rgba(91, 140, 255, .6); }
.l-right { transform: rotateY(90deg) translateZ(calc(var(--lw) / 2)); }
.lid-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 21px; color: rgba(240, 243, 255, .92);
  letter-spacing: -.01em; }
.lid-brand .mark { width: 32px; height: 32px; }
@keyframes lidOpen { from { transform: translate3d(0, calc(var(--h) / -2 - var(--lh) / 2), 0) rotateZ(0) rotateX(0); } }
@keyframes lidFloat { 50% { transform: translate3d(-34px, -302px, 30px) rotateZ(-12deg) rotateX(-32deg); } }
/* light, Gmail mark and sparks (2D overlay, aligned to the opening) */
.rays { position: absolute; z-index: 2; left: 50%; top: 60%; width: 420px; height: 380px; transform: translate(-50%, -100%); pointer-events: none;
  mix-blend-mode: screen; opacity: .85; animation: raysOn 1.4s var(--ease) .45s both; }
.rays::before { content: ""; position: absolute; left: 50%; bottom: -30px; width: 300px; height: 120px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(210, 225, 255, .95), rgba(110, 140, 255, .55) 45%, transparent); filter: blur(12px); }
.rays span { position: absolute; bottom: 0; left: 50%; width: 130px; height: 100%; transform-origin: 50% 100%; filter: blur(10px);
  background: linear-gradient(0deg, rgba(185, 205, 255, .95), rgba(120, 130, 255, .45) 50%, transparent 92%);
  clip-path: polygon(35% 100%, 65% 100%, 100% 0, 0 0); animation: shimmer 6s ease-in-out infinite; }
.rays span:nth-child(1) { transform: translateX(-50%) rotate(-24deg); opacity: .45; animation-delay: -1s; }
.rays span:nth-child(2) { transform: translateX(-50%) rotate(-11deg); opacity: .7; animation-delay: -2.5s; }
.rays span:nth-child(3) { transform: translateX(-50%); width: 190px; opacity: 1; }
.rays span:nth-child(4) { transform: translateX(-50%) rotate(12deg); opacity: .65; animation-delay: -3.5s; }
.rays span:nth-child(5) { transform: translateX(-50%) rotate(26deg); opacity: .4; animation-delay: -4.5s; }
@keyframes raysOn { from { opacity: 0; transform: translate(-50%, -92%) scaleY(.6); } }
@keyframes shimmer { 50% { filter: blur(18px) brightness(1.25); } }
.tile { position: absolute; z-index: 3; left: 50%; top: 49%; width: 142px; height: 142px; margin: -71px 0 0 -71px; border-radius: 34px; display: grid; place-items: center;
  background: linear-gradient(160deg, #ffffff, #eef1f8); transform: rotate(-6deg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .8), 0 0 50px rgba(120, 160, 255, .85), 0 0 120px rgba(91, 110, 255, .55), 0 26px 50px rgba(0, 0, 0, .45);
  animation: tileRise 1.1s var(--ease) .5s both, tileFloat 7s ease-in-out 1.6s infinite; }
.gmail-m { width: 84px; height: 63px; }
@keyframes tileRise { from { opacity: 0; transform: translateY(70px) rotate(-6deg) scale(.82); } }
@keyframes tileFloat { 50% { transform: translateY(-9px) rotate(-5deg); } }
.floor { position: absolute; left: 50%; top: 84%; width: 560px; height: 120px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(91, 120, 255, .38), rgba(91, 120, 255, .08) 60%, transparent); filter: blur(10px); }
.sparks i { position: absolute; left: 50%; top: 52%; width: 3px; height: 3px; border-radius: 50%; background: #cfe0ff;
  box-shadow: 0 0 8px #9fb8ff; opacity: 0; animation: spark 5.5s linear infinite; }
.sparks i:nth-child(1) { margin-left: -60px; animation-delay: 1.4s; } .sparks i:nth-child(2) { margin-left: 40px; animation-delay: 2.4s; }
.sparks i:nth-child(3) { margin-left: -20px; animation-delay: 3.3s; } .sparks i:nth-child(4) { margin-left: 75px; animation-delay: 4.1s; }
.sparks i:nth-child(5) { margin-left: -95px; animation-delay: 4.9s; } .sparks i:nth-child(6) { margin-left: 10px; animation-delay: 5.7s; }
@keyframes spark { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translateY(-260px); } }

/* ── other pages (connected / disconnect / messages / privacy / terms) ───── */
.card { position: relative; z-index: 1; max-width: 640px; margin: 48px auto 24px; padding: 34px 28px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(14px); }
.card h1 { font-size: clamp(28px, 4vw, 38px); }
.card h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.card .consent { margin: 18px 0; }
.card .check input { position: static; opacity: 1; width: 20px; height: 20px; accent-color: var(--blue); }
.note, .small { color: var(--muted); }
.small { font-size: 13px; }
button, .btn { appearance: none; border: 0; border-radius: 12px; padding: 13px 18px; font: inherit; font-weight: 600; cursor: pointer;
  text-decoration: none; display: inline-block; text-align: center; }
.card .google { min-height: 54px; font-size: 16px; animation: none; }
.danger { background: transparent; color: var(--err); border: 1px solid var(--err); }
.btn { background: var(--grad); color: #fff; }
input[name="code"] { background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .14); color: var(--ink); border-radius: 12px;
  padding: 13px; font: inherit; }
.err { color: var(--err); margin: 0; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 18px 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.ok-mark { width: 48px; height: 48px; border-radius: 50%; margin-bottom: 14px; background: radial-gradient(circle at 50% 35%, #6ee7b7, #10b981);
  box-shadow: 0 0 30px rgba(16, 185, 129, .55); }
.code { background: rgba(0, 0, 0, .3); border: 1px dashed rgba(143, 164, 255, .6); border-radius: 12px; padding: 12px 14px; }
.mono { font: 600 18px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 1px; margin: 4px 0; }
code { background: rgba(255, 255, 255, .07); padding: 1px 6px; border-radius: 6px; }

/* ── footer ──────────────────────────────────────────────────────────────── */
.foot { position: relative; z-index: 1; text-align: center; color: var(--muted); padding: 18px 18px 26px; display: flex; gap: 10px;
  justify-content: center; flex-wrap: wrap; font-size: 13px; }
.foot a { color: var(--muted); }
.foot a:hover { color: #fff; }

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .stage { --w: 240px; --d: 240px; --h: 156px; --lw: 254px; --ld: 254px; --lh: 56px; }
  .lid { transform: translate3d(-28px, -246px, 24px) rotateZ(-13deg) rotateX(-34deg); }
  @keyframes lidFloat { 50% { transform: translate3d(-28px, -254px, 24px) rotateZ(-12deg) rotateX(-32deg); } }
  .tile { width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 28px; }
  .gmail-m { width: 70px; height: 53px; }
}
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 6px; padding-top: 0; }
  /* the elaborate box gives way to a compact glowing mark: consent and the button stay near the top */
  .stage { height: 150px; min-height: 0; perspective: none; }
  .world, .floor, .sparks { display: none; }
  .rays { top: 100%; width: 260px; height: 170px; }
  .tile { top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 24px; }
  .gmail-m { width: 56px; height: 42px; }
  .panel { max-width: 640px; margin: 0 auto; width: 100%; }
  .steps { margin-top: 18px; }
}
@media (max-width: 560px) {
  .top { padding-top: 16px; }
  .brand { font-size: 16px; gap: 10px; white-space: nowrap; }
  .brand .mark { width: 26px; height: 26px; border-radius: 8px; }
  .trust-top { gap: 8px; white-space: nowrap; }
  .trust-top small, .help { display: none; }            /* the same privacy link is in the footer */
  .trust-top strong { font-size: 12.5px; }
  .trust-top > .ico { width: 20px; height: 20px; }
  .lead { font-size: 15.5px; margin-bottom: 14px; }
  .benefit:not([open]) .bt small { display: none; }     /* titles first; a tap reveals the explanation */
  .benefit[open] .more { padding-top: 2px; }
  .step { width: 60px; font-size: 11.5px; gap: 6px; }
  .dot { width: 30px; height: 30px; font-size: 13px; }
  .bar { width: 22px; margin-top: 14px; }
  .stage { height: 112px; }
  .tile { width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 21px; }
  .gmail-m { width: 48px; height: 36px; }
  h1 { font-size: 36px; }
  .benefit summary { gap: 12px; padding: 11px 12px 11px 11px; }
  .bi { width: 40px; height: 40px; border-radius: 11px; }
  .bt strong { font-size: 15.5px; } .bt small { font-size: 13.5px; }
  .more { padding-left: 64px; }
  .google { min-height: 60px; font-size: 17.5px; }
  .trust { grid-template-columns: 1fr; gap: 10px; justify-content: stretch; }
  .card { margin: 24px 12px; padding: 26px 18px; }
}

/* ── reduced motion: the final, composed scene with no movement ─────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
