/* noto-serif-bengali-bengali-wght-normal */
@font-face {
  font-family: 'Noto Serif Bengali Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/noto-bn-bengali-wght-normal.8ae8a8ce3e7a.woff2) format('woff2-variations');
  unicode-range: U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1;
}

/* noto-serif-bengali-latin-ext-wght-normal */
@font-face {
  font-family: 'Noto Serif Bengali Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/noto-bn-latin-ext-wght-normal.b400a793b275.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* noto-serif-bengali-latin-wght-normal */
@font-face {
  font-family: 'Noto Serif Bengali Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/noto-bn-latin-wght-normal.6b52f9bb0776.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/*
 * chakrisuchi.com, light colours only (the owner's choice, 2026-11-22): the same light palette
 * as the app and the staff panel (web/admin/src/styles.css); brand yellow appears only in the
 * logo and the "early access" dot (brand/README.md). The early-access card is the one dark
 * block, in the brand's ink.
 * scripts/build-site.ts puts the font's @font-face rules in front of this file.
 */
:root {
  color-scheme: light;
  --bg: #f7f6f8;
  --surface: #ffffff;
  --surface-alt: #efedf2;
  --text: #1d1b21;
  --muted: #5d5866;
  --border: #dcd9e1;
  --ink: #2e2b33;
  --ink-hover: #403c46;
  --on-ink: #ffffff;
  --on-ink-muted: #cfcbd6;
  --on-ink-line: rgb(255 255 255 / 0.16);
  --accent: #f5c518;
  --note-bg: #fdf3d8;
  --note-line: #c99a1e;
  --danger: #b42318;
  --danger-soft: #fde4e1;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow-card: 0 1px 2px rgb(46 43 51 / 0.06), 0 8px 24px -12px rgb(46 43 51 / 0.18);
  --shadow-phone:
    0 2px 4px rgb(46 43 51 / 0.12), 0 24px 48px -16px rgb(46 43 51 / 0.45),
    0 48px 80px -40px rgb(46 43 51 / 0.35);
  --header-h: 68px;
  --font:
    'Noto Serif Bengali Variable', 'Noto Serif Bengali', 'Noto Sans Bengali', 'Nirmala UI', serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.35;
}

p {
  margin: 0 0 1em;
}

:target {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}

.wrap.narrow {
  max-width: 780px;
}

.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

.nowrap {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 30;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--on-ink);
}

.skip:focus {
  top: 12px;
}

.icon {
  flex: none;
}

/* Header */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(220 217 225 / 0.7);
  background: rgb(247 246 248 / 0.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}

.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a[aria-current] {
  color: var(--text);
  background: var(--surface-alt);
}

.top-nav .nav-cta {
  margin-left: 6px;
  padding: 8px 18px;
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 600;
}

.top-nav .nav-cta:hover,
.top-nav .nav-cta[aria-current] {
  background: var(--ink-hover);
  color: var(--on-ink);
}

@media (max-width: 640px) {
  .top-nav .nav-wide {
    display: none;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  margin: 0;
  padding: 0 24px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    transform 0.15s;
}

.btn:hover {
  border-color: var(--ink-hover);
  background: var(--ink-hover);
}

.btn:active {
  transform: translateY(1px);
}

.btn .icon {
  width: 20px;
  height: 20px;
}

.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 1.06rem;
}

.btn-ghost {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--muted);
  background: var(--surface);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 5px 16px 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgb(245 197 24 / 0.25);
}

/* Phones: a screen in a drawn frame. --w is the phone's width; the rest follows from it. */

.phone {
  --w: 260px;
  flex: none;
  width: var(--w);
  padding: calc(var(--w) * 0.03);
  border-radius: calc(var(--w) * 0.092);
  background: var(--ink);
  box-shadow: var(--shadow-phone);
}

.phone img {
  width: 100%;
  border-radius: calc(var(--w) * 0.058);
  background: var(--surface);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 64px;
  background:
    radial-gradient(70% 60% at 85% 20%, #e9e6ee 0%, rgb(233 230 238 / 0) 70%),
    radial-gradient(50% 50% at 0% 100%, #f0eef3 0%, rgb(240 238 243 / 0) 70%), var(--bg);
}

.hero-in {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 0.45em;
  /* 28px on a phone, at most ~42px: three lines, none left with one word (balance). */
  font-size: clamp(1.75rem, 5.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}

.h1-soft {
  display: block;
  color: #57525f;
}

.lead {
  max-width: 34em;
  color: var(--muted);
  font-size: 1.1rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 26px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.pills li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pills .icon {
  width: 18px;
  height: 18px;
  color: var(--ink);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  padding: 12px 0 28px;
}

/* Two thin rings behind the phones. */
.hero-art::before,
.hero-art::after {
  content: '';
  grid-area: 1 / 1;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.hero-art::before {
  width: min(118%, 560px);
  aspect-ratio: 1;
}

.hero-art::after {
  width: min(84%, 400px);
  aspect-ratio: 1;
  background: rgb(255 255 255 / 0.5);
}

.hero-art .phone {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
}

.phone-front {
  --w: min(58vw, 290px);
  transform: translateX(-14%);
}

/* A notification as the phone shows it (pages.ts, notification()), over the phone. */
.notif {
  position: relative;
  z-index: 2;
  grid-area: 1 / 1;
  align-self: end;
  justify-self: end;
  width: min(74vw, 310px);
  margin: 0 0 24%;
  padding: 14px 16px;
  border: 1px solid rgb(220 217 225 / 0.8);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.95);
  box-shadow:
    0 2px 6px rgb(46 43 51 / 0.08),
    0 24px 44px -18px rgb(46 43 51 / 0.45);
}

.notif-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.notif-head img {
  width: 20px;
  height: 20px;
}

.notif-time {
  margin-left: auto;
}

.notif-title {
  margin: 6px 0 2px;
  font-weight: 700;
  line-height: 1.45;
}

.notif-body {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.art-note {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 2px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.85);
  color: var(--muted);
  font-size: 0.82rem;
}

@media (min-width: 920px) {
  .hero {
    padding: 72px 0 88px;
  }

  .hero-in {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 32px;
  }

  .phone-front {
    --w: min(26vw, 290px);
  }
}

/* Worries (the home page opens with these) */

.pains {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .pains {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .pains {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pain {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.pain .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  padding: 10px;
  border-radius: 12px;
  background: var(--note-bg);
  color: #7a5c0c;
}

.pain h3 {
  margin-bottom: 0.3em;
  font-size: 1.12rem;
}

.pain p {
  margin: 0;
  color: var(--muted);
}

.bridge {
  margin: 32px 0 0;
  font-size: 1.08rem;
  font-weight: 600;
}

.bridge a {
  white-space: nowrap;
}

/* Sections */

.band {
  padding: 72px 0;
}

.band-tight {
  padding-top: 24px;
}

.band.alt {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.band h2,
.doc h2 {
  font-size: clamp(1.45rem, 3.8vw, 1.9rem);
  line-height: 1.35;
  text-wrap: balance;
}

.section-head {
  max-width: 40em;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 0;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.kicker::before {
  content: '';
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

/* The solution, numbered, beside a phone */

.solve {
  display: grid;
  gap: 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: solve;
}

.solve li {
  position: relative;
  min-height: 44px;
  padding-left: 60px;
  counter-increment: solve;
}

.solve li::before {
  content: counter(solve, bengali);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 1.15rem;
  font-weight: 700;
}

.solve h3 {
  margin-bottom: 0.2em;
  font-size: 1.12rem;
}

.solve p {
  margin: 0;
  color: var(--muted);
}

/* A phone beside text */

.row {
  display: grid;
  gap: 36px;
  align-items: center;
}

.row-art {
  display: grid;
  place-items: center;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 60% at 50% 40%, #ffffff 0%, rgb(255 255 255 / 0) 100%), var(--surface-alt);
}

.band.alt .row-art {
  background: radial-gradient(60% 60% at 50% 40%, #ffffff 0%, rgb(255 255 255 / 0) 100%), var(--bg);
}

.phone-row {
  --w: min(64vw, 280px);
}

.row-text h2 {
  max-width: 16em;
}

@media (min-width: 860px) {
  .row {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .row-flip .row-art {
    order: 2;
  }
}

/* When the app reminds */

.reminds {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .reminds {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .reminds {
    grid-template-columns: repeat(4, 1fr);
  }
}

.remind {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.remind-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.remind-head .icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: var(--surface-alt);
}

.remind-head h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.4;
}

.remind ul {
  display: grid;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.remind ul li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.remind ul li::before {
  content: '';
  position: absolute;
  top: 0.75em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}

.remind-sample {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: auto 0 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}

.remind-sample .icon {
  width: 18px;
  height: 18px;
  margin-top: 0.2em;
}

.checks {
  display: grid;
  gap: 12px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checks .icon {
  width: 26px;
  height: 26px;
  margin-top: 0.2em;
  padding: 4px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  stroke-width: 2.4;
}

.more {
  font-weight: 600;
}

.more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.callout {
  margin: 26px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--note-line);
  border-radius: 0 12px 12px 0;
  background: var(--note-bg);
}

.callout p {
  margin: 0;
}

/* Early access */

.early-card {
  display: grid;
  gap: 32px;
  padding: 36px 22px 22px;
  border-radius: var(--radius-lg);
  background: radial-gradient(80% 70% at 100% 0%, #47424e 0%, rgb(71 66 78 / 0) 70%), var(--ink);
  color: var(--on-ink);
  box-shadow: var(--shadow-phone);
}

.early-card h2 {
  font-size: clamp(1.5rem, 4.2vw, 2rem);
  text-wrap: balance;
}

.early-text > p {
  color: var(--on-ink-muted);
}

.early-text > p:last-child {
  margin-bottom: 0;
}

.early-card .badge {
  border-color: var(--on-ink-line);
  background: rgb(255 255 255 / 0.06);
  color: var(--on-ink);
}

.early-card .flow {
  margin: 0;
}

.early-card .flow-dot {
  border-color: var(--on-ink-line);
  background: rgb(255 255 255 / 0.08);
  color: var(--on-ink);
}

.early-card .is-key .flow-dot {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.early-card .flow-step:not(:last-child)::after {
  background: var(--on-ink-line);
}

.early-card .flow-sub {
  color: var(--on-ink-muted);
}

.early-card .flow-sub a {
  color: var(--on-ink);
}

.flow .early-form-wrap {
  position: relative;
  z-index: 1;
  margin-top: 16px;
}

/* On a phone the form takes the full width under step 1, over the line. */
@media (max-width: 599px) {
  .flow .early-form-wrap {
    margin-left: -68px;
  }
}

.flow .early-form-wrap .form {
  margin: 0 0 12px;
}

.flow .early-form-wrap .fine-print {
  margin: 0;
  font-size: 0.85rem;
}

.early-card .early-form-wrap .form {
  border: 0;
  color: var(--text);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.5);
}

.early-card .early-form-wrap .fine-print {
  color: var(--on-ink-muted);
}

.early-card .early-form-wrap .fine-print a {
  color: var(--on-ink);
}

@media (min-width: 920px) {
  .early-card {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    padding: 56px;
  }
}

/* Early access in three round steps (pages.ts earlyFlow): big numbers joined by a line */

.flow {
  display: grid;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding-bottom: 22px;
}

.flow-step:last-child {
  padding-bottom: 0;
}

/* The line from one number down to the next. */
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 52px;
  bottom: 0;
  left: 25px;
  width: 2px;
  border-radius: 1px;
  background: var(--border);
}

.flow-dot {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 1.4rem;
  font-weight: 700;
}

/* The email: the step most people missed. */
.is-key .flow-dot {
  border-color: var(--note-line);
  background: var(--accent);
  color: var(--ink);
}

.is-done .flow-dot {
  border-color: var(--border);
  background: var(--surface-alt);
  color: var(--muted);
}

.flow-text {
  display: grid;
  gap: 2px;
  align-content: start;
  padding-top: 6px;
}

.flow-text strong {
  font-size: 1.15rem;
  line-height: 1.4;
}

.flow-sub {
  color: var(--muted);
  font-size: 0.95rem;
}

.flow-now {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  vertical-align: 0.15em;
}

/* FAQ */

.faq {
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  font-size: 1.1rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 20px;
  padding-right: 40px;
  color: var(--muted);
}

/* Footer */

.foot {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.95rem;
}

.foot-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 720px) {
  .foot-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
}

.foot-about .brand {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.foot-about .brand img {
  width: 32px;
  height: 32px;
}

.foot-about p {
  max-width: 24em;
}

.foot-title {
  margin-bottom: 0.4em;
  font-weight: 700;
}

.foot-links {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-links a {
  display: inline-block;
  padding: 4px 0;
  color: var(--muted);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.fine {
  margin: 32px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

/* Policy pages */

.doc {
  padding-top: 44px;
  padding-bottom: 64px;
}

.doc-head {
  margin-bottom: 28px;
}

.doc h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
}

.doc .sub {
  display: block;
  margin-top: 0.15em;
  color: var(--muted);
  font-size: 0.5em;
  font-weight: 500;
}

.doc .cta {
  margin: 8px 0 24px;
}

.done-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
}

.done-mark .icon {
  width: 32px;
  height: 32px;
  stroke-width: 2.4;
}

.langs {
  display: flex;
  gap: 8px;
}

.langs a {
  padding: 4px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  text-decoration: none;
}

.langs a:hover {
  border-color: var(--muted);
}

.policy + .policy {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.policy h3 {
  margin-top: 1.8em;
  font-size: 1.15rem;
}

.policy ul,
.policy ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.policy li {
  margin-bottom: 0.45em;
}

.policy code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface-alt);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
}

/* Tables in the policy pages (emergency numbers, how long data is kept, actions). They scroll
   sideways on their own on a narrow phone instead of widening the page. */
.policy .table-wrap {
  margin: 0 0 1.2em;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.policy table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.policy th,
.policy td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.policy th {
  background: var(--surface-alt);
  font-weight: 600;
}

.policy tbody tr:last-child td {
  border-bottom: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .faq summary::after {
    transition: none;
  }
}

/* Forms (web/site/contact.ts, web/site/early-access.ts) */

.form {
  display: grid;
  gap: 20px;
  margin: 28px 0 20px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 600;
}

.field .opt {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 1px;
  border-color: var(--ink);
}

.field [aria-invalid='true'] {
  border-color: var(--danger);
}

.hint {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.field-err {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--danger);
}

.form-ok {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #e8f5ec;
  color: #1d5b33;
}
.form-ok p {
  margin: 0;
}
.form-alert {
  padding: 14px 18px;
  border-left: 4px solid var(--danger);
  border-radius: 0 12px 12px 0;
  background: var(--danger-soft);
}

.form-alert p {
  margin: 0;
  font-weight: 600;
}

.form-alert ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.form-alert a {
  color: var(--text);
}

.form .btn {
  justify-self: start;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.form .btn-block {
  justify-self: stretch;
}

/* The honeypot: off screen for people, still in the form for bots. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fine-print {
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .form {
    padding: 18px 16px;
  }

  .form .btn {
    justify-self: stretch;
  }

  .cta .btn {
    flex: 1 1 100%;
  }
}
