:root {
  --bg: #050505;
  --bg-soft: #090909;
  --card: #141416;
  --raised: #1a1a1d;
  --text: #f5f5f5;
  --muted: #a0a0a6;
  --inactive: #68686e;
  --yellow: #efff00;
  --yellow-hover: #f7ff6a;
  --line: rgba(255, 255, 255, 0.07);
  --danger: #ff453a;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 82% 8%, rgba(239, 255, 0, 0.055), transparent 24rem), var(--bg);
  color: var(--text);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { touch-action: manipulation; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.45rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.container { width: min(100% - 40px, 1280px); margin-inline: auto; }
.narrow { width: min(100%, 820px); }
.section { position: relative; padding: clamp(72px, 9vw, 136px) 0; }
.section.tight { padding-top: 0; }
.page-main { overflow: hidden; }
.page-main--compact { padding-top: 74px; }
.eyebrow {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  z-index: 9999;
  top: -80px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--yellow);
  color: #050505;
  font-weight: 800;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 74px;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header--scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(18px);
}
.site-header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 800; }
.brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 30px rgba(239, 255, 0, 0.18);
  color: #050505;
}
.desktop-nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 0.93rem; }
.desktop-nav a { transition: color 0.2s ease; }
.desktop-nav a:hover { color: var(--text); }
.site-header__actions { display: flex; align-items: center; gap: 12px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:focus-visible,
.icon-button:focus-visible,
.faq-item button:focus-visible,
.switch:focus-visible,
summary:focus-visible,
.text-link:focus-visible {
  outline: 3px solid rgba(239, 255, 0, 0.5);
  outline-offset: 3px;
}
.button--primary {
  border-color: var(--yellow);
  background: var(--yellow);
  box-shadow: 0 0 34px rgba(239, 255, 0, 0.16);
  color: #050505;
}
.button--primary:hover:not(:disabled) {
  background: var(--yellow-hover);
  box-shadow: 0 0 42px rgba(239, 255, 0, 0.23);
}
.button--secondary { background: #121214; color: var(--text); }
.button--secondary:hover:not(:disabled) { border-color: rgba(239, 255, 0, 0.45); }
.button--wide { width: 100%; }
.button:disabled { cursor: not-allowed; opacity: 0.48; }
.icon-button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  cursor: pointer;
}
.menu-button { display: none; }
.text-link { color: var(--yellow); font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }

.mobile-menu-backdrop {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: rgba(0, 0, 0, 0.72);
}
.mobile-menu {
  width: 100%;
  max-height: 92dvh;
  overflow: auto;
  padding: 18px 20px calc(22px + env(safe-area-inset-bottom));
  border: 1px solid var(--line);
  border-radius: 28px 28px 0 0;
  background: #0d0d0f;
  box-shadow: var(--shadow);
}
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu nav { display: grid; margin: 22px 0; }
.mobile-menu nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.45rem; font-weight: 700; }

.hero { display: flex; min-height: min(930px, 100svh); align-items: center; padding-top: 120px; }
.hero-glow {
  position: absolute;
  top: 5%;
  right: 3%;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  background: rgba(239, 255, 0, 0.07);
  filter: blur(100px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  align-items: center;
  gap: clamp(40px, 7vw, 105px);
}
.hero-copy { position: relative; z-index: 3; }
.hero-description { max-width: 58ch; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 24px; color: var(--muted); font-size: 0.82rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 17px; color: var(--yellow); }
.hero-visual { position: relative; display: grid; min-height: 690px; place-items: center; }
.hero-phone { position: absolute; z-index: 3; right: 4%; bottom: 0; transform: rotate(2deg); }
.hero-clock { position: absolute; z-index: 1; top: 1%; left: -4%; }
.hero-mobile-clock { display: none; }
.floating-step {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 1px solid rgba(239, 255, 0, 0.18);
  border-radius: 16px;
  background: rgba(20, 20, 22, 0.94);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.38);
  font-size: 0.85rem;
  font-weight: 700;
}
.floating-step svg { color: var(--yellow); }
.step-one { top: 17%; left: 4%; }
.step-two { top: 23%; right: 0; }
.step-three { top: 44%; left: -2%; }
.step-four { top: 51%; right: -1%; }

.analog-clock {
  position: relative;
  width: min(30vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(239, 255, 0, 0.42);
  border-radius: 50%;
  background: radial-gradient(circle at 42% 36%, #151515, #050505 64%);
  box-shadow: inset 0 0 50px rgba(239, 255, 0, 0.035), 0 0 45px rgba(239, 255, 0, 0.14);
  animation: clockBreath 6s ease-in-out infinite;
}
.analog-clock--compact { width: 180px; }
.analog-clock__ticks { position: absolute; inset: 7%; }
.analog-clock__ticks span { position: absolute; inset: 0; }
.analog-clock__ticks span::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 7px;
  background: rgba(239, 255, 0, 0.65);
  content: "";
}
.analog-clock__ticks span:nth-child(5n + 1)::before { width: 2px; height: 12px; background: var(--yellow); }
.clock-number { position: absolute; color: var(--yellow); font-weight: 700; }
.n12 { top: 8%; left: 50%; transform: translateX(-50%); }
.n3 { top: 50%; right: 9%; transform: translateY(-50%); }
.n6 { bottom: 7%; left: 50%; transform: translateX(-50%); }
.n9 { top: 50%; left: 9%; transform: translateY(-50%); }
.analog-clock__brand {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--yellow);
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  line-height: 1;
  text-shadow: 0 0 25px rgba(239, 255, 0, 0.32);
}
.clock-hand {
  position: absolute;
  z-index: 2;
  bottom: 50%;
  left: 50%;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(239, 255, 0, 0.3);
  transform-origin: 50% 100%;
}
.clock-hand.hour { width: 4px; height: 26%; transform: translateX(-50%) rotate(-52deg); }
.clock-hand.minute { width: 2px; height: 36%; transform: translateX(-50%) rotate(48deg); animation: minuteMove 90s linear infinite; }
.clock-pin {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid #292710;
  border-radius: 50%;
  background: #726e27;
  transform: translate(-50%, -50%);
}

.phone {
  position: relative;
  width: 315px;
  height: 640px;
  padding: 10px;
  border-radius: 48px;
  background: linear-gradient(135deg, #54545a, #0c0c0d 22%, #020202 78%, #6d6d72);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}
.phone::before { position: absolute; inset: 1px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 47px; content: ""; pointer-events: none; }
.phone__island { position: absolute; z-index: 3; top: 20px; left: 50%; width: 92px; height: 25px; border-radius: 99px; background: #000; transform: translateX(-50%); }
.phone__screen { height: 100%; overflow: hidden; padding: 25px 17px 17px; border-radius: 40px; background: linear-gradient(160deg, #070707, #010101); }
.phone__top { display: flex; justify-content: space-between; margin: 2px 3px 30px; font-size: 0.72rem; font-weight: 700; }
.phone__title { display: flex; align-items: center; justify-content: space-between; margin: 0 5px 18px; color: var(--yellow); }
.phone__alarm { display: flex; align-items: flex-start; justify-content: space-between; padding: 17px; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(145deg, #18181a, #101012); }
.phone__alarm small, .phone__alarm p { color: var(--yellow); }
.phone__alarm strong { display: block; margin: 7px 0; color: var(--yellow); font-size: 2.3rem; line-height: 1.1; }
.phone__alarm p { margin: 0; font-size: 0.68rem; }
.phone-switch { position: relative; width: 38px; height: 22px; border-radius: 20px; background: var(--yellow); }
.phone-switch::after { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; background: #1a1a1a; content: ""; }
.phone-label { display: block; margin: 22px 4px 10px; color: var(--muted); }
.phone-list { display: grid; gap: 8px; }
.phone-list span { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 14px; background: #151517; font-size: 0.78rem; }
.phone-list svg { color: var(--yellow); }
.phone__nav { position: absolute; right: 17px; bottom: 19px; left: 17px; display: flex; justify-content: space-around; padding: 14px 0 5px; border-top: 1px solid var(--line); background: rgba(8, 8, 8, 0.94); }
.phone__nav span { display: grid; place-items: center; gap: 3px; color: var(--muted); font-size: 0.56rem; }
.phone__nav span:first-child { color: var(--yellow); }

.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr); gap: 34px; align-items: end; margin-bottom: 42px; }
.section-heading h2 { max-width: 16ch; margin: 0; }
.section-heading > p:not(.eyebrow) { max-width: 58ch; margin: 0; color: var(--muted); }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -20px; }
.split-layout { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.split-layout .section-heading { display: block; margin: 0; }
.split-layout .section-heading p { margin-top: 20px; }

.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.comparison-card { min-height: 310px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.comparison-card.accent { border-color: rgba(239, 255, 0, 0.3); background: linear-gradient(145deg, rgba(239, 255, 0, 0.055), #141416 46%); }
.comparison-screen { display: grid; gap: 10px; }
.comparison-screen strong { margin: 16px 0; font-size: 3.2rem; font-weight: 500; }
.comparison-screen button { min-height: 48px; border: 1px solid var(--line); border-radius: 14px; background: #1a1a1d; color: var(--muted); }
.comparison-steps { display: grid; gap: 10px; margin-top: 20px; }
.comparison-steps span { display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: #1a1a1d; }
.comparison-steps svg { color: var(--yellow); }

.constructor-demo { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr); gap: 18px; }
.constructor-editor, .scenario-preview { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.switch { position: relative; width: 54px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: #2a2a2e; cursor: pointer; }
.switch span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--muted); transition: transform 0.2s ease, background 0.2s ease; }
.switch--on { border-color: var(--yellow); background: rgba(239, 255, 0, 0.16); }
.switch--on span { background: var(--yellow); transform: translateX(24px); }
.scenario-chain { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.scenario-chain li { display: grid; grid-template-columns: 32px 34px 1fr; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: #19191c; }
.scenario-chain b { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: rgba(239, 255, 0, 0.1); color: var(--yellow); font-size: 0.8rem; }
.scenario-chain svg, .preview-step svg { color: var(--yellow); }
.preview-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; padding: 16px; border-radius: 18px; background: #19191c; }
.preview-top strong { color: var(--yellow); font-size: 2.3rem; font-weight: 500; }
.preview-top button { display: grid; width: 48px; height: 48px; place-items: center; border: 0; border-radius: 50%; background: var(--yellow); color: #050505; cursor: pointer; }
.preview-step { display: grid; grid-template-columns: 44px 64px 1fr; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.preview-step svg { width: 32px; height: 32px; padding: 6px; border: 1px solid rgba(239, 255, 0, 0.2); border-radius: 11px; background: rgba(239, 255, 0, 0.04); }
.preview-step b { font-size: 0.84rem; }
.preview-step span { color: var(--muted); }
.shuffle-badge { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--yellow); font-size: 0.82rem; font-weight: 800; }

.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mode-grid--focused { margin-top: 18px; }
.mode-card { min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.mode-card.accent { border-color: rgba(239, 255, 0, 0.32); background: linear-gradient(145deg, rgba(239, 255, 0, 0.06), #141416 50%); }
.mode-card > svg { width: 34px; height: 34px; color: var(--yellow); }
.mode-card h3 { margin: 24px 0 12px; }
.mode-card p { max-width: 54ch; margin: 0; color: var(--muted); }
.showcase-frame { margin-top: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #0c0c0d; box-shadow: var(--shadow); }
.showcase-frame img { width: 100%; }

.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.security-grid article { display: flex; min-height: 130px; align-items: flex-end; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.security-grid article svg { flex: 0 0 auto; color: var(--yellow); }
.security-grid article span { font-weight: 700; }

.download-focus { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr); gap: clamp(38px, 7vw, 100px); align-items: center; }
.download-focus__copy p:not(.eyebrow) { max-width: 58ch; color: var(--muted); }
.release-card { padding: 26px; border: 1px solid rgba(239, 255, 0, 0.2); border-radius: 28px; background: linear-gradient(145deg, rgba(239, 255, 0, 0.045), #111113 45%); box-shadow: var(--shadow); }
.release-head { display: flex; align-items: center; justify-content: space-between; color: var(--yellow); font-weight: 800; }
.release-meta { display: grid; margin: 24px 0; }
.release-meta > div { display: flex; justify-content: space-between; gap: 25px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.release-meta dt { color: var(--muted); }
.release-meta dd { margin: 0; text-align: right; }
.release-meta .hash { display: block; }
.release-meta .hash dd { margin-top: 8px; color: #c7c7cb; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.74rem; text-align: left; word-break: break-all; }

.faq-section { display: grid; grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr); gap: clamp(32px, 7vw, 100px); align-items: start; }
.faq-section .section-heading { display: block; position: sticky; top: 110px; margin: 0; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.faq-item h3 { margin: 0; font-size: 1rem; }
.faq-item button { display: flex; width: 100%; min-height: 64px; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.faq-item button svg { flex: 0 0 auto; color: var(--yellow); transition: transform 0.2s ease; }
.faq-item.open button svg { transform: rotate(180deg); }
.faq-answer { padding: 0 18px 18px; }
.faq-answer p { margin: 0; color: var(--muted); }

.final-cta { padding-top: 40px; }
.final-cta__card { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: clamp(28px, 5vw, 62px); border: 1px solid rgba(239, 255, 0, 0.25); border-radius: 30px; background: radial-gradient(circle at 90% 20%, rgba(239, 255, 0, 0.1), transparent 22rem), var(--card); }
.final-cta__card h2 { max-width: 16ch; margin: 0; }
.final-cta__card .button { flex: 0 0 auto; }

.site-footer { padding: 70px 0 28px; border-top: 1px solid var(--line); background: #030303; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 42px; }
.footer-grid > div { display: grid; align-content: start; justify-items: start; gap: 8px; }
.footer-grid p, .footer-grid a { margin: 0; color: var(--muted); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--text); }
.footer-grid b { margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--inactive); font-size: 0.78rem; }

.install-steps { display: grid; gap: 11px; margin: 30px 0 0; padding: 0; list-style: none; }
.install-steps li { display: grid; grid-template-columns: 40px 30px 1fr; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.install-steps b, .install-steps svg { color: var(--yellow); }
.maker-grid { display: grid; gap: 9px; }
.maker-grid details { padding: 0 17px; border: 1px solid var(--line); border-radius: 15px; background: var(--card); }
.maker-grid summary { padding: 16px 0; cursor: pointer; font-weight: 700; }
.maker-grid p { color: var(--muted); }
.legal-page .legal-intro { color: var(--muted); font-size: 1.15rem; }
.legal-page section { margin-top: 42px; }
.legal-page section h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
.legal-page section p { color: #b8b8bd; }
.error-page, .loading-page { display: grid; min-height: 100svh; place-items: center; align-content: center; gap: 16px; padding: 90px 20px; text-align: center; }
.error-page h1 { margin: 0 auto; }
.loading-ring { width: 50px; height: 50px; border: 3px solid #242427; border-top-color: var(--yellow); border-radius: 50%; animation: spin 1s linear infinite; }
.mobile-sticky { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes clockBreath { 50% { box-shadow: inset 0 0 50px rgba(239, 255, 0, 0.06), 0 0 65px rgba(239, 255, 0, 0.2); } }
@keyframes minuteMove { to { transform: translateX(-50%) rotate(408deg); } }

@media (max-width: 1023px) {
  .desktop-nav { display: none; }
  .menu-button { display: grid; }
  .hero { min-height: auto; padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy h1, .hero-copy p { margin-right: auto; margin-left: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { width: 100%; max-width: 680px; min-height: 680px; margin: auto; }
  .hero-clock { left: 3%; }
  .hero-phone { right: 10%; }
  .split-layout, .download-focus { grid-template-columns: 1fr; gap: 36px; }
  .section-heading { grid-template-columns: 1fr; }
  .constructor-demo { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-section { grid-template-columns: 1fr; }
  .faq-section .section-heading { position: static; }
}

@media (max-width: 767px) {
  .container { width: min(100% - 32px, 1280px); }
  .section { padding: 76px 0; }
  .site-header { height: 66px; }
  .header-download { min-height: 42px; padding: 0 16px; }
  .page-main--compact { padding-top: 66px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4.3rem); }
  .hero { padding-top: 92px; }
  .hero-grid { display: block; }
  .hero-mobile-clock { display: grid; place-items: center; margin: 0 auto 24px; }
  .hero-mobile-clock .analog-clock { width: min(76vw, 320px); }
  .hero-clock { display: none; }
  .hero-copy .eyebrow { display: none; }
  .hero-description { font-size: 1.02rem; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; min-height: 54px; }
  .trust-row { display: grid; justify-items: start; margin-top: 24px; text-align: left; }
  .hero-visual { min-height: 600px; margin-top: 35px; }
  .hero-phone { position: relative; right: auto; bottom: auto; transform: none; }
  .floating-step { display: none; }
  .phone { width: min(87vw, 315px); }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { max-width: 14ch; }
  .comparison, .mode-grid { grid-template-columns: 1fr; }
  .comparison-card { min-height: 0; }
  .mode-card { min-height: 0; }
  .showcase-frame { margin-inline: -16px; border-radius: 18px; }
  .security-grid { grid-template-columns: 1fr; }
  .security-grid article { min-height: 100px; }
  .download-focus { gap: 28px; }
  .release-card { padding: 20px; }
  .release-meta > div { display: block; }
  .release-meta dd { margin-top: 5px; text-align: left; }
  .final-cta__card { display: grid; }
  .final-cta__card .button { width: 100%; min-height: 54px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { display: grid; gap: 4px; }
  .install-steps li { grid-template-columns: 31px 25px 1fr; }
  .mobile-sticky {
    position: fixed;
    z-index: 80;
    right: 16px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    left: 16px;
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translateY(22px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .mobile-sticky.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
}

@media (max-width: 479px) {
  .container { width: min(100% - 28px, 1280px); }
  .header-download { padding: 0 13px; font-size: 0.8rem; }
  .brand > span:last-child { display: none; }
  .comparison-card { padding: 18px; }
  .constructor-editor, .scenario-preview { padding: 18px; }
  .preview-step { grid-template-columns: 42px 54px 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Legal center */
.footer-grid--legal { grid-template-columns: 1.1fr 0.65fr 1.25fr; }
.footer-owner small { color: var(--inactive); font-size: 0.78rem; line-height: 1.45; }
.footer-legal-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.footer-legal-links b { grid-column: 1 / -1; }

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: clamp(40px, 6vw, 92px);
}
.legal-article { min-width: 0; max-width: 850px; }
.legal-header { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.legal-header h1 { max-width: 820px; margin-bottom: 20px; }
.legal-page .legal-intro { max-width: 760px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.75; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; color: var(--inactive); font-size: 0.82rem; }
.legal-article > section { margin-top: 46px; scroll-margin-top: 100px; }
.legal-article section h2 { margin-bottom: 16px; font-size: clamp(1.35rem, 2.7vw, 1.9rem); line-height: 1.2; }
.legal-article section p,
.legal-article section li { color: #bdbdc3; line-height: 1.75; }
.legal-article section p { margin: 0 0 14px; }
.legal-article section ul,
.legal-article section ol { display: grid; gap: 10px; margin: 0; padding-left: 1.3rem; }
.legal-article section li::marker { color: var(--accent); font-weight: 700; }
.legal-note { margin-top: 18px; padding: 18px 20px; border: 1px solid rgba(239,255,0,.18); border-radius: 18px; background: rgba(239,255,0,.04); color: #d8d8dc; line-height: 1.65; }
.legal-sidebar { position: sticky; top: 96px; display: grid; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.legal-sidebar nav { display: grid; gap: 5px; }
.legal-sidebar nav a { padding: 10px 12px; border-radius: 12px; color: var(--muted); font-size: 0.9rem; line-height: 1.35; }
.legal-sidebar nav a:hover { background: rgba(255,255,255,.04); color: var(--text); }
.legal-sidebar nav a[aria-current="page"] { background: rgba(239,255,0,.1); color: var(--accent); }
.legal-support { display: inline-flex; justify-content: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 0.88rem; }
.legal-contacts { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.legal-contacts dl { display: grid; gap: 0; margin: 0; }
.legal-contacts dl div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); }
.legal-contacts dl div:first-child { border-top: 0; }
.legal-contacts dt { color: var(--inactive); }
.legal-contacts dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.legal-contacts a { color: var(--accent); }

/* Compact analytics notice */
.analytics-consent {
  position: fixed;
  z-index: 1000;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(680px, calc(100vw - 36px));
  padding: 16px 16px 16px 20px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 20px;
  background: rgba(20,20,22,.96);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
}
.analytics-consent p { margin: 0; color: #c9c9ce; font-size: 0.9rem; line-height: 1.55; }
.analytics-consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent__button { flex: 0 0 auto; min-width: 74px; min-height: 46px; padding-inline: 20px; }

@media (max-width: 900px) {
  .footer-grid--legal { grid-template-columns: 1fr 1fr; }
  .footer-owner { grid-column: 1 / -1; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; order: -1; }
  .legal-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .footer-grid--legal { grid-template-columns: 1fr; }
  .footer-owner { grid-column: auto; }
  .footer-legal-links { grid-template-columns: 1fr; }
  .legal-page { padding-top: 34px; }
  .legal-sidebar nav { grid-template-columns: 1fr; }
  .legal-contacts dl div { grid-template-columns: 1fr; gap: 4px; }
  .analytics-consent { left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; width: auto; }
  .analytics-consent__button { width: 100%; }
}

/* Download platform flow */
.button--ghost { background: transparent; color: var(--text); }
.button--ghost:hover:not(:disabled) { border-color: rgba(239, 255, 0, 0.38); background: rgba(255,255,255,0.03); }

.download-modal-backdrop {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
}
.download-modal-backdrop[hidden] { display: none; }
.download-modal {
  position: relative;
  width: min(100%, 680px);
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid rgba(239, 255, 0, 0.24);
  border-radius: 30px;
  background: radial-gradient(circle at 90% 10%, rgba(239, 255, 0, 0.08), transparent 18rem), #101012;
  box-shadow: var(--shadow);
}
.download-modal h2 { max-width: 12ch; margin-right: 48px; font-size: clamp(2rem, 5vw, 3.4rem); }
.download-modal > p:not(.eyebrow) { color: var(--muted); }
.download-modal__close { position: absolute; top: 18px; right: 18px; }
.download-modal__note { margin: 20px 0 0; font-size: 0.9rem; }

.platform-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.platform-choice-grid--page { margin-top: 40px; }
.platform-choice-card {
  display: flex;
  min-height: 128px;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.platform-choice-card:hover { transform: translateY(-3px); border-color: rgba(239, 255, 0, 0.4); }
.platform-choice-card--android { background: linear-gradient(145deg, rgba(239, 255, 0, 0.07), #141416 55%); }
.platform-choice-card__icon {
  display: grid;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 17px;
  background: var(--yellow);
  color: #050505;
}
.platform-choice-card__icon svg { width: 29px; height: 29px; }
.platform-choice-card__icon--ios { font-size: 2rem; line-height: 1; }
.platform-choice-card span:last-child { display: grid; gap: 4px; }
.platform-choice-card b { font-size: 1.1rem; }
.platform-choice-card small { color: var(--muted); }

.platform-page h1 { max-width: 12ch; }
.platform-page__lead { max-width: 68ch; color: #c2c2c7; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.download-page-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr); gap: clamp(36px, 7vw, 88px); align-items: start; }
.install-steps--download { margin-bottom: 24px; }
.release-card--download { position: sticky; top: 104px; }
.release-card__fineprint, .waitlist-card__fineprint { margin: 15px 0; color: var(--muted); font-size: 0.82rem; }
.security-note { display: flex; gap: 15px; padding: 20px; border: 1px solid rgba(239,255,0,0.18); border-radius: 18px; background: rgba(239,255,0,0.035); }
.security-note > svg { flex: 0 0 auto; color: var(--yellow); }
.security-note p { margin: 6px 0 0; color: var(--muted); }
.install-download-button { margin-top: 24px; }

.ios-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 0.85fr); gap: clamp(36px, 7vw, 88px); align-items: start; }
.ios-page-grid > div > p:not(.eyebrow) { max-width: 66ch; color: #b9b9be; }
.ios-page__legal-note { max-width: 66ch; margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.ios-page__legal-note p { margin: 7px 0 0; color: var(--muted); }
.waitlist-card { padding: clamp(24px, 4vw, 34px); border: 1px solid rgba(239,255,0,0.22); border-radius: 28px; background: linear-gradient(145deg, rgba(239,255,0,0.05), #111113 50%); box-shadow: var(--shadow); }
.waitlist-card h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.waitlist-form { display: grid; gap: 16px; margin-top: 24px; }
.waitlist-step { display: grid; gap: 14px; }
.field-label { font-weight: 800; }
.waitlist-form input[type="email"], .waitlist-form input[type="text"] {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 15px;
  background: #09090a;
  color: var(--text);
  outline: none;
}
.waitlist-form input:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(239,255,0,0.12); }
.waitlist-form input[aria-invalid="true"] { border-color: var(--danger); }
.code-input { text-align: center; font-size: 1.45rem; font-weight: 900; letter-spacing: 0.32em; }
.consent-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: #bdbdc2; font-size: 0.86rem; line-height: 1.48; }
.consent-check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--yellow); }
.consent-check a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.waitlist-code-hint { margin: 0; color: var(--muted); }
.form-status { min-height: 1.6em; margin: 0; color: var(--muted); font-size: 0.9rem; }
.form-status[data-kind="error"] { color: #ff827b; }
.form-status[data-kind="success"] { color: var(--yellow); }
.waitlist-form[aria-busy="true"] button { opacity: 0.55; pointer-events: none; }

@media (max-width: 1023px) {
  .download-page-grid, .ios-page-grid { grid-template-columns: 1fr; }
  .release-card--download { position: static; }
}

@media (max-width: 767px) {
  .download-modal-backdrop { align-items: end; padding: 0; }
  .download-modal { width: 100%; padding: 26px 18px calc(22px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; }
  .platform-choice-grid { grid-template-columns: 1fr; }
  .platform-choice-card { min-height: 102px; }
  .download-page-grid, .ios-page-grid { gap: 30px; }
  .waitlist-card { padding: 21px; }
}
