/* ---------------------------------------------------------------------------
 * Vela Drop — veladrop.com
 *
 * The Vela Intelligence brand kit's **Screen context** (brand-kit.md §4.8):
 * Brand Primary 900 as the canvas, Slate 50 as type, Brand Secondary carrying
 * interaction, and one Brand Accent call-to-action per page. This is the kit's
 * canonical ground — §4.8 is explicit that light mode is a *product* mode and
 * "not a licence to put marketing on a light background".
 *
 * Two things that are easy to undo by accident:
 *
 *   1. **There are no rounded corners.** Not "small radii" — none. The only
 *      curve in the whole design is the 6px live-status dot. Reintroduce a
 *      radius anywhere and the page stops looking like this design.
 *   2. **It is fixed dark.** There is deliberately no prefers-color-scheme rule
 *      in this file. The stylesheet it replaces had one; a marketing page that
 *      swaps ground with the reader's OS is not a brand.
 *
 * The two dashboards are the Product context and stay light. That is not an
 * inconsistency — see §4.8, "one identity, four habitats".
 * ------------------------------------------------------------------------- */

:root {
  /* Brand ramps — the stops this surface uses. Full palette: brand-kit.md §7. */
  --primary-900: #07214d;
  --primary-950: #081937;
  --primary-800: #052965;
  --secondary-200: #8edab6;
  --secondary-300: #61bd94;
  --secondary-400: #339f74;
  --secondary-500: #00875d;
  --secondary-800: #003824;
  --accent-400: #d56400;
  --accent-300: #f88439;
  --slate-50: #f2f6f8;
  --slate-200: #c2c8cd;
  --slate-300: #a2a9ae;
  --slate-400: #838a90;

  /* Semantic tokens — §4.9, dark column. */
  --canvas: var(--primary-900);
  --card: color-mix(in srgb, color-mix(in srgb, var(--primary-800) 80%, var(--secondary-800)) 85%, transparent);
  --hair: rgba(242, 246, 248, 0.15);
  --hair-strong: rgba(242, 246, 248, 0.25);
  --t1: var(--slate-50);
  --t2: var(--slate-200);
  /* Slate 300, not the 400 the design used. On the canvas 400 measures exactly
     4.50, but muted text mostly sits on --card, where it drops to 4.08 and
     fails AA — and the .micro labels using it are 9.5px. 300 is 6.6 and 6.0. */
  --mut: var(--slate-300);
  --accent: var(--secondary-300);
  --accent-hover: var(--secondary-200);
  --data: var(--secondary-400);
  --fill: var(--secondary-500);
  --cta: var(--accent-400);
  --cta-hover: var(--accent-300);
  /* §4.9 puts --white on the CTA fill, but Slate 50 on Accent 400 measures 3.4
     and these labels are 12px uppercase — below AA. The fill never moves; only
     the label does. Primary 950 on that orange is 4.7. */
  --on-cta: var(--primary-950);

  --sans: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --display: Manrope, var(--sans);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* One measure for prose, everywhere on this site. The marketing pages keep a
     reading width on purpose — long lines are hard to scan on a wide hero — but
     it has to be ONE width, or paragraphs stop at different places for no
     reason a reader can see. The two dashboards are the opposite rule: body
     copy there fills its card. */
  --measure: 66ch;
  --shell: 1200px;
  --gutter: 32px;
  --t: 160ms;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

html {
  color-scheme: dark;
}

/*
 * Any author `display` rule beats the UA stylesheet's [hidden], so an element
 * styled `display:flex` stays on screen when JavaScript sets `.hidden = true`.
 * drop.js hides the drop zone and swaps three stages that way, so without this
 * the finished state renders underneath a drop zone still inviting a file.
 */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--t2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hover);
}
::selection {
  background: rgba(0, 135, 93, 0.4);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  color: var(--t1);
  letter-spacing: -0.02em;
  margin: 0;
}
h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  text-wrap: balance;
}
h2 {
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.14;
}
h3 {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
}
p {
  margin: 0;
}
code {
  font-family: var(--mono);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- shell -------------------------------------------------------------- */

/*
 * --shell is the *content* width. The design was drawn without a box-sizing
 * reset, so its max-width:1200px sat inside the 32px padding rather than
 * including it — 1264px overall. Reproducing that here rather than inheriting
 * the accident: with border-box, 1200px flat would take 64px off every column
 * and, on the home page, wrap the headline onto a fourth line.
 */
.wrap {
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap.narrow {
  max-width: calc(860px + var(--gutter) * 2);
}
.section {
  padding-block: clamp(40px, 6vw, 72px);
}
.ruled {
  border-top: 1px solid var(--hair);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}
.micro {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mut);
  margin: 0;
}
.lede {
  font-size: 1.08rem;
  color: var(--t2);
  max-width: var(--measure);
}
.hint {
  font-size: 0.87rem;
  color: var(--mut);
}
.hint strong {
  color: var(--t2);
}
.stack > * + * {
  margin-top: 1em;
}

/* ---- header / footer ---------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 62px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--t1);
  white-space: nowrap;
}
.brand:hover {
  color: var(--t1);
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}
.nav a {
  color: var(--t2);
  font-weight: 500;
  white-space: nowrap;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--t1);
}
/* Not another nav link: the way back into your own pages. */
.nav a.nav-login {
  color: var(--t1);
  font-weight: 600;
  font-size: 13.5px;
  border: 1px solid var(--hair-strong);
  padding: 9px 16px;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.nav a.nav-login:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--hair);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  padding-block: 28px;
  font-size: 13px;
  color: var(--mut);
}
.site-footer a {
  color: var(--mut);
}
.site-footer a:hover {
  color: var(--t2);
}
.site-footer .spacer {
  margin-left: auto;
}
.site-footer a.vela:hover {
  color: var(--accent);
}

/* ---- buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 1px solid var(--hair-strong);
  background: transparent;
  color: var(--t1);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease),
    color var(--t) var(--ease);
}
.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
/* The one Brand Accent per page. Do not add a second. */
.btn-cta {
  background: var(--cta);
  border-color: var(--cta);
  color: var(--on-cta);
  box-shadow: 0 0 20px oklch(0.63 0.181 50 / 0.3);
}
.btn-cta:hover {
  background: transparent;
  border-color: var(--cta-hover);
  color: var(--cta-hover);
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn-sm {
  padding: 9px 14px;
  font-size: 11px;
}

/*
 * Copy buttons swap their label to "Copied". drop.js assigns textContent, so
 * the width has to be reserved here or the button grows mid-click and shoves
 * the row along.
 */
.copy {
  min-width: 96px;
}
.copy.done {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- cards and grids ---------------------------------------------------- */

.card {
  background: var(--card);
  border: 1px solid var(--hair);
  padding: 24px 26px;
}
.tile {
  border: 1px solid var(--hair);
  padding: 12px 14px;
}
.tile .v {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  color: var(--t1);
  margin: 6px 0 0;
  font-variant-numeric: tabular-nums;
}
.grid {
  display: grid;
  gap: 36px 48px;
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
/* The three plans. Explicit rather than auto-fit: these are three fixed
   choices being compared, and a column count that changes with the window
   makes a reader re-find the one they were reading. They stack at the point
   where three columns stop being readable rather than at a device width. */
.plans {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
}
@media (max-width: 940px) {
  .plans {
    grid-template-columns: 1fr;
  }
}
.tiles-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

/* ---- the upload modal ---------------------------------------------------- */
/*
 * The result of an upload, over a dimmed and blurred page. The drop zone is
 * still there underneath, which is why "Drop another" only has to close this.
 *
 * Square, like everything else. The backdrop is Brand Primary 950 rather than
 * neutral black so the dim reads as part of the same design.
 */
body.modal-open {
  overflow: hidden;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 6vh, 72px) var(--gutter);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: color-mix(in srgb, var(--primary-950) 72%, transparent);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  animation: modal-in 160ms var(--ease) both;
}
.modal-panel {
  width: 100%;
  max-width: 620px;
  background: var(--card);
  border: 1px solid var(--hair-strong);
  padding: clamp(22px, 4vw, 34px);
  /* The card token is translucent; over a blurred backdrop that would show the
     page through it. This one sits on the canvas instead. */
  background-color: var(--canvas);
  box-shadow: 0 30px 80px rgba(3, 12, 28, 0.55);
  animation: panel-in 200ms var(--ease) both;
}
.modal-panel:focus {
  outline: none;
}
/* The wordmark, top right. This window carries the only copy of a credential
   that cannot be recovered, so it should be obvious whose window it is. */
.modal-brand {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--t1);
}
.modal-brand svg {
  flex: 0 0 auto;
}
#claim-block .hint.ok {
  color: var(--accent);
}
#claim-block .hint.err {
  color: #fca5a5;
}
.modal-panel .stage {
  margin: 0;
}
@keyframes modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .modal-backdrop,
  .modal-panel {
    animation: none;
  }
}

/* ---- hero and the drop zone --------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 8% 10%, rgba(0, 102, 69, 0.18) 0%, transparent 45%);
}
.hero .wrap {
  padding-block: clamp(48px, 8vw, 96px) clamp(48px, 7vw, 88px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 56px;
  align-items: center;
}
.hero h1,
.page-head h1 {
  margin-bottom: 18px;
}
.page-head {
  padding-block: clamp(44px, 6vw, 76px) clamp(24px, 3vw, 36px);
}

.dropzone {
  border: 1px dashed var(--hair-strong);
  background: var(--card);
  padding: 26px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.dropzone:hover,
.dropzone.is-dragging {
  border-color: var(--accent);
  box-shadow: 0 0 30px oklch(0.45 0.114 163 / 0.2);
}
.dz-icon {
  width: 42px;
  height: 42px;
  flex: none;
  background: var(--fill);
  display: grid;
  place-items: center;
  color: var(--t1);
}
.dz-text {
  flex: 1;
  min-width: 0;
}
.dz-title {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--t1);
}
.dz-sub {
  display: block;
  font-size: 12.5px;
  color: var(--mut);
}

/*
 * Uploading, done and error are absent from the mockup — it shows the idle
 * state only. Built from the same vocabulary: square edges, hairline borders,
 * the card ground, mono micro-labels, Secondary 400 for anything representing
 * data.
 */
.stage {
  border: 1px solid var(--hair);
  background: var(--card);
  padding: 24px 26px;
}
#error-slot:empty {
  display: none;
}

.filename {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--t1);
  margin-bottom: 14px;
}
.bar {
  height: 6px;
  background: rgba(242, 246, 248, 0.1);
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--data);
  transition: width 200ms linear;
}
.bar-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mut);
  margin: 10px 0 0;
}

.result-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.tick {
  width: 26px;
  height: 26px;
  flex: none;
  background: var(--fill);
  color: var(--t1);
  display: grid;
  place-items: center;
}
.result-head h2 {
  font-size: 1.3rem;
}

.url-block + .url-block {
  margin-top: 22px;
}
.url-block h3 {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mut);
  margin: 0 0 8px;
}
.url-row {
  display: flex;
  gap: 8px;
}
.url-row input {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  background: rgba(8, 25, 55, 0.5);
  border: 1px solid var(--hair);
  color: var(--t1);
  padding: 12px 14px;
}
.url-block .hint {
  margin-top: 8px;
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

/* The edit link is the only credential a page has. Say so where it is shown. */
.warn {
  border-left: 3px solid var(--cta);
  background: rgba(213, 100, 0, 0.09);
  padding: 12px 14px;
  margin-top: 10px;
  font-size: 0.87rem;
  color: var(--t2);
}
.warn strong {
  color: var(--t1);
}

.error {
  border-left: 3px solid #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  padding: 14px 16px;
  margin-top: 18px;
}
.error strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  color: var(--t1);
  margin-bottom: 4px;
}
.error p {
  font-size: 0.9rem;
  color: var(--t2);
}

/* ---- the illustrative dashboard preview (home) -------------------------- */

.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px; /* the one curve in the design */
  background: var(--accent);
  box-shadow: 0 0 8px oklch(0.73 0.107 163 / 0.6);
}
.spark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 52px;
  margin-bottom: 22px;
}
.spark i {
  flex: 1;
  background: var(--data);
  opacity: 0.85;
}
.tagrows {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 8px 16px;
  align-items: center;
  font-size: 13px;
}
.tagrows .t {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--t1);
}
.tagrows .n {
  color: var(--t1);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.tagrows .w {
  color: var(--mut);
}
/* The fill is a gradient stop rather than a width, so the element still
   occupies its whole grid column and the rows stay aligned. */
.meter {
  height: 5px;
}

/* ---- prose components --------------------------------------------------- */

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps > li {
  counter-increment: step;
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.plain {
  list-style: none;
  margin: 0;
  padding: 0;
}
.plain li {
  padding: 10px 0;
  border-top: 1px solid var(--hair);
  font-size: 0.94rem;
}
.plain li:first-child {
  border-top: 0;
}

.example {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 18px;
  align-items: baseline;
  margin: 0;
  padding: 0;
  list-style: none;
}
.example code {
  justify-self: start;
  font-size: 12.5px;
  color: var(--accent);
  border: 1px solid var(--hair);
  background: rgba(8, 25, 55, 0.5);
  padding: 4px 9px;
  white-space: nowrap;
}
.example span {
  font-size: 0.9rem;
  color: var(--t2);
}

/* ---- tick / cross lists, and inline URL examples ------------------------ */

.ticks,
.crosses {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ticks li,
.crosses li {
  position: relative;
  padding: 9px 0 9px 26px;
  font-size: 0.94rem;
  border-top: 1px solid var(--hair);
}
.ticks li:first-child,
.crosses li:first-child {
  border-top: 0;
}
.ticks li::before,
.crosses li::before {
  position: absolute;
  left: 0;
  top: 9px;
  font-family: var(--mono);
}
.ticks li::before {
  content: "\2713";
  color: var(--accent);
}
.crosses li::before {
  content: "\00D7";
  color: var(--mut);
}
.crosses li strong {
  color: var(--t1);
}

.code-line {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--mut);
  word-break: break-all;
}
.code-line .c1 {
  color: var(--t1);
}
.code-line .c2 {
  color: var(--accent);
  font-weight: 600;
}

.closer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.closer > div:first-child {
  flex: 1;
  min-width: 280px;
}
.closer-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.code {
  border: 1px solid var(--hair);
  background: rgba(8, 25, 55, 0.55);
  padding: 16px 18px;
  overflow-x: auto;
}
.code code {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--t1);
  white-space: pre;
  display: block;
}

/* ---- tabs (MCP) --------------------------------------------------------- */

.tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 24px;
}
.tab {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--mut);
  padding: 12px 16px;
  cursor: pointer;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.tab:hover {
  color: var(--t1);
}
.tab[aria-selected="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---- MCP: endpoint, chat illustration, tool table ----------------------- */

.endpoint {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.endpoint code {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  color: var(--t1);
  word-break: break-all;
}

.numbered {
  margin: 0;
  padding-left: 1.2rem;
}
.numbered li {
  padding: 6px 0;
}
.numbered li::marker {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
}

.chat {
  display: grid;
  gap: 12px;
}
.turn {
  border: 1px solid var(--hair);
  border-left: 2px solid var(--hair-strong);
  padding: 16px 18px;
  max-width: var(--measure);
}
.turn.them {
  background: var(--card);
  border-left-color: var(--accent);
}
.turn .micro {
  margin-bottom: 8px;
}
.toolchip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent);
  border: 1px solid rgba(97, 189, 148, 0.35);
  padding: 4px 10px;
  margin-right: 6px;
}

.tools {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 24px;
  border-top: 1px solid var(--hair);
}
.tools > div {
  padding: 11px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 0.92rem;
}
.tools .tname {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .tools {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tools > div:nth-child(2n + 1) {
    border-bottom: 0;
    padding-bottom: 2px;
  }
}

/* ---- forms (report) ----------------------------------------------------- */

.field {
  display: block;
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  background: rgba(8, 25, 55, 0.5);
  border: 1px solid var(--hair-strong);
  color: var(--t1);
  padding: 12px 14px;
}
.field::placeholder {
  color: var(--mut);
}
.field:focus {
  outline: none;
  border-color: var(--accent);
}
textarea.field {
  min-height: 8rem;
  resize: vertical;
  font-family: inherit;
}
.label {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--t1);
  margin: 0 0 6px;
}
.field-row + .field-row {
  margin-top: 26px;
}

.choices {
  border: 1px solid var(--hair);
}
.choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  cursor: pointer;
  border-top: 1px solid var(--hair);
}
.choice:first-child {
  border-top: 0;
}
.choice:hover {
  background: rgba(242, 246, 248, 0.04);
}
.choice input {
  margin: 3px 0 0;
  accent-color: var(--secondary-500);
  flex: none;
}
.c-title {
  display: block;
  color: var(--t1);
  font-size: 0.94rem;
}
.c-sub {
  display: block;
  font-size: 0.83rem;
  color: var(--mut);
}

.err {
  color: #ff8f8f;
  font-size: 0.85rem;
  margin: 6px 0 0;
}
.sent {
  border-left: 3px solid var(--accent);
  background: rgba(0, 135, 93, 0.12);
  padding: 18px 20px;
}

/* ---- centred single-message page (404) ---------------------------------- */

.centred {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(48px, 8vw, 96px);
}
.centred .wrap {
  max-width: 42rem;
}

/* ---- responsive --------------------------------------------------------- */

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
  }
  .nav {
    gap: 16px;
    font-size: 13px;
  }
  .nav a.nav-hide-sm {
    display: none;
  }
  .hero .wrap {
    gap: 36px;
  }
  .dropzone {
    flex-wrap: wrap;
  }
  .dropzone .btn {
    width: 100%;
  }
  .example {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .tiles-3 {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/*
 * Below ~560px there is no room for the text links without them breaking
 * mid-phrase, and "Log in" splitting across two lines looks broken. The header
 * keeps only the way back in; the footer carries How it works, Pro, Report and
 * Privacy, so nothing becomes unreachable on a phone. Adding a nav item means
 * adding it there too.
 */
@media (max-width: 560px) {
  .nav a:not(.nav-login) {
    display: none;
  }
}

/* ---- pricing (pro.html) ------------------------------------------------- */

/* p carries no margin on this site, so a heading-plus-paragraph cell needs
   the gap putting back. Same value as .stack, which is what the prose
   sections on this page use. */
.feature-grid h3 + p {
  margin-top: 6px;
}
/* Three across, explicitly. .grid-3 is auto-fit, which gives four on a wide
   screen and makes the row read as a dense list rather than eight things
   worth reading. */
.feature-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 44px;
}
/* A square, hairlined tile — the same chrome as every other bounded thing on
   this site, with the icon carrying the one accent. */
.feature-grid .fx {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--hair-strong);
  color: var(--accent);
  margin-bottom: 14px;
}
.feature-grid .fx svg {
  width: 19px;
  height: 19px;
  display: block;
}
@media (max-width: 940px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--t1);
  margin: 10px 0 20px;
}
.price .per {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mut);
  margin-top: 10px;
}
/* Brand Accent, on the one card that is being sold. It is the single
   call-to-action colour on this page, and it is a rule and an eyebrow rather
   than a fill — see the same treatment on the dashboard's Pro banner. */
.pro-card {
  border-left: 3px solid var(--cta);
}
.eyebrow.accent {
  color: var(--cta);
}
