/* =========================================================
   Bottle — marketing site
   Palette: cream ground, ink navy, flame blue accent.
   Type:    Bricolage Grotesque (display), Inter (body)
   ========================================================= */

/* ---------------------------------------------------------
   Fonts, served from here rather than from Google.
   A webfont fetched from someone else's server hands them
   every visitor's IP address on every page load, which is a
   thing we would then have to write down on the privacy page.
   Self-hosted, this site loads nothing from anywhere else.

   Both families are variable and licensed under the SIL Open
   Font License 1.1; the licence text sits beside the files in
   /fonts, as the OFL requires when the fonts are distributed.
   Latin and Latin Extended only: the Cyrillic, Greek and
   Vietnamese subsets Google also offers are weight this site
   would carry and never use.
   --------------------------------------------------------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  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;
}

:root {
  --ground: #F6F3EC;
  --paper: #FFFFFF;
  --tint: #ECE8DF;
  --ink: #0F1B2D;
  --ink-2: #1A2940;
  --muted: #5B6472;
  --line: rgba(15, 27, 45, .12);
  --flame: #2D6BFF;
  --flame-deep: #1C4FD6;
  --flame-soft: #E3ECFF;
  --ok: #1E9E6A;
  --ok-soft: #DDF4EA;
  /* The green above is a fine block of colour but fails as text: it reads
     2.96:1 on its own soft tint, well under the 4.5:1 a body of text needs.
     This is the same green taken down far enough to be read. */
  --ok-ink: #127049;

  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-card: 0 1px 2px rgba(15, 27, 45, .06), 0 12px 32px -12px rgba(15, 27, 45, .18);
  --shadow-float: 0 2px 4px rgba(15, 27, 45, .06), 0 24px 48px -16px rgba(15, 27, 45, .28);

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * var(--gutter)); }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 .5em;
  text-wrap: balance;
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
}
.display--md { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.05; letter-spacing: -0.03em; }
.display--sm { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; font-size: 1.25rem; line-height: 1.2; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--flame-deep); margin: 0 0 1rem;
}
.eyebrow--light { color: #9DB8FF; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 34ch; }
.lede em { font-style: normal; color: var(--ink); font-weight: 600; }

/* rough underline on the hero keyword */
.ul { position: relative; white-space: nowrap; isolation: isolate; }
.ul::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .16em;
  background: var(--flame); border-radius: 999px; transform: rotate(-1.2deg); opacity: .95; z-index: -1;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.5em; border-radius: var(--r-pill); font-weight: 600; font-size: 1rem;
  border: 2px solid transparent; transition: transform .12s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--flame); color: #fff; }
.btn--primary:hover { background: var(--flame-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: .65em 1.15em; font-size: .92rem; }
.btn--block { width: 100%; padding: 1em; font-size: 1.05rem; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--ground) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
/*
 * Wraps rather than overflows. Everything in here is sized in rem, so somebody
 * who turns text size up to 200% doubles the width of the wordmark, the link
 * and the button while the screen stays where it is. A fixed height with no
 * wrapping pushed the row off the side of the page; a minimum height with
 * wrapping lets it fall onto a second line instead, and looks no different
 * until it has to.
 */
.nav__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; min-height: 68px; padding-block: .5rem; }
.brand { display: inline-flex; align-items: baseline; gap: .4rem; }
.brand__mark { width: 19px; height: 32px; flex: none; }
/* The name sits a little above the foot of the flame. */
.brand__word { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.04em; line-height: 1; transform: translateY(-4px); }
.nav__links { display: flex; gap: 1.75rem; font-weight: 500; font-size: .95rem; color: var(--muted); }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav__links { display: none; } }
/*
 * Two ways in, weighted. Registering interest is what we want from a first
 * visit, so it keeps the filled button; signing in is for the few who already
 * have an account and know they want it, so it is a quiet link beside it.
 */
.nav__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.nav__signin { font-weight: 500; font-size: .95rem; color: var(--muted); }
.nav__signin:hover { color: var(--ink); }

/*
 * On a small phone the wordmark, Sign in and the button together are wider
 * than the screen. Tightening the gaps and the button keeps both links there
 * and reachable, which matters more than the spacing does.
 */
@media (max-width: 420px) {
  .nav__inner { gap: .75rem; }
  .nav__actions { gap: .85rem; }
  .nav__actions .btn--sm { padding: .65em .9em; font-size: .85rem; }
  .nav__signin { font-size: .85rem; }
}

/*
 * The menu button, and why it is written this way round.
 *
 * With no script the links are simply there, stacked under the wordmark on a
 * phone: a navigation that needs JavaScript to exist is a navigation some
 * people do not get. app.js marks the header as scripted, and only then does
 * the button appear and the links fold away behind it. So the failure mode is
 * a slightly long header rather than no way to reach the site.
 */
.nav__toggle {
  display: none;
  align-items: center; gap: .5rem;
  background: transparent; border: 1.5px solid var(--line); border-radius: var(--r-pill);
  padding: .45em .9em; font-size: .9rem; font-weight: 600; color: var(--ink);
}
.nav__toggle:hover { border-color: var(--ink); }
.nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px;
}
.nav__toggle-bars { position: relative; }
.nav__toggle-bars::before, .nav__toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav__toggle-bars::before { top: -5px; }
.nav__toggle-bars::after { top: 5px; }

@media (max-width: 760px) {
  .nav--js .nav__toggle { display: inline-flex; }
  .nav--js .nav__links[hidden] { display: none; }
  .nav__links {
    flex-basis: 100%; order: 3;
    flex-direction: column; align-items: flex-start; gap: .25rem;
    padding-block: .5rem;
  }
  .nav__links a { padding-block: .45rem; }
}

/* Where you are, marked in the nav rather than left to guess. */
.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 1rem; }
.plan {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.5rem; display: flex; flex-direction: column;
}
/* The middle plan is the one most yards want and the one the trial runs on,
   so it is marked, with a border rather than a colour behind the text. */
.plan--feature { border-color: var(--flame); box-shadow: var(--shadow-card); }
.plan h2 { font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.02em; margin: 0 0 .75rem; color: var(--ink); }
.plan__price { font-size: 1rem; color: var(--muted); margin: 0 0 .15rem; }
.plan__price strong { font-family: var(--display); font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); display: block; line-height: 1.1; }
.plan__vans { font-weight: 600; color: var(--ink); margin: 0 0 .75rem; font-size: .95rem; }
.plan p:last-child { margin-bottom: 0; }
.plans__note { font-size: .9rem; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }


/* ---------- hero ---------- */
.hero { padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__note { margin-top: 1.25rem; font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__visual { margin-top: 1rem; } }

/* floating product cards */
.hero__visual { position: relative; min-height: 520px; }
.card {
  position: absolute; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-float);
  border: 1px solid var(--line); font-size: .85rem;
}
.card--phone { left: 4%; top: 0; width: min(300px, 78%); padding: 1rem; border-radius: 28px; }
.card--invoice { right: 0; top: 18%; width: min(280px, 72%); padding: 1rem 1.1rem; }
.card--import { left: 22%; bottom: 0; width: min(320px, 82%); padding: 1rem 1.1rem; }
@media (max-width: 520px) {
  .hero__visual { min-height: 600px; }
  .card--invoice { top: 44%; right: -2%; }
  .card--import { left: 2%; }
}

.pill { display: inline-block; padding: .2em .65em; border-radius: var(--r-pill); font-size: .72rem; font-weight: 600; }
.pill--ok { background: var(--ok-soft); color: var(--ok-ink); }

.phone__bar { display: flex; justify-content: space-between; align-items: center; font-weight: 600; margin-bottom: .75rem; }
.drops { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.drop { display: grid; grid-template-columns: 22px 1fr auto; gap: .65rem; align-items: center; padding: .6rem .7rem; border-radius: var(--r-sm); background: var(--ground); }
.drop strong { display: block; font-size: .88rem; }
.drop small { color: var(--muted); font-size: .76rem; }
.drop__tick { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); }
.drop--done .drop__tick { background: var(--ok); border-color: var(--ok); position: relative; }
.drop--done .drop__tick::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
/* A finished drop is marked by its filled green tick, not by fading the row.
   At 70% the small grey line under the name fell to 3.96:1, under the 4.5:1
   a line of text needs, and a tick says "done" more clearly than a fade. */
.drop--live { background: var(--flame-soft); grid-template-columns: 22px 1fr; }
.drop--live .drop__btn { grid-column: 2; justify-self: start; margin-top: .35rem; }
.drop--live .drop__tick { border-color: var(--flame); }
.drop__btn { border: 0; background: var(--flame); color: #fff; border-radius: var(--r-pill); padding: .45em .9em; font-size: .78rem; font-weight: 600; }

.invoice__head { display: flex; align-items: center; gap: .6rem; font-weight: 600; margin-bottom: .6rem; }
.invoice__head .pill { margin-left: auto; }
.invoice__logo { width: 26px; height: 26px; border-radius: 50%; background: #13B5EA; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.invoice__to { color: var(--muted); margin: 0 0 .6rem; font-size: .8rem; }
.invoice__rows > div { display: flex; justify-content: space-between; padding: .35rem 0; border-top: 1px solid var(--line); }
.invoice__total { font-weight: 700; }
.invoice__meta { margin: .6rem 0 0; font-size: .74rem; color: var(--muted); }

.import__head { margin-bottom: .6rem; }
.import__bar { height: 8px; border-radius: 999px; background: var(--ground); overflow: hidden; }
.import__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--flame), var(--ok)); border-radius: 999px; }
.import__stats { display: flex; gap: 1.1rem; margin: .7rem 0 .9rem; color: var(--muted); font-size: .8rem; }
.import__stats b { color: var(--ink); font-weight: 700; }
.import__btn { width: 100%; border: 0; background: var(--ink); color: #fff; border-radius: var(--r-pill); padding: .65em; font-weight: 600; font-size: .85rem; }

/* ---------- dark band ---------- */
.band { padding-block: clamp(3.5rem, 7vw, 6rem); }
.band--dark { background: var(--ink); color: #E8ECF3; }
.band--dark .display { color: #fff; max-width: 22ch; }
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: 2.5rem; }
.pain h3 { color: #fff; margin-bottom: .5rem; }
.pain p { color: #B6C0D1; margin: 0; max-width: 32ch; }
.pain__num { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -0.04em; line-height: 1; color: #6E96FF; margin-bottom: .5rem !important; }
@media (max-width: 760px) { .pains { grid-template-columns: 1fr; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tint { background: var(--tint); }

.steps { list-style: none; counter-reset: step; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; box-shadow: var(--shadow-card); }
.step__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--flame-soft); color: var(--flame); font-family: var(--display); font-weight: 800; margin-bottom: 1.1rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/*
 * minmax(0, …) rather than 1fr on every one of these. A plain 1fr will not let
 * a column go narrower than the longest unbreakable thing inside it, so at
 * 200% text size the cards grew and pushed the whole page sideways instead of
 * the columns giving way. This is the fix for that, and the grids below it.
 */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.feature p, .pain p, .step p { overflow-wrap: break-word; }
.feature { background: var(--paper); border-radius: var(--r-lg); padding: 1.6rem; border: 1px solid var(--line); }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* ---------- quote / story ---------- */
.quote { margin: 0; text-align: center; }
.quote .display { max-width: 24ch; margin-inline: auto; }
.quote footer { color: var(--muted); font-weight: 500; margin-top: .5rem; }
.story { margin-top: 2.5rem; color: var(--muted); font-size: 1.05rem; columns: 2; column-gap: 2.5rem; }
.story p { break-inside: avoid; }
@media (max-width: 700px) { .story { columns: 1; } }

/* ---------- register ---------- */
.section--register { background: var(--ink); color: #E8ECF3; }
.register { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.register__copy .display { color: #fff; }
.register__copy p { color: #B6C0D1; max-width: 40ch; }
.register__perks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.register__perks li { padding-left: 1.6rem; position: relative; color: #E8ECF3; }
.register__perks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 4px rgba(45,107,255,.25); }
@media (max-width: 860px) { .register { grid-template-columns: 1fr; } }

.form { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-float); }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: block; margin-bottom: 1rem; }
.field > span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--ground);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .75em .9em;
  transition: border-color .15s ease, background .15s ease;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--flame); background: #fff; }
.field.is-invalid input, .field.is-invalid select { border-color: #D14343; }
.field__err { display: block; min-height: 1.1em; color: #D14343; font-size: .8rem; margin-top: .3rem; }
.form__consent { font-size: .8rem; color: var(--muted); margin: .9rem 0 0; }
.form__consent a { text-decoration: underline; }
.form__status { margin: .75rem 0 0; font-size: .9rem; min-height: 1.2em; }
.form__status.is-error { color: #D14343; }
.form.is-busy .btn { opacity: .7; pointer-events: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__done { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(2rem, 4vw, 3rem); text-align: center; box-shadow: var(--shadow-float); }
.form__done p { color: var(--muted); max-width: 40ch; margin-inline: auto; }
.done__tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); margin: 0 auto 1.25rem; position: relative; }
.done__tick::after { content: ""; position: absolute; left: 24px; top: 14px; width: 14px; height: 28px; border: solid #fff; border-width: 0 4px 4px 0; transform: rotate(45deg); }

/* ---------- footer ---------- */
.footer { padding-block: 2.5rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 1.5rem; }
.footer nav a:hover { color: var(--ink); }
.brand--sm .brand__word { font-size: 1.15rem; }

/* ---------- prose pages ---------- */
.prose { max-width: 70ch; padding-block: clamp(3rem, 6vw, 5rem); }
.prose h1 { margin-bottom: 1.5rem; }
.prose h2 { font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.02em; margin: 2rem 0 .6rem; }
/*
 * A heading has to win against the bold lead-in of the list below it, or the
 * page reads upside down: the display face and the darker ink do that without
 * making the headings shout.
 */
.prose h3 { font-family: var(--display); font-size: 1.15rem; color: var(--ink); letter-spacing: -0.01em; margin: 1.75rem 0 .5rem; }
.prose p, .prose li { color: var(--muted); }
.prose li + li { margin-top: .5rem; }
.prose li strong, .prose p strong { font-weight: 600; color: var(--ink); }
.prose a { text-decoration: underline; color: var(--ink); }
.prose--wide { max-width: 80ch; }

/* The trail back up to the index, above the title. */
.crumb { display: inline-block; font-size: .9rem; color: var(--muted); margin-bottom: 1rem; text-decoration: underline; }
.crumb:hover { color: var(--ink); }

/* Who we are and when this was last touched. Every policy carries one. */
.stamp {
  margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
}
.stamp p { margin: 0 0 .3em; font-size: inherit; }

/* Lede under a policy title: darker than body copy, it is the summary. */
.prose .summary { color: var(--ink); font-size: 1.05rem; }

/* ---------- policy index ---------- */
.policy-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .75rem; }
.policy-card {
  display: block; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.1rem 1.25rem;
  transition: border-color .15s ease, transform .12s ease;
}
a.policy-card { text-decoration: none; }
a.policy-card:hover { border-color: var(--flame); }
.policy-card h3 { margin: 0 0 .25rem; font-size: 1.1rem; font-family: var(--display); letter-spacing: -0.02em; color: var(--ink); }
.policy-card p { margin: 0; font-size: .93rem; color: var(--muted); }

/* ---------- third-party list ---------- */
/* Cards rather than a table: five columns cannot be read on a phone, and a
   sideways-scrolling table is a worse answer than a stack. */
.svc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem; margin: 0 0 .85rem; }
.svc > h3 { margin: 0 0 .1rem; font-size: 1.1rem; color: var(--ink); }
.svc__who { margin: 0 0 .9rem; font-size: .85rem; color: var(--muted); }
.svc__facts { margin: 0; display: grid; grid-template-columns: 8.5rem 1fr; gap: .45rem 1rem; font-size: .93rem; }
.svc__facts dt { font-weight: 600; color: var(--ink); }
.svc__facts dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) {
  .svc__facts { grid-template-columns: 1fr; gap: .15rem; }
  .svc__facts dd { margin-bottom: .5rem; }
}
.note {
  background: var(--flame-soft); border-radius: var(--r-md); padding: 1rem 1.25rem; margin: 1.25rem 0;
}
.note p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.note p + p { margin-top: .6em; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* ---------- logo right-click menu ---------- */
.logo-menu { position: fixed; z-index: 100; min-width: 220px; padding: .35rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 27, 45, .16); display: grid; }
.logo-menu[hidden] { display: none; }
.logo-menu a { padding: .55rem .75rem; border-radius: 8px; font-size: .92rem; font-weight: 500; color: var(--ink); }
.logo-menu a:hover, .logo-menu a:focus-visible { background: var(--ground); outline: none; }

/* ---------- data tables in policies ---------- */
/* A real table, so a row can be read across and a column compared down. On a
   phone each row becomes a card with its own labels: a four-column table at
   320px is either unreadable or scrolls sideways, and both are worse. The ARIA
   roles are deliberate — changing display to block drops the table semantics,
   so the roles put them back for anyone using a screen reader. */
.dtable-wrap { margin: 1.25rem 0 1.75rem; }
.dtable { width: 100%; border-collapse: collapse; font-size: .92rem; }
.dtable caption {
  caption-side: top; text-align: left; font-weight: 600; color: var(--ink);
  padding-bottom: .5rem; font-size: .95rem;
}
.dtable th, .dtable td { text-align: left; vertical-align: top; padding: .65rem .75rem; border-bottom: 1px solid var(--line); }
.dtable thead th { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--line); background: var(--tint); }
.dtable tbody th { color: var(--ink); font-weight: 600; width: 22%; }
.dtable td { color: var(--muted); }

@media (max-width: 760px) {
  .dtable, .dtable tbody, .dtable tr, .dtable th, .dtable td { display: block; width: auto; }
  .dtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .dtable tr {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 1rem 1.15rem; margin: 0 0 .85rem;
  }
  .dtable tbody th { width: auto; border: 0; padding: 0 0 .5rem; font-size: 1.02rem; }
  .dtable td { border: 0; padding: 0 0 .6rem; }
  .dtable td:last-child { padding-bottom: 0; }
  .dtable td::before {
    content: attr(data-label); display: block;
    font-weight: 600; color: var(--ink); font-size: .82rem;
    text-transform: uppercase; letter-spacing: .04em; margin-bottom: .15rem;
  }
}
