/* Slash landing page. One stylesheet for the page; the demo parts have their own files in /kit (loaded by site.js). */

:root {
  --blue: #0071e3; --blue-hover: #0077ed; --link-dark: #2997ff; --link-light: #0066cc;
  --ink: #1d1d1f; --paper: #f5f5f7; --gray: #86868b; --gray-light-bg: #6e6e73; --line: #d2d2d7;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: clamp(88px, 12vw, 164px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: #000; color: var(--paper); font: 400 17px/1.47 var(--font); letter-spacing: -.022em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, pre, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
.step em, .tile em { font-style: normal; font-weight: 600; color: inherit; }
code { font: .92em var(--mono); letter-spacing: 0; padding: .08em .34em; border-radius: 6px; background: rgba(120, 120, 128, .16); }
button { font: inherit; letter-spacing: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--link-dark); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible, .gray :focus-visible, .footer :focus-visible { outline-color: var(--blue); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none; transition: top .2s; }
.skip:focus { top: 60px; }

.wrap { width: min(1068px, 100% - 44px); margin-inline: auto; }
.wrap.narrow { width: min(860px, 100% - 44px); }

/* --- Small parts -------------------------------------------------------- */
.grad { background: linear-gradient(92deg, #2997ff 0%, #a972ff 48%, #ff6482 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.grad.cool { background-image: linear-gradient(92deg, #30d158 0%, #64d2ff 50%, #5e9bff 100%); }
.grad.warm { background-image: linear-gradient(92deg, #ffb340 0%, #ff6482 50%, #bf5af2 100%); }

.button { display: inline-block; padding: 12px 23px; border-radius: 980px; background: var(--blue); color: #fff; font-size: 17px; line-height: 1.24; text-decoration: none; white-space: nowrap; transition: background-color .2s; }
.button:hover { background: var(--blue-hover); }
.button:active { background: #006edb; }
.button.small { padding: 6px 14px; font-size: 13px; letter-spacing: -.01em; }
.more { color: var(--link-dark); font-size: 19px; text-decoration: none; white-space: nowrap; }
.more::after { content: "\203A"; display: inline-block; margin-left: .3em; font-size: 1.15em; line-height: 1; transition: transform .25s var(--ease); }
.more:hover { text-decoration: underline; }
.more:hover::after { transform: translateX(3px); }
.light .more, .gray .more { color: var(--link-light); }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; }

.key { display: inline-grid; place-items: center; min-width: 1.72em; height: 1.72em; padding: 0 .42em; margin: 0 .09em; vertical-align: .06em; border-radius: .4em; font: 600 .78em/1 var(--font); letter-spacing: 0; white-space: nowrap; color: #f5f5f7; background: linear-gradient(#3d3d41, #2b2b2e); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 1px 0 #000; }
.light .key, .gray .tile:not(.dark) .key, .faq .key { color: var(--ink); background: linear-gradient(#fff, #f3f3f5); box-shadow: inset 0 0 0 1px #d2d2d7, 0 1px 0 #c1c1c6; }

.eyebrow { margin-bottom: 14px; font-size: clamp(17px, 1.9vw, 21px); font-weight: 600; letter-spacing: -.01em; color: var(--gray); }
.eyebrow.dark { color: var(--gray-light-bg); }
.fine { margin-top: 16px; font-size: 12px; letter-spacing: -.01em; color: var(--gray); }
.caption { margin-top: 18px; text-align: center; font-size: 12px; letter-spacing: -.01em; color: var(--gray); }

/* Things that fade in when they scroll into view (only when JavaScript runs). */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* "?still" in the address turns all motion off (used for screenshots). */
html.still { scroll-behavior: auto; }
.still *, .still *::before, .still *::after { transition: none !important; animation: none !important; }

/* --- Navigation --------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 100; height: 48px; background: rgba(0, 0, 0, .8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.nav-inner { display: flex; align-items: center; gap: 28px; width: min(1024px, 100% - 44px); height: 100%; margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 9px; margin-right: auto; font-size: 19px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; color: #f5f5f7; }
.brand img { display: block; border-radius: 6px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { display: block; font-size: 13px; line-height: 48px; letter-spacing: -.01em; color: #d6d6d8; text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: #fff; }

/* --- Hero ---------------------------------------------------------------- */
.hero { padding: clamp(44px, 4.4vw, 64px) 0 clamp(72px, 9vw, 120px); text-align: center; background: #000; overflow: hidden; }
.hero .wrap { width: min(1320px, 100% - 44px); }
.hero .eyebrow { margin-bottom: 10px; }
.hero h1 { font-size: clamp(44px, 5.75vw, 84px); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.lead { max-width: 620px; margin: 18px auto 0; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.38; font-weight: 400; letter-spacing: -.015em; color: #a1a1a6; text-wrap: balance; }
.hero .actions { margin-top: 26px; }
.hero .fine { margin-top: 14px; }

.device-wrap { width: min(1120px, 100% - 24px, 132vh); margin: clamp(36px, 3.6vw, 52px) auto 0; }
.device { position: relative; padding: 0 7.26%; aspect-ratio: 10000 / 5793; }
.device-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.device.live .device-poster { display: none; }
.try { margin-top: clamp(30px, 4vw, 44px); font-size: 15px; letter-spacing: -.01em; color: var(--gray); }
.try strong { font-weight: 600; color: #f5f5f7; }
.try-narrow { display: none; }

/* The demo copies the real picker's grays. A few are too light to read easily at this size on the web,
   so the live demos use slightly darker ones (the pictures in the feature tiles keep the app's own). */
#hero-demo .slash-picker:not(.dark), #apps-demo .slash-picker:not(.dark) { --sp-alias: #6a6a6a; --sp-label: #6a6a6a; --sp-hint: #737373; --sp-footer-text: #6c6c6c; }
#hero-demo .chat.app-whatsapp:not(.dark), #apps-demo .chat.app-whatsapp:not(.dark) { --c-dim: #586872; --c-active-dim: #586872; }

/* The demo without the laptop, for phones: a chat window at its real size on a wallpaper. */
.compact-stage { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 28px; padding: 14px 10px 16px; background: #1a0b52 center / cover no-repeat; text-align: left; }
.compact-stage.wp-aurora { background-image: url("../img/wallpaper-aurora-1440.jpg"); }
.compact-stage.wp-lagoon { background-image: url("../img/wallpaper-lagoon-1440.jpg"); }
.compact-stage .mac-window { position: relative; flex: 1; min-height: 0; width: 100%; }
.compact-stage .chat-msgs { padding: 14px 12px 8px; }
.compact-stage .msg { max-width: 82%; }
.compact-stage .chat-compose { padding: 8px 10px 12px; gap: 9px; }
.compact-stage .chat-head { padding: 0 12px; }
.compact-stage .chat-head .traffic { margin-right: 4px; }
.compact-stage > .slash-picker { left: 50% !important; margin-left: -155px; }

/* --- Sections ------------------------------------------------------------ */
.section { padding: var(--pad) 0; }
.section.light { background: #fff; color: var(--ink); }
.section.gray { background: var(--paper); color: var(--ink); }
.section.dark { background: #000; color: var(--paper); }
.section h2, .cta h2 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 600; line-height: 1.07; letter-spacing: -.03em; text-wrap: balance; }
.section .wrap > h2, .section .wrap > .eyebrow, .section .wrap > .subhead { text-align: center; }
.subhead { max-width: 700px; margin: 20px auto 0; font-size: clamp(19px, 2vw, 21px); line-height: 1.42; letter-spacing: -.015em; color: #a1a1a6; text-wrap: pretty; }
.light .subhead, .gray .subhead { color: var(--gray-light-bg); }

/* The problem */
.statement { padding: clamp(40px, 6vw, 80px) 0 var(--pad); background: #000; }
.statement h2 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; color: #f5f5f7; text-wrap: balance; }
.big { margin-top: clamp(24px, 3vw, 36px); font-size: clamp(22px, 3vw, 36px); font-weight: 600; line-height: 1.22; letter-spacing: -.025em; color: var(--gray); text-wrap: pretty; }
.big .hl { color: #f5f5f7; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 6vw, 72px); counter-reset: step; }
.step { display: flex; flex-direction: column; padding: 0 34px 40px; border-radius: 30px; background: var(--paper); }
.step-art { display: flex; align-items: center; justify-content: center; gap: 14px; height: 232px; }
.step-n { font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: var(--gray-light-bg); }
.step h3 { margin-top: 6px; font-size: 28px; font-weight: 600; line-height: 1.14; letter-spacing: -.025em; }
.step p:last-child { margin-top: 12px; color: #515154; text-wrap: pretty; }
.cap { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 18px; font: 500 38px/1 var(--font); color: #fff; background: linear-gradient(#3c3c40, #19191b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -4px 0 rgba(0, 0, 0, .55), 0 16px 30px rgba(0, 0, 0, .2), 0 3px 6px rgba(0, 0, 0, .22); }
.cap + .cap { transform: translateY(8px); }
.cap.wide { width: 184px; display: inline-flex; flex-direction: column-reverse; align-items: flex-end; justify-content: space-between; padding: 14px 16px 16px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.cap.wide .glyph { font-size: 26px; line-height: 1; }
.mini { width: min(100%, 268px); border-radius: 14px; background: #fff; border: 1px solid #dedee5; box-shadow: 0 16px 40px rgba(0, 0, 0, .14), 0 2px 6px rgba(0, 0, 0, .06); overflow: hidden; }
.mini-q { padding: 8px 14px 4px; font-size: 11px; font-weight: 600; letter-spacing: 0; color: #202124; text-align: left; }
.mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 0 6px 8px; }
.mini-cell { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 11px 4px 8px; border: 1px solid transparent; border-radius: 8px; min-width: 0; }
.mini-cell.on { background: #f1f1f3; border-color: #e1e1e5; }
.mini-cell i { font: 28px/1.2 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.mini-cell b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 400; letter-spacing: 0; color: #777; }

/* Works everywhere */
.app-tabs { display: flex; gap: 8px; width: fit-content; max-width: 100%; margin: clamp(36px, 5vw, 56px) auto 0; padding: 6px; overflow-x: auto; scrollbar-width: none; border-radius: 980px; background: #161617; }
.app-tabs::-webkit-scrollbar { display: none; }
.app-tab { display: flex; align-items: center; gap: 8px; flex: none; height: 40px; padding: 0 16px 0 7px; border: 0; border-radius: 980px; background: transparent; color: #d6d6d8; font-size: 14px; letter-spacing: -.01em; cursor: pointer; transition: background-color .25s, color .25s; }
.app-tab:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.app-tab[aria-selected="true"] { background: #f5f5f7; color: var(--ink); }
.tab-icon { display: grid; width: 26px; height: 26px; }
.tab-icon:empty { width: 6px; }
.tab-icon .app-icon { --size: 26px; }
.apps-stage { position: relative; margin-top: 28px; border-radius: 32px; overflow: hidden; aspect-ratio: 1180 / 664; background: #06263a center / cover no-repeat; }
.apps-stage.in { background-image: url("../img/wallpaper-lagoon.jpg"); }
.apps-canvas { position: relative; width: 1180px; height: 664px; }
.apps-stage .mac-window { animation: win-in .55s var(--ease) both; }
.apps-stage.compact { aspect-ratio: auto; overflow: visible; padding: 14px 10px 16px; border-radius: 28px; }
.apps-stage.compact .compact-stage { padding: 0; background: none; border-radius: 0; }
.apps-stage.compact .compact-stage .mac-window { flex: none; height: 470px; }
.stage-note { padding: 40px 24px; text-align: center; color: #d6d6d8; }
@keyframes win-in { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }

/* Features: a grid of tiles */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: clamp(40px, 6vw, 72px); }
.tile { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 320px; padding: 36px; border-radius: 30px; overflow: hidden; background: #fff; color: var(--ink); }
.tile.dark { background: #000; color: var(--paper); }
.tile h3 { font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
.tile p { margin-top: 10px; font-size: 16px; line-height: 1.45; letter-spacing: -.015em; color: #515154; text-wrap: pretty; }
.tile.dark p { color: #a1a1a6; }
.picker-slot .slash-picker { position: relative; pointer-events: none; }
.t-search { grid-column: span 4; grid-row: span 2; flex-direction: row; align-items: center; gap: 28px; padding-right: 44px; background: #fff radial-gradient(60% 70% at 78% 55%, rgba(169, 114, 255, .2), rgba(41, 151, 255, .12) 45%, rgba(255, 255, 255, 0) 72%); }
.t-search .tile-text { flex: 1; min-width: 0; }
.t-search h3 { font-size: clamp(32px, 3.6vw, 44px); }
.t-search p { margin-top: 14px; font-size: 17px; }
.t-search .picker-slot { flex: none; width: 372px; height: 414px; }
.t-search .picker-slot .slash-picker { transform: scale(1.2); transform-origin: 0 0; }
.t-count { grid-column: span 2; justify-content: flex-start; padding-bottom: 96px; }
.number { margin: 0 0 6px !important; font-size: clamp(52px, 6vw, 72px) !important; font-weight: 700; line-height: 1 !important; letter-spacing: -.04em !important; }
.emoji-cloud { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; gap: 14px; padding-left: 36px; white-space: nowrap; font: 34px/1 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 96%); mask-image: linear-gradient(90deg, #000 55%, transparent 96%); }
.t-private { grid-column: span 2; }
.lock { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 15px; background: var(--ink); color: #fff; }
.lock svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.t-fav, .t-keys, .t-theme { grid-column: span 2; }
.t-fav { min-height: 420px; }
.t-fav .picker-slot { height: 236px; margin: auto auto -36px; padding-top: 26px; box-sizing: content-box; width: 310px; max-width: none; align-self: center; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.keys-table { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 14.5px; letter-spacing: -.01em; }
.keys-table th, .keys-table td { padding: 11px 0; border-top: 1px solid #e8e8ed; text-align: left; vertical-align: middle; font-weight: 400; }
.keys-table tr:first-child th, .keys-table tr:first-child td { border-top: 0; }
.keys-table th { width: 46%; white-space: nowrap; }
.keys-table td { color: #515154; }
.keys-table .or { font-size: 12px; color: var(--gray-light-bg); margin: 0 2px; }
.keys-table .key { font-size: 12px; }
.theme-pair { position: relative; flex: none; height: 250px; margin: auto -36px -36px; }
.theme-pair .picker-slot { position: absolute; top: 0; width: 310px; transform-origin: 0 0; transform: scale(.74); }
.theme-pair .picker-slot:first-child { left: 20px; }
.theme-pair .picker-slot:last-child { left: 46%; top: 44px; }
.t-code { grid-column: span 4; flex-direction: row; align-items: center; gap: 32px; }
.t-code .tile-text { flex: 1 1 44%; min-width: 0; }
.code { flex: 1 1 56%; min-width: 0; padding: 22px 24px; border-radius: 16px; overflow: hidden; background: #161617; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font: 13.5px/1.9 var(--mono); letter-spacing: 0; color: #d6d6d8; white-space: pre; }
.code .c { color: #7f8c98; }
.code .k { color: #ff7ab2; }
.code .s { color: #ff8170; }
.t-menu { grid-column: span 2; }
.menu { position: relative; flex: 1; margin: 26px -36px -36px; min-height: 190px; background: #1a0b52 url("../img/wallpaper-sunrise-1440.jpg") 70% 30% / 220% auto no-repeat; }
.menu-bar { display: flex; justify-content: flex-end; height: 26px; padding: 0 34px; background: rgba(0, 0, 0, .22); }
.menu-slash { display: grid; place-items: center; width: 30px; height: 100%; border-radius: 5px; background: rgba(255, 255, 255, .22); color: #fff; font-weight: 800; font-size: 15px; }
.menu ul { position: absolute; right: 22px; top: 31px; width: 206px; padding: 5px; border-radius: 9px; background: rgba(246, 246, 246, .94); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25), 0 14px 34px rgba(0, 0, 0, .35); font-size: 13.5px; letter-spacing: -.01em; color: var(--ink); }
.menu li { position: relative; padding: 4px 10px 4px 26px; border-radius: 5px; }
.menu li:first-child { background: #0a7aff; color: #fff; }
.menu li.checked::before { content: "\2713"; position: absolute; left: 9px; font-size: 12px; font-weight: 700; }
.menu li.sep { margin-top: 11px; }
.menu li.sep::after { content: ""; position: absolute; left: 10px; right: 10px; top: -6px; height: 1px; background: rgba(0, 0, 0, .12); }

/* Film */
.film { position: relative; margin-top: clamp(36px, 5vw, 56px); border-radius: 30px; overflow: hidden; aspect-ratio: 16 / 9; background: #0b0b0c; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.film-play { position: absolute; left: 50%; top: 50%; width: clamp(64px, 8vw, 92px); aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: rgba(29, 29, 31, .58); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 18px 50px rgba(0, 0, 0, .45); transition: transform .25s ease, background-color .25s ease; }
.film-play:hover { transform: translate(-50%, -50%) scale(1.06); background: rgba(0, 113, 227, .92); }
.film-play:focus-visible { outline: 3px solid #2997ff; outline-offset: 4px; }
.film-play svg { width: 44%; height: 44%; margin-left: 6%; fill: currentColor; }
.film-play[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .film-play { transition: none; } }
.film-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 20px; text-align: center; font-size: 14px; color: #f5f5f7; background: rgba(0, 0, 0, .7); }

/* FAQ */
.faq { margin-top: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 24px 48px 24px 0; font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.6px 100% no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 720px; padding: 0 0 28px; color: #515154; text-wrap: pretty; }

/* Final call to action */
.cta { padding: var(--pad) 0; text-align: center; background: #000 radial-gradient(52% 46% at 50% 4%, rgba(94, 92, 230, .34), rgba(41, 151, 255, .12) 48%, rgba(0, 0, 0, 0) 76%); }
.cta-icon { display: block; margin: 0 auto 34px; border-radius: 22.5%; box-shadow: 0 24px 70px rgba(94, 92, 230, .5), 0 0 0 1px rgba(255, 255, 255, .08); }
.cta .actions { margin-top: 32px; }

/* Footer */
.footer { padding: 26px 0 30px; background: var(--paper); color: var(--gray-light-bg); font-size: 12px; line-height: 1.5; letter-spacing: -.01em; }
.footer p + p { margin-top: 9px; }
.footer a { color: #424245; }
.footer a:hover { color: var(--ink); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.footer-row ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { text-decoration: underline; }

/* --- Smaller screens ---------------------------------------------------- */
@media (max-width: 1068px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .t-search, .t-count, .t-private, .t-fav, .t-keys, .t-theme, .t-code, .t-menu { grid-column: span 1; grid-row: auto; }
  .t-search, .t-code { grid-column: span 2; }
  .t-search { order: 1; } .t-count { order: 2; } .t-fav { order: 3; } .t-keys { order: 4; }
  .t-theme { order: 5; } .t-code { order: 6; } .t-private { order: 7; } .t-menu { order: 8; }
  .steps { gap: 14px; }
  .step { padding: 0 24px 32px; }
  .step h3 { font-size: 24px; }
  .cap { width: 80px; height: 80px; font-size: 32px; border-radius: 16px; }
  .cap.wide { width: 150px; }
  .nav-links { gap: 22px; }
}
@media (max-width: 833px) {
  .nav-links { display: none; }
}
@media (max-width: 733px) {
  body { font-size: 17px; }
  .device-wrap { width: min(480px, 100% - 28px); }
  .device { padding: 0; aspect-ratio: 362 / 500; }
  /* One pixel larger than the live demo that replaces it, so browsers keep counting this picture as the largest thing painted. */
  .device-poster { inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); border-radius: 28px; }
  .try-wide { display: none; }
  .try-narrow { display: inline; }
  .steps { grid-template-columns: 1fr; }
  .step-art { height: 190px; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .t-search, .t-code { grid-column: span 1; flex-direction: column; align-items: stretch; padding-right: 28px; }
  .tile { padding: 28px; min-height: 0; border-radius: 26px; }
  .t-search .picker-slot { align-self: center; margin-top: 8px; }
  .t-fav, .t-keys, .t-theme { min-height: 0; }
  .t-fav .picker-slot { margin-bottom: -28px; }
  .theme-pair { margin: 24px -28px -28px; }
  .t-search .picker-slot { width: 310px; height: 345px; }
  .t-search .picker-slot .slash-picker { transform: none; }
  .menu { margin: 26px -28px -28px; }
  .t-count { padding-bottom: 92px; }
  .emoji-cloud { padding-left: 28px; }
  .code { font-size: 12px; padding: 18px; }
  .apps-stage { margin-top: 20px; }
  .app-tabs { margin-inline: -8px; max-width: calc(100% + 16px); }
  .film { border-radius: 20px; }
  .more { font-size: 17px; }
}
@media (max-width: 380px) {
  .t-search .picker-slot, .t-fav .picker-slot { transform: scale(.9); transform-origin: 50% 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .apps-stage .mac-window { animation: none; }
  .more::after, .faq summary::after { transition: none; }
}
