/* The site's quieter pages (pricing, privacy, terms, 404) in the home page's look, on top of home.css: the same dark
   theme and type, no photos behind the page. Only the plan most people pick has a picture behind it (Kelvin, 7 Oct). */
main { padding-top: 130px; }
.page-head { text-align: center; }
.page-head h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 600; }
.page-head .lede { max-width: 520px; margin: 16px auto 0; color: var(--body); font-size: 18px; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3EDB98; box-shadow: 0 0 0 4px rgba(62, 219, 152, .2); flex-shrink: 0; }

/* ---------- Pricing (20 Oct): the app's All plans page, landing-page size. The dearer the plan, the richer its card:
   Free plain, Pro teal, Business dark teal with a glow, Enterprise black with a moving gradient edge and sparks. ---------- */
.price-controls { margin: 30px auto 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.seg { display: inline-flex; padding: 4px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.seg button { height: 40px; padding: 0 18px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font: 550 14.5px var(--sans); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: background .2s, color .2s, transform .35s var(--spring); }
.seg button:active { transform: scale(.95); }
.seg button[aria-checked="true"] { background: var(--chip); color: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 2px 8px rgba(0, 0, 0, .35); }
.seg em { font-style: normal; font-size: 11.5px; font-weight: 650; padding: 2px 7px; border-radius: 7px; background: var(--teal); color: #062321; }
.seg-small button { height: 34px; padding: 0 12px; font-size: 13px; }
.page-head .notice { margin: 18px auto 0; width: fit-content; max-width: 100%; text-align: left; font-size: 14px; color: var(--muted); }
.notice { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--body); }

.tiers { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; max-width: 1240px; }
.tier { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; border-radius: 26px; background: var(--card); box-shadow: 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; }
.tier h2 { font-size: 21px; font-weight: 650; letter-spacing: -0.02em; }
.tier .pitch { margin-top: 6px; color: var(--body); font-size: 14.5px; line-height: 1.45; min-height: 4.35em; }
.tier .amt { margin-top: 18px; display: flex; align-items: baseline; gap: 5px; }
.tier .amt b { font-size: 46px; font-weight: 650; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.tier .amt b.talk { font-size: 34px; letter-spacing: -0.04em; }
.tier .amt span { color: var(--muted); font-size: 15px; }
.tier .billed { margin-top: 8px; min-height: 1.4em; color: var(--muted); font-size: 13px; }
.tier .lead { margin-top: 22px; font: 600 11.5px var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.tier ul { list-style: none; margin: 12px 0 24px; padding: 0; display: grid; gap: 11px; font-size: 14.5px; color: var(--ink); }
.t-free ul { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.tier li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; line-height: 1.4; }
.tier li .ic { margin-top: 2px; width: 16px; height: 16px; stroke-width: 2.6; color: var(--teal-ink); }
.tier-btn { margin-top: auto; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 15px; font-weight: 600; background: var(--chip); color: var(--ink); box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--spring), filter .2s; }
.tier-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.tier-btn:active { transform: scale(.96); transition-duration: .1s; }
.tag { position: absolute; right: 16px; top: 18px; height: 24px; padding: 0 10px; border-radius: 12px; display: flex; align-items: center; font: 650 11px var(--sans); text-transform: uppercase; letter-spacing: .07em; }

.t-pro { background: linear-gradient(180deg, #14322F 0%, var(--card) 70%); box-shadow: 0 0 0 1.5px var(--teal), 0 30px 60px -24px rgba(0, 0, 0, .8); }
.t-pro .tag { background: var(--teal); color: #062321; }
.t-pro .tier-btn { background: var(--teal); color: #062321; box-shadow: none; }

.t-biz { color: #fff; background: radial-gradient(120% 70% at 100% 0%, #1C8F87 0%, rgba(28, 143, 135, 0) 55%), linear-gradient(165deg, #0F3B38 0%, #081A19 100%); box-shadow: 0 0 0 1px rgba(95, 211, 204, .22), 0 30px 60px -24px rgba(0, 0, 0, .85); }
.t-biz .pitch, .t-biz .amt span, .t-biz .billed, .t-biz .lead { color: rgba(255, 255, 255, .72); }
.t-biz li .ic, .t-ent li .ic { color: #5FD3CC; }
.t-biz .tag { background: #fff; color: #0F3B38; }
.t-biz .tier-btn { background: #fff; color: #0F3B38; box-shadow: none; }

.t-ent { color: #fff; background: #050506; box-shadow: 0 0 0 1.5px rgba(201, 184, 255, .45), 0 30px 60px -24px rgba(0, 0, 0, .85); }
.t-ent .pitch, .t-ent .billed, .t-ent .lead { color: rgba(255, 255, 255, .68); }
.t-ent .amt b { background: linear-gradient(120deg, #7FD8CF, #8EC5FF 50%, #C9B8FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-ent .tag { background: linear-gradient(120deg, #7FD8CF, #8EC5FF); color: #0B0B0D; }
.t-ent .tier-btn { background: linear-gradient(120deg, #7FD8CF, #8EC5FF 60%, #C9B8FF); color: #0B0B0D; box-shadow: none; }
.spark { position: absolute; z-index: -1; color: #fff; animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.6) rotate(0); } 50% { opacity: .9; transform: scale(1) rotate(45deg); } }
.tier [data-amt], .tier [data-billed], .tier [data-trial] { transition: opacity .18s; }
.tiers.is-swapping [data-amt], .tiers.is-swapping [data-billed], .tiers.is-swapping [data-trial] { opacity: 0; }

.promises { margin-top: 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1240px; }
.promises div { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 18px 18px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.promises .ic { grid-row: span 2; width: 20px; height: 20px; margin-top: 1px; color: var(--teal-ink); }
.promises b { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.promises span { font-size: 13.5px; color: var(--muted); }

.compare-sec .sec-head > h2, #questions .sec-head > h2 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.04em; font-weight: 600; line-height: 1.08; }
.compare-wrap { margin: 36px auto 0; max-width: 1000px; overflow-x: auto; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line); text-align: left; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { position: sticky; top: 0; padding-block: 18px; background: var(--card); color: var(--ink); font-size: 15px; font-weight: 650; }
.compare tbody th { text-align: left; font-weight: 450; color: var(--body); }
.compare td { color: var(--ink); }
.compare .group th { padding-top: 22px; font: 600 11.5px var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); text-align: left; }
.compare .is-pro { background: rgba(53, 189, 180, .07); }
.compare thead .is-pro { color: var(--teal-ink); }
.compare .ic { width: 17px; height: 17px; vertical-align: middle; }
.compare .yes { color: var(--teal-ink); stroke-width: 2.6; }
.compare .no { color: #55544F; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pricing-note { max-width: 720px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: 14.5px; }
.pricing-note strong { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .spark { animation: none; opacity: .6; } }
@media (max-width: 1100px) {
  .tiers, .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
}
@media (max-width: 640px) {
  .tiers, .promises { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
  .tier .pitch { min-height: 0; }
  .price-controls { flex-direction: column; }
  .seg:not(.seg-small) { width: 100%; max-width: 340px; }
  .seg:not(.seg-small) button { flex: 1; justify-content: center; }
}
.closing { margin-top: 110px; padding-block: 64px; text-align: center; border-top: 1px solid var(--line); }
.closing h2 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.04em; font-weight: 600; line-height: 1.08; }
.closing .lede { margin-top: 12px; color: var(--body); font-size: 17px; }

/* ---------- Privacy and terms ---------- */
.doc { max-width: 720px; margin: 0 auto; }
.doc-head { text-align: center; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.doc-eyebrow { display: inline-block; padding: 4px 12px; border-radius: 14px; background: var(--chip); color: var(--muted); font: 500 12.5px var(--mono); }
.doc-head h1 { margin-top: 16px; font-size: clamp(36px, 5.6vw, 60px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 600; }
.doc-updated { margin-top: 12px; color: var(--muted); font-size: 14px; }
.doc-plain { margin-top: 36px; padding: 24px 26px; border-radius: 22px; background: var(--teal-soft); box-shadow: 0 0 0 1px color-mix(in srgb, var(--teal) 30%, transparent); }
.doc-plain-label { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--teal-ink); }
.doc-plain ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink); }
.doc-intro { margin-top: 32px; font-size: 18px; color: var(--ink); line-height: 1.6; }
.doc section { margin-top: 40px; }
.doc section h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; scroll-margin-top: 100px; }
.doc section p, .doc section li { color: var(--body); line-height: 1.7; }
.doc section p { margin-top: 12px; }
.doc section ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 10px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--teal-ink); text-underline-offset: 3px; }
.contact-section { padding: 24px 26px; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.contact-section p { margin-top: 8px !important; }

/* ---------- 404 ---------- */
.lost { min-height: 70svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.lost h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.04em; font-weight: 600; line-height: 1.06; }
.lost .lede { margin-top: 12px; color: var(--body); font-size: 17px; }
.lost-wrap { position: relative; }
.lost-hand { position: absolute; left: calc(100% - 6px); top: 26%; display: flex; align-items: flex-start; gap: 2px; width: max-content; font-size: 25px; text-align: left; rotate: 7deg; transform-origin: 0 0; }
.lost-hand .curl { width: 80px; height: 54px; margin-top: -14px; }
.lost-art { width: min(220px, 56vw); aspect-ratio: 870 / 810; margin: 0 auto 24px; }
.lost-art svg { display: block; width: 100% !important; height: 100% !important; }
.lost-art path[stroke] { stroke: var(--ink); }
.lost-art path[fill='rgb(0,0,0)'] { fill: var(--ink); }
.lost-art path[fill='rgb(255,255,255)'] { fill: var(--bg); }

@media (max-width: 900px) {
  main { padding-top: 104px; }
  .doc-plain, .contact-section { padding: 20px; }
  .lost-hand { position: relative; left: 18px; top: -8px; margin-bottom: 30px; font-size: 23px; }
  .lost-hand .curl { rotate: 58deg; width: 54px; margin: -14px 0 0; }
}

/* Guide and docs (7 Oct): a contents list, tables, numbered lists, sub-headings and code inside a doc. */
.doc-toc { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.doc-toc a { padding: 6px 12px; border-radius: 16px; background: var(--chip); color: var(--body); font-size: 13.5px; text-decoration: none; }
.doc-toc a:hover { color: var(--ink); }
.doc section h3 { margin-top: 24px; font-size: 17px; font-weight: 600; color: var(--ink); }
.doc section ol { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 10px; }
.doc section ol li { color: var(--body); line-height: 1.7; }
.doc table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; }
.doc th { color: var(--ink); font-weight: 600; font-size: 13.5px; }
.doc td { color: var(--body); }
.doc code { font: 500 0.88em var(--mono); padding: 1px 6px; border-radius: 6px; background: var(--chip); color: var(--ink); }

/* ---------- The team (8 Oct) ---------- */
.team { list-style: none; margin: 56px auto 0; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.person { padding: 28px 22px 26px; border-radius: 26px; background: var(--card); box-shadow: 0 0 0 1px var(--line); text-align: center; }
.person-face { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; font: 600 30px var(--sans); letter-spacing: -0.02em; }
.person-face img { width: 100%; height: 100%; object-fit: cover; }
.tone-teal { background: var(--teal-soft); color: var(--teal-ink); }
.tone-blue { background: #15253F; color: #8DB4F5; }
.tone-plum { background: #2A1C3B; color: #C3A6F2; }
.tone-green { background: #16301F; color: #8FDCA5; }
.person h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.person-role { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.person-line { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--body); font-size: 15px; }
.team-note { margin: 28px auto 0; padding-inline: 8px; display: flex; align-items: flex-start; justify-content: center; gap: 10px; color: var(--body); font-size: 15px; text-align: center; }
.team-note .ic { margin-top: 2px; color: var(--teal); font-size: 18px; flex-shrink: 0; }
.team-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .person { padding: 22px 14px; } .person-face { width: 80px; height: 80px; font-size: 26px; } }
.person-socials { margin-top: 14px; display: flex; justify-content: center; gap: 8px; }
.person-socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--chip); color: var(--body); transition: color .18s, background .18s; }
.person-socials a:hover { color: var(--ink); background: var(--line); }
.person-socials svg { width: 16px; height: 16px; }
