/* ==========================================================================
   VANTAGE — "The Daily Variations"
   An operational broadsheet: the staff daily-variations sheet, set with
   newspaper craft. No cards, no shadows, no gradients. Every element is
   product data, a working rule, or a staffroom sentence.
   Type: Archivo throughout; Newsreader for the wordmark only
   ========================================================================== */

/* Self-hosted fonts (no third-party requests — see PRIVACY_POLICY §9) */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/archivo-latin-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/newsreader-latin-variable.woff2") format("woff2");
}

:root {
  --paper: #FFFFFF;
  --ink: #111417;
  --ink-hover: #2A3237;
  --ink-muted: #565E63;
  --hairline: #D8D4CC;
  --row-tint: #EDF4F3;
  --red: #C92A1D;
  --red-fill: #FBEAE8;
  --brand: #0F4F57;
  --brand-hover: #0B3D43;
  --brand-2: #3EA8A6;
  --amber: #8A5A06;
  --amber-fill: #F5E7C8;
  --green: #1E6B45;
  --green-fill: #DBEDE2;
  --focus: #FFD84D;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.55;
  font-feature-settings: "kern";
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.01em;
}

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: pretty;
}

p { margin: 0; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--brand); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* The newspaper signature: thick-thin double rule */
.double-rule {
  border-top: 3px solid var(--brand);
  border-bottom: 1px solid var(--brand);
  height: 4px;
}

/* ==========================================================================
   Masthead
   ========================================================================== */

.masthead { padding-top: 18px; }

.masthead-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-bottom: 10px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
}

.dateline {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  flex: 1;
}

.masthead-nav {
  display: flex;
  align-items: baseline;
  gap: 22px;
  font-size: 15px;
}
.masthead-nav a {
  color: var(--ink);
  text-decoration: none;
}
.masthead-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.masthead-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.masthead-nav .nav-signin { color: var(--ink-muted); }
.masthead-nav .nav-demo {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  color: var(--paper);
  background: var(--brand);
  padding: 8px 14px;
  border-radius: 7px;
  text-decoration: none;
}
.masthead-nav .nav-demo:hover { background: var(--brand-hover); color: var(--paper); }

/* Mobile index (disclosure) */
.index-nav { display: none; position: relative; }
.index-nav summary {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 7px 14px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.index-nav summary::-webkit-details-marker { display: none; }
.index-nav[open] summary { background: var(--ink); color: var(--paper); }
.index-nav nav {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 240px;
  background: var(--paper);
  border: 1px solid var(--ink);
  z-index: 40;
  display: flex;
  flex-direction: column;
}
.index-nav nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
  font-size: 15.5px;
}
.index-nav nav a:last-child { border-bottom: 0; }
.index-nav nav a[aria-current="page"] { background: var(--row-tint); }

/* ==========================================================================
   Lede (hero)
   ========================================================================== */

.lede { padding: 64px 0 30px; text-align: center; }

.lede-dateline { margin-bottom: 22px; }
.lede-dateline .mono { font-size: 13.5px; color: var(--ink-muted); }
.time-red { color: var(--red) !important; font-weight: 600; }

.lede-main { max-width: 840px; margin: 0 auto; }

.hero-mark {
  text-decoration: underline;
  text-decoration-color: var(--brand-2);
  text-decoration-thickness: 5px;
  text-underline-offset: 7px;
}

h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  text-transform: none;
}

.standfirst {
  margin-top: 24px;
  font-size: 19.5px;
  line-height: 1.6;
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

.lede-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.lede .lede-actions { justify-content: center; }

.btn-ink {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  background: var(--brand);
  color: var(--paper);
  text-decoration: none;
  padding: 13px 22px;
  border: 1px solid var(--brand);
  border-radius: 8px;
}
.btn-ink:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--paper); }

.lede-link {
  font-size: 15.5px;
  color: var(--ink);
}



/* ==========================================================================
   Document figures: titlebar + red-pen annotation (for REAL screenshots)
   ========================================================================== */

.board-section { padding: 26px 0 40px; }
.board-section .doc-figure { max-width: 1060px; margin: 0 auto; }
.board-section .figcap { margin-left: auto; margin-right: auto; }

.table-scroll { overflow-x: auto; }


/* Real screenshots sit in window chrome so they read as software, settled */
.mac-window {
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #DDD9D1;
  box-shadow: 0 24px 48px -16px rgba(17, 20, 23, 0.20), 0 4px 12px rgba(17, 20, 23, 0.07);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}
.mac-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: #F3F0EA;
  border-bottom: 1px solid #E5E1D9;
}
.mac-dot { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto; }
.mac-dot-r { background: #FF5F57; }
.mac-dot-y { background: #FEBC2E; }
.mac-dot-g { background: #28C840; }
.mac-title {
  margin-left: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mac-window img { display: block; width: 100%; height: auto; border: 0; }

.fig-annotation {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--hairline);
  background: #FFFFFF;
}
.annot-rule {
  flex: 0 0 34px;
  border-top: 1px solid var(--red);
  transform: translateY(-4px);
}
.fig-annotation .mono { color: var(--red); font-size: 12.5px; }

.figcap {
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 14px;
  letter-spacing: 0;
  max-width: 82ch;
}

.nowrap { white-space: nowrap; }

.board-close {
  margin: 26px auto 0;
  text-align: left;
  max-width: 1060px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.45;
  max-width: 58ch;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  border-top: 1px solid var(--hairline);
  padding: 64px 0 72px;
}

.kicker {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.07em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 26px;
}

h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 21px; }

/* Ruled columns (visible column rules, the broadsheet move) */
.rulecols { display: grid; }
.rulecols-3 { grid-template-columns: repeat(3, 1fr); }
.rulecols > div {
  border-left: 1px solid var(--hairline);
  padding: 4px 28px 8px;
}
.rulecols > div:first-child { border-left: 0; padding-left: 0; }
.rulecols h3 { margin-bottom: 10px; }
.rulecols p { color: var(--ink); font-size: 15.5px; }

/* Act layout: copy column + document figure */
.act-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 44px;
  align-items: start;
}
.act-copy h2 { margin-bottom: 14px; }
.act-copy p { max-width: 58ch; }
.act-copy p + p { margin-top: 12px; }

/* Document figures: flat, ruled, captioned. Never tilted, never shadowed. */
.doc-figure { margin: 0; }
.doc-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.doc-figure figcaption {
  margin-top: 9px;
  color: var(--ink-muted);
  font-size: 14px;
  letter-spacing: 0;
}

.phone-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 44px;
  align-items: start;
}
.doc-figure-phone { max-width: 320px; justify-self: center; }
.phone-device {
  position: relative;
  background: #0B0C0E;
  border-radius: 56px;
  padding: 10px;
  box-shadow:
    inset 0 0 0 1.5px #3A3D42,
    0 22px 46px -18px rgba(17, 20, 23, 0.26),
    0 4px 12px rgba(17, 20, 23, 0.08);
}
.phone-device::before {
  content: "";
  position: absolute;
  left: -2.5px;
  top: 148px;
  width: 3px;
  height: 54px;
  border-radius: 2px;
  background: #17181B;
  box-shadow: 0 72px 0 #17181B;
}
.phone-device::after {
  content: "";
  position: absolute;
  right: -2.5px;
  top: 190px;
  width: 3px;
  height: 92px;
  border-radius: 2px;
  background: #17181B;
}
.phone-screen {
  position: relative;
  background: #FFFFFF;
  border-radius: 46px;
  overflow: hidden;
  padding-top: 30px;
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 66px;
  height: 20px;
  border-radius: 999px;
  background: #0B0C0E;
}
.phone-device img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
}
.doc-figure-phone figcaption { text-align: center; }

/* The Yes-checklist */
.checklist {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  max-width: 58ch;
}
.checklist li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--hairline);
}
.checklist li:last-child { border-bottom: 1px solid var(--hairline); }
.checklist .q { font-size: 15.5px; }
.checklist .a {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 16.5px;
  white-space: nowrap;
  color: var(--brand);
}

/* Spec table (trust) */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.spec-table th, .spec-table td {
  border: 1px solid var(--hairline);
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}
.spec-table th[scope="row"] {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--row-tint);
  width: 172px;
  white-space: nowrap;
}

/* Notice box (the CTA, set as a classified notice, not a tinted band) */
.notice-box {
  border: 1px solid var(--ink);
  padding: 38px 42px 42px;
}
.notice-box h2 { max-width: 26ch; }
.notice-head {
  color: var(--brand);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.notice-box h2 { margin-bottom: 12px; }
.notice-box > p { max-width: 52ch; }
.notice-box .lede-actions { margin-top: 24px; }

/* ==========================================================================
   Imprint (footer)
   ========================================================================== */

.imprint { padding: 40px 0 34px; }
.imprint .double-rule { margin-bottom: 18px; }
.imprint-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}
.imprint-row .mono { color: var(--ink-muted); font-size: 12px; }
.imprint-links { display: flex; gap: 20px; flex-wrap: wrap; }
.imprint-links a { color: var(--ink); text-decoration: none; font-size: 12.5px; }
.imprint-links a:hover { text-decoration: underline; }
.colophon {
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 11.5px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  /* minmax(0,1fr): a bare 1fr track has min-width auto, so the 880px swipeable
     screenshot would blow the whole page out to 906px on phones */
  .act-grid, .phone-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .act-grid > *, .phone-grid > * { min-width: 0; }
  .rulecols-3 { grid-template-columns: 1fr; }
  .rulecols > div {
    border-left: 0;
    padding: 14px 0;
    border-top: 1px solid var(--hairline);
  }
  .rulecols > div:first-child { border-top: 0; padding-top: 4px; }
}

/* Masthead swaps to the Index disclosure before the full nav runs out of room:
   the desktop masthead needs ~780px, so 761–840px (iPad portrait is 768px)
   was clipping the "Book a demo" button off the right edge */
@media (max-width: 840px) {
  .masthead-nav { display: none; }
  .index-nav { display: block; margin-left: auto; }
  .dateline { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .checklist li { flex-wrap: wrap; }
  .checklist .a { margin-left: auto; }
  /* Exhibits stay legible: swipe the real board instead of shrinking it */
  .mac-window { overflow-x: auto; }
  .mac-window img { min-width: 880px; }
  .lede { padding: 30px 0 24px; }
  .standfirst { font-size: 17px; }
  .board-close { font-size: 18.5px; }
  .notice-box { padding: 24px 20px 28px; }
  }

/* ==========================================================================
   Legal / trust documents (privacy, terms, subprocessors, security)
   Set like beautifully-kept paperwork: ruled sidebar index, measured text.
   ========================================================================== */

.legal-hero {
  padding: 40px 0 26px;
  border-bottom: 1px solid var(--ink);
}
.legal-hero .kicker { margin-bottom: 14px; }
.legal-hero h1 { font-size: clamp(32px, 4vw, 52px); }
.legal-hero p {
  margin-top: 14px;
  max-width: 66ch;
  color: var(--ink);
}
.legal-hero p + p { margin-top: 8px; }

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0;
  /* keep the container's 24px side gutter (a bare 0 here overrode it and let
     text sit flush against the screen edge on phones) */
  padding: 34px 24px 50px;
}

.legal-nav {
  border-right: 1px solid var(--ink);
  padding-right: 24px;
  align-self: start;
  position: sticky;
  top: 18px;
}
.legal-nav h2, .legal-nav strong {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-muted);
  display: block;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 8px;
  margin: 0 0 4px;
}
.legal-nav ul { list-style: none; margin: 0; padding: 0; }
.legal-nav li { border-bottom: 1px solid var(--hairline); }
.legal-nav li:last-child { border-bottom: 0; }
.legal-nav a {
  display: block;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink);
  text-decoration: none;
  padding: 9px 0;
}
.legal-nav a:hover { color: var(--brand); }

.legal-content {
  padding-left: 40px;
  max-width: 78ch;
}
.legal-layout > .legal-content:only-child { padding-left: 0; }
.legal-content h2 {
  font-size: 24px;
  margin: 38px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-content h3 { font-size: 17.5px; margin: 24px 0 8px; }
.legal-content p { margin: 0 0 12px; }
.legal-content ul, .legal-content ol { margin: 0 0 14px; padding-left: 22px; }
.legal-content li { margin-bottom: 6px; }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 14px 0 18px;
}
.legal-content th, .legal-content td {
  border: 1px solid var(--hairline);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-content thead th {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--row-tint);
  border-bottom: 1px solid var(--ink);
}
.legal-content tbody tr:nth-child(even) td { background: var(--row-tint); }

@media (max-width: 900px) {
  /* minmax(0,1fr), not 1fr: keeps the sub-processor table scrolling inside
     .table-scroll instead of widening the page */
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-layout > * { min-width: 0; }
  .legal-nav {
    position: static;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
    padding: 0 0 16px;
    margin-bottom: 24px;
  }
  .legal-content { padding-left: 0; }
}

@media (max-width: 560px) {
  .spec-table th[scope="row"] { width: auto; display: block; border-bottom: 0; }
  .spec-table td { display: block; border-top: 0; }
  .spec-table tr { display: block; border-bottom: 1px solid var(--hairline); }
}

/* Product/pricing page components */
.fact-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  max-width: 58ch;
}
.fact-list li {
  padding: 10px 0 10px 0;
  border-top: 1px solid var(--hairline);
  font-size: 15px;
}
.fact-list li:last-child { border-bottom: 1px solid var(--hairline); }

.section-solo-head { max-width: 30ch; }
.section-solo-lead { margin: 14px 0 30px; max-width: 62ch; }

.step-doc {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 0;
}
.step-doc li {
  counter-increment: step;
  border-top: 1px solid var(--ink);
  padding: 16px 28px 22px 0;
  font-size: 15.5px;
}
.step-doc li:nth-child(even) { border-left: 1px solid var(--hairline); padding-left: 28px; padding-right: 0; }
.step-doc li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--brand);
  margin-bottom: 8px;
}
.step-doc b { display: block; font-weight: 700; margin-bottom: 4px; }

.rulecols-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 980px) {
  .step-doc { grid-template-columns: 1fr; }
  .step-doc li:nth-child(even) { border-left: 0; padding-left: 0; padding-right: 0; }
  .rulecols-2 { grid-template-columns: 1fr; }
}

.brand-mark { width: 30px; height: auto; display: block; }
