/* ConnectMe Dating — public site. Colours follow the logo: magenta + coral on white. */
:root {
  --primary: #E6177E;
  --accent: #FF4F7B;
  --font: 'Poppins';
  --bg: #fff;
  --surface: #fff;
  --ink: #26101C;
  --muted: #7A5F6C;
  --blush: color-mix(in srgb, var(--primary) 5%, #fff);
  --line: color-mix(in srgb, var(--primary) 16%, #fff);
  --glass: rgba(255, 255, 255, .8);
  --radius: 24px;
  --grad: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  --shadow: 0 24px 48px -24px color-mix(in srgb, var(--primary) 50%, transparent);
  --shadow-soft: 0 18px 50px -28px rgba(20, 8, 14, .35);
}
[data-mode="dark"] {
  --bg: #150B11;
  --surface: #20121A;
  --ink: #FCEFF5;
  --muted: #C2A9B6;
  --blush: color-mix(in srgb, var(--primary) 9%, #150B11);
  --line: color-mix(in srgb, var(--primary) 26%, #150B11);
  --glass: rgba(32, 18, 26, .78);
  --shadow-soft: 0 18px 50px -28px rgba(0, 0, 0, .8);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font), system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; position: relative; }
.wrap.narrow { width: min(780px, 100% - 40px); }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--glass);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
/* The default logo includes the wordmark; zoom in on the heart illustration only. */
.brand-mark { width: 46px; height: 46px; flex: none; background-repeat: no-repeat; background-size: 165%; background-position: 50% 9%; }
.brand-img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { position: relative; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .2s ease; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

/* Buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; border: 0; border-radius: 999px;
  background: var(--grad); color: #fff; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn::before {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transition: transform .6s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 28px 50px -22px color-mix(in srgb, var(--primary) 70%, transparent); }
.btn:hover::before { transform: translateX(120%) skewX(-20deg); }
.btn:focus-visible, .btn-text:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 35%, transparent); outline-offset: 3px; }
.btn-small { padding: 10px 22px; font-size: .9rem; box-shadow: none; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-lg .icon { width: 1.4em; height: 1.4em; }
.btn-white { background: #fff; color: var(--primary); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); }
.btn.is-disabled { background: color-mix(in srgb, var(--muted) 22%, var(--bg)); color: var(--muted); box-shadow: none; cursor: not-allowed; transform: none; }
.btn.is-disabled::before { display: none; }
.btn-white.is-disabled { background: rgba(255, 255, 255, .22); color: #fff; }
.btn-text { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); }
.btn-text .icon { transition: transform .2s ease; color: var(--primary); }
.btn-text:hover .icon { transform: translateX(4px); }

/* Hero */
.hero { position: relative; padding: 76px 0 0; background: linear-gradient(180deg, var(--blush) 0%, var(--bg) 100%); overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.blob.b1 { width: 520px; height: 520px; right: -140px; top: -160px; background: var(--accent); opacity: .35; }
.blob.b2 { width: 420px; height: 420px; left: -180px; bottom: 40px; background: var(--primary); opacity: .16; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line); color: var(--primary);
  font-weight: 600; font-size: .85rem; margin-bottom: 22px; box-shadow: var(--shadow-soft);
}
.badge i { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 50%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 700; letter-spacing: -.035em;
  background: linear-gradient(120deg, var(--ink) 30%, var(--primary) 78%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em;
}
.lead { font-size: 1.14rem; color: var(--muted); max-width: 33em; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 30px; }
.hint { margin-top: 18px; font-size: .92rem; color: var(--muted); max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .92rem; font-weight: 500; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .icon { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--grad); color: #fff; stroke-width: 3; }

.hero-art { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--primary) 16%, transparent); transform: translate(-50%, -50%); }
.ring.r1 { width: 430px; height: 430px; }
.ring.r2 { width: 580px; height: 580px; border-style: dashed; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.phone {
  position: relative; width: min(286px, 70vw); aspect-ratio: 9 / 18.6; padding: 11px;
  border-radius: 46px; background: linear-gradient(160deg, #3A1A2B, #1B0A13);
  box-shadow: 0 50px 80px -34px color-mix(in srgb, var(--primary) 70%, transparent), inset 0 0 0 2px rgba(255, 255, 255, .08);
  transform: rotate(5deg); animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 50% { transform: rotate(3.5deg) translateY(-12px); } }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 74px; height: 20px; border-radius: 20px; background: #1B0A13; transform: translateX(-50%); z-index: 2; }
.phone-screen {
  height: 100%; border-radius: 36px; overflow: hidden; position: relative;
  background: radial-gradient(120% 70% at 50% 0%, #fff 55%, #FFF1F6 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.phone-screen > img:not(.phone-logo) { width: 100%; height: 100%; object-fit: cover; }
.phone-logo { width: 86%; margin-top: 10px; mix-blend-mode: multiply; }
.phone-screen p { color: var(--muted); font-size: .82rem; padding: 0 20px; margin: 2px 0 0; }
.phone-actions { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.pa { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 10px 22px -10px rgba(20, 8, 14, .4); color: var(--muted); }
.pa.like { width: 58px; height: 58px; background: var(--grad); color: #fff; }
.pa.like .icon { width: 26px; height: 26px; fill: currentColor; }
.pa.star { color: #F2A93B; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
  border-radius: 18px; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  font-weight: 600; font-size: .86rem; white-space: nowrap; animation: float 6s ease-in-out infinite;
}
.chip span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--grad); color: #fff; }
.chip .icon { width: 18px; height: 18px; }
.chip.c1 { top: 12%; left: 0; }
.chip.c2 { bottom: 20%; right: -4%; animation-delay: -2s; }
.chip.c3 { bottom: 6%; left: 6%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-12px); } }

.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 64px 0 0;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden;
}
.stats > div { padding: 24px 28px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.stats dd { margin: 4px 0 0; font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; }


/* Sections */
.section { padding: 100px 0; position: relative; }
.section.tint { background: linear-gradient(180deg, var(--bg), var(--blush) 22%, var(--blush) 78%, var(--bg)); }
.eyebrow { text-align: center; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.section-title { text-align: center; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; margin-bottom: 14px; }
.section-sub { text-align: center; color: var(--muted); max-width: 36em; margin: 0 auto; }
.cards, .steps, .faq, .shots { margin-top: 54px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.card {
  position: relative; padding: 34px 30px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease;
}
.card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px;
  background: var(--grad); color: #fff; margin-bottom: 22px; box-shadow: 0 14px 26px -14px color-mix(in srgb, var(--primary) 80%, transparent);
  transition: transform .25s ease;
}
.card-icon .icon { width: 26px; height: 26px; }
.card:hover .card-icon { transform: rotate(-6deg) scale(1.06); }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

.shots { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 26px; }
.shots figure { flex: 0 0 236px; margin: 0; scroll-snap-align: center; text-align: center; }
.shots img { width: 100%; aspect-ratio: 9 / 19; object-fit: cover; border-radius: 28px; border: 6px solid var(--surface); box-shadow: var(--shadow); }
.shots figcaption { margin-top: 14px; font-size: .9rem; color: var(--muted); }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; position: relative; }
.steps li { text-align: center; padding: 0 12px; position: relative; }
.steps li + li::before {
  content: ''; position: absolute; top: 38px; right: calc(50% + 54px); width: calc(100% - 78px);
  border-top: 2px dashed color-mix(in srgb, var(--primary) 35%, transparent);
}
.step-icon {
  position: relative; display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 22px;
  border-radius: 26px; background: var(--surface); color: var(--primary); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.step-icon .icon { width: 32px; height: 32px; }
.step-icon b {
  position: absolute; top: -9px; right: -9px; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--grad); color: #fff; font-size: .8rem; box-shadow: 0 8px 16px -8px color-mix(in srgb, var(--primary) 90%, transparent);
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Download */
.download { padding-top: 60px; }
.download-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center;
  padding: 60px; border-radius: 38px; color: #fff;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(255, 255, 255, .22), transparent 70%),
    radial-gradient(420px 320px at 0% 100%, rgba(20, 8, 14, .28), transparent 70%),
    var(--grad);
  box-shadow: 0 50px 90px -46px color-mix(in srgb, var(--primary) 90%, transparent);
}
.download-card::after {
  content: ''; position: absolute; right: -70px; bottom: -90px; width: 320px; height: 320px; opacity: .1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.download-main, .download-side { position: relative; z-index: 1; }
.download-card h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.download-card p { opacity: .95; }
.download-main .btn { margin-top: 10px; }
.specs { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 32px 0 16px; }
.specs dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.specs dd { margin: 0; font-weight: 600; font-size: 1.05rem; }
.sha { font-size: .74rem; margin: 0; opacity: .8; }
.sha span { text-transform: uppercase; letter-spacing: .08em; }
.sha code { word-break: break-all; font-family: ui-monospace, Consolas, monospace; }
.hint-light { margin-top: 24px; }
.download-side { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 26px; padding: 30px; }
.download-side h3 { font-size: 1.08rem; margin-bottom: 16px; }
.install { margin: 0; padding: 0; list-style: none; counter-reset: s; font-size: .92rem; }
.install li { counter-increment: s; position: relative; padding-left: 40px; margin-bottom: 14px; }
.install li:last-child { margin-bottom: 0; }
.install li::before { content: counter(s); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #fff; color: var(--primary); font-weight: 700; font-size: .8rem; }
.qr { width: 176px; height: 176px; padding: 12px; background: #fff; border-radius: 20px; margin: 0 auto 18px; }
.qr img, .qr canvas { width: 100%; height: 100%; }
.qr + p { text-align: center; margin: 0; font-size: .92rem; }
.changelog { margin-top: 24px; padding: 20px 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.changelog p { margin: 12px 0 0; color: var(--muted); }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 20px; padding: 20px 24px; margin-bottom: 14px; background: var(--surface); transition: box-shadow .2s ease, border-color .2s ease; }
.faq details[open] { border-color: transparent; box-shadow: 0 0 0 1.5px var(--accent), var(--shadow-soft); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary .icon { color: var(--primary); transition: transform .2s ease; }
details[open] summary .icon { transform: rotate(180deg); }
.faq p { margin: 14px 0 0; color: var(--muted); }

/* Prose pages */
.prose h1 { font-size: 2.3rem; }
.prose h2 { font-size: 1.25rem; margin-top: 1.9em; color: var(--primary); }

/* Message pages (403, 404, maintenance) */
.message-page { min-height: 72vh; display: grid; place-items: center; padding: 56px 20px; background: linear-gradient(180deg, var(--blush), var(--bg)); }
.message-card { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 44px 36px; max-width: 470px; text-align: center; box-shadow: var(--shadow); }
.message-card img { width: 170px; margin: 0 auto 10px; }
.message-card p { color: var(--muted); }

/* Footer */
.site-footer { background: #1E0C16; color: #D9C3CE; padding: 64px 0 0; font-size: .92rem; margin-top: 20px; }
.footer-in { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-in strong { color: #fff; font-size: 1.15rem; }
.footer-in p { margin: 10px 0 0; max-width: 30em; }
.age { opacity: .65; font-size: .85rem; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #D9C3CE; text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--accent); }
.copy { margin-top: 46px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); opacity: .65; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; }

/* Scroll reveal (only when JavaScript is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .safety { grid-template-columns: 1fr; gap: 34px; }
  .safety-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 46px; }
  .hero-in { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .lead, .hint { margin-inline: auto; }
  .hero-cta, .ticks { justify-content: center; }
  .ring.r2 { display: none; }
  .ring.r1 { width: 340px; height: 340px; }
  .chip.c1 { left: 2%; }
  .chip.c2 { right: 2%; }
  .chip.c3 { display: none; }
  .stats { margin-top: 44px; grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 18px 20px; border-left: 0; border-top: 1px solid var(--line); }
  .stats > div:nth-child(-n+2) { border-top: 0; }
  .stats > div:nth-child(even) { border-left: 1px solid var(--line); }
  .stats dd { font-size: 1.25rem; }
  .section { padding: 70px 0; }
  .steps li + li::before { display: none; }
  .download-card { grid-template-columns: 1fr; padding: 38px 24px; text-align: center; border-radius: 30px; }
  .specs { justify-content: center; }
  .install { text-align: left; }
  .brand-name { font-size: 1rem; }
}

/* Dark mode details: the logo artwork has a white background, so give it a tile. */
[data-mode="dark"] .brand-mark, [data-mode="dark"] .brand-img { background-color: #fff; border-radius: 12px; }
[data-mode="dark"] .message-card img { border-radius: 20px; }
[data-mode="dark"] .hero h1 { background: linear-gradient(120deg, var(--ink) 30%, var(--accent) 80%); -webkit-background-clip: text; background-clip: text; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--surface); color: var(--primary); font-weight: 600; }
.skip:focus { left: 12px; }
.left { text-align: left; }

/* Safety */
.safety { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.safety-intro .section-title { margin-bottom: 18px; }
.safety-intro .btn-text { margin-top: 10px; }
.safety-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.safety-list li { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.safety-list span { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--blush); color: var(--primary); }
.safety-list .icon { width: 22px; height: 22px; }
.safety-list h3 { font-size: 1.02rem; margin-bottom: 6px; }
.safety-list p { margin: 0; font-size: .9rem; color: var(--muted); }

/* Reviews */
.reviews { margin-top: 54px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review { margin: 0; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.stars { display: flex; gap: 3px; color: #F2A93B; margin-bottom: 14px; }
.stars .icon { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 0 0 20px; font-size: .98rem; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .92rem; }
.review figcaption span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; }

/* Contact form */
.contact-card { margin-top: 34px; padding: 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.contact-card label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 18px; }
.contact-card input, .contact-card textarea {
  display: block; width: 100%; margin-top: 8px; padding: 13px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit;
}
.contact-card input:focus, .contact-card textarea:focus { outline: 3px solid color-mix(in srgb, var(--primary) 30%, transparent); border-color: var(--primary); }
.contact-card textarea { resize: vertical; min-height: 150px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; font-size: .94rem; }
.form-msg.ok { background: #E3F6EA; color: #14602F; }
.form-msg.err { background: #FDE4E4; color: #9B1C1C; }

/* Footer extras */
.footer-links h4 { margin: 0 0 6px; color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.socials a { padding: 7px 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .18); color: #fff; text-decoration: none; font-size: .82rem; transition: background .15s, border-color .15s; }
.socials a:hover { background: var(--primary); border-color: var(--primary); }

/* Privacy notice */
.notice {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 560px; margin-inline: auto;
  display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(20, 8, 14, .45); font-size: .88rem;
}
.notice[hidden] { display: none; }
.notice p { margin: 0; flex: 1; color: var(--muted); }
/* ===== Motion layer ===== */

/* Scroll progress + header state */
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; }
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { box-shadow: 0 14px 40px -24px rgba(20, 8, 14, .4); }
.header-in { transition: height .3s ease; }
.site-header.scrolled .header-in { height: 62px; }
.nav a.active:not(.btn) { color: var(--primary); }
.nav a.active:not(.btn)::after { transform: scaleX(1); }

/* Mobile menu */
.nav-burger { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s ease, opacity .2s ease, top .3s ease; }
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 26px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.mobile-menu { display: none; }

/* Hero entrance */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes pop { from { opacity: 0; transform: scale(.6) translateY(20px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(60px) rotate(12deg) scale(.92); } }
.hero-text > * { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero-text > :nth-child(1) { animation-delay: .05s; }
.hero-text > :nth-child(2) { animation-delay: .15s; }
.hero-text > :nth-child(3) { animation-delay: .28s; }
.hero-text > :nth-child(4) { animation-delay: .4s; }
.hero-text > :nth-child(5) { animation-delay: .52s; }
.hero-text > :nth-child(6) { animation-delay: .62s; }
.tilt { perspective: 1100px; animation: phone-in 1.1s cubic-bezier(.2, .8, .2, 1) .2s both; }
.tilt .phone { transform-style: preserve-3d; will-change: transform; }
.tilt.live .phone { animation: none; transform: rotate(5deg) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .25s ease-out; }
.chip { animation: pop .7s cubic-bezier(.3, 1.4, .5, 1) both, float 6s ease-in-out infinite; }
.chip.c1 { animation-delay: .9s, 1.6s; }
.chip.c2 { animation-delay: 1.1s, 1.8s; }
.chip.c3 { animation-delay: 1.3s, 2s; }
.hero-art .chip { translate: var(--px, 0) var(--py, 0); transition: translate .3s ease-out; }
.ring.r1 { animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.06); opacity: .6; } }

/* Headline gradient drifts slowly */
.hero h1 { background-size: 220% 100%; animation: rise .9s cubic-bezier(.2, .8, .2, 1) .15s both, sheen 9s ease-in-out 1.2s infinite alternate; }
@keyframes sheen { to { background-position: 100% 0; } }
.grad-text { background-size: 200% 100%; animation: sheen 6s ease-in-out infinite alternate; }

/* Drifting colour blobs */
.blob.b1 { animation: drift1 16s ease-in-out infinite alternate; }
.blob.b2 { animation: drift2 20s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-90px, 70px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(110px, -50px) scale(1.2); } }

/* Hearts rising through the hero */
.hearts { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hearts span { position: absolute; bottom: -40px; color: var(--accent); opacity: 0; animation: heart-up linear infinite; }
.hearts .icon { width: 100%; height: 100%; fill: currentColor; stroke: none; }
.hearts span:nth-child(1) { left: 6%; width: 18px; height: 18px; animation-duration: 13s; }
.hearts span:nth-child(2) { left: 17%; width: 12px; height: 12px; animation-duration: 17s; animation-delay: 3s; color: var(--primary); }
.hearts span:nth-child(3) { left: 31%; width: 22px; height: 22px; animation-duration: 15s; animation-delay: 6s; }
.hearts span:nth-child(4) { left: 44%; width: 14px; height: 14px; animation-duration: 19s; animation-delay: 1s; color: var(--primary); }
.hearts span:nth-child(5) { left: 58%; width: 16px; height: 16px; animation-duration: 14s; animation-delay: 8s; }
.hearts span:nth-child(6) { left: 69%; width: 24px; height: 24px; animation-duration: 18s; animation-delay: 4s; }
.hearts span:nth-child(7) { left: 80%; width: 12px; height: 12px; animation-duration: 12s; animation-delay: 9s; color: var(--primary); }
.hearts span:nth-child(8) { left: 90%; width: 20px; height: 20px; animation-duration: 16s; animation-delay: 2s; }
.hearts span:nth-child(9) { left: 96%; width: 14px; height: 14px; animation-duration: 20s; animation-delay: 11s; }
@keyframes heart-up {
  0% { transform: translateY(0) rotate(-12deg) scale(.7); opacity: 0; }
  12% { opacity: .38; }
  50% { transform: translateY(-46vh) translateX(26px) rotate(10deg) scale(1); }
  88% { opacity: .22; }
  100% { transform: translateY(-96vh) translateX(-18px) rotate(-8deg) scale(1.15); opacity: 0; }
}
.hero-in, .hero > .wrap { z-index: 1; }

/* Like button heartbeat inside the phone */
.pa.like { animation: beat 1.8s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.16); } 24% { transform: scale(1); } 36% { transform: scale(1.1); } 48% { transform: scale(1); } }

/* Download buttons breathe to draw the eye */
a.btn-lg { animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--primary) 0%, transparent), 0 30px 60px -20px color-mix(in srgb, var(--primary) 80%, transparent); } 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 35%, transparent), var(--shadow); } }
a.btn-lg.btn-white { animation-name: glow-white; }
@keyframes glow-white { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .5), 0 20px 40px -18px rgba(0, 0, 0, .5); } 50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0), 0 20px 40px -18px rgba(0, 0, 0, .5); } }

/* Keyword marquee */
.marquee { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: var(--surface); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; padding: 0 26px; font-weight: 600; font-size: 1.02rem; white-space: nowrap; color: var(--muted); }
.marquee .icon { width: 16px; height: 16px; color: var(--primary); fill: currentColor; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Reveal variants */
.js .reveal { transform: translateY(34px) scale(.97); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .eyebrow, .js .section-title, .js .section-sub { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .section-title { transition-delay: .08s; }
.js .section-sub { transition-delay: .16s; }
.js .eyebrow.in, .js .section-title.in, .js .section-sub.in { opacity: 1; transform: none; }

/* Cards: cursor spotlight */
.card > *, .safety-list li > * { position: relative; z-index: 1; }
.card::after, .safety-list li::after, .review::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), color-mix(in srgb, var(--primary) 13%, transparent), transparent 70%);
}
.safety-list li, .review { position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover::after, .safety-list li:hover::after, .review:hover::after { opacity: 1; }
.safety-list li:hover, .review:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.safety-list li:hover span { background: var(--grad); color: #fff; }
.safety-list span { transition: background .25s ease, color .25s ease; }

/* Steps */
.step-icon { transition: transform .35s cubic-bezier(.3, 1.5, .5, 1), background .25s ease, color .25s ease; }
.steps li:hover .step-icon { transform: translateY(-6px) rotate(-4deg); background: var(--grad); color: #fff; }
.steps li:hover .step-icon b { background: var(--surface); color: var(--primary); }
.steps li + li::before { transform-origin: 0 50%; }
.js .steps li.reveal + li.reveal::before { transform: scaleX(0); transition: transform .9s ease .4s; }
.js .steps li.reveal.in + li.reveal.in::before { transform: scaleX(1); }

/* Download card: slow light sweep and drifting heart */
.download-card { background-size: 100% 100%, 100% 100%, 180% 180%; animation: card-shift 12s ease-in-out infinite alternate; }
@keyframes card-shift { to { background-position: 0 0, 0 0, 100% 100%; } }
.download-card::before {
  content: ''; position: absolute; top: -60%; bottom: -60%; left: -40%; width: 34%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent); transform: rotate(18deg);
  animation: sweep 7s ease-in-out infinite;
}
@keyframes sweep { 0%, 55% { left: -40%; } 100% { left: 130%; } }
.download-card::after { animation: float 8s ease-in-out infinite; }
.qr { transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.qr:hover { transform: scale(1.05) rotate(-2deg); }

/* FAQ opens smoothly */
details[open] > p { animation: faq-open .4s ease both; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-8px); } }
.faq details:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }

/* Stats, screenshots, footer links */
.stats > div { transition: background .25s ease; }
.stats > div:hover { background: var(--blush); }
.shots img { transition: transform .35s cubic-bezier(.3, 1.3, .5, 1); }
.shots figure:hover img { transform: translateY(-8px) rotate(-1.5deg); }
.footer-links a { position: relative; width: fit-content; }
.footer-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s ease; }
.footer-links a:hover::after { transform: scaleX(1); }

/* Back to top */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.3, 1.4, .5, 1);
}
.to-top .icon { transform: rotate(180deg); width: 22px; height: 22px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* Notice slides up */
.notice { animation: rise .6s cubic-bezier(.2, .8, .2, 1) 1.2s both; }

@media (max-width: 900px) {
  .nav-burger { display: block; }
  .nav { gap: 10px; }
  .mobile-menu {
    display: block; position: absolute; left: 0; right: 0; top: 100%; overflow: hidden; padding: 0 20px; max-height: 0;
    background: var(--surface); box-shadow: 0 30px 50px -30px rgba(20, 8, 14, .45);
    transition: max-height .4s ease;
  }
  .mobile-menu.open { max-height: 420px; border-bottom: 1px solid var(--line); }
  .brand { min-width: 0; gap: 8px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-img { height: 38px; }
  .brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .95rem; }
  .nav { flex: none; }
  .nav .btn-small { padding: 9px 16px; }
  .chip.c2 { bottom: 6%; }
  .mobile-menu a { display: flex; align-items: center; gap: 14px; padding: 15px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; opacity: 0; transform: translateX(-14px); transition: opacity .3s ease, transform .3s ease; }
  .mobile-menu a:last-child { border-bottom: 0; }
  .mobile-menu a .icon { color: var(--primary); }
  .mobile-menu.open a { opacity: 1; transform: none; }
  .mobile-menu.open a:nth-child(2) { transition-delay: .05s; }
  .mobile-menu.open a:nth-child(3) { transition-delay: .1s; }
  .mobile-menu.open a:nth-child(4) { transition-delay: .15s; }
  .mobile-menu.open a:nth-child(5) { transition-delay: .2s; }
  .marquee span { font-size: .92rem; padding: 0 18px; }
  .to-top { right: 14px; bottom: 14px; }
  .site-header.scrolled .header-in { height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .hearts { display: none; }
  .js .eyebrow, .js .section-title, .js .section-sub { opacity: 1; transform: none; }
  .js .steps li.reveal + li.reveal::before { transform: none; }
  .marquee-track { animation: none !important; }
}
/* Narrow phones: the header download button becomes icon-only so the site name fits. */
@media (max-width: 480px) {
  .nav .btn-small { font-size: 0; gap: 0; padding: 11px; }
  .nav .btn-small .icon { width: 20px; height: 20px; }
}

/* ===== Small screens (kept last so it wins over the component rules above) ===== */
html { overflow-x: clip; }
body { overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }
.wrap > *, .hero-in > *, .download-card > *, .safety > *, .footer-in > * { min-width: 0; }

@media (max-width: 900px) {
  .safety { grid-template-columns: 1fr; gap: 34px; }
  .safety-intro { text-align: center; }
  .safety-intro .left { text-align: center; }
  .safety-list { grid-template-columns: 1fr 1fr; gap: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-links a { overflow-wrap: anywhere; }
  .copy { justify-content: center; text-align: center; }
  .hero-art { padding: 14px 0 30px; overflow: hidden; }
  .cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
  .steps { gap: 34px; }
  .contact-card { padding: 22px 18px; }
  .prose h1 { font-size: 1.8rem; }
  .sha code { font-size: .68rem; }
}

@media (max-width: 600px) {
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .hero h1 { font-size: clamp(2rem, 9.4vw, 2.6rem); }
  .lead { font-size: 1rem; }
  .btn-lg { padding: 15px 26px; font-size: 1rem; width: 100%; max-width: 340px; }
  .hero-cta { flex-direction: column; gap: 16px; }
  .ticks { gap: 8px 16px; font-size: .86rem; }
  .phone { width: min(250px, 66vw); }
  .ring.r1 { width: 300px; height: 300px; }
  .chip { font-size: .78rem; padding: 8px 12px 8px 8px; border-radius: 14px; }
  .chip span { width: 28px; height: 28px; border-radius: 10px; }
  .chip.c1 { left: 0; top: 8%; }
  .chip.c2 { right: 0; bottom: 4%; }
  .stats { grid-template-columns: 1fr; margin-top: 32px; }
  .stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 18px; border-left: 0 !important; border-top: 1px solid var(--line); }
  .stats > div:first-child { border-top: 0; }
  .stats > div:nth-child(-n+2) { border-top: 1px solid var(--line); }
  .stats > div:first-child { border-top: 0; }
  .stats dd { margin: 0; font-size: 1.05rem; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.6rem; }
  .cards, .steps, .faq, .shots, .reviews { margin-top: 34px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 24px 22px; }
  .safety-list { grid-template-columns: 1fr; }
  .safety-list li { padding: 18px; }
  .download { padding-top: 30px; }
  .download-card { padding: 30px 20px; border-radius: 26px; gap: 26px; }
  .download-card h2 { font-size: 1.5rem; }
  .download-side { padding: 22px 18px; }
  .specs { gap: 12px 22px; margin: 24px 0 14px; }
  .faq details { padding: 16px 18px; border-radius: 16px; }
  .shots figure { flex-basis: 200px; }
  .site-footer { padding-top: 44px; }
  .notice { left: 10px; right: 10px; bottom: 10px; padding: 12px 12px 12px 16px; font-size: .82rem; gap: 10px; }
  .to-top { bottom: 84px; }
  .message-card { padding: 32px 22px; }
}

/* ===== Download-first layer ===== */
.cta-note { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; font-weight: 500; color: var(--muted); animation: rise .9s cubic-bezier(.2, .8, .2, 1) .5s both; }
.cta-note li { display: flex; align-items: center; gap: 6px; }
.cta-note .icon { width: 16px; height: 16px; color: #17A34A; stroke-width: 3; }
.hero-cta .btn-lg { font-size: 1.12rem; padding: 19px 38px; }

.get-card { display: flex; align-items: center; gap: 20px; margin: 28px 0 18px; padding: 18px; max-width: 470px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-soft); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); text-align: left; }
.get-card strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.get-card p { margin: 0 0 12px; font-size: .88rem; color: var(--muted); }
.get-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.qr-sm { width: 118px; height: 118px; padding: 8px; margin: 0; border-radius: 16px; flex: none; box-shadow: 0 0 0 1px var(--line); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--primary); color: var(--primary); }
button.btn-small { box-shadow: none; }

.cta-band { margin: 60px auto 0; max-width: 620px; padding: 34px 26px; text-align: center; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.cta-band h3 { font-size: 1.35rem; margin-bottom: 18px; }
.cta-band p { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }

/* Always-reachable download bar */
.sticky-dl {
  position: fixed; left: 50%; bottom: 14px; z-index: 35; width: min(520px, calc(100% - 24px));
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 20px; border-radius: 99px;
  background: var(--glass); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(20, 8, 14, .5);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .45s cubic-bezier(.2, .9, .3, 1.2), opacity .3s ease; pointer-events: none;
}
.sticky-dl.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.sticky-info { flex: 1; min-width: 0; line-height: 1.25; }
.sticky-info b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-info small { color: var(--muted); font-size: .78rem; }
.sticky-dl .btn { flex: none; padding: 12px 22px; animation: glow 2.6s ease-in-out infinite; }
body.has-sticky .to-top { bottom: 86px; }
body.has-sticky .notice { bottom: 84px; }

/* "Download started" sheet */
.sheet { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 18px; background: rgba(20, 8, 14, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: sheet-fade .25s ease both; }
.sheet[hidden] { display: none; }
.sheet-card { position: relative; width: min(440px, 100%); max-height: 90vh; overflow-y: auto; padding: 34px 28px 28px; border-radius: 30px; background: var(--surface); text-align: center; box-shadow: 0 40px 90px -30px rgba(20, 8, 14, .7); animation: sheet-in .45s cubic-bezier(.2, .9, .3, 1.15) both; }
.sheet-icon { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 22px; background: var(--grad); color: #fff; box-shadow: var(--shadow); animation: bounce-in .7s cubic-bezier(.3, 1.6, .5, 1) .1s both; }
.sheet-icon .icon { width: 30px; height: 30px; }
.sheet-card h2 { font-size: 1.4rem; }
.sheet-card > p { color: var(--muted); font-size: .94rem; }
.sheet-steps { list-style: none; counter-reset: s; padding: 0; margin: 20px 0; text-align: left; font-size: .92rem; }
.sheet-steps li { counter-increment: s; position: relative; padding: 12px 14px 12px 52px; margin-bottom: 8px; border-radius: 16px; background: var(--blush); }
.sheet-steps li::before { content: counter(s); position: absolute; left: 14px; top: 11px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: .8rem; }
.sheet-retry { font-size: .86rem; font-weight: 600; }
.sheet-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--blush); color: var(--ink); cursor: pointer; }
@keyframes sheet-fade { from { opacity: 0; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(40px) scale(.94); } }
@keyframes bounce-in { from { transform: scale(0); } }

@media (max-width: 900px) {
  .get-card { margin-inline: auto; }
  .cta-note { justify-content: center; }
}
@media (max-width: 600px) {
  .hero-cta .btn-lg { font-size: 1.06rem; padding: 18px 26px; }
  .get-card { flex-direction: column; text-align: center; }
  .get-actions { justify-content: center; }
  .cta-band { margin-top: 40px; padding: 26px 18px; }
  .sticky-dl { bottom: 10px; padding-left: 16px; }
  .sticky-dl .btn { padding: 12px 18px; }
  .sheet { align-items: end; padding: 0; }
  .sheet-card { width: 100%; border-radius: 28px 28px 0 0; padding-bottom: 34px; }
  @keyframes sheet-in { from { transform: translateY(100%); } }
}
/* Reassurance about the browser's standard APK warning */
.safe-note { display: flex; gap: 14px; align-items: flex-start; margin: 18px 0; padding: 16px 18px; border-radius: 18px; text-align: left; background: #E9F8EF; border: 1px solid #BFE8CE; color: #14532D; }
.safe-note > .icon { width: 26px; height: 26px; flex: none; margin-top: 2px; color: #17A34A; }
.safe-note strong { display: block; font-size: .95rem; margin-bottom: 4px; }
.safe-note p { margin: 0; font-size: .86rem; line-height: 1.55; color: inherit; opacity: 1; }
.safe-note.on-grad { margin: 22px 0 0; background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .34); color: #fff; }
.safe-note.on-grad > .icon { color: #fff; }
[data-mode="dark"] .safe-note:not(.on-grad) { background: #12301F; border-color: #1F5136; color: #CFF5DD; }
/* Visitors inside Facebook / Instagram / TikTok browsers */
.inapp { background: var(--grad); color: #fff; }
.inapp-in { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.inapp-in > .icon { width: 28px; height: 28px; flex: none; }
.inapp-in > div { flex: 1; min-width: 0; }
.inapp strong { display: block; font-size: 1rem; }
.inapp p { margin: 2px 0 0; font-size: .86rem; opacity: .95; }
.inapp-tip { font-size: .8rem !important; opacity: .85 !important; }
.inapp .btn { flex: none; animation: glow-white 2.6s ease-in-out infinite; }
.message-card .inapp-tip { margin: 16px 0 0; color: var(--muted); }
@media (max-width: 700px) {
  .inapp-in { flex-wrap: wrap; }
  .inapp-in > .icon { display: none; }
  .inapp .btn { width: 100%; }
}