/* Echotype's site: one black page on a grid. Hairline rails down both sides, a line across the
   full width between rows with a crosshair where it meets each rail, and the cells inside split
   by the same hairline. The white orb is the one drawing; colour comes only from the app icons. */

:root {
  --bg: #000;
  --text: #f5f5f7;
  --muted: #a1a1a6;   /* body grey: 8.2:1 on black */
  --faint: #86868b;   /* secondary grey: 5.8:1 on black, the least a line of small text may have */
  --surface: #0b0b0c; /* the tinted Pro column in the pricing table */
  --card: #111113;    /* the plan cards: a step lighter than the page */
  --line: rgba(255, 255, 255, 0.1);
  --cross: rgba(255, 255, 255, 0.32);
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, system-ui, "Helvetica Neue", Arial, sans-serif;
  --keys: ui-monospace, "SF Mono", Menlo, monospace;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --out: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--sf); letter-spacing: -0.012em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #0a84ff; outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

kbd {
  display: inline-block; padding: 0.15em 0.6em; border-radius: 7px;
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font: 500 12px/1.6 var(--keys); color: var(--text);
}

/* ---------- the grid ---------- */
.page { position: relative; max-width: 1120px; margin: 0 auto; border-inline: 1px solid var(--line); }
.row { position: relative; }
/* Every row under the nav: a full-width line on its top edge and a crosshair on each rail. */
main > .row::before, .foot::before { content: ""; position: absolute; top: -1px; left: 50%; width: 100vw; height: 1px; transform: translateX(-50%); background: var(--line); }
main > .row::after, .foot::after {
  content: ""; position: absolute; top: -6px; left: -6px; right: -6px; height: 11px; pointer-events: none;
  background:
    linear-gradient(var(--cross), var(--cross)) left 0 top 5px / 11px 1px no-repeat,
    linear-gradient(var(--cross), var(--cross)) left 5px top 0 / 1px 11px no-repeat,
    linear-gradient(var(--cross), var(--cross)) right 0 top 5px / 11px 1px no-repeat,
    linear-gradient(var(--cross), var(--cross)) right 5px top 0 / 1px 11px no-repeat;
}

/* ---------- buttons, glass ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border: 0; border-radius: 999px;
  font: 500 15px/1 var(--sf); letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--spring), background-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn-light { background: linear-gradient(180deg, #fff, #e6e6ea); color: #000; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 8px 24px rgba(255, 255, 255, 0.08); }
.btn-glass {
  position: relative; isolation: isolate; color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1; padding: 1px; border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0.03) 60%, rgba(255, 255, 255, 0.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.btn-glass:hover { background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)); }
.btn-sm { height: 32px; padding: 0 14px; font-size: 13px; }
.apple { width: 14px; height: 17px; fill: currentColor; margin-top: -2px; }

/* ---------- app icons: Simple Icons glyphs on their brand colour, macOS squircle ---------- */
.app {
  position: relative; display: inline-block; flex: none;
  width: var(--s, 40px); height: var(--s, 40px); border-radius: 23%;
  background: linear-gradient(180deg, color-mix(in oklab, var(--bg-app) 82%, white), var(--bg-app));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 4px 14px rgba(0, 0, 0, 0.5);
}
.app::after { content: ""; position: absolute; inset: 22%; background: var(--fg-app); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 20px 0 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -0.02em; }
.brand img { border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 13px; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--text); }
@media (max-width: 480px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- intro ---------- */
.intro { position: fixed; inset: 0; z-index: 50; background: #000; color: var(--text); transition: opacity 0.3s ease; }
.intro canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
#introText { opacity: 0; transform: scale(0.98); transition: opacity 0.35s ease, transform 0.7s var(--out); }
#introText.in { opacity: 1; transform: none; }
#introText.gone { opacity: 0; transition: none; }
.intro.gone { opacity: 0; pointer-events: none; }
.intro.done { display: none; }
html:not(.js) .intro { display: none; }

/* ---------- hero ---------- */
.hero { padding: 56px 24px 96px; text-align: center; }
.hero > .hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask: radial-gradient(60% 55% at 50% 38%, #000, transparent 75%); mask: radial-gradient(60% 55% at 50% 38%, #000, transparent 75%);
  opacity: 0.55;
}
.hero > * { position: relative; }
.hero-orb { display: block; width: 100%; height: min(32vh, 280px); color: var(--text); }
.hero h1 { margin: 8px 0 0; font: 600 clamp(40px, 6.8vw, 84px)/1.05 var(--sf); letter-spacing: -0.05em; }
.slot { position: relative; display: inline-block; width: 0.86em; height: 0.86em; margin: 0 0.04em; vertical-align: -0.1em; }
.slot .app { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.55s var(--spring), opacity 0.3s ease, filter 0.3s ease; }
.slot .app.in { transform: scale(0.4) rotate(-12deg); opacity: 0; filter: blur(4px); }
.slot .app.out { transform: scale(0.4) rotate(12deg); opacity: 0; filter: blur(4px); transition-timing-function: ease-in; }
.lede { max-width: 28em; margin: 24px auto 0; color: var(--muted); font-size: clamp(16px, 1.8vw, 19px); }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.fine { margin: 18px 0 0; color: var(--faint); font-size: 13px; }

@media (prefers-reduced-motion: no-preference) {
  /* The headline is never hidden: the intro covers it, and it is the page's largest paint. */
  .js .lede, .js .actions, .js .hero .fine, .js .nav { opacity: 0; }
  .ready .lede, .ready .actions, .ready .hero .fine { animation: rise 0.8s var(--out) var(--d, 0s) both; }
  .ready .lede { --d: 0.15s; }
  .ready .actions { --d: 0.25s; }
  .ready .hero .fine { --d: 0.33s; }
  .ready .nav { animation: fade 0.6s ease 0.4s both; }
  /* The cell keeps its black fill (the grid lines are the gaps behind it); only what is in it fades up. */
  .js .cell > * { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.8s var(--out); transition-delay: var(--delay, 0s); }
  .js .cell.seen > * { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- feature cells ---------- */
.cells, .get { display: grid; gap: 1px; background: var(--line); }
.cells { grid-template-columns: repeat(3, 1fr); }
.cell { padding: 30px 28px 34px; background: var(--bg); }
.cells .cell:nth-child(3n + 2) { --delay: 0.06s; } .cells .cell:nth-child(3n) { --delay: 0.12s; }
.cell h2 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.cell p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .cells { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cells { grid-template-columns: 1fr; } }

.cell { display: flex; flex-direction: column; }
.apps-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 28px; }
.apps-row .app { --s: 30px; }
/* main.js fills the grid; its two rows of 30px tiles are reserved here so nothing moves when it does. */
.apps-row { min-height: 96px; }
/* The last tile: not an app, the rest of them. */
.app.more { display: inline-grid; place-items: center; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); color: var(--muted); }
.app.more::after { content: none; }
.app.more svg { width: 50%; height: 50%; }
.cell .apps-more { margin-top: 12px; }

/* The example cells are feeds: a fixed-height list under the title, newest entry at the bottom,
   older ones above it fading out under a soft top edge. Without script or with reduced motion the
   whole list sits there like that; main.js replays it one entry at a time (.live). */
.feed { display: flex; flex-direction: column; justify-content: flex-end; height: 216px; margin: 12px 0 0; padding: 0; overflow: hidden; list-style: none; -webkit-mask: linear-gradient(transparent, #000 38%); mask: linear-gradient(transparent, #000 38%); }
.feed > li { flex: none; padding-top: 14px; }
.feed .said { position: relative; display: block; padding-right: 28px; color: var(--faint); font-size: 14px; line-height: 1.5; }
.feed .before { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; }
.feed .out, .feed .line { display: block; color: var(--text); font-size: 16px; line-height: 1.45; }
.feed .said + .out { margin-top: 4px; }
.feed .before + .said { margin-top: 4px; }
.feed .lines > span { display: block; }
.feed .who { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; color: var(--faint); font-size: 13px; }
.feed .who[style]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); opacity: 0.85; }
@media (max-width: 600px) { .feed { height: 232px; } }

/* While a feed plays, each new entry grows from nothing (main.js sets its height), which slides the
   older ones up; its parts fade in, and three dots pulse at the end of a spoken line while
   Echotype listens, faster while it thinks. */
.feed.live > li { overflow: hidden; transition: height 0.45s var(--out); }
.feed.live li * { transition: opacity 0.35s ease; }
.feed.live .off { opacity: 0; }
.vox { position: absolute; top: 0.5em; right: 0; display: inline-flex; gap: 3px; }
.vox b { width: 4px; height: 4px; border-radius: 50%; background: var(--text); animation: vox 1s ease-in-out infinite; }
.vox b:nth-child(2) { animation-delay: 0.15s; }
.vox b:nth-child(3) { animation-delay: 0.3s; }
.vox.think b { animation-duration: 0.45s; }
@keyframes vox { 0%, 100% { opacity: 0.35; transform: scale(0.6); } 50% { opacity: 1; transform: none; } }

/* ---------- privacy: the main point ---------- */
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.privacy .cell { padding: 56px 40px 60px; }
.privacy .cell:nth-child(2) { --delay: 0.08s; justify-content: center; }
.big { margin: 0 0 18px !important; font-size: clamp(32px, 3.8vw, 46px) !important; line-height: 1.06; letter-spacing: -0.04em !important; text-wrap: balance; }
.privacy p { font-size: 16px; max-width: 30em; }
.privacy .try { margin-top: 22px; color: var(--text); }
.ledger { width: 100%; border-collapse: collapse; font-size: 15px; }
.ledger caption { padding-bottom: 12px; color: var(--faint); font-size: 12px; text-align: left; }
.ledger th, .ledger td { padding: 13px 0; border-top: 1px solid var(--line); }
.ledger tr:last-child th, .ledger tr:last-child td { border-bottom: 1px solid var(--line); }
.ledger th { color: var(--muted); font-weight: 400; text-align: left; }
.ledger td { color: var(--text); font-weight: 500; text-align: right; }
.split thead th, .split thead td { padding: 0 0 10px; border-top: 0; color: var(--faint); font-size: 12px; font-weight: 400; text-align: right; }
.split td { padding-left: 12px; }
.split td:last-child { width: 38%; }
.privacy .small a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.3); }
.compare th { padding-right: 14px; }
.compare td { color: var(--muted); font-weight: 400; }
.compare td:nth-of-type(1) { padding-right: 16px; white-space: nowrap; }
.compare td:nth-of-type(2) { width: 42%; }
.compare .us th, .compare .us td { color: var(--text); font-weight: 600; }
.privacy .small { margin-top: 20px; color: var(--faint); font-size: 13px; }
/* The comparison: table on the left, the question on the right, both centred on the row. On a
   phone they stack back in reading order, question first. */
.vs .cell { justify-content: center; }
.vs .cell:first-child { order: 2; --delay: 0.08s; }
.vs .cell:last-child { order: 1; --delay: 0s; }
@media (max-width: 480px) { .ledger { font-size: 14px; } }
@media (max-width: 800px) { .privacy { grid-template-columns: 1fr; } .privacy .cell { padding: 44px 24px; } .vs .cell:first-child, .vs .cell:last-child { order: 0; } }

/* ---------- download + waitlist ---------- */
.get { grid-template-columns: 1fr 1fr; }
.get .cell { display: flex; flex-direction: column; align-items: flex-start; padding: 44px 36px 48px; }
.get h2 { margin: 18px 0 6px; font-size: 24px; letter-spacing: -0.03em; }
.get p { margin: 0 0 24px; font-size: 15px; }
.get .cell:nth-child(2) { --delay: 0.08s; }
.win { width: 14px; height: 14px; fill: currentColor; }
.specs { width: 100%; max-width: 440px; margin-top: 32px; border-collapse: collapse; font-size: 13px; }
.specs th, .specs td { padding: 9px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.specs thead th, .specs thead td { color: var(--faint); font-size: 12px; border-top: 0; }
.specs tbody th { color: var(--faint); width: 26%; }
.specs td { color: var(--muted); }
.specs td:last-child { color: var(--text); }
.specs-note { max-width: 440px; margin: 14px 0 0 !important; color: var(--faint); font-size: 13px !important; line-height: 1.5; }
.tag { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0; vertical-align: 2px; }
.get .os-title { display: flex; align-items: center; gap: 12px; margin-top: 0; }
.os { flex: none; width: 22px; height: 24px; fill: var(--text); }
.capsule { display: flex; align-items: center; gap: 4px; width: 100%; max-width: 400px; padding: 4px 4px 4px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.capsule input { flex: 1; min-width: 0; height: 34px; border: 0; outline: 0; background: transparent; color: var(--text); font: 15px var(--sf); }
.capsule input::placeholder { color: var(--faint); }
.capsule:focus-within { box-shadow: inset 0 0 0 1.5px #0a84ff; }
.get .form-note { min-height: 1.5em; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.form-note.ok { color: #30d158; }
.form-note.err { color: #ff453a; }
@media (max-width: 720px) { .get { grid-template-columns: 1fr; } }

/* ---------- Free and Pro ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.plans .cell { align-items: flex-start; padding: 48px 40px 52px; }
.plans .cell:nth-child(2) { --delay: 0.08s; }
.plans .plan { margin: 0; font-size: 24px; letter-spacing: -0.03em; }
.plans .price { margin: 14px 0 6px; color: var(--text); font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -0.045em; }
.plans .price .per { color: var(--muted); font-size: 16px; font-weight: 400; letter-spacing: -0.01em; }
.plans p { font-size: 15px; }
.list { width: 100%; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.list li { padding: 10px 0; border-top: 1px solid var(--line); }
.list li:last-child { border-bottom: 1px solid var(--line); }
.plans .note { margin: 18px 0 24px; color: var(--faint); font-size: 13px; }
.plans .btn { margin-top: auto; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } .plans .cell { padding: 40px 24px 44px; } }

/* ---------- prices by country ----------
   functions/_middleware.js sets <html data-country> from the visitor's country. Both prices are in
   the HTML; India sees rupees, everyone else dollars, decided before the first paint. */
.inr { display: none; }
html[data-country="IN"] .inr { display: inline; }
html[data-country="IN"] .usd, html[data-country="IN"] .plan-india { display: none; }

/* ---------- footer ---------- */
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 22px 24px 28px; color: var(--faint); font-size: 12px; }

/* ---------- 404 and the plain one-row pages ---------- */
.faq { padding: 72px 40px 80px; }
.faq .big { margin-bottom: 36px; }
.lost { color: var(--muted); }
.lost a, .foot a, .prose a, .acc a, .side a, .card a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.35); }
.get-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 40px; }
.get-strip h2 { margin: 0; font-size: 24px; letter-spacing: -0.03em; }
@media (max-width: 600px) { .faq { padding: 56px 24px 64px; } .get-strip { padding: 32px 24px; } }

/* ---------- pages with a side column: FAQ, legal, the billing questions ----------
   Two cells split by the grid's hairline. The left one holds the title and a list of the
   sections, and stays in view while the right one scrolls. */
.frame { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 1px; background: var(--line); }
.frame > * { padding: 64px 40px 80px; background: var(--bg); }
.side-in { position: sticky; top: 32px; max-height: calc(100vh - 64px); overflow-y: auto; }
.page-title { margin: 0 0 14px; font-size: clamp(30px, 3.2vw, 40px); font-weight: 600; line-height: 1.08; letter-spacing: -0.04em; text-wrap: balance; }
.side-note { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.side-label { margin: 32px 0 10px; color: var(--faint); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.toc { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.toc a { display: block; padding: 6px 0; color: var(--muted); font-size: 14px; text-decoration: none; }
.toc a:hover { color: var(--text); }
[id] { scroll-margin-top: 24px; }
@media (max-width: 820px) {
  .frame { grid-template-columns: minmax(0, 1fr); }
  .frame > * { padding: 44px 24px 52px; }
  .frame > .side { padding-bottom: 28px; }
  .side-in { position: static; max-height: none; overflow: visible; }
  /* On a phone the section list is a row of chips that scrolls sideways inside itself. */
  .toc { flex-direction: row; gap: 8px; margin: 0 -24px; padding: 2px 24px; overflow-x: auto; scrollbar-width: none; }
  .toc::-webkit-scrollbar { display: none; }
  .toc a { flex: none; padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); font-size: 13px; white-space: nowrap; }
  .side-label { margin-top: 24px; }
}

/* Readable text: legal pages and long answers. */
.prose > * { max-width: 68ch; }  /* on the children: the cell itself must fill its column */
.prose > p:first-child { margin-top: 0; color: var(--text); font-size: 17px; }
.prose h2 { margin: 48px 0 12px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.prose p { margin: 0 0 16px; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* Accordions: native <details>, so the keyboard and find-in-page work. */
.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { position: relative; padding: 18px 40px 18px 0; list-style: none; cursor: pointer; font-size: 16px; font-weight: 500; letter-spacing: -0.012em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 4px; top: 13px; color: var(--muted); font-size: 22px; font-weight: 300; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc summary:hover::after { color: var(--text); }
.acc p { max-width: 64ch; margin: -4px 0 20px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
@media (prefers-reduced-motion: no-preference) { .acc summary::after { transition: transform 0.25s var(--spring); } }
.group + .group { margin-top: 48px; }
.group-label { margin: 0 0 8px; color: var(--faint); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- pricing page ---------- */
.price-head { padding: 64px 24px 48px; text-align: center; }
.price-head h1 { margin: 0; font-size: clamp(36px, 4.4vw, 52px); font-weight: 600; line-height: 1.05; letter-spacing: -0.045em; }
.price-head p { margin: 12px auto 0; max-width: 34em; color: var(--muted); font-size: 17px; }
/* The plan cards: two rounded cards on the black page. Each card is a subgrid over the same eight
   rows, so the price, button and list line up across both cards even though only Pro has the
   India line. */
.plans-row { padding: 72px 24px 64px; }
.plans-title { margin: 0 0 40px; text-align: center; font-size: clamp(34px, 4vw, 46px); font-weight: 600; line-height: 1.05; letter-spacing: -0.045em; }
.plan-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; max-width: 1040px; margin: 0 auto; }
.plan-card { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; padding: 32px 32px 0; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; background: var(--card); }
.plan-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.plan-icon { flex: none; color: var(--text); }
.plan-name { margin: 22px 0 0; font-size: 30px; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
.plan-tag { margin: 4px 0 0; color: var(--muted); font-size: 17px; }
.plan-price { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; }
.plan-price .num { color: var(--text); font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.plan-price .lbl { color: var(--muted); font-size: 13px; line-height: 1.4; }
.plan-india { margin: 8px 0 0; color: var(--faint); font-size: 13px; }
.plan-btn { display: flex; align-items: center; justify-content: center; height: 52px; margin-top: 20px; border-radius: 12px; background: #f5f5f7; color: #000; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.plan-btn:hover { background: #fff; }
@media (prefers-reduced-motion: no-preference) { .plan-btn { transition: background-color 0.2s ease, transform 0.25s var(--spring); } .plan-btn:active { transform: scale(0.985); } }
.plan-note { margin: 10px 0 0; color: var(--faint); font-size: 13px; text-align: center; }
/* The divider runs the card's full width: the list section pulls out over the card's padding. */
.plan-list { margin: 28px -32px 0; padding: 26px 32px 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.plan-list > p { margin: 0 0 6px; color: var(--muted); font-size: 15px; }
.plans-foot { max-width: 1040px; margin: 28px auto 0; color: var(--faint); font-size: 13px; text-align: center; }
.plans-foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.3); }

/* Monthly / Yearly: two radios inside the Pro card. Prices follow through :has(), no script. */
.period { display: inline-flex; flex: none; margin: 0; padding: 3px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.period label { padding: 6px 12px; border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.period label span { color: var(--faint); font-weight: 400; }
.period input:checked + label { background: rgba(255, 255, 255, 0.12); color: var(--text); }
.period input:checked + label span { color: var(--muted); }
.period input:focus-visible + label { outline: 2px solid #0a84ff; outline-offset: 2px; }
.y { display: none; }
main:has(#py:checked) .m { display: none; }
main:has(#py:checked) .y { display: inline; }
@media (max-width: 760px) {
  .plans-row { padding: 48px 16px 48px; }
  .plans-title { margin-bottom: 28px; }
  .plan-cards { grid-template-columns: minmax(0, 1fr); }
  .plan-pro { order: -1; }   /* Pro first on a phone */
  .plan-card { padding: 24px 20px 0; }
  .plan-list { margin: 24px -20px 0; padding: 22px 20px 28px; }
  .plan-name { font-size: 26px; }
  .plan-price .num { font-size: 40px; }
}

.checks { margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding: 8px 0 8px 28px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.plan-list .checks li { padding: 7px 0 7px 28px; color: var(--text); font-size: 15.5px; line-height: 1.55; }
.plan-list .checks li::before { top: 11px; background: var(--muted); }
:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); --dash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8h7' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* The comparison: full width, rows in groups, the Pro column tinted like the Pro cell, and the
   header row stays in view while the rows scroll under it. */
.compare-row { padding: 56px 40px 64px; }
.sec-title { margin: 0 0 24px; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.cmp thead th { position: sticky; top: 0; z-index: 1; padding-top: 16px; padding-bottom: 16px; background: var(--bg); color: var(--text); font-weight: 600; border-bottom-color: rgba(255, 255, 255, 0.22); }
.cmp th:first-child { padding-left: 0; width: 46%; }
.cmp td, .cmp thead th:not(:first-child) { width: 27%; text-align: center; }
.cmp tbody th { color: var(--text); }
.cmp td { color: var(--muted); }
.cmp td:last-child, .cmp thead th:last-child { background: var(--surface); color: var(--text); }
.cmp .grp th { padding-top: 32px; padding-bottom: 10px; color: var(--faint); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.cmp tbody .grp:first-child th { padding-top: 20px; }
.ic { display: inline-block; width: 18px; height: 18px; vertical-align: -4px; background: currentColor; -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.ic.no { color: var(--faint); -webkit-mask-image: var(--dash); mask-image: var(--dash); }
@media (max-width: 600px) {
  .compare-row { padding: 44px 16px 52px; }
  .cmp { font-size: 14px; }
  .cmp th, .cmp td { padding: 12px 8px; }
  .cmp th:first-child { width: 44%; }
  .cmp td, .cmp thead th:not(:first-child) { width: 28%; }
}

/* ---------- contact: two cells ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.card { padding: 44px 40px 52px; background: var(--bg); }
.card h2 { margin: 0 0 12px; font-size: 20px; letter-spacing: -0.02em; }
.card p { max-width: 46ch; margin: 0 0 14px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.card .mail { display: inline-block; margin: 4px 0 20px; color: var(--text); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.card > p:first-of-type { min-height: 3.3em; }  /* both email lines sit at the same height */
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } .card { padding: 40px 24px 44px; } .card > p:first-of-type { min-height: 0; } }
