/* Ellery's public site (2026-10-13), built from the "Public site" boards on the design canvas. Plain HTML
   and CSS with no build step, so it is served straight from Vercel's network. The brand is ../BRAND.md. */

:root {
  --blue: #2F3BF5; --blue-ink: #1C25B8; --ink: #0F1222; --ember: #FF7A59; --ember-ink: #B23A1C; --wash: #FFE4DB;
  --paper: #FAFAFB; --line: #E3E5EC; --line-2: #EEF0F4; --muted: #5B6072; --body: #3A3F52; --tint: #ECEEFF; --grey: #F0F1F5;
  --soft: #C9CCD8; --faint: #8B90A6;
  --display: 'Space Grotesk', 'Geist', system-ui, sans-serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: var(--blue); }
a:hover { color: var(--blue-ink); }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-ink); color: #fff; }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn.lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn.white { background: #fff; color: var(--blue); }
.btn.white:hover { background: var(--tint); color: var(--blue-ink); }
.btn.outline-w { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn.outline-w:hover { border-color: #fff; color: #fff; }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px 32px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.mark { width: 34px; height: 34px; border-radius: 17px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 22px; padding-bottom: 3px; }
.word { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.04em; }
/* The exact legal name beside the wordmark (counsel 2026-10-29: no fictitious name is registered, so the site shows
   "Ellery Research LLC" in the header and footer). */
.legalname { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--muted); margin-left: -4px; align-self: flex-end; padding-bottom: 3px; white-space: nowrap; }
.foot .legalname { color: var(--soft); }
.nav { display: flex; gap: 2px; flex-grow: 1; }
.nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; color: var(--body); font-weight: 500; font-size: 15px; text-decoration: none; }
.nav a:hover { color: var(--ink); background: var(--grey); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; background: var(--tint); }
.top-acts { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.signin { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px; border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; transition: background-color 0.15s, color 0.15s; }
/* The account icon before "Log in", and a soft blue oval on hover (2026-10-29, as Salesforce does). */
@supports ((-webkit-mask: none) or (mask: none)) {
  .signin::before { content: ""; width: 18px; height: 18px; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.2%27 stroke-linecap=%27round%27%3E%3Ccircle cx=%2712%27 cy=%278%27 r=%274%27/%3E%3Cpath d=%27M4 21c0-4 4-7 8-7s8 3 8 7%27/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.2%27 stroke-linecap=%27round%27%3E%3Ccircle cx=%2712%27 cy=%278%27 r=%274%27/%3E%3Cpath d=%27M4 21c0-4 4-7 8-7s8 3 8 7%27/%3E%3C/svg%3E") center / contain no-repeat; }
}
.signin:hover { background: var(--tint); color: var(--blue-ink); }
/* Contact us: smaller, always underlined (2026-10-29, as Salesforce does). */
.toplink { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--body); font-weight: 500; font-size: 14px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.toplink:hover { color: var(--ink); }
.signin-ic { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 22px; color: var(--ink); }
.signin-ic:hover { background: var(--tint); color: var(--blue-ink); }
.nav a, .toplink, .signin { white-space: nowrap; }
.top .btn { min-height: 44px; padding: 0 20px; }
.menu { display: none; position: relative; }
.menu > summary { list-style: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: 0 24px 48px -20px rgba(15, 18, 34, 0.3); display: flex; flex-direction: column; }
.menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; color: var(--ink); font-weight: 500; text-decoration: none; }
.menu-panel a:hover { background: var(--tint); }
/* Below 1120px the header is the logo and the menu (2026-10-29, as Salesforce does). */
@media (max-width: 1120px) {
  .nav, .top .toplink, .top .signin, .top .btn { display: none; }
  .top .menu-panel .btn { display: flex; margin-top: 6px; }
  /* The account icon (Log in) beside the menu, as Salesforce does. */
  .top .signin-ic { display: inline-flex; }
  .menu { display: block; }
}

/* shared section parts */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.h2 { font-family: var(--display); font-weight: 700; font-size: 48px; line-height: 1.05; letter-spacing: -0.035em; color: var(--ink); }
.lead { font-size: 18px; line-height: 1.6; color: var(--body); }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 780px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.sec { padding: 56px 0; }
.sample { font-family: var(--mono); font-size: 11px; color: var(--ink); background: var(--wash); padding: 4px 10px; border-radius: 999px; }

/* hero */
.hero { background-image: radial-gradient(ellipse 60% 70% at 85% 10%, rgba(47, 59, 245, 0.1), transparent 70%); }
.hero .wrap { padding-top: 88px; padding-bottom: 104px; display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px 0 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 500; text-decoration: none; }
.pill b { background: var(--blue); color: #fff; border-radius: 999px; padding: 3px 9px; font-size: 11px; font-weight: 600; }
.pill:hover { border-color: var(--blue); color: var(--ink); }
.h1 { font-family: var(--display); font-weight: 700; font-size: 76px; line-height: 0.98; letter-spacing: -0.045em; }
.hero-sub { font-size: 20px; line-height: 1.55; color: var(--body); max-width: 560px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-family: var(--mono); font-size: 13px; color: var(--muted); }

.shot { position: relative; flex: 1 1 520px; min-width: 0; }
.shot .sample { position: absolute; right: 12px; top: -30px; }
.win { border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(15, 18, 34, 0.35); }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: var(--paper); }
.win-bar i { width: 10px; height: 10px; border-radius: 5px; background: var(--line); }
.win-bar span { margin-left: 12px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.win-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.count { background: var(--ink); color: #fff; border-radius: 18px; padding: 20px 22px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; background-image: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(47, 59, 245, 0.5), transparent 70%); }
.count > div { display: flex; flex-direction: column; gap: 4px; }
.count .l { font-size: 12px; color: var(--soft); }
.count .n { font-family: var(--display); font-weight: 700; font-size: 52px; line-height: 0.95; letter-spacing: -0.04em; }
.count .s { font-family: var(--mono); font-size: 11px; color: var(--soft); }
.count .btn { min-height: 38px; padding: 0 16px; font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid #C5CAFB; background: var(--tint); color: var(--blue-ink); font-size: 12px; font-weight: 500; }
.prow { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) 52px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.prow:last-child { border-bottom: 0; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.av { width: 30px; height: 30px; border-radius: 15px; background: var(--tint); color: var(--blue); font-weight: 600; font-size: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.who span:last-child { display: flex; flex-direction: column; min-width: 0; }
.who b { font-weight: 600; }
.who em { font-style: normal; font-size: 11px; color: var(--muted); }
.prow .f { color: var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow .y { font-family: var(--mono); text-align: right; }
.toast { position: absolute; left: -36px; bottom: -28px; padding: 14px 16px; border-radius: 18px; box-shadow: 0 24px 48px -24px rgba(15, 18, 34, 0.4); display: flex; align-items: center; gap: 12px; max-width: 320px; }
.toast > span:first-child { width: 36px; height: 36px; border-radius: 12px; background: var(--wash); color: var(--ember); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.toast > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.toast b { font-weight: 600; }
.toast em { font-style: normal; color: var(--muted); }

/* stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 24px; }
.stats .wrap > div { flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px; }
.stats b { font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: -0.035em; }
.stats span { font-size: 14px; color: var(--muted); }

/* features and audiences */
.grid { display: grid; gap: 20px; }
.grid.f3 { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); }
.grid.f4 { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.feat { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.feat .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--tint); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.feat h3, .aud h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.feat p, .aud p { font-size: 15px; line-height: 1.6; color: var(--body); }
.aud { padding: 24px; display: flex; flex-direction: column; gap: 10px; border-top: 4px solid var(--blue); }
.aud h3 { font-size: 18px; }
.stack { display: flex; flex-direction: column; gap: 40px; }

/* the Claude band */
.band { background: var(--ink); color: #fff; border-radius: 28px; padding: 64px 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; background-image: radial-gradient(ellipse 50% 90% at 0% 100%, rgba(47, 59, 245, 0.45), transparent 70%); }
.band-copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.band .eyebrow { color: var(--ember); }
.band .h2 { color: #fff; }
.band .lead { color: var(--soft); }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-chips span { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 13px; font-weight: 500; }
.chat { flex: 1 1 460px; min-width: 0; background: #1A1F33; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.q { align-self: flex-end; max-width: 85%; background: var(--blue); color: #fff; border-radius: 18px 18px 4px 18px; padding: 12px 16px; font-size: 15px; line-height: 1.5; }
.a { max-width: 92%; background: #232842; border-radius: 18px 18px 18px 4px; padding: 14px 16px; font-size: 14px; line-height: 1.6; color: #E6E8F2; }
.a ol { margin: 8px 0 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 13px; }
.a small { display: block; margin-top: 10px; font-size: 12px; color: var(--faint); }

/* the public record */
.record { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.record > div { flex: 1 1 420px; min-width: 0; }
.record-copy { display: flex; flex-direction: column; gap: 18px; }
.srcs { display: flex; flex-wrap: wrap; gap: 8px; }
.srcs span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.vs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.vs > div { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.vs .old { background: var(--grey); border-color: var(--grey); }
.vs .new { border: 2px solid var(--blue); }
.vs .k { font-size: 14px; font-weight: 600; color: var(--muted); }
.vs .new .k { color: var(--blue); }
.vs b { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -0.03em; }
.vs .old b { color: var(--body); }
.vs span:last-child { font-size: 14px; color: var(--muted); }

/* the closing call */
.close { padding: 24px 0 96px; }
.close-in { background: var(--blue); color: #fff; border-radius: 28px; padding: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; background-image: radial-gradient(ellipse 50% 120% at 100% 0%, rgba(255, 122, 89, 0.35), transparent 70%); }
.close-in > div:first-child { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.close-in h2 { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1.05; letter-spacing: -0.035em; }
.close-in p { font-size: 18px; color: #DADDFF; }

/* footer */
.foot { background: var(--ink); color: #fff; }
.foot .wrap { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 340px; }
.foot-brand p { font-size: 14px; line-height: 1.6; color: var(--soft); }
.foot .logo, .foot .logo:hover { color: #fff; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; min-width: 150px; }
.foot-cols h4 { margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.foot-cols a { color: #DADDF0; text-decoration: none; font-size: 14px; }
.foot-cols a:hover { color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-family: var(--mono); font-size: 12px; color: var(--faint); }

/* pricing */
.p-hero { background-image: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(47, 59, 245, 0.1), transparent 70%); }
.p-hero .wrap { padding-top: 80px; padding-bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.p-hero .h1 { font-size: 68px; line-height: 1; max-width: 900px; }
.p-hero .lead { font-size: 19px; max-width: 640px; }
.bill { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--grey); gap: 2px; margin-top: 6px; }
.bill button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: none; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--body); cursor: pointer; }
.bill button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(15, 18, 34, 0.12); }
.save { background: var(--wash); color: var(--ember-ink); border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 600; }
.founding { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; background: var(--wash); border-radius: 16px; padding: 14px 20px; font-size: 15px; text-align: center; }
.founding a { font-weight: 600; }
.tiers { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; padding: 16px 0 88px; }
.tier { flex: 1 1 320px; min-width: 0; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.tier.hi { background: var(--ink); color: #fff; border: 0; box-shadow: 0 40px 80px -40px rgba(15, 18, 34, 0.5); }
.tier-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tier-top b { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
.tier-top span { background: var(--blue); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 600; }
.tier .who-for { font-size: 15px; line-height: 1.5; color: var(--body); min-height: 46px; }
.tier.hi .who-for { color: var(--soft); }
.price { display: flex; flex-direction: column; gap: 6px; }
.price div { display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: var(--display); font-weight: 700; font-size: 60px; line-height: 1; letter-spacing: -0.045em; }
.price div span { font-size: 16px; color: var(--body); }
.tier.hi .price div span { color: var(--soft); }
.price small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.tier.hi .price small { color: var(--faint); }
.rule { height: 1px; background: var(--line-2); }
.tier.hi .rule { background: rgba(255, 255, 255, 0.12); }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.ticks svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }
.tier.hi .ticks svg { color: #A9AFFB; }
.cmp { padding: 8px 32px 16px; overflow-x: auto; }
.cmp table { width: 100%; min-width: 620px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 0 8px; height: 52px; border-bottom: 1px solid var(--line-2); text-align: center; font-size: 14px; }
.cmp th:first-child, .cmp td:first-child { text-align: left; padding-left: 0; font-size: 15px; font-weight: 400; color: var(--body); }
.cmp thead th { height: auto; padding: 20px 8px 14px; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.cmp thead b { display: block; font-family: var(--display); font-size: 20px; font-weight: 700; }
.cmp thead .team b { color: var(--blue); }
.cmp thead small { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .yes { color: var(--blue); font-size: 17px; font-weight: 700; }
.cmp .no { color: var(--line); }
.cmp .team { font-weight: 600; }
.custom { padding: 40px 44px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; border-left: 6px solid var(--ember); }
.custom > div { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.custom .eyebrow { color: var(--ember-ink); }
.custom .h2 { font-size: 36px; }
.custom p { font-size: 17px; line-height: 1.6; color: var(--body); }
.faq { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr)); gap: 16px; }
.faq > div { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.faq h3 { font-size: 18px; font-weight: 600; }
.faq p { font-size: 15px; line-height: 1.6; color: var(--body); }

/* contact (2026-10-22): the "Write to us" form and its side cards */
.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.contact-form { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--faint); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.contact-form .btn { align-self: flex-start; }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-side .card { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.contact-side h3 { font-size: 18px; font-weight: 600; }
.contact-side p { font-size: 15px; line-height: 1.6; color: var(--body); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 960px) {
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .h1 { font-size: 56px; }
  .p-hero .h1 { font-size: 52px; }
  .h2 { font-size: 38px; }
  .toast { left: 12px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top .wrap { min-height: 64px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 72px; gap: 56px; }
  .h1 { font-size: 44px; }
  .p-hero .wrap { padding-top: 48px; }
  .p-hero .h1 { font-size: 40px; }
  .h2 { font-size: 32px; }
  .hero-sub { font-size: 18px; }
  .ctas .btn { flex: 1 1 auto; }
  .count .n { font-size: 40px; }
  .prow { grid-template-columns: minmax(0, 1fr) 44px; }
  .prow .f { display: none; }
  .toast { position: static; margin-top: 12px; max-width: none; }
  .shot .sample { top: -26px; right: 0; }
  .band { padding: 36px 22px; gap: 32px; border-radius: 22px; }
  .chat { padding: 16px; }
  .close-in { padding: 32px 22px; border-radius: 22px; }
  .close-in h2 { font-size: 32px; }
  .close-in .btn { flex: 1 1 auto; }
  .tier { padding: 24px; }
  .price b { font-size: 52px; }
  .cmp { padding: 4px 16px 8px; }
  .custom { padding: 26px 22px; }
  .stats b { font-size: 32px; }
  .stats .wrap > div { flex-basis: 140px; }
}

/* legal pages: terms and privacy (2026-10-14) */
.legal { padding: 56px 0 72px; }
.legal-wrap { max-width: 780px; }
.legal-draft { margin-bottom: 28px; padding: 12px 16px; border-radius: 12px; background: var(--wash); color: var(--ember-ink); font-size: 14px; line-height: 1.5; }
.legal .h2 { font-size: 44px; }
.legal-meta { margin: 10px 0 24px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.legal .lead { margin-bottom: 8px; }
.legal h2 { margin: 36px 0 10px; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.legal h3 { margin: 22px 0 8px; font-size: 16px; font-weight: 600; color: var(--ink); }
.legal p { margin: 10px 0; font-size: 16px; line-height: 1.7; color: var(--body); }
.legal ul { margin: 10px 0; padding-left: 22px; }
.legal li { margin: 6px 0; font-size: 16px; line-height: 1.65; color: var(--body); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .legal { padding: 36px 0 48px; }
  .legal .h2 { font-size: 34px; }
}
/* The Terms' lettered list and allowance table (2026-10-27). */
.legal ol.legal-list { margin: 10px 0; padding-left: 26px; }
.legal-table-wrap { overflow-x: auto; margin: 12px 0 16px; }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; line-height: 1.5; color: var(--body); }
.legal-table caption { text-align: left; font-weight: 600; color: var(--ink); padding-bottom: 8px; }
.legal-table th, .legal-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table thead th { font-weight: 600; color: var(--ink); }
.legal-table tbody th { font-weight: 500; color: var(--ink); }

/* Scroll animations, home page (site/motion.js, 2026-10-29). Only under .motion, which the page sets when
   motion is welcome; nothing is hidden without it. The hero is never hidden (it is the page's largest paint): it
   only rises into place. Blocks further down fade up as they come into view. */
.motion .hero-copy > *, .motion .hero .shot { animation: hero-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.motion .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.motion .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.motion .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
.motion .hero-copy > :nth-child(5) { animation-delay: 0.24s; }
.motion .hero .shot { animation-delay: 0.2s; }
@keyframes hero-rise { from { transform: translateY(18px); } to { transform: none; } }
.motion :is(.stats .wrap > div, .sec .head, .sec .card, .close-in) { transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.motion :is(.stats .wrap > div, .sec .head, .sec .card, .close-in):not(.in) { opacity: 0; transform: translateY(24px); }
.motion .hero .toast { animation: toast-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.1s both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
.stats b, .count .n { font-variant-numeric: tabular-nums; }
@media print { .motion :is(.stats .wrap > div, .sec .head, .sec .card, .close-in), .motion .hero .toast { opacity: 1 !important; transform: none !important; animation: none !important; } }

/* The narrowest phones: the legal name stays; the account icon gives way (Log in stays in the menu). */
@media (max-width: 360px) {
  .top .signin-ic { display: none; }
  .top .legalname { font-size: 13px; }
}
