/* Circle website. One stylesheet for every page. Palette taken from the app (src/constants/palette.js). */

@font-face { font-family: "Outfit"; font-weight: 300; font-display: swap; src: url("/circle/assets/fonts/outfit-300.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 400; font-display: swap; src: url("/circle/assets/fonts/outfit-400.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-display: swap; src: url("/circle/assets/fonts/outfit-500.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url("/circle/assets/fonts/outfit-600.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url("/circle/assets/fonts/outfit-700.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 800; font-display: swap; src: url("/circle/assets/fonts/outfit-800.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 600; font-display: swap; src: url("/circle/assets/fonts/caveat-600.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --night: #0b0d10;
  --page: #121619;
  --card: #161b1f;
  --raised: #1e2427;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --ink: #eef0f3;
  --ink-soft: #dce0e6;
  --dim: #9aa3af;
  --faint: #6e7681;
  --accent: #1d9bf0;
  --mine: #6c4fe0;
  --plus: #8350f0;
  --plus-deep: #2e1270;
  --key: #5b47c4;
  --key-deep: #332580;
  --lilac: #b9a6ff;
  --like: #e0416f;
  --flame: #ff7a3d;
  --gold: #f5a524;
  --positive: #4bb87a;
  --teal: #2bb5a8;
  --radius: 22px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --glow: radial-gradient(60% 60% at 50% 40%, rgba(131, 80, 240, 0.35), transparent 70%);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--night);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
/* the aurora behind every page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(91, 71, 196, 0.32), transparent 60%),
    radial-gradient(800px 520px at 100% 8%, rgba(29, 155, 240, 0.14), transparent 60%),
    radial-gradient(900px 700px at 50% 120%, rgba(224, 65, 111, 0.10), transparent 60%),
    var(--night);
}
/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lilac); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
strong { color: var(--ink); font-weight: 600; }
::selection { background: rgba(131, 80, 240, 0.55); color: #fff; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 16, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line-strong); }
.brand small { font-weight: 400; color: var(--faint); font-size: 0.8rem; letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--dim); text-decoration: none; font-size: 0.95rem; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); font-size: 0.92rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: rgba(255, 255, 255, 0.06); }
.menu nav { position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px)); padding: 8px; display: grid; background: #14181c; border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.menu nav a { color: var(--ink-soft); text-decoration: none; padding: 11px 14px; border-radius: 12px; }
.menu nav a:hover { background: rgba(255, 255, 255, 0.06); }

/* language picker, next to the menu */
.lang { position: relative; margin-left: 8px; }
.lang summary { list-style: none; cursor: pointer; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary { background: rgba(255, 255, 255, 0.06); }
.lang nav { position: absolute; right: 0; top: calc(100% + 10px); width: 180px; padding: 6px; display: grid; background: #14181c; border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); z-index: 60; }
.lang nav a { color: var(--ink-soft); text-decoration: none; padding: 10px 12px; border-radius: 10px; font-size: .95rem; }
.lang nav a:hover { background: rgba(255, 255, 255, 0.06); }
.lang nav a[aria-current] { color: var(--lilac); }
.lang-note { background: rgba(131, 80, 240, .12); border-bottom: 1px solid rgba(185, 166, 255, .18); color: #d9ceff; font-size: .9rem; padding: 10px 0; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; white-space: nowrap; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-store { background: #fff; color: #0a0d0e; box-shadow: 0 10px 40px rgba(131, 80, 240, 0.35); }
.btn-store:hover { color: #0a0d0e; box-shadow: 0 14px 50px rgba(131, 80, 240, 0.55); }
.btn-store svg { width: 20px; height: 20px; }
.btn-key { color: #fff; background: linear-gradient(180deg, var(--key), var(--key-deep)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 30px rgba(91, 71, 196, .35); }
.btn-key:hover { color: #fff; }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.site-header .btn-sm { margin-left: 8px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.6rem, 7.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.02em; line-height: 1.2; font-weight: 700; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.32rem); color: var(--dim); line-height: 1.55; max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lilac); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.grad { background: linear-gradient(100deg, #d9ceff 0%, #a98bff 35%, #e0416f 75%, #ff7a3d 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hand { font-family: "Caveat", cursive; font-weight: 600; letter-spacing: 0; }
.muted { color: var(--dim); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- sections ---------- */
section { position: relative; padding: clamp(72px, 10vw, 130px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: 18px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); border: 0; margin: 0; }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 8vw, 100px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero h1 { margin-bottom: 24px; font-size: clamp(2.6rem, 5.8vw, 4.6rem); }
.hero .lede { margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-note { margin-top: 18px; font-size: 0.9rem; color: var(--faint); }
.store-note b { color: var(--dim); font-weight: 500; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--dim); font-size: 0.85rem; margin-bottom: 26px; text-decoration: none; }
.pill i { font-style: normal; background: linear-gradient(180deg, var(--plus), var(--plus-deep)); color: #fff; padding: 2px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }

/* ---------- phone mockup ---------- */
.stage { position: relative; display: grid; place-items: center; min-height: 640px; text-align: left; }
.stage::before { content: ""; position: absolute; width: 120%; aspect-ratio: 1; background: var(--glow); filter: blur(10px); }
.phone {
  position: relative; width: 318px; height: 640px; border-radius: 52px; padding: 12px;
  background: linear-gradient(160deg, #2a2f36, #0d0f12 40%, #22262c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 60px 120px rgba(0, 0, 0, .7), 0 0 120px rgba(131, 80, 240, .25);
  transform: rotate(-2deg);
}
.screen { position: relative; height: 100%; border-radius: 41px; background: var(--page); overflow: hidden; font-size: 13px; line-height: 1.4; }
.island { position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 96px; height: 28px; border-radius: 20px; background: #000; z-index: 3; }
.app-bar { display: flex; align-items: center; justify-content: space-between; padding: 48px 18px 10px; border-bottom: 1px solid #262c30; }
.app-bar b { color: var(--ink); font-size: 17px; letter-spacing: -0.02em; }
.app-bar span { width: 26px; height: 26px; border-radius: 50%; background: url("/circle/assets/img/avatar-a.webp") center/cover; box-shadow: 0 0 0 2px var(--page), 0 0 0 3.5px var(--plus); }
.stories { display: flex; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #262c30; }
.stories i { width: 44px; height: 44px; flex: none; border-radius: 50%; padding: 2px; background: conic-gradient(var(--plus), var(--like), var(--flame), var(--plus)); }
.stories i::after { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--page); background: var(--c, #333) ; }
.post { display: flex; gap: 10px; padding: 13px 16px; border-bottom: 1px solid #22282c; }
.av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; background: var(--c, #3a3f46); background-size: cover; background-position: center; }
.av.you { background-image: url("/circle/assets/img/avatar-a.webp"); }
.av.b { background-image: url("/circle/assets/img/avatar-b.webp"); }
.post .who { color: var(--ink); font-weight: 600; font-size: 13px; }
.post .who span { color: var(--faint); font-weight: 400; }
.post p { margin: 2px 0 0; color: var(--ink-soft); }
.post .meta { display: flex; gap: 14px; margin-top: 7px; color: var(--faint); font-size: 12px; }
.post .meta .liked { color: var(--like); }
.result { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(255, 122, 61, .12); color: var(--flame); font-weight: 600; font-size: 12px; }
.result img { width: 22px; height: 22px; }
.reply { padding-left: 60px; }
.reply .post { padding-left: 0; border: 0; padding-top: 6px; padding-bottom: 6px; }
.tabbar { position: absolute; bottom: 0; left: 0; right: 0; height: 64px; display: flex; justify-content: space-around; align-items: center; background: rgba(18, 22, 25, .94); border-top: 1px solid #262c30; }
.tabbar i { width: 22px; height: 22px; border-radius: 7px; background: #39414a; }
.tabbar i.on { background: var(--ink); }
.tabbar i.plus { width: 42px; height: 32px; border-radius: 12px; background: linear-gradient(180deg, var(--key), var(--key-deep)); }

/* floating notifications round the phone */
.toast {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 18px; max-width: 270px;
  background: rgba(30, 36, 39, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong); box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  font-size: 13px; line-height: 1.35; color: var(--ink-soft);
  animation: float 6s ease-in-out infinite;
}
.toast b { color: var(--ink); display: block; font-size: 12.5px; }
.toast .av { width: 32px; height: 32px; }
.toast.t1 { top: 9%; left: -6%; }
.toast.t2 { top: 62%; right: -12%; animation-delay: -2s; }
.toast.t3 { bottom: 11%; left: -10%; animation-delay: -4s; }
.toast .ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; font-size: 16px; }
.thought { position: absolute; z-index: 4; right: -8%; top: 27%; max-width: 210px; margin: 0; padding: 12px 16px 14px; border-radius: 16px; transform: rotate(3deg); font-size: 22px; line-height: 1.05; color: #f2e9c9; background: rgba(30, 36, 39, .88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-strong); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); animation: float 7s ease-in-out infinite -1s; }
.thought small { display: block; font-family: "Outfit", sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); margin-bottom: 4px; text-shadow: none; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- answer capsule (the quotable summary) ---------- */
.capsule {
  position: relative; border-radius: var(--radius); padding: clamp(24px, 3.4vw, 40px);
  background: linear-gradient(160deg, rgba(131, 80, 240, .14), rgba(22, 27, 31, .9) 50%);
  border: 1px solid rgba(185, 166, 255, .22);
}
.capsule p { font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); margin: 0; }
.capsule p + p { margin-top: 14px; font-size: 1rem; color: var(--dim); }
.capsule .label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); font-weight: 600; margin-bottom: 12px; display: block; }

/* ---------- facts table ---------- */
.facts { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(22, 27, 31, .7); font-size: .98rem; }
.facts th, .facts td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { width: 34%; color: var(--dim); font-weight: 500; }
.facts td { color: var(--ink); }

/* ---------- grids and cards ---------- */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; border-radius: var(--radius); padding: 28px;
  background: linear-gradient(180deg, rgba(30, 36, 39, .78), rgba(22, 27, 31, .78));
  border: 1px solid var(--line); overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: var(--line-strong); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--dim); margin: 0; font-size: .98rem; }
.card p + p { margin-top: 10px; }
.card .num { font-size: .8rem; font-weight: 700; color: var(--lilac); letter-spacing: .1em; margin-bottom: 14px; display: block; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(131, 80, 240, .14); color: var(--lilac); border: 1px solid rgba(185, 166, 255, .18); }
.icon svg { width: 22px; height: 22px; }
.icon.pink { background: rgba(224, 65, 111, .12); color: #ff8fb0; border-color: rgba(224, 65, 111, .2); }
.icon.blue { background: rgba(29, 155, 240, .12); color: #6cc4ff; border-color: rgba(29, 155, 240, .2); }
.icon.flame { background: rgba(255, 122, 61, .12); color: #ffa173; border-color: rgba(255, 122, 61, .2); }
.icon.green { background: rgba(75, 184, 122, .12); color: #7fd8a5; border-color: rgba(75, 184, 122, .2); }
.icon.gold { background: rgba(245, 165, 36, .12); color: #ffc65c; border-color: rgba(245, 165, 36, .2); }
.span2 { grid-column: span 2; }
.card.tall { min-height: 100%; }

/* bento cells with a picture */
.media-card { padding: 0; display: flex; flex-direction: column; }
.media-card .pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.media-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.media-card:hover .pic img { transform: scale(1.04); }
.media-card .pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(22, 27, 31, .95)); }
.media-card .body { padding: 4px 28px 28px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--dim); margin-bottom: 12px; }
.tag.live { background: rgba(75, 184, 122, .14); color: #7fd8a5; }

/* chat bubbles used to illustrate DMs */
.chat { display: grid; gap: 8px; margin-top: 20px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: .93rem; line-height: 1.4; }
.bubble.them { background: #262c30; color: var(--ink-soft); border-bottom-left-radius: 6px; }
.bubble.me { justify-self: end; background: var(--mine); color: #fff; border-bottom-right-radius: 6px; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; background: #262c30; border-radius: 18px; border-bottom-left-radius: 6px; width: max-content; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

/* post results strip */
.results { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.results figure { margin: 0; padding: 20px 10px 16px; border-radius: 20px; text-align: center; background: rgba(22, 27, 31, .8); border: 1px solid var(--line); }
.results img { width: 72px; height: 72px; margin: 0 auto 10px; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .4)); }
.results figcaption { font-weight: 700; color: var(--ink); }
.results figcaption span { display: block; font-weight: 400; font-size: .82rem; color: var(--faint); }

/* full-bleed picture band */
.band { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; border: 1px solid var(--line); }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 13, 16, .94) 0%, rgba(11, 13, 16, .7) 45%, rgba(11, 13, 16, .1) 100%), linear-gradient(0deg, rgba(11, 13, 16, .8), transparent 50%); }
.band .inner { position: relative; z-index: 1; padding: clamp(28px, 5vw, 60px); max-width: 620px; }
.band h2, .band h3 { margin-bottom: 16px; }
.band p { color: var(--ink-soft); }

/* steps */
.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 26px; border-radius: var(--radius); background: rgba(22, 27, 31, .78); border: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 18px; background: linear-gradient(180deg, #d9ceff, rgba(131, 80, 240, .4)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { margin-bottom: 8px; font-size: 1.12rem; }
.steps p { color: var(--dim); font-size: .95rem; margin: 0; }

/* comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(22, 27, 31, .78); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .96rem; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 600; background: rgba(255, 255, 255, .02); }
.compare thead th.us { color: var(--lilac); }
.compare tbody th { color: var(--dim); font-weight: 500; width: 24%; }
.compare td { color: var(--ink-soft); }
.compare td.us { background: rgba(131, 80, 240, .07); color: var(--ink); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* prose pages */
.page-hero { padding: clamp(48px, 7vw, 90px) 0 clamp(36px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--faint); margin-bottom: 26px; padding: 0; list-style: none; }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--faint); }
.updated { font-size: .88rem; color: var(--faint); margin-top: 18px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 64px 0 18px; }
.prose h3 { margin: 34px 0 10px; }
.prose p, .prose li { color: #bfc5cd; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--lilac); }
.prose .capsule { margin: 8px 0 8px; }
.prose figure { margin: 34px 0; }
.prose figure img { border-radius: var(--radius); border: 1px solid var(--line); }
.prose figcaption { font-size: .88rem; color: var(--faint); margin-top: 10px; }
.callout { border-left: 3px solid var(--plus); background: rgba(131, 80, 240, .08); padding: 18px 22px; border-radius: 0 16px 16px 0; margin: 26px 0; }
.callout p:last-child { margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); text-decoration: none; font-size: .88rem; }
.toc a:hover { color: var(--ink); border-color: var(--line-strong); }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; align-items: start; }
.aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.aside .card { padding: 22px; }
.aside .card h3 { font-size: 1.05rem; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: rgba(22, 27, 31, .8); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: rgba(185, 166, 255, .25); background: rgba(30, 36, 39, .85); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative; font-weight: 600; color: var(--ink); font-size: 1.06rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 24px 22px; color: #bfc5cd; }
.faq .a p:last-child { margin-bottom: 0; }
.faq-group { margin-bottom: 56px; }
.faq-group > h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 20px; }

/* final call to action */
.final { text-align: center; padding: clamp(80px, 12vw, 150px) 0; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; translate: -50% -50%; background: var(--glow); z-index: -1; }
.final img.app-icon { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 28px; box-shadow: 0 0 0 1px var(--line-strong), 0 30px 80px rgba(131, 80, 240, .45); }
.final h2 { margin-bottom: 18px; }
.final .lede { margin: 0 auto 34px; }
.final .cta-row { justify-content: center; }

/* links to the other pages */
.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.more a { display: block; padding: 22px 24px; border-radius: 20px; background: rgba(22, 27, 31, .8); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.more a:hover { border-color: rgba(185, 166, 255, .35); transform: translateY(-2px); }
.more a b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.more a span { color: var(--dim); font-size: .92rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 48px; font-size: .92rem; color: var(--faint); background: rgba(11, 13, 16, .6); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 48px; }
.site-footer h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--dim); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .about p { max-width: 320px; margin-top: 14px; }
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- legal pages (privacy, terms, subscription) keep their own markup ---------- */
body.legal-page main { max-width: 800px; margin: 0 auto; padding: 56px var(--gutter) 20px; }
body.legal-page main h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 0 0 10px; }
body.legal-page main h2 { font-size: 1.35rem; letter-spacing: -0.02em; margin: 44px 0 12px; }
body.legal-page main h3 { font-size: 1.1rem; margin: 28px 0 10px; }
body.legal-page main p, body.legal-page main li { color: #bfc5cd; }
body.legal-page main ul { padding-left: 20px; }
body.legal-page main li { margin-bottom: 8px; }
body.legal-page .updated { margin: 0 0 36px; }
body.legal-page .callout { border-left: 3px solid var(--plus); }
body.legal-page .back { display: inline-block; margin: 36px 0 0; color: var(--dim); text-decoration: none; }
body.legal-page .back:hover { color: var(--ink); }
#lang-toggle { margin-left: 8px; background: none; border: 1px solid var(--line-strong); color: var(--ink); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
#lang-toggle:hover { border-color: var(--lilac); color: var(--lilac); }

/* ---------- scroll reveal, progressive: content is always visible without support ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .g4, .steps { grid-template-columns: repeat(2, 1fr); }
  .results { grid-template-columns: repeat(3, 1fr); }
  .with-aside { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 920px) {
  .nav, .site-header .btn-sm { display: none; }
  .menu { display: block; margin-left: -10px; }
  .lang, #lang-toggle { margin-left: auto; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .cta-row { justify-content: center; }
  .g3, .more { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .g2, .g3, .g4, .steps, .more { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .results { grid-template-columns: repeat(2, 1fr); }
  .stage { min-height: 600px; }
  .phone { width: 290px; height: 590px; transform: none; }
  .toast { max-width: 210px; font-size: 12px; }
  .toast.t1 { left: -2%; top: 4%; }
  .toast.t2 { right: -2%; }
  .toast.t3 { left: 0; bottom: 6%; }
  .thought { display: none; }
  .facts th { width: 40%; }
  .facts th, .facts td { padding: 12px 14px; }
  .band { min-height: 420px; }
  .band::after { background: linear-gradient(0deg, rgba(11, 13, 16, .96) 30%, rgba(11, 13, 16, .35)); }
  .site-footer .cols { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .card { padding: 22px; }
  .card .icon { width: 40px; height: 40px; margin-bottom: 14px; }
  .steps li { padding: 22px; }
  .faq summary { padding: 18px 50px 18px 18px; font-size: 1rem; }
  .faq .a { padding: 0 18px 18px; }
}
