/* OmniDial. Colors come from the app: icon navy, onboarding wallpaper, call green, the violet and lilac of the style demo. */
:root {
  --navy: #010513;
  --wall-top: #223a63;
  --wall-bottom: #0b1424;
  --green: #2fb863;
  --violet: #b69cff;
  --violet-ink: #5b2fd0;
  --lilac: #f4eeff;
  --ink: #17132b;
  --muted-on-light: #514b6b;
  --on-dark: #f3f5fb;
  --muted-on-dark: #b3bdd6;
  --line-dark: rgba(255, 255, 255, .12);
  --radius: 26px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--navy); color: var(--on-dark); font: 17px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--violet-ink); }

h1, h2 { font-weight: 800; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em; }
h1 span, h2 span { background: linear-gradient(92deg, var(--violet), #7fd8ff 55%, #6fe39b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34em; text-wrap: pretty; }
.dark .lead, .dark .rail-sub { color: var(--muted-on-dark); }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
section { padding: clamp(64px, 9vw, 120px) 0; }
.light { background: var(--lilac); color: var(--ink); }
.light .lead, .light p { color: var(--muted-on-light); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(1, 5, 19, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-dark); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; text-decoration: none; }
.brand img { border-radius: 50%; box-shadow: 0 0 0 1px var(--line-dark); }
.top nav { display: flex; gap: 30px; font-size: .95rem; }
.top nav a { text-decoration: none; color: var(--muted-on-dark); padding: 8px 0; }
.top nav a:hover { color: #fff; }
.badge { display: inline-block; border-radius: 9px; flex: none; transition: transform .2s; }
.badge:hover { transform: translateY(-2px); }
.badge img { width: 200px; height: auto; }
.badge.small img { width: 135px; }

/* Hero */
.hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 80px; background: radial-gradient(70% 70% at 74% 38%, var(--wall-top), transparent 70%), linear-gradient(180deg, var(--navy), var(--wall-bottom)); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.hero-copy { display: grid; justify-items: start; gap: 24px; }
.hero .note { color: var(--muted-on-dark); font-size: .95rem; }
.hero .note::before { content: ""; display: inline-block; margin-right: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(47, 184, 99, .18); }
.hero-demo { display: grid; justify-items: center; gap: 4px; }
.hero-demo .demo { --phone: min(340px, 78vw, calc((100svh - 250px) * .5)); }
.picker { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; width: min(440px, 100%); margin-top: 8px; }
.picker button { background: none; border: 2px solid transparent; border-radius: 15px; padding: 2px; transition: transform .2s, border-color .2s; }
.picker button:hover { transform: translateY(-3px); }
.picker button[aria-pressed="true"] { border-color: var(--violet); transform: translateY(-3px); }
.picker img { width: 100%; height: auto; border-radius: 27%; }

/* Phone frame */
.demo { --phone: min(340px, 78vw); display: grid; justify-items: center; gap: 10px; width: 100%; }
.device { width: max(var(--phone), 232px); padding: 9px; border-radius: 42px; background: linear-gradient(145deg, #3a4560, #10162a 40%, #222b44); box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .1), 0 0 90px -20px rgba(130, 150, 255, .35); }
.screen { position: relative; aspect-ratio: 360 / 715; overflow: hidden; border-radius: 33px; background: #f9f9ff; }
.screen > img { width: 100%; height: 100%; object-fit: cover; }
.pause { background: none; border: 0; font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; opacity: .75; padding: 8px 12px; }
.pause:hover { opacity: 1; }

.canvas { position: absolute; left: 0; top: 0; width: 360px; height: 715px; transform-origin: 0 0; transform: scale(var(--s, 1)); font-family: Roboto, system-ui, sans-serif; line-height: 1.25; text-align: left; user-select: none; }
.canvas svg { fill: none; }
.canvas img, .canvas svg { max-width: none; }

/* The dialer */
.dialer { --bg: #f9f9ff; --text: #1a1b20; --letters: #44474f; --key: transparent; --side: #e8e7ee; --side-icon: #44474f; --accent: #445e91; --ring: #d8dae8;
  position: absolute; inset: 0; background: var(--bg); color: var(--text); overflow: hidden; }
.dialer > * { position: absolute; }
.d-title { left: 16px; top: 15px; font-size: 20px; display: flex; align-items: center; gap: 12px; color: var(--text); }
.d-chip { font-size: 13px; display: flex; align-items: center; gap: 4px; }
.d-chip i { width: 15px; height: 10px; background: linear-gradient(90deg, #fff 27%, #01411c 27%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
.d-chip b { font-size: 9px; }
.d-icon svg, .d-side svg { width: 100%; height: 100%; }
.d-number { left: 40px; right: 40px; top: 118px; height: 38px; text-align: center; font-size: 30px; font-variant-numeric: tabular-nums; }
.d-back { opacity: 0; color: var(--side-icon); }
.d-back.on { opacity: 1; }
.d-paste { left: 50%; top: 172px; transform: translate(-50%, 6px) scale(.9); display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 16px; border-radius: 20px; background: #d8e2ff; color: #001a41; font-size: 13px; opacity: 0; transition: opacity .25s, transform .25s; }
.d-paste.on { opacity: 1; transform: translate(-50%, 0); }
.d-paste svg { width: 16px; height: 16px; }
.d-key { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--key); transition: background .12s; }
.d-key b { font-weight: 400; font-size: 27px; line-height: 1.1; }
.d-key small { font-size: 9px; letter-spacing: .1em; color: var(--letters); height: 11px; }
.d-key.pressed { background: rgba(68, 94, 145, .2); }
.d-side { display: grid; place-items: center; border-radius: 50%; background: var(--side); color: var(--side-icon); padding: 11px; }
.d-main { padding: 4px; border: 0; border-radius: 50%; background: var(--ring); z-index: 2; }
.d-main img, .d-app img { width: 100%; height: 100%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12); }
.d-row { left: 0; top: 625px; width: 0; height: 72px; z-index: 2; }
.d-app { position: absolute; top: 0; width: 72px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--text); }
.d-app img { width: 40px; height: 40px; flex: none; }
.d-app span { font-size: 10.5px; text-align: center; line-height: 1.15; }
.d-main[aria-hidden], .d-app[aria-hidden] { cursor: default; }
.canvas .selected img { outline: 3px solid var(--accent); outline-offset: 3px; }
.canvas .d-main.selected img { outline-offset: 6px; }
.canvas button:focus-visible { outline: 3px solid var(--violet-ink); }
/* The keypad steps back so the apps are the choice. */
.d-key, .d-side { transition: opacity .45s, background .12s; }
.hot .d-key, .hot .d-side { opacity: .22; }
.d-glow { left: 8px; top: 608px; width: 344px; height: 92px; border-radius: 28px; background: rgba(68, 94, 145, .13); opacity: 0; transition: opacity .45s; }
.hot .d-glow { opacity: 1; }

/* Style beats, each on top of the previous ones */
.look-surfaces { --bg: #f4eeff; --text: #2a1b4d; --letters: #6a5a9c; }
.look-accent { --side-icon: #6d3fe0; }
.look-accent .d-main { box-shadow: 0 0 0 3px #6d3fe0; }
.look-accent .d-side { box-shadow: 0 0 0 2px #6d3fe0; }
.look-accent .d-app img { box-shadow: 0 0 0 2px #6d3fe0; }
.look-shadows .d-key { background: #e4d9fa; box-shadow: 0 4px 8px rgba(42, 27, 77, .24); transform: scale(.96); }
.look-shadows .d-main { box-shadow: 0 0 0 3px #6d3fe0, 0 10px 18px rgba(42, 27, 77, .45); }
.look-shadows .d-side { box-shadow: 0 0 0 2px #6d3fe0, 0 5px 10px rgba(42, 27, 77, .3); }
.look-shadows .d-app img { box-shadow: 0 0 0 2px #6d3fe0, 0 5px 10px rgba(42, 27, 77, .3); }

/* Touches */
.touches { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.touches > * { position: absolute; }
.finger { border-radius: 50%; background: rgba(26, 27, 32, .28); border: 2px solid rgba(255, 255, 255, .85); opacity: 0; transition: opacity .12s; }
.finger.on { opacity: 1; }
.ring { border-radius: 50%; border: 5px solid #445e91; opacity: 0; }
.hold { opacity: 0; }
.hold.on { opacity: 1; }
.canvas .hold svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hold circle { stroke: #6d3fe0; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }

/* What each tap leads to: drawn stand-ins in each app's colors, as in the app */
.outcome { --head: #fff; --head-text: #1f1f1f; --body: #fff; --out-text: #1f1f1f; --bubble: #1a73e8; --bubble-text: #fff; --field: #eef1f6; --send: #1a73e8;
  position: absolute; inset: 0; z-index: 4; transform: translateX(100%); background: var(--body); color: var(--out-text); }
.app-whatsapp, .app-whatsappBusiness { --head: #008069; --head-text: #fff; --body: #efe7de; --out-text: #111b21; --bubble: #d9fdd3; --bubble-text: #111b21; --field: #fff; --send: #00a884; }
.app-telegram { --head: #3b8fd6; --head-text: #fff; --body: #d5e3ef; --out-text: #0f1a24; --bubble: #effdde; --bubble-text: #0f1a24; --field: #fff; --send: #3390ec; }
.app-signal { --bubble: #3a76f0; --field: #eef0f4; --send: #3a76f0; }
.app-zoom { --bubble: #0b5cff; --send: #0b5cff; }
.outcome .chat-bar { height: 104px; display: flex; align-items: center; gap: 12px; padding: 40px 12px 0 14px; background: var(--head); color: var(--head-text); }
.outcome .chat-bar > svg { width: 24px; height: 24px; flex: none; }
.outcome .face { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--head-text) 22%, transparent); }
.outcome .face svg { width: 24px; height: 24px; }
.outcome .chat-bar > div:nth-of-type(2) { flex: 1; min-width: 0; }
.outcome .chat-bar strong { display: block; font-size: 19px; font-weight: 500; }
.outcome .chat-bar span { display: block; font-size: 13px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.outcome .chat-bar img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--head-text) 55%, transparent); background: #fff; }
.bubble { position: absolute; right: 18px; bottom: 100px; padding: 11px 18px; border-radius: 18px 18px 4px 18px; background: var(--bubble); color: var(--bubble-text); font-size: 20px; opacity: 0; transform: translateY(24px) scale(.92); transition: .38s cubic-bezier(.4, 0, .2, 1); }
.bubble.sent { opacity: 1; transform: none; }
.outcome .composer { position: absolute; left: 12px; right: 12px; bottom: 24px; display: flex; gap: 10px; }
.outcome .field { flex: 1; height: 52px; border-radius: 26px; background: var(--field); display: flex; align-items: center; padding: 0 20px; font-size: 18px; }
.outcome .field span { opacity: .5; }
.outcome .field i { width: 2px; height: 24px; margin-left: 2px; background: var(--send); }
.outcome .send { width: 52px; height: 52px; border-radius: 50%; background: var(--send); color: #fff; display: grid; place-items: center; }
.outcome .send svg { width: 24px; height: 24px; }
.outcome.call { background: #1f2124; color: #fff; display: flex; flex-direction: column; align-items: center; padding-top: 150px; }
.call .avatar { position: relative; width: 120px; height: 120px; border-radius: 50%; background: #3c4043; color: #9aa0a6; display: grid; place-items: center; }
.call .avatar svg { width: 64px; height: 64px; }
.call .avatar::before, .call .avatar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid #8ab4f8; animation: ripple .9s linear infinite; }
.call .avatar::after { animation-delay: -.45s; }
.call strong { margin-top: 30px; font-size: 30px; font-weight: 400; }
.call span { margin-top: 8px; font-size: 18px; color: #bdc1c6; }
.call small { margin-top: 4px; font-size: 14px; color: #9aa0a6; }
.call .end { position: absolute; bottom: 90px; width: 72px; height: 72px; border-radius: 50%; background: #d93025; display: grid; place-items: center; }
.call .end svg { width: 34px; height: 34px; transform: rotate(135deg); }
.is-paused .avatar::before, .is-paused .avatar::after { animation-play-state: paused; }
@keyframes ripple { from { transform: scale(1); opacity: .7; } to { transform: scale(1.9); opacity: 0; } }

/* Home screens */
.home { position: absolute; inset: 0; background: linear-gradient(var(--wall-top), var(--wall-bottom)); color: #fff; overflow: hidden; }
.keep.home { padding: 0; }
.home .search { position: absolute; left: 32px; top: 76px; width: 296px; height: 46px; border-radius: 23px; background: rgba(255, 255, 255, .12); }
.home .search i { position: absolute; left: 20px; top: 15px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); }
.home .dot { position: absolute; top: 552px; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .32); }
.home .dot:nth-of-type(1) { background: rgba(255, 255, 255, .85); }
.dock { position: absolute; left: 40px; top: 590px; width: 280px; height: 96px; border-radius: 36px; background: rgba(255, 255, 255, .13); transition: background .3s; }
.dock.landed { background: rgba(255, 255, 255, .25); }
.ripples { position: absolute; inset: 0; }
.ripple { position: absolute; border-radius: 50%; border: 4px solid #fff; opacity: 0; }
.shortcut { position: absolute; left: 0; top: 0; width: 72px; height: 72px; z-index: 1; }
.shortcut.phone { z-index: 2; }
.shortcut.omnidial { z-index: 3; }
.shortcut img { width: 72px; height: 72px; border-radius: 50%; background: #fff; box-shadow: 0 calc(var(--lift, 0) * 12px) calc(var(--lift, 0) * 20px) rgba(0, 0, 0, .45); }
.shortcut.omnidial img { background: #010513; box-shadow: 0 0 0 13px rgba(255, 255, 255, .15), 0 calc(var(--lift, 0) * 12px) 20px rgba(0, 0, 0, calc(var(--lift, 0) * .45)); }
.shortcut span { position: absolute; left: -12px; top: 80px; width: 96px; text-align: center; font-size: 12px; }
.shortcut b { position: absolute; right: -2px; top: -2px; width: 25px; height: 25px; border-radius: 50%; background: var(--green); border: 2.5px solid #14233f; display: grid; place-items: center; opacity: 0; transform: scale(0); }
.shortcut b svg { width: 14px; height: 14px; color: #fff; }

.launcher.home { z-index: 4; visibility: hidden; opacity: 0; display: grid; grid-template-columns: repeat(4, 1fr); align-content: start; gap: 34px 0; padding: 170px 10px 0; }
.launcher figure { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.launcher img, .launcher .slot, .launcher .slot svg { width: 66px; height: 66px; border-radius: 50%; }
.launcher img { background: #fff; }
.launcher .slot { box-shadow: 0 0 0 12px rgba(255, 255, 255, .14); }
.launcher .slot svg { fill: initial; animation: pop .38s cubic-bezier(.3, 1.5, .5, 1); }
.launcher figcaption { font-size: 12px; max-width: 82px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

/* The app order sheet */
.sheet { position: absolute; left: 16px; top: 262px; width: 328px; height: 292px; z-index: 3; border-radius: 24px; background: #e9e7ef; color: #1a1b20; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); opacity: 0; transform: translateY(460px); }
.sheet h4 { padding: 18px 24px 0; font-size: 18px; }
.sheet-row { position: absolute; left: 0; top: 0; width: 100%; height: 56px; display: flex; align-items: center; gap: 16px; padding: 0 24px; border-radius: 16px; transition: transform .35s cubic-bezier(.3, 1.2, .5, 1), box-shadow .22s, background .22s; }
.sheet-row.lifted { z-index: 2; background: #fff; box-shadow: 0 10px 22px rgba(0, 0, 0, .25); }
.sheet-row img { width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.sheet-row span { flex: 1; font-size: 16px; }
.sheet-row svg { width: 24px; height: 24px; color: #44474f; }

/* Supported apps */
.apps { background: linear-gradient(180deg, var(--wall-bottom), var(--navy)); }
.apps .lead { margin-top: 18px; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.app-grid li { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); transition: transform .25s, background .25s; }
.app-grid li:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .09); }
.app-grid img { width: 60px; height: 60px; border-radius: 17px; flex: none; }
.app-grid p { color: var(--muted-on-dark); font-size: .93rem; line-height: 1.4; margin-top: 4px; }
.fine { font-size: .82rem; opacity: .7; margin-top: 22px; }

/* Keep the apps you love */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.keep .split > div:first-child { display: grid; gap: 22px; }
.demo-column .demo { --phone: 320px; }
.demo-column .tip { min-height: 3.2em; max-width: 320px; text-align: center; font-weight: 700; color: var(--violet-ink); order: -1; opacity: 0; transition: opacity .5s; }
.demo-column .tip.on { opacity: 1; }
html:not(.js) .demo-column .tip { opacity: 1; }
.home-shot { display: grid; gap: 12px; margin-top: 10px; }
.home-shot div { width: min(420px, 100%); aspect-ratio: 1.6; overflow: hidden; border-radius: var(--radius); box-shadow: 0 18px 40px -18px rgba(23, 19, 43, .5); }
.home-shot img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
.home-shot figcaption { font-size: .9rem; color: var(--muted-on-light); }

/* Style */
.style { background: radial-gradient(60% 34% at 75% 18%, #34226b, transparent 70%), var(--navy); }
.stats { display: grid; gap: 4px; margin-top: 34px; }
.stats div { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 18px; border-top: 1px solid var(--line-dark); padding: 14px 0; }
.stats dd { font-size: clamp(2.4rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; color: var(--violet); min-width: 2.1em; line-height: 1; }
.stats dt { color: var(--muted-on-dark); }
.style-demo { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 22px; }
.style-demo .demo { --phone: 300px; width: auto; }
.beats { display: grid; gap: 8px; }
.beats button { width: 100%; text-align: left; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line-dark); background: none; color: var(--muted-on-dark); font-size: .88rem; line-height: 1.35; transition: .25s; }
.beats button:hover { color: #fff; border-color: var(--violet); }
.beats button[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: #1d0b4d; font-weight: 700; }
html:not(.js) .beats { display: none; }
.beat-caption { display: none; }
.rail-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 90px; }
.rail-sub { margin-top: 8px; }
.rail { margin-top: 28px; }
.rail-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px max(20px, (100% - 1180px) / 2) 18px; scroll-padding-inline: max(20px, (100% - 1180px) / 2); scrollbar-width: thin; scrollbar-color: #3a4560 transparent; }
.rail figure { flex: 0 0 min(240px, 66vw); scroll-snap-align: start; }
.rail img { width: 100%; height: auto; border-radius: 24px; border: 5px solid #222b44; }
.rail figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted-on-dark); text-align: center; }
.rail-nav { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.rail-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .06); }
.rail-nav button:disabled { opacity: .3; cursor: default; }
.icon-wall { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.5vw, 18px); margin-top: 30px; }
.icon-wall svg { width: 100%; height: auto; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); transition: transform .2s; }
.icon-wall li:hover svg { transform: scale(1.18); }

/* Features */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.bento article { background: #fff; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.bento .wide { grid-column: span 2; }
.bento p { font-size: .96rem; }
.bento .tint-violet { background: var(--violet); }
.bento .tint-violet p { color: #25125c; }
.bento .tint-green { background: #d4f5e0; }
.logos { display: flex; gap: 12px; margin-top: auto; padding-top: 10px; }
.logos img { width: 48px; height: 48px; border-radius: 14px; }
.gestures { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: .92rem; margin-top: 4px; }
.gestures li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
kbd { font: 700 .78rem/1 system-ui, sans-serif; background: #fff; border-radius: 8px; padding: 7px 9px; box-shadow: 0 2px 0 rgba(23, 19, 43, .16); }
.privacy { margin-top: 16px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(26px, 4vw, 46px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; }
.privacy h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.03em; }
.privacy ul { display: grid; gap: 12px; }
.privacy li { display: flex; gap: 12px; color: #d6d2ea; }
.privacy li::before { content: "✓"; color: var(--green); font-weight: 800; }

/* FAQ, closing call and footer */
.narrow { max-width: 800px; }
.faq h2 { margin-bottom: 34px; }
details { border-bottom: 1px solid var(--line-dark); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 1.08rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--violet); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted-on-dark); padding: 0 40px 24px 0; }
.cta { text-align: center; background: radial-gradient(60% 90% at 50% 110%, var(--wall-top), transparent 70%), var(--navy); }
.cta .wrap { display: grid; justify-items: center; gap: 28px; }
.cta > .wrap > img { border-radius: 50%; box-shadow: 0 0 0 1px var(--line-dark), 0 0 60px rgba(140, 160, 255, .4); }
footer { border-top: 1px solid var(--line-dark); padding: 34px 0 44px; font-size: .9rem; color: var(--muted-on-dark); }
footer .wrap { display: grid; gap: 12px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; color: #fff; }
footer .fine { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }

/* Privacy policy */
.policy-head { padding: clamp(48px, 7vw, 88px) 0; background: radial-gradient(70% 120% at 74% 0%, var(--wall-top), transparent 70%), var(--navy); }
.policy-head h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); }
.policy-head p { margin-top: 24px; color: var(--muted-on-dark); overflow-wrap: anywhere; }
.policy-body { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 100px); }
.policy { overflow-wrap: break-word; }
.policy > * + * { margin-top: 16px; }
.policy > :first-child { margin-top: 0; }
.policy h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -.025em; margin-top: 56px; }
.policy h3 { margin-top: 32px; }
.policy ul { padding-left: 1.3em; list-style: disc; color: var(--muted-on-light); }
.policy li + li { margin-top: 8px; }
.policy li::marker { color: var(--violet-ink); }
.policy strong { color: var(--ink); }
.policy a { color: var(--violet-ink); text-underline-offset: 3px; }
.policy code { font-size: .88em; background: #fff; border-radius: 6px; padding: 2px 6px; color: var(--ink); overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; background: #fff; border-radius: var(--radius); }
.policy table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: .96rem; }
.policy th, .policy td { text-align: left; vertical-align: top; padding: 14px 20px; }
.policy td { color: var(--muted-on-light); border-top: 1px solid rgba(23, 19, 43, .12); }
.policy td:first-child { width: 34%; }
.policy td code { background: var(--lilac); padding-inline: 4px; white-space: nowrap; }

@media (max-width: 1000px) {
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .style .split { grid-template-columns: 1fr; }
  .style-demo { justify-content: center; grid-template-columns: auto minmax(0, 260px); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .icon-wall { grid-template-columns: repeat(8, 1fr); }
  .top nav { display: none; }
}

@media (max-width: 820px) {
  .hero { padding-top: 18px; }
  .hero .wrap, .keep .split { grid-template-columns: minmax(0, 1fr); }
  /* On phones the animation comes first, then the words. */
  .hero-demo { order: -1; }
  .hero-demo .demo { --phone: min(320px, 76vw, calc((100svh - 315px) * .5)); }
  .hero-copy { justify-items: center; text-align: center; gap: 20px; }
  .split { gap: 44px; }
  .demo-column, .style .style-demo { order: -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .app-grid { grid-template-columns: 1fr; gap: 10px; }
  .app-grid li { padding: 15px; gap: 15px; }
  .app-grid img { width: 50px; height: 50px; border-radius: 14px; }
  .style-demo { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .style-demo .demo { width: 100%; --phone: min(300px, 76vw); }
  .js .beat-caption { display: block; min-height: 3em; text-align: center; font-weight: 700; color: var(--violet); }
  .beats { display: flex; flex-wrap: wrap; justify-content: center; }
  .beats button { text-align: center; border-radius: 30px; padding: 9px 13px; }
  .bento { grid-template-columns: 1fr; }
  .bento .wide { grid-column: auto; }
  .gestures { grid-template-columns: 1fr; }
  .privacy { grid-template-columns: 1fr; }
  .icon-wall { grid-template-columns: repeat(6, 1fr); }
  .home-shot { justify-items: center; }
  .picker { gap: 1px; }
  .picker button { padding: 1px; border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html, .rail-track { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
