/* ─────────────────────────────────────────────────────────────────────────
   Tano Pulse landing page
   Dark-first, in the app's own blues (#0097F4 → #0078C2).
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --bg: #0b1220;
  --bg-alt: #0e1729;
  --surface: #121c31;
  --surface-2: #17233c;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8eef8;
  --muted: #94a3bb;
  --faint: #66748c;
  --brand: #0097f4;
  --brand-light: #19a9ff;
  --brand-dark: #0078c2;
  --green: #22c55e;
  --amber: #f5a524;
  --purple: #8b5cf6;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-lg: 0 40px 80px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border);
  --container: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-light); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  font: 500 0.88em/1 ui-monospace, "Cascadia Code", Consolas, monospace;
  background: rgba(0, 151, 244, 0.12);
  color: #8fd3ff;
  padding: 0.2em 0.45em;
  border-radius: 6px;
}
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--narrow { --container: 780px; }
.muted { color: var(--muted); font-size: 0.94rem; }

.ico { flex: none; vertical-align: -3px; }
.ico--check { color: var(--green); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.97rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn span { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.btn small { font-weight: 500; font-size: 0.74rem; opacity: 0.8; margin-top: 2px; }
.btn--sm { padding: 9px 16px; font-size: 0.9rem; border-radius: 12px; }
.btn--lg { padding: 15px 24px; font-size: 1.02rem; border-radius: 16px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  box-shadow: 0 10px 30px -8px rgba(0, 151, 244, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover { box-shadow: 0 16px 40px -8px rgba(0, 151, 244, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn--ghost { color: var(--text); background: rgba(255, 255, 255, 0.04); border-color: var(--border-strong); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn--light { color: #04345a; background: #fff; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5); }
.btn.is-disabled { opacity: 0.55; pointer-events: none; }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(11, 18, 32, 0.88); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; }
.brand__icon { border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 151, 244, 0.35); }
.brand__name { font-size: 1.12rem; letter-spacing: -0.01em; }
.brand__name strong { color: var(--brand-light); font-weight: 700; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--muted); font-size: 0.93rem; font-weight: 500; }
.nav__links a:hover { color: var(--text); text-decoration: none; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 72px 0 120px; isolation: isolate; }
.hero__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.hero__glow--a { width: 560px; height: 560px; right: -80px; top: -120px; background: radial-gradient(circle, #0097f4, transparent 65%); }
.hero__glow--b { width: 420px; height: 420px; left: -160px; bottom: -120px; background: radial-gradient(circle, #6d4aff, transparent 65%); opacity: 0.3; }

.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; margin: 22px 0 20px; }
.grad {
  background: linear-gradient(100deg, #7fd0ff 0%, var(--brand-light) 35%, #0a84d6 70%, #7c6cff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(0, 151, 244, 0.1); border: 1px solid rgba(0, 151, 244, 0.3);
  color: #8fd3ff; font-size: 0.84rem; font-weight: 600;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.hero__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; color: var(--muted); font-size: 0.9rem; }
.hero__meta li { display: flex; align-items: center; gap: 8px; }

.qr-card {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 30px;
  padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
}
.qr-card img { border-radius: 10px; background: #fff; }
.qr-card div { display: flex; flex-direction: column; max-width: 230px; font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.qr-card strong { color: var(--text); font-size: 0.95rem; }

/* Phones */
.phone {
  position: relative;
  padding: 9px;
  border-radius: 44px;
  background: linear-gradient(145deg, #2a3550, #0a0f1a 40%, #1d2740);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.phone img { border-radius: 36px; width: 100%; height: auto; }
.phone::after { /* camera punch-hole */
  content: ""; position: absolute; top: 22px; left: 50%; width: 11px; height: 11px;
  transform: translateX(-50%); border-radius: 50%; background: #05070c; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.04);
}
.phone--sm { border-radius: 34px; padding: 7px; }
.phone--sm img { border-radius: 28px; }
.phone--sm::after { top: 16px; width: 8px; height: 8px; }

.hero__phones { position: relative; height: 640px; }
.hero__phones .phone { position: absolute; width: 290px; }
.phone--front { left: 34%; top: 0; z-index: 2; animation: float 7s ease-in-out infinite; }
.phone--back { left: 2%; top: 70px; transform: rotate(-8deg); opacity: 0.9; animation: float-back 8s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float-back { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-8deg) translateY(10px); } }

.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(18, 28, 49, 0.85); border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
  font-size: 0.86rem;
}
.float-chip span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.float-chip small { color: var(--muted); font-size: 0.78rem; }
.float-chip__icon {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
  background: rgba(245, 165, 36, 0.15); font-size: 1.05rem;
}
.float-chip__icon--green { background: rgba(34, 197, 94, 0.16); color: var(--green); font-weight: 800; }
.float-chip--a { right: -6%; top: 400px; animation: float 6s ease-in-out infinite 0.6s; }
.float-chip--b { left: 0; bottom: 70px; animation: float 6.5s ease-in-out infinite 1.2s; }

.pulse-line { position: absolute; left: 0; right: 0; bottom: 8px; width: 100%; height: 90px; z-index: -1; }
.pulse-line path {
  fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1800; stroke-dashoffset: 1800; opacity: 0.55;
  filter: drop-shadow(0 0 6px rgba(0, 151, 244, 0.9));
  animation: draw 4.5s var(--ease) infinite;
}
@keyframes draw { 0% { stroke-dashoffset: 1800; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1800; } }

/* ── Strip ─────────────────────────────────────────────────────────────── */
.strip { border-block: 1px solid var(--border); background: var(--bg-alt); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__inner div { padding: 26px 24px; display: flex; flex-direction: column; gap: 2px; }
.strip__inner div + div { border-left: 1px solid var(--border); }
.strip strong { font-size: 1.02rem; }
.strip span { color: var(--muted); font-size: 0.88rem; }

/* ── Sections ──────────────────────────────────────────────────────────── */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section__head h2, .reminders h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; margin: 12px 0 14px; }
.section__head p { color: var(--muted); font-size: 1.06rem; }
.eyebrow { color: var(--brand-light); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

/* ── Steps ─────────────────────────────────────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 40px; position: relative; }
.step {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 48px 56px; border-radius: 28px;
  background: linear-gradient(180deg, var(--surface), rgba(18, 28, 49, 0.5));
  border: 1px solid var(--border);
  overflow: hidden;
}
.step--flip .step__copy { order: 2; }
.step__num {
  display: inline-block; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.1em;
  color: var(--brand-light); padding: 6px 12px; border-radius: 10px; background: rgba(0, 151, 244, 0.12);
}
.step h3 { font-size: 1.75rem; font-weight: 700; margin: 16px 0 14px; }
.step p { color: #c3cddd; }
.step strong { color: var(--text); }
.step .btn { margin-top: 6px; }
.step__visual { display: flex; justify-content: center; gap: 22px; }
.step__visual .phone { width: 250px; }
.step__visual--pair .phone { width: 220px; }
.phone--offset { margin-top: 48px; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-direction: column; gap: 12px; color: #c3cddd; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0, 151, 244, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.6 2.6L14.2 7.4' fill='none' stroke='%2319A9FF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

.callout {
  padding: 16px 18px; border-radius: 14px; font-size: 0.95rem; color: #c3cddd;
  background: rgba(245, 165, 36, 0.08); border: 1px solid rgba(245, 165, 36, 0.28);
}
.callout strong { display: block; color: #ffd18a; margin-bottom: 2px; }

/* Install mock (step 2) */
.install-mock { position: relative; width: 100%; max-width: 380px; padding: 30px 0; }
.install-mock__card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 30px 26px 20px; border-radius: 26px; background: #1d2638; border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.install-mock__card img { border-radius: 14px; margin-bottom: 4px; }
.install-mock__card strong { font-size: 1.15rem; }
.install-mock__card > span { color: var(--muted); font-size: 0.92rem; }
.install-mock__actions { display: flex; gap: 28px; justify-content: flex-end; width: 100%; margin-top: 16px; font-weight: 600; font-size: 0.92rem; color: #8fd3ff; }
.install-mock__actions .is-primary {
  color: #fff; background: var(--brand); padding: 8px 18px; border-radius: 999px; margin: -8px 0;
}
.install-mock__toast {
  display: flex; align-items: center; gap: 10px; margin: 18px auto 0; width: fit-content; max-width: 100%;
  padding: 10px 14px; border-radius: 12px; font-size: 0.8rem; color: var(--muted);
  background: rgba(255, 255, 255, 0.04); border: 1px dashed var(--border-strong);
}
.install-mock__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }

/* ── Features bento ───────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 30px; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0, 151, 244, 0.35); }
.card h3 { font-size: 1.2rem; margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 1.3rem; }
.card__icon--blue { background: rgba(0, 151, 244, 0.15); }
.card__icon--green { background: rgba(34, 197, 94, 0.14); }
.card__icon--amber { background: rgba(245, 165, 36, 0.14); }
.card__icon--purple { background: rgba(139, 92, 246, 0.16); }
.card__icon--slate { background: rgba(148, 163, 187, 0.14); }

.card--wide {
  grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr);
  gap: 24px; align-items: start; height: 340px; padding-bottom: 0;
}
.card__text { align-self: center; padding-bottom: 30px; }
.card__shot {
  width: 230px; height: auto; justify-self: center; margin-top: 6px; border-radius: 26px 26px 0 0;
  border: 7px solid #1d2740; border-bottom: 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s var(--ease);
}
.card--wide:hover .card__shot { transform: translateY(-10px); }
.card--theme { grid-column: 1 / -1; grid-template-columns: 1fr 1.2fr; }
.theme-pair { display: flex; gap: 14px; justify-content: center; margin-top: 6px; }
.theme-pair img {
  width: 46%; max-width: 180px; height: auto; border-radius: 22px 22px 0 0;
  border: 6px solid #1d2740; border-bottom: 0; transition: transform 0.5s var(--ease);
}
.theme-pair img:first-child { transform: translateY(26px); }
.card--theme:hover .theme-pair img { transform: translateY(-8px); }
.card--theme:hover .theme-pair img:first-child { transform: translateY(16px); }

/* ── Reminders ─────────────────────────────────────────────────────────── */
.reminders__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.reminders .lead { margin-bottom: 24px; }
.lockscreen {
  position: relative; padding: 46px 22px 34px; border-radius: 40px; min-height: 470px;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(25, 169, 255, 0.55), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(124, 108, 255, 0.45), transparent 60%),
    #0a1222;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
  text-align: center;
}
.lockscreen__time { font-size: 4.6rem; font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.lockscreen__date { color: #c9d6ea; margin: 8px 0 34px; font-weight: 500; }
.notif {
  display: flex; gap: 12px; text-align: left; padding: 14px; border-radius: 22px; margin-bottom: 12px;
  background: rgba(245, 248, 255, 0.92); color: #0b1220;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  animation: notif-in 0.8s var(--ease) both;
}
.notif img { border-radius: 10px; flex: none; }
.notif > div { flex: 1; min-width: 0; }
.notif__top { display: flex; justify-content: space-between; font-size: 0.76rem; color: #5b6578; }
.notif__top strong { color: #2a3448; font-weight: 600; }
.notif__title { font-weight: 700; font-size: 0.94rem; margin-top: 2px; }
.notif__body { font-size: 0.88rem; color: #3b4458; line-height: 1.4; }
.notif--late { opacity: 0.94; transform: scale(0.97); animation-delay: 0.25s; }
@keyframes notif-in { from { opacity: 0; transform: translateY(16px); } }

/* ── Gallery ───────────────────────────────────────────────────────────── */
.gallery-section .section__head { margin-bottom: 44px; }
.gallery {
  display: flex; gap: 26px; overflow-x: auto; padding: 10px max(20px, calc((100vw - var(--container)) / 2)) 30px;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #2a3550 transparent;
  cursor: grab;
}
.gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery figure { margin: 0; flex: none; width: 230px; scroll-snap-align: center; }
.gallery figcaption { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 14px; font-weight: 500; }
.gallery img { pointer-events: none; user-select: none; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  border-radius: 16px; background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.faq details[open] { border-color: rgba(0, 151, 244, 0.35); background: var(--surface-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(0, 151, 244, 0.12); color: var(--brand-light); font-size: 1.2rem; font-weight: 500;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ── CTA ───────────────────────────────────────────────────────────────── */
.cta { padding: 40px 0 110px; }
.cta__inner {
  position: relative; overflow: hidden; text-align: center; padding: 70px 30px;
  border-radius: 32px; color: #fff;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(135deg, #19a9ff, #0078c2 60%, #2a4bd8);
  box-shadow: 0 40px 80px -30px rgba(0, 151, 244, 0.6);
}
.cta__icon { margin: 0 auto 22px; border-radius: 24px; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3); }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.cta p { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; margin: 14px auto 30px; max-width: 520px; }
.cta__actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.cta__qr { border-radius: 14px; background: #fff; padding: 4px; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); background: #080e1a; padding: 60px 0 0; font-size: 0.92rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__logo { width: 140px; height: auto; margin-bottom: 14px; }
.footer__brand p { color: var(--muted); }
.footer__cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; }
.footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); margin-bottom: 4px; }
.footer__cols a { color: #c3cddd; }
.footer__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 46px; padding: 22px 0 30px; border-top: 1px solid var(--border); color: var(--faint); font-size: 0.85rem;
}

/* ── Doc pages (privacy, delete account) ──────────────────────────────── */
.doc-hero { padding: 80px 0 40px; border-bottom: 1px solid var(--border); background: radial-gradient(60% 120% at 50% 0%, rgba(0, 151, 244, 0.18), transparent 70%); }
.doc-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; margin: 12px 0 10px; }
.doc { padding: 50px 0 100px; color: #c3cddd; font-size: 1.02rem; }
.doc h2 { color: var(--text); font-size: 1.4rem; margin: 40px 0 14px; }
.doc p, .doc li { line-height: 1.75; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--text); }

/* ── iPhone note ──────────────────────────────────────────────────────── */
.ios-note {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  padding: 14px 44px 14px 16px; border-radius: 16px; font-size: 0.9rem;
  background: #1d2638; border: 1px solid var(--border-strong); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.ios-note button {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  border: 0; background: none; color: var(--muted); font-size: 1.4rem; cursor: pointer;
}

/* ── Reveal on scroll ─────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero__cta, .hero__meta { justify-content: center; }
  .hero__phones { height: 560px; max-width: 520px; margin: 10px auto 0; width: 100%; }
  .hero__phones .phone { width: 250px; }
  .float-chip--a { right: 0; }
  .step { grid-template-columns: 1fr; padding: 40px 32px; gap: 36px; }
  .step--flip .step__copy { order: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--wide, .card--theme { grid-column: span 2; }
  .reminders__inner { grid-template-columns: 1fr; }
  .lockscreen { max-width: 400px; margin: 0 auto; width: 100%; }
  .strip__inner { grid-template-columns: 1fr 1fr; }
  .strip__inner div:nth-child(3) { border-left: 0; }
  .strip__inner div:nth-child(n + 3) { border-top: 1px solid var(--border); }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__inner .btn { margin-left: auto; }
  .hero { padding: 48px 0 100px; }
  .hero__phones { height: 470px; }
  .hero__phones .phone { width: 210px; }
  .phone--front { left: 30%; }
  .float-chip { font-size: 0.78rem; padding: 10px 12px 10px 10px; }
  .float-chip--a { display: none; }
  .float-chip--b { bottom: 30px; }
  .section { padding: 80px 0; }
  .step { padding: 32px 22px; border-radius: 22px; }
  .step h3 { font-size: 1.5rem; }
  .step__visual .phone { width: 220px; }
  .step__visual--pair .phone { width: 46%; }
  .bento { grid-template-columns: 1fr; }
  .card--wide, .card--theme { grid-column: auto; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); height: 600px; }
  .card__text { padding-bottom: 0; }
  .gallery figure { width: 200px; }
  .cta__inner { padding: 54px 22px; border-radius: 26px; }
  .footer__cols { gap: 36px; }
  [data-desktop-only] { display: none !important; }
}

@media (hover: none) and (pointer: coarse) {
  [data-desktop-only] { display: none !important; }
}

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