/* autojob.work — the whole design system, in one sheet.
 *
 * The site ships NO JavaScript. That is not minimalism for its own sake: it is what lets every
 * route keep the strict `default-src 'none'` CSP floor in site/_headers, which is in turn what
 * makes the privacy page's "this site runs no third-party scripts" enforceable rather than merely
 * claimed. The one interactive thing on the site — the three-step demo on the home page — is built
 * from radio inputs and sibling selectors instead. See site/_headers for the rules.
 *
 * Fonts are self-hosted from site/assets/fonts/ (byte-identical copies of the repo's fonts/, pinned
 * by test/unit/site-build.test.js). A <link> to fonts.googleapis.com would contradict the privacy
 * page AND fail the CSP, and test/unit/bundled-fonts.test.js scans site/ for exactly that.
 */

/* ---- faces ------------------------------------------------------------------------------- */

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/poppins-700.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/plexmono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/plexmono-500.woff2") format("woff2");
}

/* ---- tokens ------------------------------------------------------------------------------ */

:root {
  /* Ratios below are measured against the REAL composite — `--bg` with the ambient gradient over
     it — not against `--bg` alone, which is a colour no text on this site actually sits on. The
     ambient layer lightens the page by up to `--ambient-peak` (see the `.ambient` rules), and a
     token checked against flat #08090A reads ~1.4 points higher than it really is. That mistake
     shipped three times already on this product; test/unit/site-build.test.js now recomputes every
     one of these against the peak composite and fails the build if any drops under its floor. */
  --bg: #08090a;
  /* MEASURED, not assumed: the brightest pixel the two .ambient layers actually paint, sampled
     from a real headless-Chrome capture of / with all content hidden. Re-measure if any ambient
     opacity changes — test/unit/site-build.test.js pins the alpha budget so it cannot drift
     quietly, and every ratio below is computed against THIS colour, not against --bg. */
  --ambient-peak: #202223;

  --ink: #f7f8f8; /* 18.73 / 15.01 — body text, button labels, headings */
  --ink-bright: #fbfcfc; /* 19.43 / 15.57 — h1 only */
  --mut: #c2c9cd; /* 11.89 /  9.53 — subheads, ledes, nav labels, in-card body */
  --dim: #adb4b8; /*  9.49 /  7.61 — captions, mono metadata, small-card body, footer */
  --accent: #37c6a5; /*  9.31 /  7.46 — status text, focus ring, tag text */
  --accent-solid: #1fa688; /* progress fill and list dots — never carries text */
  --amber: #e3c68b; /* 12.09 /  9.69 — the Pro marker; WEBSITE-SPEC §8 forbids red */
  --link-hover: #e8f1ff;

  --hair: rgba(255, 255, 255, 0.09);
  /* The design specified rgba(12,14,16,.40). At 40% the card is mostly transparent, so `--edge` —
     which is meant to fake a 1px gradient BORDER — bleeds across the whole card face: its opening
     stop is white at .30, which lifts a card's top-left corner to about #323339. Measured, that is
     where the 13px step numbers on /docs sit, at 5.6:1 against a 7:1 floor. Raising the fill and
     easing the opening stop keeps the glass and the gradient edge while pulling the face back down
     to about #25262a, which every text token clears. Re-measure with the harness if you change it. */
  --card-fill: rgba(11, 13, 15, 0.62);
  --well: rgba(0, 0, 0, 0.28);

  --gutter: clamp(20px, 4vw, 32px);
  --measure: 1200px;
  --measure-legal: 900px;
  --rhythm: clamp(40px, 4.6vw, 64px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --sans: Poppins, system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;

  /* The glass card's fake gradient border: a padding-box fill under a border-box gradient, with a
     transparent 1px border for the gradient to show through. Losing the second layer flattens
     every card on the site, so it lives in a variable and is applied in exactly one place. */
  --edge: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.26),
    rgba(255, 255, 255, 0.05) 30%,
    rgba(255, 255, 255, 0.015) 58%,
    rgba(55, 198, 165, 0.2) 80%,
    rgba(140, 130, 255, 0.16) 90%,
    rgba(255, 196, 140, 0.14)
  );
  --edge-hot: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.06) 28%,
    rgba(255, 255, 255, 0.02) 54%,
    rgba(255, 196, 140, 0.34) 78%,
    rgba(213, 167, 86, 0.3) 90%,
    rgba(255, 214, 160, 0.22)
  );
  --lift:
    inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.45), 0 20px 38px -22px rgba(0, 0, 0, 0.9);
}

/* ---- reset ------------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  background: var(--bg);
}
body {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  /* A long unbreakable token (an API host, a licence code) must wrap rather than push the page
     sideways: the design is verified for zero horizontal overflow from 360px up. */
  overflow-wrap: break-word;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ink);
  text-decoration: none;
}
a:hover {
  color: var(--link-hover);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
code,
kbd {
  font-family: var(--mono);
  font-size: 0.92em;
}

/* ---- ambient background ------------------------------------------------------------------ */
/* Two fixed full-viewport layers behind everything. `pointer-events:none` so they never eat a
   click, and z-index 0 with content at 1 so nothing washes over the text.

   The opacities are the design's, with one exception: the top pool was specified at .14 of
   #E8F1FF, which lifts the composite to about #2A2C2E and drops --dim (the tertiary text colour)
   to 5.7:1 — under the 7:1 that WEBSITE-SPEC §8 asks for and that the design's own handoff claims
   to have hit. Pulling the pools back to the values below caps the lightest composite at
   --ambient-peak (#1A1D1F), which every text token clears at 7:1 with room to spare. The wash is
   still visible; it just stops eating the contrast budget. */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.ambient--pools {
  background:
    radial-gradient(1200px 640px at 50% -120px, rgba(232, 241, 255, 0.07), transparent 66%),
    radial-gradient(900px 620px at 92% 30%, rgba(55, 198, 165, 0.07), transparent 68%),
    radial-gradient(880px 640px at 6% 62%, rgba(140, 130, 255, 0.06), transparent 70%),
    radial-gradient(700px 520px at 74% 88%, rgba(255, 196, 140, 0.045), transparent 72%);
}
.ambient--grid {
  background:
    repeating-linear-gradient(to right, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 72px);
  mask-image: radial-gradient(
    120% 100% at 50% 0%,
    #000 0%,
    rgba(0, 0, 0, 0.35) 60%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    120% 100% at 50% 0%,
    #000 0%,
    rgba(0, 0, 0, 0.35) 60%,
    transparent 100%
  );
}
.page {
  position: relative;
  z-index: 1;
}

/* ---- layout ------------------------------------------------------------------------------ */

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.wrap--legal {
  max-width: var(--measure-legal);
}
.section {
  padding-top: var(--rhythm);
  padding-bottom: var(--rhythm);
  border-bottom: 1px solid var(--hair);
}
.section:last-of-type {
  border-bottom: 0;
}
.stack {
  display: flex;
  flex-direction: column;
}
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
}
.grid--dense {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.grid--mid {
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}
.grid--pair {
  max-width: 620px;
  margin: 0 auto;
}

/* ---- type -------------------------------------------------------------------------------- */

.h-hero {
  font-size: clamp(34px, 7.2vw, 76px);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--ink-bright);
  text-wrap: balance;
  max-width: 21ch;
}
.h-page {
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--ink-bright);
}
.h-legal {
  font-size: clamp(30px, 5.5vw, 52px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--ink-bright);
}
.h-major {
  font-size: clamp(30px, 5.5vw, 52px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--ink);
  text-wrap: pretty;
}
.h-minor {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.h-sub {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.h-card {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.h-card--lg {
  font-size: 24px;
}
.h-item {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.h-item--lg {
  font-size: 20px;
}
.lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--mut);
  max-width: 680px;
}
.lede--sm {
  font-size: 18px;
  line-height: 1.5;
}
.body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mut);
}
.body--dim {
  color: var(--dim);
}
.small {
  font-size: 14px;
  line-height: 1.6;
  color: var(--dim);
}
.caption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--dim);
}
.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.mono--meta {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--dim);
}
.center {
  text-align: center;
}
.centred {
  margin-left: auto;
  margin-right: auto;
}
.mint {
  color: var(--accent);
}
.bright {
  color: var(--ink);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  /* The `var(--bg)` is the fix, not a tidy-up. The white stops are translucent, so with no fill of
     its own the button composited onto whatever was behind it — and behind it is the ambient wash,
     which peaks at --ambient-peak. There the top stop lands on #5a5b5c and --ink reads 6.40:1,
     under the 7:1 floor the palette above sets for itself, and no text colour can rescue it: even
     pure white on #5a5b5c is 6.81:1. Giving the gradient an opaque fill to sit on pulls the same
     stop to #48494a (8.48:1) and costs nothing but the wash showing through a 44px button. Hover's
     opening stop eased .32 -> .30 for the same reason: on --bg, .32 is 6.71:1 and .30 is 7.25:1.
     Both stops of both states are recomputed in test/unit/site-headers.test.js. */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.1)) var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    0 6px 16px -10px rgba(0, 0, 0, 0.85);
  transition: background 160ms var(--ease);
}
.btn:hover {
  color: var(--ink);
  /* The colour must be restated: `background` is a shorthand, so omitting it here would reset the
     fill to transparent and hand the hover state back the bug the base rule just fixed. */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.14)) var(--bg);
}
.btn--hero {
  height: 46px;
  padding: 0 28px;
  border-radius: 12px;
  font-size: 15px;
}
.btn--wide {
  width: 100%;
}
.btn--quiet {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--mut);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.btn--quiet:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  color: var(--ink);
}
.btn-text {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 7px;
  font-size: 15px;
  font-weight: 500;
  color: var(--mut);
  transition: color 160ms var(--ease);
}
.btn-text:hover {
  color: var(--ink);
}
.btn-text span {
  font-size: 13px;
}
.btn-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 10, 0.88);
  backdrop-filter: blur(28px) saturate(130%);
  -webkit-backdrop-filter: blur(28px) saturate(130%);
  border-bottom: 1px solid var(--hair);
}
.header__row {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 10px clamp(16px, 3vw, 32px);
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.header__logo {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.header__logo img {
  height: 42px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}
.nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mut);
  border-radius: 6px;
  transition:
    color 160ms var(--ease),
    background 160ms var(--ease);
}
.nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}
.nav a[aria-current="page"] {
  color: var(--ink);
}
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1px;
  background: var(--ink);
}

/* ---- the glass card ---------------------------------------------------------------------- */

.card {
  padding: 28px;
  border-radius: 12px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card-fill), var(--card-fill)) padding-box,
    var(--edge) border-box;
  backdrop-filter: blur(40px) saturate(1.7);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  box-shadow: var(--lift);
}
.card--hot {
  background:
    linear-gradient(var(--card-fill), var(--card-fill)) padding-box,
    var(--edge-hot) border-box;
}
.card--sm {
  padding: 24px;
}
.card--md {
  padding: 30px;
}
.card--lg {
  padding: 32px;
}
.card--xl {
  padding: 36px;
}
.card--step {
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.card--feature {
  border-radius: 14px;
}
.well {
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--well);
  border: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--mut);
}
.well--lg {
  padding: 20px 22px;
  border-radius: 12px;
}

/* ---- rows, rules and lists --------------------------------------------------------------- */

.rows > * {
  padding: 11px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 14px;
  color: var(--mut);
}
.rows > *:last-child {
  border-bottom: 0;
}
.rows--roomy > * {
  padding: 16px 0;
}
.rows--legal > * {
  padding: 18px 0;
}
.rows--qa > * {
  padding: 22px 0;
}
.defs dt {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.defs dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--dim);
}
.ticks {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
/* The marker is positioned, NOT a flex item. `display:flex` on the li turns every inline element
   inside it into its own flex item, so a list item containing a `<span class="mono">.docx</span>`
   broke into three boxes with a gap the width of the leftover row — visible on /pricing's Pro
   list. Positioning keeps the item a normal text flow that wraps like a sentence. */
.ticks li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--mut);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--accent-solid);
}
.rules {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rules li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--dim);
}
.rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--dim);
}
.tag {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 8px;
  border-radius: 5px;
  background: rgba(227, 198, 139, 0.13);
  border: 1px solid rgba(227, 198, 139, 0.34);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
}
.pill {
  padding: 8px 13px;
  border-radius: 99px;
  background: rgba(42, 167, 161, 0.12);
  border: 1px solid rgba(42, 167, 161, 0.35);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
}
.pill--off {
  background: none;
  border-color: var(--hair);
  color: var(--dim);
}
.price {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price--sm {
  font-size: clamp(26px, 4vw, 32px);
}
.price__per {
  font-size: 15px;
  color: var(--dim);
}

/* ---- the extension panel ----------------------------------------------------------------- */
/* 285px wide. The width cap belongs on the positioned wrapper too, or the panel shrink-to-fits its
   own text and collapses. The design's build clipped this at height:284px with overflow:hidden
   (scrollHeight 291 vs clientHeight 286); it is given room here instead. */

@keyframes ajRise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.panel {
  width: 100%;
  max-width: 285px;
  min-width: 0;
  padding: 1px;
  border-radius: 15px;
  background: var(--edge);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.45),
    0 22px 42px -24px rgba(0, 0, 0, 0.9);
}
.panel__body {
  position: relative;
  min-height: 284px;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: var(--card-fill);
  backdrop-filter: blur(40px) saturate(1.7);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: ajRise 0.5s var(--ease) both;
}
.panel__track {
  height: 2px;
  flex: none;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}
.panel__fill {
  height: 100%;
  background: var(--accent-solid);
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  flex: none;
  padding: 0 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0));
}
.panel__head img {
  height: 36px;
  width: auto;
  opacity: 0.95;
}
.panel__dot {
  width: 22px;
  height: 22px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.panel__dot span {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 99px;
  background: var(--mut);
}
.panel__main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px 10px;
}
.panel__phase {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}
.panel__phase b {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--accent);
}
.panel__phase span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.panel__title {
  font-size: 17px;
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: pretty;
}
.panel__company {
  font-size: 12px;
  line-height: 1.3;
  color: var(--dim);
  margin-top: 4px;
}
.panel__meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.panel__foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.panel__action {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    0 6px 16px -10px rgba(0, 0, 0, 0.85);
}
.panel__action--quiet {
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--mut);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.panel__links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--mut);
}

/* ---- hero -------------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  left: 50%;
  top: -420px;
  width: 1600px;
  height: 900px;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(42% 46% at 50% 52%, rgba(232, 241, 255, 0.05), transparent 68%),
    radial-gradient(34% 40% at 24% 60%, rgba(55, 198, 165, 0.05), transparent 70%),
    radial-gradient(32% 38% at 78% 46%, rgba(140, 130, 255, 0.045), transparent 70%),
    radial-gradient(30% 34% at 62% 74%, rgba(255, 196, 140, 0.03), transparent 72%);
}
.hero__inner {
  position: relative;
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(44px, 5.5vw, 76px) var(--gutter) var(--rhythm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: clamp(320px, 40vw, 380px);
  margin-top: clamp(24px, 3vw, 36px);
}
.hero__posting {
  position: absolute;
  inset: 0;
  overflow: hidden;
  text-align: left;
  padding: 0 40px;
  font-size: 13px;
  line-height: 2;
  color: rgba(247, 248, 248, 0.19);
  mask-image: radial-gradient(
    64% 78% at 50% 46%,
    #000 0%,
    rgba(0, 0, 0, 0.55) 58%,
    transparent 88%
  );
  -webkit-mask-image: radial-gradient(
    64% 78% at 50% 46%,
    #000 0%,
    rgba(0, 0, 0, 0.55) 58%,
    transparent 88%
  );
}
.hero__posting b {
  display: block;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 400;
  color: rgba(247, 248, 248, 0.32);
  margin-bottom: 4px;
}
.hero__posting i {
  display: block;
  font-style: normal;
  margin-bottom: 14px;
}
.hero__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 285px;
}

/* ---- the three-step demo (CSS-only tabs) ------------------------------------------------- */
/* Radio inputs drive it: same keyboard model as a tab list, no script, and the whole thing still
   works with JavaScript disabled. The three steps share one grid cell so the section height does
   not jump between them; inactive steps are `visibility:hidden` rather than removed. */

.demo {
  width: min(100%, 560px);
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card-fill), var(--card-fill)) padding-box,
    var(--edge) border-box;
  backdrop-filter: blur(40px) saturate(1.7);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  box-shadow: var(--lift);
}
.demo__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.demo__tabs {
  display: flex;
  border-bottom: 1px solid var(--hair);
}
.demo__tab {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: clamp(12px, 2vw, 18px) clamp(10px, 2vw, 20px);
  text-align: left;
  border-right: 1px solid var(--hair);
  cursor: pointer;
  transition: background 160ms var(--ease);
}
.demo__tab:last-of-type {
  border-right: 0;
}
.demo__tab:hover {
  background: rgba(255, 255, 255, 0.03);
}
.demo__tab i {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--dim);
  margin-bottom: 7px;
}
.demo__tab b {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.demo__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--link-hover);
  opacity: 0;
}
.demo__stage {
  position: relative;
  padding: clamp(16px, 2.4vw, 26px);
  display: grid;
}
.demo__corner {
  position: absolute;
  width: 14px;
  height: 14px;
}
.demo__corner--tl {
  left: 36px;
  top: 26px;
  border-left: 1px solid rgba(42, 167, 161, 0.55);
  border-top: 1px solid rgba(42, 167, 161, 0.55);
}
.demo__corner--br {
  right: 36px;
  bottom: 26px;
  border-right: 1px solid rgba(42, 167, 161, 0.55);
  border-bottom: 1px solid rgba(42, 167, 161, 0.55);
}
.demo__step {
  grid-area: 1/1;
  justify-self: center;
  align-self: center;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  visibility: hidden;
}
.demo__step h3 {
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
#demo-1:checked ~ .demo__tabs label[for="demo-1"]::after,
#demo-2:checked ~ .demo__tabs label[for="demo-2"]::after,
#demo-3:checked ~ .demo__tabs label[for="demo-3"]::after {
  opacity: 1;
}
#demo-1:checked ~ .demo__stage .demo__step:nth-of-type(1),
#demo-2:checked ~ .demo__stage .demo__step:nth-of-type(2),
#demo-3:checked ~ .demo__stage .demo__step:nth-of-type(3) {
  visibility: visible;
}
.demo__radio:focus-visible ~ .demo__tabs label[for="demo-1"],
.demo__radio:focus-visible ~ .demo__tabs label[for="demo-2"],
.demo__radio:focus-visible ~ .demo__tabs label[for="demo-3"] {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
#demo-1:focus-visible ~ .demo__tabs label[for="demo-2"],
#demo-1:focus-visible ~ .demo__tabs label[for="demo-3"],
#demo-2:focus-visible ~ .demo__tabs label[for="demo-1"],
#demo-2:focus-visible ~ .demo__tabs label[for="demo-3"],
#demo-3:focus-visible ~ .demo__tabs label[for="demo-1"],
#demo-3:focus-visible ~ .demo__tabs label[for="demo-2"] {
  outline: 0;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 430px;
}

/* ---- the fill preview -------------------------------------------------------------------- */

.fills {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.fill {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--hair);
}
.fill--todo {
  background: rgba(255, 255, 255, 0.02);
}
.fill__pair {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  min-width: 0;
}
.fill__key {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--dim);
}
.fill__val {
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
  font-size: 14px;
  color: var(--ink);
}
.fill__val--todo {
  color: var(--dim);
}
.fill__dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--accent-solid);
  flex: none;
}
.fill__dot--none {
  background: none;
}
.submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.submit__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 34px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--bg);
  font-size: 16px;
  font-weight: 600;
}

/* ---- the document before/after ----------------------------------------------------------- */

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.split > * {
  flex: 1 1 420px;
  min-width: min(340px, 100%);
}
.sheets {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.sheets > * {
  flex: 1;
  min-width: 0;
}
.sheet__label {
  display: flex;
  align-items: center;
  min-height: 22px;
  gap: 9px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--dim);
}
.sheet {
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sheet--after {
  box-shadow:
    0 24px 50px -24px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(42, 167, 161, 0.4);
}
.sheet__block {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sheet__head {
  gap: 8px;
}
.sheet__group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sheet i {
  display: block;
  height: 5px;
  background: #dfe3e5;
}
.sheet i.t {
  height: 14px;
  background: #22272b;
}
.sheet i.s {
  background: #8a9296;
}
.sheet i.h {
  height: 6px;
  background: #8a9296;
}
.sheet i.k {
  background: #22272b;
}
.sheet i.r {
  height: 1px;
  background: #e4e8ea;
}
.sheet--after i.new {
  background: var(--accent-solid);
}
.compare {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.compare > div {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.compare dt {
  flex: 0 0 42px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}
.compare dd {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--dim);
}
.compare .pro dt {
  color: var(--amber);
}
.compare .pro dd {
  color: var(--ink);
}

/* ---- plan cards -------------------------------------------------------------------------- */

.plan {
  display: flex;
  flex-direction: column;
}
.plan__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.plan__amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan__cta {
  margin-top: auto;
  padding-top: 26px;
}
.feature__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.feature__name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.feature__meta {
  font-size: 14px;
  color: var(--dim);
}
.feature__meta--pro {
  color: var(--amber);
}

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

.footer {
  border-top: 1px solid var(--hair);
}
.footer__top {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 56px) var(--gutter) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer__brand {
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__brand img {
  height: 38px;
  width: auto;
}
/* A standalone link, so it owes the 44px target the rest of the site keeps. */
.footer__brand a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  min-width: 140px;
}
.footer__col h2 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.footer__col a,
.footer__col span {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--dim);
  transition: color 160ms var(--ease);
}
.footer__col a:hover {
  color: var(--ink);
}
.footer__base {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter) 48px;
}
.footer__base > div {
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer__legal {
  font-size: 13px;
  line-height: 1.6;
  color: var(--dim);
  max-width: 720px;
}
.footer__mark {
  display: flex;
  gap: 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
}

/* ---- legal pages ------------------------------------------------------------------------- */

.legal {
  padding: var(--rhythm) 0 clamp(48px, 6vw, 76px);
}
.legal__meta {
  font-size: 14px;
  color: var(--dim);
  margin-top: 16px;
}
.legal__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: clamp(28px, 3.4vw, 40px);
}
.legal__body h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.legal__body p + p {
  margin-top: 12px;
}
.legal__body p,
.legal__body li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--mut);
}
.legal__body ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.legal__body li {
  padding-left: 20px;
  position: relative;
}
.legal__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--dim);
}
.legal__body b {
  color: var(--ink);
  font-weight: 600;
}
/* :not(.btn) matters. `.legal__body a` outranks `.btn` on specificity, so without it every button
   inside a legal-body section — "Open the License Center", "Manage billing" — rendered as mint
   link text with an underline instead of a button label, at 4.9:1 on the button's own fill. */
.legal__body a:not(.btn) {
  color: var(--accent);
  border-bottom: 1px solid rgba(55, 198, 165, 0.4);
}
.legal__body a:not(.btn):hover {
  color: var(--link-hover);
  border-bottom-color: rgba(232, 241, 255, 0.5);
}
.anchor {
  scroll-margin-top: 108px;
}

/* ---- odds and ends ----------------------------------------------------------------------- */

.link {
  color: var(--accent);
  border-bottom: 1px solid rgba(55, 198, 165, 0.4);
}
.link:hover {
  color: var(--link-hover);
  border-bottom-color: rgba(232, 241, 255, 0.5);
}
.link--quiet {
  color: var(--mut);
  border-bottom-color: rgba(255, 255, 255, 0.4);
}
.gap-8 {
  gap: 8px;
}
.gap-12 {
  gap: 12px;
}
.gap-16 {
  gap: 16px;
}
.gap-20 {
  gap: 20px;
}
.gap-26 {
  gap: 26px;
}
.mt-14 {
  margin-top: 14px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-18 {
  margin-top: 18px;
}
.mt-22 {
  margin-top: 22px;
}
.mt-26 {
  margin-top: 26px;
}
.mt-28 {
  margin-top: 28px;
}
.mt-34 {
  margin-top: 34px;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 0 0 11px 0;
  background: var(--bg);
  border: 1px solid var(--hair);
  color: var(--ink);
}
.skip:focus {
  left: 0;
}

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