/* The signed-out pages: home and prices. Stands alone (no app.css/design.css).
   Quiet white page, large medium-weight type. Two moving things: real sites' icons travelling into one page, and a feed that ends beside one that doesn't. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin.woff2?v=1") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("fonts/source-serif-4-latin.woff2?v=1") format("woff2"); }

:root {
  --ink: #1d1d1f;
  --soft: #626874;
  --faint: #8b909b;
  --line: #e7e8ec;
  --wash: #f5f6f8;
  --accent: #0866da;
  --accent-dark: #0a4fb8;
  --accent-soft: #edf4ff;
  --mark: #fff0b8;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --page-top: clamp(28px, 6vh, 64px);  /* header bar to each page's headline */
  --page-h1: clamp(34px, min(4.6vw, 6.5vh), 64px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.5 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; overflow-x: clip; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2 { font-weight: 600; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
p, dd { text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
:where(a, button, input, select):focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; border-radius: 10px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; letter-spacing: -.045em; }
.brand-dot { margin-left: -9px; color: var(--accent); }
.brand-mark { display: flex; align-items: center; gap: 3px; width: 29px; height: 28px; transform: rotate(-12deg); }
.brand-mark i { display: block; width: 6px; height: 22px; border-radius: 3px; background: var(--ink); }
.brand-mark i:nth-child(2) { height: 28px; background: var(--accent); }
.brand-mark i:nth-child(3) { height: 17px; }
.brand-sm { font-size: 15px; gap: 6px; }
.brand-sm .brand-dot { margin-left: -5px; }
.brand-sm .brand-mark { gap: 2px; width: 18px; height: 17px; }
.brand-sm .brand-mark i { width: 3.5px; height: 13px; }
.brand-sm .brand-mark i:nth-child(2) { height: 17px; }
.brand-sm .brand-mark i:nth-child(3) { height: 10px; }

.nav { display: flex; align-items: center; justify-content: space-between; width: min(100% - 48px, 1160px); height: 72px; margin: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 15px; font-weight: 500; white-space: nowrap; }
/* For you | For your AI: the big switch above the headline (home and /agents). Links are 44px tall for thumbs. */
.sw { display: flex; width: 360px; max-width: calc(100% - 32px); height: 52px; margin: 28px auto 0; padding: 4px; border-radius: 999px; background: var(--wash); }
.sw a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; color: var(--soft); font-size: 15px; font-weight: 600; transition: background-color .16s ease, color .16s ease; }
.sw a[aria-current] { background: var(--accent); color: #fff; }
.sw svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sw + h1 { margin-top: 28px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-size: 16px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: transform .14s var(--ease-out), background-color .16s ease; }
.btn:active { transform: scale(.97); }
.link { padding: 0; border: 0; background: none; color: var(--accent); font-weight: 500; text-decoration: underline; cursor: pointer; }


/* First screen. */
.hero { padding-top: var(--page-top); text-align: center; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero h1 { padding-inline: 24px; font-size: var(--page-h1); }
.lede { margin-top: 20px; padding-inline: 24px; color: var(--soft); font-size: clamp(17px, 1.4vw, 20px); }
.pick { width: min(100% - 48px, 640px); margin: 32px auto 0; }
.add { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 8px 8px 20px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 40px #1113170f; text-align: left; transition: box-shadow .16s ease; }
.add:focus-within { box-shadow: 0 0 0 2px var(--accent), 0 10px 40px #1113170f; }
.add > .icon { color: var(--faint); }
.add-field { position: relative; flex: 1; min-width: 0; }
.add input { width: 100%; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: 17px; }
.add input::-webkit-search-cancel-button { display: none; }
.add input::placeholder { color: var(--faint); opacity: 1; }
.ghost { position: absolute; inset: 0; overflow: hidden; color: var(--faint); font-size: 17px; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; pointer-events: none; }
.ghost::before { content: "Try: "; }
.ghost::after { content: none; }
.note { margin-top: 12px; color: var(--faint); font-size: 14px; }
.results { margin-top: 12px; padding: 8px; border-radius: 20px; box-shadow: 0 0 0 1px var(--line); text-align: left; }
.results .people { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin: 0; padding: 0; overflow: visible; }
.results .person button { width: 100%; border-radius: 12px; box-shadow: none; }
.none { padding: 10px 12px; color: var(--soft); font-size: 15px; }

/* Wider than the search box, so the first people sit on one row and the page below stays in view. */
.popular { width: min(100vw - 48px, 1040px); margin: 14px 0 0 calc(50% - min(50vw - 24px, 520px)); }
.region { color: var(--soft); font-size: 14px; }
.people { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; }
.person button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 4px 13px 4px 5px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-align: left; cursor: pointer; transition: background-color .16s ease, color .16s ease, box-shadow .16s ease, transform .14s var(--ease-out); }
.person button:active { transform: scale(.97); }
/* One row to start with; the rest are one tap away. */
[data-people]:not(.is-open) .person:nth-child(n+6) { display: none; }
[data-people].is-open .more-people { display: none; }
.more-people button { min-height: 40px; padding: 0 13px; border: 0; border-radius: 999px; background: var(--wash); font-size: 14px; font-weight: 500; cursor: pointer; }
.person button[aria-pressed="true"] { background: var(--accent); box-shadow: none; color: #fff; }
.person-face { display: block; width: 30px; height: 30px; flex: none; }
.face { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--wash); }
.person-logo .face { padding: 2px; object-fit: contain; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.face-letter { display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--soft); }
.person b { font-size: 14px; font-weight: 500; line-height: 1.1; white-space: nowrap; }
.person-tick { display: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.person button[aria-pressed="true"] .person-tick { display: block; }
.full { margin-top: 10px; font-size: 14px; font-weight: 500; }
.full a { text-decoration: underline; }
.go { margin-top: 14px; }
.stack { display: flex; }
.stack > * { width: 24px; height: 24px; margin-left: -7px; font-size: 11px; box-shadow: 0 0 0 2px var(--accent); }
.stack > *:first-child { margin-left: 0; }

/* The real sites' icons, each with a line down into the one page. */
.flow { position: relative; width: min(100% - 48px, 1040px); height: 128px; margin: 22px auto 0; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow-lines path { fill: none; stroke: var(--line); stroke-width: 1.25; transition: stroke .3s ease; }
.flow-lines path.is-lit { stroke: var(--accent); }
.sources { position: relative; z-index: 2; display: flex; justify-content: space-between; }
.source:nth-child(2), .source:nth-last-child(2) { margin-top: 14px; }
.source:nth-child(3), .source:nth-last-child(3) { margin-top: 24px; }
.source:nth-child(4), .source:nth-last-child(4) { margin-top: 30px; }
.source-icon, .token { display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 18px #11131712; }
.source-icon img, .token img { width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.source-podcast, .token.source-podcast { background: #9b3fd6; }
.glyph { width: 26px; height: 26px; fill: currentColor; }
.token { position: absolute; left: 0; top: 0; z-index: 1; offset-rotate: 0deg; offset-anchor: center; pointer-events: none; }

/* The one page they all arrive in: the Feed on a phone, with sizes and colours taken from the app (design.css). */
.onepage { --app-ink: #1d1d1f; --app-soft: #585b65; --app-faint: #747781; --app-line: #e7e8ed; --app-blue: #0866da; --serif: "Source Serif 4", Charter, Georgia, serif; position: relative; width: min(100% - 28px, 375px); height: 780px; margin: 0 auto; overflow: hidden; border: 1px solid var(--app-line); border-radius: 36px; background: #f5f5f7; box-shadow: 0 24px 80px #11131714; color: var(--app-ink); font-size: 15px; letter-spacing: -.12px; text-align: left; }
.app-top { display: flex; align-items: center; height: 64px; padding: 0 22px; }
.app-brand { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; letter-spacing: -.9px; }
.app-mark { display: flex; align-items: center; gap: 3px; width: 25px; height: 28px; transform: rotate(-12deg) scale(.85); transform-origin: left center; }
.app-mark i { display: block; width: 6px; height: 22px; border-radius: 3px; background: var(--app-ink); }
.app-mark i:nth-child(2) { height: 28px; background: var(--app-blue); }
.app-mark i:nth-child(3) { height: 17px; }
.app-dot { margin-left: -7px; color: var(--app-blue); }
.chips { display: flex; gap: 6px; padding: 0 20px 12px; overflow: hidden; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; flex: none; min-height: 38px; padding: 0 14px; border: 1px solid var(--app-line); border-radius: 999px; background: #fff; color: var(--app-soft); font-size: 13px; font-weight: 600; cursor: pointer; }
.preview { display: grid; gap: 18px; align-content: start; padding: 0 20px 80px; }
.post { --platform-color: #6286a2; position: relative; display: block; overflow: clip; border: 1px solid color-mix(in srgb, var(--platform-color) 10%, var(--app-line)); border-radius: 18px; background: #fff; box-shadow: 0 8px 28px #20293908; cursor: pointer; }
.post[data-platform="youtube"] { --platform-color: #c76662; }
.post[data-platform="podcast"] { --platform-color: #9478a2; }
.post[data-platform="substack"] { --platform-color: #c97749; }
.post[data-platform="x"] { --platform-color: #758192; }
.post[data-platform="instagram"] { --platform-color: #af6b97; }
.post[aria-hidden] { padding: 14px; }
.card-meta { display: flex; align-items: center; gap: 12px; min-height: 70px; padding: 13px 20px; background: linear-gradient(90deg, color-mix(in srgb, var(--platform-color) 7%, #fff), #fff 72%); line-height: 1.25; white-space: nowrap; }
.source-avatar { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: color-mix(in srgb, var(--platform-color) 12%, #fff); color: var(--platform-color); }
.source-avatar .g { width: 18px; height: 18px; fill: currentColor; }
.card-byline { display: flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 0; }
.card-src { overflow: hidden; font-size: 13px; font-weight: 650; text-overflow: ellipsis; }
.card-details { overflow: hidden; color: var(--app-faint); font-size: 12px; text-overflow: ellipsis; }
.card-platform { color: color-mix(in srgb, var(--platform-color) 78%, var(--app-ink)); font-weight: 650; }
.post-img { display: block; height: 180px; background: #111820; }
.post-img:not(:has(img)) { display: none; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.card-main { display: block; padding: 19px 20px 0; }
.card-title { display: -webkit-box; margin-bottom: 12px; overflow: hidden; font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.42; letter-spacing: -.008em; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.card-kicker { display: block; margin-bottom: 8px; color: var(--app-soft); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.card-excerpt { display: -webkit-box; overflow: hidden; color: var(--app-soft); font-family: var(--serif); font-size: 15px; line-height: 1.62; letter-spacing: 0; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.card-excerpt.is-tldr { display: block; }  /* a summary is short and reads whole, as on the Feed */
.audio-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 9px 14px 9px 9px; border-radius: 14px; background: color-mix(in srgb, var(--platform-color) 8%, #f5f5f7); }
.audio-play { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--platform-color); color: #fff; }
.audio-play svg { width: 16px; height: 16px; margin-left: 2px; fill: currentColor; }
.audio-wave { flex: 1; height: 22px; background: color-mix(in srgb, var(--platform-color) 30%, transparent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 22'%3E%3Cpath d='M0 7h3v8h-3zM5 4h3v14h-3zM10 8h3v6h-3zM15 2h3v18h-3zM20 5.5h3v11h-3zM25 1h3v20h-3zM30 6.5h3v9h-3zM35 3.5h3v15h-3zM40 8.5h3v5h-3zM45 2.5h3v17h-3zM50 5h3v12h-3zM55 7.5h3v7h-3z'/%3E%3C/svg%3E") left center / 60px 22px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 22'%3E%3Cpath d='M0 7h3v8h-3zM5 4h3v14h-3zM10 8h3v6h-3zM15 2h3v18h-3zM20 5.5h3v11h-3zM25 1h3v20h-3zM30 6.5h3v9h-3zM35 3.5h3v15h-3zM40 8.5h3v5h-3zM45 2.5h3v17h-3zM50 5h3v12h-3zM55 7.5h3v7h-3z'/%3E%3C/svg%3E") left center / 60px 22px repeat-x; }
.audio-speed { display: grid; place-items: center; flex: none; min-width: 44px; min-height: 32px; border-radius: 999px; background: color-mix(in srgb, var(--platform-color) 16%, transparent); color: var(--app-soft); font-size: 12px; font-weight: 700; }
/* X and Instagram read as they do in the Feed: their own words, in the app's plain font. */
.post[data-platform="x"] .card-main { padding-top: 4px; }
.post[data-platform="x"] .card-title { margin: 0; font-family: inherit; font-size: 15px; font-weight: 430; line-height: 1.55; white-space: pre-line; -webkit-line-clamp: 10; }
.post[data-platform="x"] .post-img { width: fit-content; max-width: calc(100% - 40px); height: auto; margin: 14px 20px 0; overflow: hidden; border: 1px solid var(--app-line); border-radius: 16px; background: none; }
.post[data-platform="x"] .post-img img { width: auto; max-width: 100%; height: auto; max-height: 400px; }
.post[data-platform="instagram"] .post-img { height: auto; aspect-ratio: 4 / 5; }
.post[data-platform="instagram"] .card-title { margin: 0; font-family: inherit; font-weight: 550; line-height: 1.48; letter-spacing: -.005em; }
.card-foot { display: flex; align-items: center; min-height: 58px; margin: 20px 14px 8px; padding-top: 7px; border-top: 1px solid color-mix(in srgb, var(--app-line) 80%, transparent); }
.act { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; color: var(--app-soft); }
.act .icon { width: 24px; height: 24px; stroke-width: 1.6; }
.act-save { margin-left: auto; }
.dislike-icon { transform: rotate(180deg); }
.post-later { margin: 0 0 10px; color: var(--app-soft); font-size: 15px; }
.more { position: absolute; left: 50%; bottom: 77px; z-index: 1; display: flex; align-items: center; min-height: 50px; padding: 0 20px; border-radius: 999px; background: var(--app-blue); box-shadow: 0 16px 40px #00000044; color: #f5f5f7; font-size: 14px; font-weight: 700; white-space: nowrap; transform: translateX(-50%); }
.app-nav { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 8px; border-top: 1px solid var(--app-line); background: #fff; }
.app-nav span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 76px; min-height: 48px; border-radius: 12px; color: var(--app-faint); font-size: 11px; font-weight: 500; line-height: 1.5; }
.app-nav .on { background: #edf4ff; color: var(--app-blue); }
.app-nav .icon { width: 21px; height: 21px; }

/* Places held while a new server does its first read. */
.wait-block { display: block; background: var(--line); }
.wait-line { display: block; height: 14px; margin-top: 8px; border-radius: 7px; background: var(--line); }
.wait-short { width: 55%; }
.saved-thumb { width: 92px; height: 62px; flex: none; border-radius: 10px; }
[data-wait] .saved-row p { flex: 1; }
@media (prefers-reduced-motion: no-preference) {
  .wait-block, .wait-line { animation: wait-pulse 1.4s ease-in-out infinite; }
}
@keyframes wait-pulse { 50% { opacity: .55; } }

/* Two feeds side by side: one never stops, ours stops. */
.bye { width: min(100% - 48px, 1040px); margin: clamp(72px, 10vw, 136px) auto 0; text-align: center; }
.bye h2 { font-size: clamp(32px, 4.2vw, 60px); }
.bye > p { margin-top: 14px; color: var(--soft); font-size: clamp(17px, 1.4vw, 20px); }
.versus { display: flex; justify-content: center; gap: clamp(12px, 5vw, 64px); margin-top: clamp(32px, 4vw, 56px); }
.side { flex: 0 1 300px; min-width: 0; }
.side b { display: block; margin-top: 14px; font-weight: 500; }
.side:has([data-ends]) b { color: var(--accent); font-weight: 700; }
.mini { height: 460px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--wash); -webkit-mask: linear-gradient(#000 88%, transparent); mask: linear-gradient(#000 88%, transparent); }
.mini[data-ends] { border: 2px solid var(--accent); background: var(--accent-soft); }
.mini-roll { display: grid; gap: 10px; padding: 10px; text-align: left; }
.mini-card { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.mini-tag { justify-self: start; padding: 2px 8px; border-radius: 999px; background: var(--wash); color: var(--soft); font-size: 12px; font-weight: 500; white-space: nowrap; }
.mini-pic { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px; background: var(--line); }
.mini-pic img { width: 100%; height: 100%; object-fit: cover; }
.mini-card .wait-line { height: 10px; margin: 0; animation: none; }
.mini-by { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; font-weight: 500; white-space: nowrap; }
.mini-by .face { width: 22px; height: 22px; flex: none; }
.mini-name { overflow: hidden; text-overflow: ellipsis; }
.mini-title { display: -webkit-box; overflow: hidden; font-size: 13px; font-weight: 500; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mini-end { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 8px 64px; font-size: 14px; font-weight: 500; text-align: center; }
.mini-end .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--accent); color: #fff; stroke-width: 3; }
@media (prefers-reduced-motion: no-preference) {
  .mini-other .mini-roll { animation: never-ends 26s linear infinite; }
  .is-seen .mini-ours { animation: comes-to-an-end 5s cubic-bezier(.45, .05, .2, 1) .4s both; }
}
/* Half the list, because the list is two copies of itself. */
@keyframes never-ends { to { transform: translateY(calc(-50% - 5px)); } }
/* Up to its last card and the end line, and there it stays. */
@keyframes comes-to-an-end { to { transform: translateY(calc(-100% + 460px)); } }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 72px; align-items: center; width: min(100% - 48px, 1040px); margin: clamp(72px, 10vw, 136px) auto 0; }
.row h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.08; }
.row > div > p { margin-top: 14px; color: var(--soft); font-size: 18px; }
.pic { border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 16px 60px #1113170f; }
.saved { padding: 8px 20px; }
.saved-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.saved-row:first-child { border-top: 0; }
.saved-row img { width: 92px; height: 62px; flex: none; border-radius: 10px; object-fit: cover; }
.saved-row p { display: grid; min-width: 0; }
.saved-row b { display: -webkit-box; overflow: hidden; font-size: 15px; font-weight: 500; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.saved-row small { margin-top: 3px; color: var(--faint); font-size: 13px; }
.saved-mark { padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.saved-mark mark { background: var(--mark); color: inherit; }
.saved-mark small { display: block; margin-top: 4px; color: var(--faint); font-size: 13px; }
/* The real end-of-reading scene from the app. */
.end-scene .break-scene { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 18px; }
.end-scene .break-done, .end-scene .break-line { display: none; }

.asks { width: min(100% - 48px, 760px); margin: clamp(80px, 11vw, 150px) auto 0; }
.asks h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.08; text-align: center; }
.asks dl { margin-top: 28px; border-top: 1px solid var(--line); }
.ask { border-bottom: 1px solid var(--line); }
.ask dt { font-weight: inherit; }
.ask button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 64px; padding: 12px 0; border: 0; background: none; font-weight: 500; text-align: left; cursor: pointer; }
.ask .icon { color: var(--faint); transition: transform .2s var(--ease-out); }
.ask button[aria-expanded="true"] .icon { transform: rotate(45deg); }
.ask dd { padding: 0 36px 20px 0; color: var(--soft); }

.last { padding: clamp(80px, 11vw, 150px) 24px; text-align: center; }
.last h2 { font-size: clamp(32px, 3.8vw, 54px); }
.last .btn { margin-top: 28px; }

.foot { display: flex; align-items: center; gap: 24px; width: min(100% - 48px, 1160px); margin: auto; padding: 16px 0 28px; border-top: 1px solid var(--line); color: var(--soft); font-size: 14px; }
.foot .brand { margin-right: auto; color: var(--ink); }
.foot a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; }

/* Pricing: one page, in rupees or dollars from where the visitor is. Same white page, type, pills and hairlines as home. */
.prices { width: min(100% - 48px, 1040px); margin: auto; padding-bottom: clamp(80px, 11vw, 150px); }
.prices-head { padding: var(--page-top) 0 clamp(36px, 5vw, 64px); text-align: center; }
.prices-head h1 { font-size: var(--page-h1); }
.prices-head .lede { padding: 0; }
.prices-head mark { background: none; color: var(--accent); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 880px; margin: auto; }
.plan { display: flex; flex-direction: column; padding: 32px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 16px 60px #1113170f; }
.plan-plus { background: var(--accent-soft); box-shadow: 0 0 0 2px var(--accent), 0 16px 60px #0866da24; }
.plan h2 { font-size: 24px; letter-spacing: -.02em; }
.plan-price { margin-top: 12px; color: var(--soft); font-size: 18px; }
.plan-price b { margin-right: 4px; color: var(--ink); font-size: clamp(60px, 6.4vw, 84px); font-weight: 600; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price small, .prices-head mark small { font-size: .42em; letter-spacing: -.02em; }  /* the cents, beside the whole number */
.plan-plus .plan-price b, .plan-plus li b { color: var(--accent); }
.plan ul { display: grid; gap: 12px; margin: 28px 0; }
.plan li { position: relative; padding-left: 30px; text-wrap: pretty; }
.plan li::before { content: ""; position: absolute; top: .22em; left: 0; width: 20px; height: 20px; background: var(--faint); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
.plan-plus li::before { background: var(--accent); }
.plan li b { font-weight: 600; }
.plan .btn { align-self: start; margin-top: auto; }
.plan:not(.plan-plus) .btn { background: var(--ink); }
.plan-note { margin-top: 12px; font-size: 15px; font-weight: 500; }
.price-asks { max-width: 760px; margin: clamp(80px, 11vw, 150px) auto 0; }
.price-asks h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.08; text-align: center; }
.price-asks dl { margin-top: 28px; border-top: 1px solid var(--line); }
.price-asks dl > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.price-asks dt { font-weight: 500; }
.price-asks dd { margin-top: 6px; color: var(--soft); }

/* Sign-in and invite: home's headline, button and fine print. */
.signin { width: min(100% - 48px, 640px); margin: auto; padding: var(--page-top) 0 clamp(64px, 12vh, 140px); text-align: center; }
.signin h1 { font-size: var(--page-h1); }
.signin .lede { padding: 0; }
.signin .note { color: var(--soft); }
.signin .note a { text-decoration: underline; }
.signin-error { width: min(100%, 420px); margin: 24px auto 0; padding: 12px 16px; border-radius: 14px; background: #fdf0ef; color: #a8322a; font-size: 15px; }
.signin-form { display: grid; justify-items: center; gap: 14px; margin-top: 32px; }
.signin-form label { display: grid; gap: 6px; width: min(100%, 360px); color: var(--soft); font-size: 14px; text-align: left; }
.signin-form input:not([type="hidden"]) { min-height: 48px; padding: 0 16px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: inherit; font-size: 16px; }
.google-button { width: min(100%, 360px); min-height: 56px; padding: 0 20px 0 13px; }
.google-g { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: #fff; }
.invite-preview { width: min(100%, 420px); margin: 24px auto 0; padding: 16px 20px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 16px 60px #1113170f; font-size: 15px; text-align: left; }
.invite-preview ul { display: grid; gap: 8px; margin: 10px 0; }
.invite-preview li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.invite-preview .g { width: 16px; height: 16px; flex: none; fill: currentColor; color: var(--faint); }
.invite-kicker, .invite-note { color: var(--soft); font-size: 13px; }

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover, .foot a:not(.brand):hover { color: var(--soft); }
  .sw a:not([aria-current]):hover { color: var(--ink); }
  .btn:hover { background: var(--accent-dark); }
  .plan:not(.plan-plus) .btn:hover { background: #2a2d33; }
  .person button:not([aria-pressed="true"]):hover { background: var(--wash); }
}
@media (max-width: 760px) {
  :root { --page-top: 28px; }
  .nav { width: calc(100% - 40px); height: 60px; }
  .nav .brand { gap: 8px; font-size: 20px; }
  .nav .brand-dot { margin-left: -7px; }
  .nav-links a { padding: 0 8px; }
  .hero h1 { padding-inline: 16px; font-size: 8.4vw; }
  .lede { margin-top: 16px; padding-inline: 20px; font-size: 16px; }
  .pick { width: calc(100% - 40px); margin-top: 24px; }
  .add { gap: 8px; min-height: 56px; padding: 6px 6px 6px 14px; }
  .add input, .ghost { font-size: 16px; }
  .add .btn { min-height: 44px; padding: 0 14px; }  /* leaves room for the whole placeholder at 375px */
  .popular { width: auto; margin: 14px 0 0; }
  .people { flex-wrap: nowrap; justify-content: flex-start; margin: 8px -20px 0; padding: 0 20px 2px; overflow-x: auto; scrollbar-width: none; }
  .people::-webkit-scrollbar { display: none; }
  .person, .more-people { flex: none; }
  .more-people button { white-space: nowrap; }
  .go { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 4; min-height: 56px; margin: 0; box-shadow: 0 10px 30px #11131740; }
  /* The page fades out under the fixed button, so no line of text runs into it. */
  .pick:has(.go:not([hidden]))::after { content: ""; position: fixed; inset: auto 0 0; z-index: 3; height: calc(100px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(#fff0, #fff 55%); pointer-events: none; }
  .flow { width: calc(100% - 28px); height: 104px; margin-top: 22px; }
  .source:nth-child(2), .source:nth-last-child(2) { margin-top: 8px; }
  .source:nth-child(3), .source:nth-last-child(3) { margin-top: 14px; }
  .source:nth-child(4), .source:nth-last-child(4) { margin-top: 18px; }
  .source-icon, .token { width: 36px; height: 36px; border-radius: 11px; }
  .source-icon img, .token img { padding: 4px; }
  .glyph { width: 18px; height: 18px; }
  .preview { padding-inline: 14px; }
  .more { display: none; }  /* the fixed button already goes there */
  .bye { width: calc(100% - 28px); margin-top: 72px; }
  .bye h2 { font-size: 9.4vw; }
  .bye > p { padding-inline: 8px; }
  .mini { height: 380px; border-radius: 22px; }
  .mini-roll { gap: 8px; padding: 8px; }
  .mini-card { padding: 9px; }
  .mini-tag { padding: 2px 6px; font-size: 11px; }
  .mini-by { font-size: 12px; }
  .mini-title { font-size: 12px; }
  @keyframes comes-to-an-end { to { transform: translateY(calc(-100% + 380px)); } }
  .row { grid-template-columns: minmax(0, 1fr); gap: 28px; width: calc(100% - 40px); margin-top: 72px; }
  .asks { width: calc(100% - 40px); margin-top: 80px; }
  .foot { width: calc(100% - 40px); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 24px; }
  .plan .btn { align-self: stretch; }
}
/* A short window, like a phone on its side: the button stays in the page instead of covering it. */
@media (max-width: 760px) and (max-height: 560px) { .go { position: static; margin-top: 14px; width: 100%; } .pick:has(.go)::after { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .person button, .ask .icon, .flow-lines path { transition: none; }
}
