/* Platesea
   Platesea's design, carried over whole: black and white, gold for structure,
   and the photograph as the only colour you are meant to look at. The one
   addition is a little red, for the thing that is live. Three faces doing three
   jobs: a serif for headlines, DM Sans for everything you read, and a mono for
   the small uppercase labels. */

:root {
  --paper: #ffffff;
  --paper-warm: #f6f6f6;
  --paper-line: #ededed;
  --ink: #0d0d0d;
  --ink-2: #2b2b2b;
  --ink-muted: #6b6b6b;
  --ink-faint: #9a9a9a;
  --border: #e6e6e6;
  --border-strong: #cfcfcf;
  --accent: #0d0d0d;
  --accent-deep: #000000;
  --red: #c8312b;
  --green: #1a7a43;
  --gold: #c08a2b;
  --gold-deep: #9a6c1c;
  --gold-line: #e3c485;
  --gold-soft: #f7edd7;

  /* A softened ink for the white button's edge: a hairline, not an outline.
     0.45 keeps it above the 3:1 the boundary needs to stay visible. */
  --edge: rgba(13, 13, 13, 0.45);
  --edge-hover: rgba(13, 13, 13, 0.8);

  --sans: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

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

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
}

/* The red: a dot that breathes wherever something is happening right now. */
.dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(200, 49, 43, 0.45);
  animation: breathe 2.4s ease-out infinite;
}

@keyframes breathe {
  0% { box-shadow: 0 0 0 0 rgba(200, 49, 43, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(200, 49, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 49, 43, 0); }
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h1 em { font-style: italic; }

h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
}

.lede {
  margin: 1.5rem 0 0;
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 33rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Colours are declared on both states, so nothing inherits a hover from a
   parent rule and disappears into its own background. */
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
/* The hero's Sign up is red, like the one at the foot of the page. */
.hero .btn-primary { background: var(--red); border-color: var(--red); }
.hero .btn-primary:hover { background: #a82822; border-color: #a82822; }

/* White, with a hairline edge rather than a hard outline, and a hover that
   settles instead of inverting to black. */
.btn-secondary { background: #fff; border-color: var(--edge); color: var(--ink); }
.btn-secondary:hover { background: var(--paper-warm); border-color: var(--edge-hover); color: var(--ink); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand img { width: 25px; height: 25px; }
.brand span { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.brand .sea { font-size: inherit; color: #1d4ed8; }

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links .btn + .btn { margin-left: -0.85rem; }
.nav-links a:not(.btn) {
  font-size: 0.9rem;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.16s ease;
}
.nav-links a:not(.btn):hover { color: var(--ink); }

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

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  /* Fills the screen under the 68px nav, so the field is the first thing you
     see and there is room for it to move. */
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 10vw, 7rem) 0;
}

/* The city, sharp and at full colour. */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/skyline.jpg') center 62% / cover no-repeat;
}

/* White, but heaviest on the left where the words are and thinnest on the
   right, so the towers and the sunset keep their colour. */
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 34%, rgba(255, 255, 255, 0.6) 62%, rgba(255, 255, 255, 0.42) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.72) 100%);
}

.hero h1 {
  font-family: var(--sans);
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero .lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 36rem; }

/* The dithered field sits behind everything and fades out at the foot so the
   page below does not start on a hard edge. */
#dither {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Above the photograph, below the words. */
  width: 100%;
  height: 100%;
  display: block;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}


/* ---------- hero: notifications ---------- */

/* site.js stacks the cards in here: newest on top, older ones stepping down. */
.notes { position: relative; justify-self: end; width: 100%; max-width: 360px; height: 300px; }

.note {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 14px 34px -14px rgba(13, 13, 13, 0.28);
  transform-origin: top center;
  transition: transform 0.75s cubic-bezier(0.22, 0.8, 0.18, 1), opacity 0.75s ease;
}
.note img { flex: none; width: 30px; height: 30px; }
.note > div { flex: 1; min-width: 0; }
.note-title { margin: 0; font-size: 0.78rem; color: var(--ink-muted); }
.note-body { margin: 0.1rem 0 0; overflow: hidden; font-size: 0.95rem; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.note-time { flex: none; font-size: 0.72rem; color: var(--ink-faint); }
.note-good { border-color: var(--gold-line); }
.note-good .note-title { color: var(--gold-deep); font-weight: 500; }

/* The newest card carries the live dot. */
.note.is-new::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--red);
  animation: breathe 2.4s ease-out infinite;
}

/* The canvas takes the pointer everywhere except the words and buttons. */
.hero-grid > div { pointer-events: none; }
.hero-grid a { pointer-events: auto; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.25rem; }

/* Everything in the hero lifts in once, slightly out of step. */
.rise { opacity: 0; animation: rise 0.9s cubic-bezier(0.22, 0.8, 0.18, 1) both; }
.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.14s; }
.rise-3 { animation-delay: 0.23s; }
.rise-4 { animation-delay: 0.32s; }
.rise-5 { animation-delay: 0.4s; }

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

/* ==========================================================================
   Below the hero: orangenight's design. Warm paper, one hairline for every
   rule, square corners, a light Manrope display face, Inter to read, mono
   labels, gold for structure and red for the accents. Its names all start
   on-, so nothing here touches the hero.
   ========================================================================== */

:root {
  --on-ink: #1c1813;
  --on-ink-2: #4d463d;
  --on-ink-3: #6b6357;
  --on-line: #e7dfd0;
  --on-paper: #faf7f1;
  --on-gold: #c08a2b;
  --on-gold-line: #e3c485;
  --on-gold-wash: #f7edd7;
  --on-red: #c8312b;
  --on-red-wash: #fbe9e7;
  --on-green: #1a7a43;
  --on-display: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --on-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --on-gutter: clamp(20px, 6.25vw, 90px);
  --on-ease: cubic-bezier(0.22, 0.8, 0.18, 1);
}

.on-mono { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--on-ink-3); }

/* ---------- sections ---------- */

.on-section {
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 8vw, 7rem) var(--on-gutter);
  background: var(--on-paper);
  border-bottom: 1px solid var(--on-line);
  color: var(--on-ink);
  font-family: var(--on-sans);
  scroll-margin-top: 68px;
}
.on-white { background: #fff; }

/* The quiet dotted field, in the top right corner (or the middle). */
.on-dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(192, 138, 43, 0.42) 1.1px, transparent 1.4px);
  background-size: 8px 8px;
  -webkit-mask-image: radial-gradient(60% 70% at 85% 20%, #000 0%, transparent 100%);
  mask-image: radial-gradient(60% 70% at 85% 20%, #000 0%, transparent 100%);
  pointer-events: none;
}
.on-dots-center { -webkit-mask-image: radial-gradient(55% 90% at 50% 50%, #000 0%, transparent 100%); mask-image: radial-gradient(55% 90% at 50% 50%, #000 0%, transparent 100%); }

.on-section h2 { margin: 0; font-family: var(--on-display); font-weight: 300; font-size: clamp(2.2rem, 4.45vw, 4rem); line-height: 1.05; letter-spacing: -0.02em; }
.on-section h3 { margin: 0; font-family: var(--on-display); font-weight: 400; font-size: 1.6rem; line-height: 1.15; letter-spacing: -0.025em; }

.on-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.on-head p { margin: 0; max-width: 28rem; font-size: 18px; line-height: 1.55; color: var(--on-ink-2); }

/* Lifts in as it arrives (site.js adds .on). */
.js .on-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--on-ease), transform 0.7s var(--on-ease); }
.js .on-reveal.on { opacity: 1; transform: none; }
.on-grid .on-reveal:nth-child(2) { transition-delay: 0.1s; }
.on-grid .on-reveal:nth-child(3) { transition-delay: 0.2s; }
.on-grid .on-reveal:nth-child(4) { transition-delay: 0.3s; }

/* The hairline grid: 1px gaps on a line-coloured ground, a gold rule along the
   top, and rounded corners (the footer alone stays square). */
.on-grid,
.on-box,
.on-faq { overflow: hidden; border: 1px solid var(--on-line); border-top: 2px solid var(--on-gold-line); border-radius: 22px; }
.on-grid { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--on-line); }
.on-cell { margin: 0; padding: clamp(1.5rem, 2.5vw, 2.25rem); background: #fff; transition: background-color 0.25s ease; }
.on-cell:hover { background: #fffdf8; }

/* ---------- the agent: the app's matches, applied to one by one ---------- */

.on-box { display: grid; place-items: center; padding: clamp(2rem, 5vw, 4rem) 1rem; background-color: #fff; background-image: radial-gradient(rgba(192, 138, 43, 0.22) 1px, transparent 1.3px); background-size: 10px 10px; }

/* The four searches, two by two. */
.demos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); width: 100%; max-width: 1080px; }
.demo { width: 100%; overflow: hidden; background: #fff; border: 1px solid var(--on-line); border-radius: 18px; box-shadow: 0 30px 70px rgba(28, 24, 19, 0.12); font-size: 14px; }
.demo-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--on-line); background: var(--on-paper); }

/* The red: a dot that breathes where something is happening now. */
.on-live { width: 7px; height: 7px; border-radius: 50%; background: var(--on-red); animation: on-breathe 2.4s ease-out infinite; }
@keyframes on-breathe {
  0% { box-shadow: 0 0 0 0 rgba(200, 49, 43, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(200, 49, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 49, 43, 0); }
}

/* Five rows show at a time; the track slides up one row at a time, fading at
   the top and bottom, and the row that leaves the top rejoins at the bottom. */
.demo-window {
  height: 340px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 82%, transparent 100%);
}
.demo-track { will-change: transform; }
.demo-track.moving { transition: transform 0.7s var(--on-ease); }

.demo-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 68px;
  padding: 0 16px;
  border-bottom: 1px solid var(--on-line);
  transition: background-color 0.3s ease;
}
.demo-row[data-status='applying'] { background: #fffaf9; }
.demo-logo { flex: none; width: 38px; height: 38px; overflow: hidden; border: 1px solid var(--on-line); border-radius: 10px; background: #fff; }
/* Square icons fill the tile; wide wordmarks fit inside it whole. */
.demo-logo { display: grid; place-items: center; }
.demo-logo img { width: 100%; height: 100%; object-fit: contain; }
.demo-text { flex: 1; min-width: 0; }
.demo-title { margin: 0; overflow: hidden; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.demo-sub { margin: 2px 0 0; overflow: hidden; font-size: 12.5px; color: var(--on-ink-3); white-space: nowrap; text-overflow: ellipsis; }
.demo-pill {
  flex: none;
  min-width: 88px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3efe7;
  color: var(--on-ink-3);
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.demo-row[data-status='applying'] .demo-pill { background: var(--on-red-wash); color: var(--on-red); }
.demo-row[data-status='applied'] .demo-pill { background: #eaf7ee; color: var(--on-green); }
/* A red light runs along the row while its form is filled in. */
.demo-row[data-status='applying']::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 35%;
  height: 2px;
  background: var(--on-red);
  animation: on-sweep 1.3s ease-in-out infinite;
}
@keyframes on-sweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(300%); }
}

/* ---------- how it works: four steps across ---------- */

.on-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.on-num { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 1.25rem; border-radius: 9px; background: var(--on-red); color: #fff; font-family: var(--on-display); font-size: 17px; }
.on-steps p { margin: 0.9rem 0 0; font-size: 16.5px; line-height: 1.6; color: var(--on-ink-2); }

/* Solopreneur page: a picture of Nia above each part of her story. */
.story-steps .on-cell { display: grid; grid-template-columns: 9.5rem 1fr; column-gap: 1.5rem; align-content: start; }
.story-steps .on-cell > :not(.story-pic) { grid-column: 2; }
.story-steps h3 { margin-top: 0; }
.story-pic { grid-row: 1 / span 2; display: block; width: 100%; height: auto; aspect-ratio: 900 / 656; border: 1px solid var(--on-line); border-radius: 12px; }
@media (max-width: 560px) { .story-steps .on-cell { grid-template-columns: 6.5rem 1fr; column-gap: 1rem; } }

/* ---------- how it works: a scene from the app above each step ---------- */

.on-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: 300px;
  margin-bottom: 1.75rem;
  overflow: hidden;
  border: 1px solid var(--on-line);
  border-radius: 16px;
  background-color: var(--on-paper);
  background-image: radial-gradient(rgba(192, 138, 43, 0.25) 1px, transparent 1.3px);
  background-size: 10px 10px;
  font-size: 13px;
}
/* The app's white panels. */
.drop-panel,
.form-panel,
.inbox-panel { position: relative; width: min(340px, 88%); overflow: hidden; border: 1px solid var(--on-line); border-radius: 14px; background: #fff; box-shadow: 0 24px 50px -24px rgba(28, 24, 19, 0.3); }

/* Typed text, with a caret while it's typing. */
.type { display: block; min-height: 1.35em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.typing .type::after { content: ''; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -0.15em; background: var(--on-red); animation: on-caret 0.9s steps(1) infinite; }
@keyframes on-caret { 50% { opacity: 0; } }

/* 1 · the PDF flies in, drops, uploads, and the details fill in. */
.drop-panel { padding: 12px; }
.dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 64px;
  border: 1.5px dashed var(--on-gold-line);
  border-radius: 10px;
  color: var(--on-ink-3);
  transition: border-color 0.3s ease, background-color 0.3s ease, height 0.4s var(--on-ease), opacity 0.3s ease;
}
.dropzone svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.scene-drop.over .dropzone { border-color: var(--on-red); background: var(--on-red-wash); color: var(--on-red); }
.scene-drop.landed .dropzone { height: 0; margin-bottom: -1px; opacity: 0; border-width: 0; }
.file { display: none; align-items: center; gap: 8px; position: relative; padding: 9px 10px; border: 1px solid var(--on-line); border-radius: 10px; }
.scene-drop.landed .file { display: flex; animation: on-pop-in 0.4s var(--on-ease); }
.file-icon { flex: none; padding: 2px 5px; border-radius: 4px; background: var(--on-red); color: #fff; font-size: 9px; font-weight: 600; }
.file-name { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.file-tick { color: var(--on-green); font-weight: 600; opacity: 0; transition: opacity 0.3s ease; }
.scene-drop.uploaded .file-tick { opacity: 1; }
.file-bar { position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; overflow: hidden; border-radius: 2px; background: #f3efe7; }
.file-bar i { display: block; width: 0; height: 100%; background: var(--on-red); }
.scene-drop.landed .file-bar i { width: 100%; transition: width 1s ease-out; }
.scene-drop.uploaded .file-bar { opacity: 0; transition: opacity 0.3s ease; }
.parsed { margin-top: 10px; }
.parsed-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; padding: 7px 2px; border-top: 1px solid #f3efe7; }
.parsed-row small { font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--on-ink-3); }
.parsed-row.done .type::after { content: ' ✓'; color: var(--on-green); }

.flying-pdf {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 70px;
  margin: -35px 0 0 -27px;
  padding: 22px 8px 0;
  border: 1px solid var(--on-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 26px -12px rgba(28, 24, 19, 0.45);
  opacity: 0;
  pointer-events: none;
}
.flying-pdf b { position: absolute; top: 6px; left: 6px; padding: 1px 4px; border-radius: 3px; background: var(--on-red); color: #fff; font-size: 8px; }
.flying-pdf i { display: block; height: 4px; margin-bottom: 5px; border-radius: 2px; background: #efe7d6; }
.flying-pdf i:nth-of-type(2) { width: 70%; }
/* From the top right corner, on a curve, down onto the box. */
.scene-drop.flying .flying-pdf { animation: on-fly 1.1s cubic-bezier(0.45, 0, 0.25, 1) forwards; }
@keyframes on-fly {
  0% { opacity: 0; transform: translate(150px, -150px) rotate(18deg) scale(1.1); }
  15% { opacity: 1; }
  70% { opacity: 1; transform: translate(0, -78px) rotate(-6deg) scale(1); }
  100% { opacity: 0; transform: translate(0, -60px) rotate(0) scale(0.7); }
}
@keyframes on-pop-in {
  from { opacity: 0; transform: translateY(6px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* 2 · postings run past a lens; the ones that fit light up as they cross it. */
.match-count { position: absolute; top: 14px; left: 16px; right: 16px; display: flex; align-items: center; gap: 8px; }
.match-count b { margin-left: auto; font-family: var(--on-display); font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.belt {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 150px;
  margin-top: -60px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.belt-track { position: absolute; top: 12px; left: 0; display: flex; gap: 12px; will-change: transform; }
.post {
  flex: none;
  width: 184px;
  padding: 12px;
  border: 1px solid var(--on-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 24px -16px rgba(28, 24, 19, 0.35);
  opacity: 0.55;
  transition: opacity 0.3s ease, border-color 0.3s ease, transform 0.3s var(--on-ease);
}
.post img { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; }
.post b { display: block; margin-top: 8px; overflow: hidden; font-size: 12.5px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.post small { display: block; overflow: hidden; font-size: 11px; color: var(--on-ink-3); white-space: nowrap; text-overflow: ellipsis; }
.post-tag { display: inline-block; margin-top: 9px; padding: 2px 8px; border-radius: 999px; background: #f3efe7; color: var(--on-ink-3); font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; }
.post.judged { opacity: 1; }
.post.judged.fit { border-color: var(--on-green); transform: translateY(-6px); }
.post.judged.fit .post-tag { background: #eaf7ee; color: var(--on-green); }
.post.judged:not(.fit) { opacity: 0.35; }
.lens { position: absolute; top: 50%; left: 50%; width: 210px; height: 150px; margin: -66px 0 0 -105px; border: 2px solid var(--on-red); border-radius: 16px; box-shadow: 0 0 0 6px rgba(200, 49, 43, 0.08); pointer-events: none; }

/* 3 · the form fills in under REC, and the pointer sends it. */
.form-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--on-line); background: var(--on-paper); }
.form-head img { width: 28px; height: 28px; border-radius: 8px; }
.form-head b { display: block; font-weight: 600; }
.form-head small { display: block; font-size: 11px; color: var(--on-ink-3); }
.rec { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 3px 7px; border-radius: 999px; background: var(--on-red-wash); color: var(--on-red); font-family: var(--mono); font-size: 10px; }
.rec i { width: 6px; height: 6px; border-radius: 50%; background: var(--on-red); animation: on-caret 1.2s steps(1) infinite; }
.form-body { display: flex; flex-direction: column; gap: 7px; padding: 12px; }
.input { padding: 5px 9px; border: 1px solid var(--on-line); border-radius: 8px; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.input small { display: block; font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; color: var(--on-ink-3); }
.input.active { border-color: var(--on-red); box-shadow: 0 0 0 3px rgba(200, 49, 43, 0.1); }
.input-tall .type { white-space: normal; min-height: 2.7em; }
.submit { align-self: flex-end; padding: 7px 14px; border-radius: 999px; background: var(--on-ink); color: #fff; font-size: 12px; transition: background-color 0.3s ease, transform 0.15s ease; }
.submit-done { display: none; }
.submit.pressed { transform: scale(0.93); }
.submit.done { background: var(--on-green); animation: on-pop-in 0.35s var(--on-ease); }
.submit.done .submit-label { display: none; }
.submit.done .submit-done { display: inline; }
.pointer {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  transform: translate(var(--px, 300px), var(--py, 260px));
  transition: transform 0.8s var(--on-ease);
  pointer-events: none;
}
.pointer::before { content: ''; position: absolute; inset: 0; background: var(--on-ink); clip-path: polygon(0 0, 0 100%, 30% 72%, 52% 100%, 66% 92%, 45% 64%, 85% 64%); }

/* 4 · interview requests drop into the inbox; the bell rings. */
.inbox-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--on-line); background: var(--on-paper); }
.inbox-head > b { font-weight: 600; }
.bell { position: relative; display: grid; place-items: center; width: 28px; height: 28px; }
.bell svg { width: 18px; height: 18px; fill: none; stroke: var(--on-ink); stroke-width: 1.7; stroke-linejoin: round; }
.bell.ring svg { animation: on-ring 0.8s ease; }
@keyframes on-ring {
  20% { transform: rotate(16deg); }
  40% { transform: rotate(-14deg); }
  60% { transform: rotate(8deg); }
  80% { transform: rotate(-4deg); }
}
.badge { position: absolute; top: -3px; right: -5px; min-width: 16px; height: 16px; padding: 0 4px; border: 2px solid var(--on-paper); border-radius: 999px; background: var(--on-red); color: #fff; font-size: 9px; line-height: 12px; text-align: center; }
.mails { min-height: 214px; }
.mail { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #f3efe7; animation: on-drop 0.55s var(--on-ease); }
@keyframes on-drop {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}
.mail img { flex: none; width: 28px; height: 28px; border-radius: 8px; object-fit: contain; border: 1px solid var(--on-line); }
.mail-text { flex: 1; min-width: 0; }
.mail-text b { display: block; overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.mail-text small { display: block; overflow: hidden; color: var(--on-ink-2); white-space: nowrap; text-overflow: ellipsis; }
.mail-new { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--on-red); }
.mail.read .mail-new { background: transparent; }
.mail.read b { font-weight: 500; }

/* ---------- the interview: a live call with real-time AI ---------- */

.call-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.call-title { font-size: clamp(2.4rem, 4.6vw, 4.2rem) !important; line-height: 1.05; text-wrap: balance; }

.call {
  overflow: hidden;
  border: 1px solid var(--on-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 40px 80px -40px rgba(28, 24, 19, 0.4);
}
.call-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--on-line); background: var(--on-paper); }
.call-live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--on-red); color: #fff; font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.call-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: on-caret 1.2s steps(1) infinite; }
.call-time { margin-left: auto; font-family: var(--mono); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--on-ink-2); }

/* Her, in HD, with what she's saying as live captions across the bottom. */
.call-screen { position: relative; aspect-ratio: 1080 / 1426; background: #1c1813; }
.call-screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.call-screen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.55) 100%); pointer-events: none; }
.call-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  min-height: 3em;
  margin: 0;
  color: #fff;
  font-family: var(--on-sans);
  font-size: 17px;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.call-controls { display: flex; justify-content: center; gap: 12px; padding: 14px; border-top: 1px solid var(--on-line); }
.call-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #f3efe7; }
.call-btn svg { width: 19px; height: 19px; fill: none; stroke: var(--on-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.call-end { width: 58px; border-radius: 999px; background: var(--on-red); }
.call-end svg { fill: #fff; stroke: none; }

@media (max-width: 900px) {
  .call-grid { grid-template-columns: minmax(0, 1fr); }
  .call { max-width: 460px; }
}

/* ---------- the final call to sign up ---------- */

.on-backed { padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); text-align: center; }
.on-backed .on-mono { display: block; margin-bottom: 1.25rem; }
.on-backed img { display: block; margin: 0 auto; height: auto; }
.on-cta { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.cta-box {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(2rem, 3.5vw, 2.75rem) clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--on-line);
  border-top: 2px solid var(--on-gold-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 80px rgba(28, 24, 19, 0.06);
  text-align: center;
}
.cta-mark { width: 40px; height: 40px; margin: 0 auto 1rem; }
.cta-box h2 { max-width: 16ch; margin: 0 auto; text-wrap: balance; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 48px;
  margin-top: 1.5rem;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--on-red);
  color: #fff;
  font-family: var(--on-sans);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.cta-btn:hover { background: #a82822; transform: translateY(-1px); }
.cta-btn span { font-size: 1.2em; line-height: 1; margin-top: -2px; }

/* ---------- quotes ---------- */

.on-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.on-quote { display: flex; flex-direction: column; min-height: clamp(380px, 34vw, 460px); padding: clamp(2rem, 4vw, 3.5rem); }
.on-stars { color: var(--on-red); font-size: 15px; letter-spacing: 0.2em; }
.on-quote blockquote {
  margin: 1.5rem 0 0;
  font-family: var(--on-display);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.1vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: pretty;
  margin-bottom: 2.5rem;
}
/* The phrase that matters, underlined in red; the line draws in once the quote is on screen. */
.on-quote mark {
  background: linear-gradient(var(--on-red), var(--on-red)) 0 92% / 0% 0.08em no-repeat;
  color: inherit;
  transition: background-size 1.1s var(--on-ease) 0.5s;
}
.on-quote.on mark,
html:not(.js) .on-quote mark { background-size: 100% 0.08em; }
.on-quote figcaption { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--on-line); }
.on-who { display: flex; flex-direction: column; gap: 0.2rem; }
.on-who b { font-size: 16px; font-weight: 500; }
.on-avatar { flex: none; width: 52px; height: 52px; overflow: hidden; border-radius: 50%; }
/* The photos come with their own white round mask; zoom past its edge. */
.on-avatar img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }

/* ---------- FAQ ---------- */

.on-faq { background: #fff; }
.on-faq details { border-bottom: 1px solid var(--on-line); }
.on-faq details:last-child { border-bottom: 0; }
.on-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1.5rem, 2.5vw, 2.25rem);
  font-family: var(--on-display);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.on-faq summary:hover { background: #fffdf8; }
.on-faq summary::-webkit-details-marker { display: none; }
.on-faq summary::after { content: '+'; flex: none; font-family: var(--mono); font-size: 1.3rem; color: var(--on-red); transition: transform 0.3s var(--on-ease); }
.on-faq details[open] summary::after { transform: rotate(45deg); }
.on-faq details p { max-width: 42rem; margin: 0; padding: 0 clamp(1.5rem, 2.5vw, 2.25rem) 1.5rem; font-size: 16.5px; line-height: 1.6; color: var(--on-ink-2); }

/* Answers slide open where the browser supports animating to auto height. */
:root { interpolate-size: allow-keywords; }
.on-faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.35s ease, content-visibility 0.35s allow-discrete; }
.on-faq details[open]::details-content { block-size: auto; }

/* ---------- footer: black block with a pixel corner ---------- */

.on-foot { padding: 0 var(--on-gutter) 2rem; background: var(--on-paper); font-family: var(--on-sans); }
.on-foot-block {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 200px)) 1fr;
  gap: 2rem;
  min-height: 300px;
  margin: 0 calc(-1 * var(--on-gutter));
  padding: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4vw, 3.5rem);
  padding-left: calc(var(--on-gutter) + clamp(2rem, 4vw, 3.5rem));
  background: var(--on-ink);
  border-top: 2px solid var(--on-red);
  color: #fff;
}
.on-foot-tag { grid-column: 1 / -1; margin: 0 0 2.5rem; max-width: 22rem; font-family: var(--on-display); font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.15; letter-spacing: -0.02em; }
.on-foot-col h4 { margin: 0 0 1.2rem; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-gold-line); }
.on-foot-col a { display: block; margin-bottom: 0.9rem; color: #b8afa1; font-size: 16px; text-decoration: none; }
.on-foot-col a:hover { color: #fff; }
/* Render's corner pixels, in gold and red. */
.on-pixels {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 270px;
  height: 180px;
  background:
    linear-gradient(var(--on-red), var(--on-red)) 0 0 / 45px 45px no-repeat,
    linear-gradient(var(--on-gold), var(--on-gold)) 90px 45px / 45px 45px no-repeat,
    linear-gradient(var(--on-gold-wash), var(--on-gold-wash)) 45px 45px / 45px 45px no-repeat,
    linear-gradient(var(--on-gold), var(--on-gold)) 135px 90px / 90px 45px no-repeat,
    linear-gradient(var(--on-red), var(--on-red)) 45px 135px / 45px 45px no-repeat,
    linear-gradient(var(--on-gold-wash), var(--on-gold-wash)) 180px 135px / 45px 45px no-repeat,
    linear-gradient(var(--on-gold), var(--on-gold)) 225px 0 / 45px 45px no-repeat,
    linear-gradient(var(--on-red), var(--on-red)) 225px 135px / 45px 45px no-repeat;
}
.on-foot-base { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: space-between; padding-top: 1.5rem; font-size: 14px; color: var(--on-ink-3); }
.on-socials { display: flex; gap: 1rem; align-items: center; }
.on-foot-col .on-socials a { display: flex; margin: 0; transition: transform 0.15s; }
.on-foot-col .on-socials a:hover { transform: translateY(-2px); }
.on-socials svg { width: 26px; height: 26px; }

@media (max-width: 1000px) {
  .on-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .on-steps,
  .on-quotes { grid-template-columns: minmax(0, 1fr); }
  /* Still two by two on a phone: tighter rows, the company line and the label's
     "Your matches" dropped, and a smaller status pill. */
  .on-box { padding: 1rem 0.5rem; }
  .demos { gap: 0.5rem; }
  .demo { border-radius: 14px; font-size: 12px; }
  .demo-bar { padding: 9px 10px; }
  .demo-bar .on-mono { font-size: 9.5px; line-height: 1.3; }
  .demo-bar .lead { display: none; }
  .demo-row { gap: 8px; padding: 0 8px; }
  .demo-logo { width: 28px; height: 28px; border-radius: 8px; }
  /* The header already names the role, so a row shows the employer. */
  .demo-title { display: none; }
  .demo-sub { margin: 0; font-size: 12px; color: var(--on-ink); }
  /* The status as a small round badge: ✓ applied, a spinner applying, a dot up next. */
  .demo-pill { display: grid; place-items: center; width: 22px; height: 22px; min-width: 0; padding: 0; font-size: 0; }
  .demo-pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
  .demo-row[data-status='applied'] .demo-pill::before { content: '✓'; width: auto; height: auto; background: none; font-size: 11px; }
  .demo-row[data-status='applying'] .demo-pill::before { width: 9px; height: 9px; border: 1.5px solid currentColor; border-right-color: transparent; background: none; animation: on-spin 0.7s linear infinite; }
  @keyframes on-spin { to { transform: rotate(360deg); } }
  /* Two columns of links on a phone, so the footer doesn't stack into one tall list. */
  .on-foot-block { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0.5rem; }
  .on-pixels { transform: scale(0.5); transform-origin: right bottom; }
  .demo-pill { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .on-live,
  .demo-row[data-status='applying']::after { animation: none; }
  .js .on-reveal,
  .demo-row { opacity: 1; transform: none; transition: none; }
}

/* ---------- about ---------- */

/* A plain note, like a letter to a friend: body-size text in one narrow column. */
.about {
  min-height: calc(100vh - 68px - 240px);
  max-width: 38rem;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) 1.5rem;
}
.about h1 {
  margin: 0 0 1.25rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.about p {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ---------- the money glass (jar.js) ---------- */

/* Fixed in the bottom-right corner, in the page's margin, and never in the way:
   clicks go straight through it. Hidden until the first click. */
.jar {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.jar.shown { opacity: 1; transform: none; }
/* Smaller on phones, so it covers less of the page. */
@media (max-width: 760px) { .jar { right: 12px; bottom: 12px; zoom: 0.7; } }
.jar.shown.away { opacity: 0; transform: translateY(16px); }

/* The click count, in green, popping each time it goes up. */
.jar-total {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #15803d;
  text-shadow: 0 1px 0 #fff, 0 0 8px #fff;
}
.jar-total.bump { animation: jar-bump 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes jar-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* The glass: tall, open at the top with a lip, rounded at the bottom. */
.jar-glass {
  position: relative;
  width: 50px;
  height: 168px;
  border: 3px solid rgba(28, 24, 19, 0.22);
  border-top: 0;
  border-radius: 6px 6px 20px 20px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 14px 30px -14px rgba(28, 24, 19, 0.35);
  transition: box-shadow 0.4s ease;
}
.jar-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: -7px;
  right: -7px;
  height: 3px;
  border-radius: 3px;
  background: rgba(28, 24, 19, 0.22);
}
.jar.full .jar-glass { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25), 0 14px 30px -14px rgba(21, 128, 61, 0.6); }

/* Light green, rising to --level. */
.jar-liquid {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /* Full is to the brim. */
  height: calc(var(--level, 0) * 100%);
  border-radius: 0 0 17px 17px;
  /* The surface's wave rises above the liquid, but never past the glass's sides
     or over its rim: the room above shrinks to nothing as it fills (165px is the
     inside height of the glass). */
  clip-path: inset(calc(-1 * min(16px, (1 - var(--level, 0)) * 165px)) 0 0 0 round 0 0 17px 17px);
  background: linear-gradient(180deg, #bbf7d0 0%, #86efac 45%, #4ade80 100%);
  transition: height 0.8s cubic-bezier(0.34, 1.4, 0.64, 1);
}
/* Its surface, gently moving. */
.jar-wave { position: absolute; left: 0; top: -9px; width: 200%; height: 10px; fill: #bbf7d0; animation: jar-wave 2.4s linear infinite; }
@keyframes jar-wave { to { transform: translateX(-50%); } }
.jar-glass.splash .jar-wave { animation: jar-wave 2.4s linear infinite, jar-splash 0.5s ease-out; }
@keyframes jar-splash {
  0% { top: -9px; }
  35% { top: -15px; }
  100% { top: -9px; }
}
/* ---------- cursor ---------- */

/* cursor.js adds .custom-cursor on desktop mice only, so the system cursor
   stays everywhere else. */
.custom-cursor,
.custom-cursor * { cursor: none !important; }

/* A green gummy hand (gummy-cursor.png, 96x107). Shown 40px wide, its fingertip
   (15.9px, 0.4px in) sits on the pointer, and it squashes and jiggles around it. */
.cur {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 40px;
  height: 44.6px;
  margin: -0.4px 0 0 -15.9px;
  transform-origin: 15.9px 0.4px;
  filter: drop-shadow(0 6px 8px rgba(20, 90, 20, 0.3));
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  will-change: transform;
}

/* Confetti flies in 3D inside a layer over the whole page. */
.confetti { position: fixed; inset: 0; z-index: 9999; overflow: hidden; perspective: 600px; pointer-events: none; }
.piece { position: absolute; margin: -6px 0 0 -4px; border-radius: 2px; transform-style: preserve-3d; will-change: transform, opacity; }
/* Banknotes: 156:66, like the real thing, drawn as vector art so they stay
   sharp for anyone who zooms in. */
.bill {
  width: 36px;
  height: 15.2px;
  margin: -7.6px 0 0 -18px;
  border-radius: 1px;
  background-size: 100% 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

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

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hero { min-height: 0; padding: clamp(4rem, 14vw, 6rem) 0; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .notes { justify-self: start; max-width: 420px; height: 290px; }
  .nav-links .hide-sm { display: none; }
}

@media (max-width: 520px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; }
  .dot,
  .note.is-new::after { animation: none; }
}

/* ---------- pricing ---------- */

/* Hidden unless SHOW_PRICING (index.html head) adds .show-pricing. */
html:not(.show-pricing) [data-pricing] { display: none !important; }

/* Shorter than the other sections: three prices don't need the room. */
#pricing { padding-block: clamp(3rem, 5vw, 4.5rem); }
#pricing .on-head { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.on-prices { grid-template-columns: repeat(3, 1fr); max-width: 84rem; }
.on-price { padding: 1.25rem 1.5rem; }
.on-price b { display: block; margin-top: 0.6rem; font-family: var(--on-display); font-weight: 300; font-size: clamp(2.2rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: -0.03em; }
.on-price b small { font-family: var(--on-sans); font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--on-ink-3); }
.on-price p { margin: 0.75rem 0 0; font-size: 16px; line-height: 1.4; }
.on-ticks { margin: 1.1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.on-ticks li { position: relative; padding-left: 1.6rem; font-size: 15px; line-height: 1.4; color: var(--on-ink); }
.on-ticks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1rem; height: 1rem; background: var(--on-gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3E%3Cpath d=%27M3.5 8.5l3 3 6-7%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3E%3Cpath d=%27M3.5 8.5l3 3 6-7%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; }
.on-ticks li.on-tick-red { color: var(--on-red); font-weight: 700; }
.on-ticks li.on-tick-red::before { background: var(--on-red); }
.on-prices-cta { margin-top: 1.5rem; }
.on-prices-cta .cta-btn { margin-top: 0; }
.on-prices-cta p { margin: 0.75rem 0 0; font-size: 17px; font-weight: 700; color: var(--on-ink-3); }
@media (max-width: 760px) { .on-prices { grid-template-columns: 1fr; } }

/* ==========================================================================
   Comparisons, top lists, guides and the data pages (served by the API's
   pages.py, rewritten in by vercel.json). The section language above, with a
   few pieces of its own, all named pg-.
   ========================================================================== */

.pg-hero { padding-top: clamp(4.5rem, 9vw, 7.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.pg-inner { max-width: 1040px; margin: 0 auto; }
.pg-hero .on-mono { margin: 0 0 1.25rem; color: var(--on-red); }
.pg-title { max-width: 18ch; margin: 0; font-family: var(--on-display); font-weight: 300; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.03; letter-spacing: -0.03em; text-wrap: balance; }
.pg-lede { max-width: 36rem; margin: 1.5rem 0 0; font-size: 19px; line-height: 1.55; color: var(--on-ink-2); }
.pg-meta { display: inline-flex; align-items: center; gap: 9px; margin: 2rem 0 0; padding: 6px 14px; border: 1px solid var(--on-line); border-radius: 999px; background: #fff; font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--on-ink-3); }
.pg-body { padding-top: clamp(3rem, 6vw, 5rem); }
.pg-body > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
.pg-block { margin-top: clamp(3rem, 6vw, 4.5rem); }
.pg-h2 { margin-bottom: 1.5rem !important; font-size: clamp(1.8rem, 3vw, 2.6rem) !important; }
.pg-body .on-cell:hover { background: #fff; }
.pg .on-section h3 a { color: inherit; text-decoration: none; }
.pg .on-section h3 a:hover { color: var(--on-red); }

/* The comparison table: the hairline grid as a table, Platesea's column washed in gold. */
.pg-table { overflow-x: auto; border: 1px solid var(--on-line); border-top: 2px solid var(--on-gold-line); border-radius: 22px; background: #fff; }
.pg-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.pg-table th, .pg-table td { padding: 1.1rem clamp(1rem, 2vw, 1.75rem); border-bottom: 1px solid var(--on-line); text-align: left; vertical-align: top; line-height: 1.45; }
.pg-table tbody tr:last-child > * { border-bottom: 0; }
.pg-table thead th { font-family: var(--on-display); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.pg-table tbody th { width: 22%; font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--on-ink-3); }
.pg-table td:nth-child(2), .pg-table th:nth-child(2) { background: #fffaf0; }
.pg-table td { color: var(--on-ink-2); }
.pg-us { color: var(--on-red); }
.pg-verdict { margin-top: 1.5rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-left: 2px solid var(--on-red); background: var(--on-paper); border-radius: 0 18px 18px 0; }
.pg-verdict .on-mono { margin: 0 0 0.6rem; }
.pg-verdict p:last-child { margin: 0; font-family: var(--on-display); font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 400; line-height: 1.35; letter-spacing: -0.02em; }

/* The ranked list. */
.pg-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-list .on-cell { display: flex; gap: 1.1rem; }
.pg-list .on-num { flex: none; margin: 0; background: var(--on-ink); }
.pg-list .pg-first { grid-column: 1 / -1; background: #fffaf0; }
.pg-list .pg-first .on-num { background: var(--on-red); }
.pg-list .pg-first:hover { background: #fffaf0; }
.pg-list h3 { font-size: 1.35rem; }
.pg-list p { margin: 0.45rem 0 0; color: var(--on-ink-2); line-height: 1.55; }
.pg-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.9rem !important; }
.pg-tags span { padding: 3px 10px; border-radius: 999px; background: #f3efe7; font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--on-ink-3); }
.pg-note { margin: 1rem auto 0; font-size: 14px; color: var(--on-ink-3); }

/* Guide sections and steps. */
.pg-steps p { margin: 0.9rem 0 0; font-size: 16.5px; line-height: 1.6; color: var(--on-ink-2); }
/* An odd last cell spans the row, so the grid never shows an empty block. */
.pg-steps .on-cell:last-child:nth-child(odd),
.pg-cards li:last-child:nth-child(odd),
.pg-list .on-cell:last-child:nth-child(even) { grid-column: 1 / -1; }

/* Hub cards: each one a link. */
.pg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-cards li { display: flex; }
.pg-card { display: flex; flex-direction: column; width: 100%; color: inherit; text-decoration: none; }
.pg-card p { flex: 1; margin: 0.7rem 0 1.25rem; color: var(--on-ink-2); }
.pg-card .on-mono { color: var(--on-red); }
.pg-body .pg-card:hover { background: #fffdf8; }

/* Who's hiring: one row per employer, each a link to its jobs. */
.pg-rows { margin: 0 auto; padding: 0; list-style: none; border: 1px solid var(--on-line); border-top: 2px solid var(--on-gold-line); border-radius: 22px; overflow: hidden; background: #fff; }
.pg-rows li + li { border-top: 1px solid var(--on-line); }
.pg-row { display: grid; grid-template-columns: 2.25rem 40px minmax(0, 1fr) auto auto; align-items: center; gap: 1rem; padding: 0.9rem clamp(1rem, 2.5vw, 2rem); color: inherit; text-decoration: none; transition: background-color 0.25s ease; }
.pg-row:hover { background: #fffdf8; }
.pg-rank { font-family: var(--mono); font-size: 13px; color: var(--on-ink-3); }
.pg-logo { display: grid; place-items: center; width: 40px; height: 40px; overflow: hidden; border: 1px solid var(--on-line); border-radius: 11px; background: #fff; }
.pg-logo img { width: 100%; height: 100%; object-fit: contain; }
.pg-logo i { font-style: normal; font-family: var(--on-display); color: var(--on-ink-3); }
/* A product's name with its logo, on comparisons and top lists. */
.pg-name { display: inline-flex; align-items: center; gap: 0.7rem; }
.pg-name .pg-logo { flex: none; width: 34px; height: 34px; border-radius: 9px; }
/* A comparison card's two logos: ours, then theirs. */
.pg-pair { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.pg-pair .pg-logo { width: 40px; height: 40px; }
.pg-vs { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--on-ink-3); }
.pg-row b { overflow: hidden; font-weight: 500; font-size: 17px; white-space: nowrap; text-overflow: ellipsis; }
.pg-count { font-family: var(--on-display); font-size: 1.25rem; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; text-align: right; }
.pg-count small { font-family: var(--on-sans); font-size: 13px; font-weight: 400; color: var(--on-ink-3); }

/* Coverage: one big number per board. */
.pg-stats { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pg-stat b { display: block; margin: 0.75rem 0 0.25rem; font-family: var(--on-display); font-weight: 300; font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pg-stat p:last-child { margin: 0; color: var(--on-ink-2); }

/* Guides and help answers: a blog post in one readable column. */
.pg-narrow .pg-inner, .pg-body.pg-narrow > * { max-width: 700px; }
.pg-narrow .pg-title { max-width: none; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.08; }
.pg-article { font-size: 18px; line-height: 1.75; color: var(--on-ink-2); }
.pg-article h2 { margin: 2.6rem 0 0.8rem; font-family: var(--on-display); font-weight: 500; font-size: clamp(1.45rem, 2.4vw, 1.75rem); line-height: 1.25; letter-spacing: -0.02em; color: var(--on-ink); }
.pg-article h2:first-child { margin-top: 0; }
.pg-article p { margin: 0 0 1.15rem; }
.pg-article ul { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.pg-article li { margin: 0 0 0.5rem; padding-left: 0.2rem; }
.pg-article li::marker { color: var(--on-red); }
.pg-narrow .pg-h2 { font-size: clamp(1.45rem, 2.4vw, 1.75rem) !important; font-weight: 500; }
.pg-sources ol { margin: 0.75rem 0 0; padding-left: 1.2rem; font-size: 14px; color: var(--on-ink-3); }
.pg-sources a { color: var(--on-ink-3); }
.pg-sources a:hover { color: var(--on-ink); }

@media (max-width: 760px) {
  .pg-list, .pg-cards, .pg-stats { grid-template-columns: 1fr; }
  .pg-row { grid-template-columns: 1.5rem 34px minmax(0, 1fr) auto; gap: 0.7rem; }
  .pg-row .on-mono { display: none; }
  .pg-logo { width: 34px; height: 34px; }
}
