/* Swyft Signature marketing site.
   Warm paper, ink type, one sealing-wax accent. Display type is Instrument
   Serif, body is Inter, labels are JetBrains Mono. All fonts are served from
   this site (no third-party font requests). */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}

/* ---------- Tokens ---------- */

:root {
  color-scheme: light;
  --paper: #f4f1ea;
  --paper-raised: #fbfaf6;
  --paper-sunken: #ebe7de;
  --ink: #14161a;
  --ink-2: rgb(20 22 26 / 0.7);
  --ink-3: rgb(20 22 26 / 0.52);
  --line: rgb(20 22 26 / 0.13);
  --line-strong: rgb(20 22 26 / 0.3);
  --accent: #d2461f;
  --accent-text: #a8360f;
  --accent-soft: rgb(210 70 31 / 0.14);
  --on-ink: #f4f1ea;
  --invert-bg: #14161a;
  --invert-fg: #f4f1ea;
  --invert-accent: #ff8f6b;
  --logo-ink: #ff6a3d;
  --success: #1f7a4d;
  --danger: #b3261e;
  --shadow: 0 1px 0 rgb(20 22 26 / 0.04), 0 24px 60px -24px rgb(20 22 26 / 0.28);

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 0;
  --surface: var(--paper);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #121316;
  --paper-raised: #1b1d21;
  --paper-sunken: #0c0d0f;
  --ink: #ece8df;
  --ink-2: rgb(236 232 223 / 0.72);
  --ink-3: rgb(236 232 223 / 0.52);
  --line: rgb(236 232 223 / 0.13);
  --line-strong: rgb(236 232 223 / 0.3);
  --accent: #ff7a50;
  --accent-text: #ff8f6b;
  --accent-soft: rgb(255 122 80 / 0.16);
  --on-ink: #121316;
  --invert-bg: #ece8df;
  --invert-fg: #121316;
  --invert-accent: #a8360f;
  --logo-ink: #d2461f;
  --success: #5cc48f;
  --danger: #ff8a80;
  --shadow: 0 1px 0 rgb(0 0 0 / 0.2), 0 24px 60px -24px rgb(0 0 0 / 0.7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #121316;
    --paper-raised: #1b1d21;
    --paper-sunken: #0c0d0f;
    --ink: #ece8df;
    --ink-2: rgb(236 232 223 / 0.72);
    --ink-3: rgb(236 232 223 / 0.52);
    --line: rgb(236 232 223 / 0.13);
    --line-strong: rgb(236 232 223 / 0.3);
    --accent: #ff7a50;
    --accent-text: #ff8f6b;
    --accent-soft: rgb(255 122 80 / 0.16);
    --on-ink: #121316;
    --logo-ink: #d2461f;
    --success: #5cc48f;
    --danger: #ff8a80;
    --shadow: 0 1px 0 rgb(0 0 0 / 0.2), 0 24px 60px -24px rgb(0 0 0 / 0.7);
  }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: 0.86em; }
em { font-style: italic; }
[hidden] { display: none !important; }

::selection { background: var(--accent); color: #fff; }

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

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

.skip {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: 8px;
  font-weight: 600;
}
.skip:focus { top: 16px; }

main:focus { outline: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mono {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

/* ---------- Type ---------- */

.display-xl,
.display-lg,
.display-md {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.98;
  text-wrap: balance;
}
.display-xl { font-size: clamp(48px, 7.4vw, 104px); }
.display-lg { font-size: clamp(44px, 6vw, 84px); }
.display-md { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; }

.display-xl em,
.display-lg em,
.display-md em { color: var(--accent); }

.lead {
  max-width: 38em;
  color: var(--ink-2);
  font-size: clamp(17px, 1.5vw, 19.5px);
  line-height: 1.6;
  text-wrap: pretty;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow a { color: var(--ink-2); }
.eyebrow a:hover { color: var(--ink); }
.eyebrow-num { color: var(--accent-text); font-weight: 500; }
.eyebrow-slash { opacity: 0.5; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
}
.pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn .arrow { width: 14px; height: 14px; transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--on-ink); }

.btn-small { min-height: 40px; padding: 0 18px; }
.btn-large { min-height: 52px; padding: 0 28px; font-size: 12.5px; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button-column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.text-link .arrow { width: 16px; height: 16px; transition: transform 0.18s ease; }
.text-link:hover { border-color: currentColor; }
.text-link:hover .arrow { transform: translateX(3px); }

/* ---------- Header ----------
   A full-width bar of ruled cells: brand, mono links, then sign-in, theme
   and a solid call to action that runs the full height of the bar. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-strong);
}

.header-row {
  display: flex;
  align-items: stretch;
  height: 56px;
}

.header-cell {
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line-strong);
}

.brand { padding: 0 22px 0 20px; flex-shrink: 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo-mark { width: 28px; height: 28px; }
.logo-word { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.logo-word-light { font-weight: 400; color: var(--ink-2); margin-left: 3px; }

.nav { gap: 4px; padding: 0 14px; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link::-webkit-details-marker { display: none; }
.nav-link:hover { color: var(--ink); background: var(--paper-sunken); }
.nav-link[aria-current="page"] { background: var(--ink); color: var(--on-ink); }
.chevron { width: 12px; height: 12px; transition: transform 0.18s ease; }

.nav-group { position: relative; }
.nav-group summary { list-style: none; }
.nav-group[open] .chevron { transform: rotate(180deg); }

.nav-panel {
  position: absolute;
  top: calc(100% + 15px);
  left: -1px;
  width: 340px;
  background: var(--paper-raised);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.nav-panel a {
  display: block;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.nav-panel a:last-child { border-bottom: 0; }
.nav-panel a:hover { background: var(--paper-sunken); }
.nav-panel-label {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-panel-hint { display: block; margin-top: 4px; color: var(--ink-3); font-size: 14px; }

.header-actions { display: flex; align-items: stretch; margin-left: auto; }
.header-actions > .header-cell { border-right: 0; border-left: 1px solid var(--line-strong); }
.header-pricing { align-self: center; margin-right: 14px; }

.header-link {
  padding: 0 20px;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.header-link:hover { color: var(--ink); background: var(--paper-sunken); }

.theme-toggle {
  justify-content: center;
  width: 56px;
  padding: 0;
  border-top: 0;
  border-bottom: 0;
  border-right: 0;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}
.theme-toggle:hover { color: var(--ink); background: var(--paper-sunken); }
.theme-toggle svg { width: 18px; height: 18px; }

.header-cta {
  display: flex;
  align-items: center;
  padding: 0 26px;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.18s ease;
}
.header-cta:hover { background: var(--accent); color: #fff; }

.mobile-menu { display: none; }

@media (max-width: 1080px) {
  .header-pricing { display: none; }
}

@media (max-width: 960px) {
  .nav,
  .header-link,
  .header-cta { display: none; }

  .mobile-menu { display: flex; }
  .mobile-menu summary {
    display: grid;
    place-items: center;
    width: 56px;
    height: 100%;
    cursor: pointer;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .burger,
  .burger::before,
  .burger::after {
    display: block;
    width: 20px; height: 1.6px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .burger { position: relative; }
  .burger::before,
  .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -6px; }
  .burger::after { top: 6px; }
  .mobile-menu[open] .burger { background: transparent; }
  .mobile-menu[open] .burger::before { transform: translateY(6px) rotate(45deg); }
  .mobile-menu[open] .burger::after { transform: translateY(-6px) rotate(-45deg); }

  .mobile-panel {
    position: absolute;
    left: 0; right: 0; top: 56px;
    display: flex;
    flex-direction: column;
    padding: 0 var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
  .mobile-panel a:not(.btn) {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .mobile-panel .btn { margin-top: 20px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 112px);
  overflow: hidden;
}
.hero::before {
  /* A faint ruled-paper texture. */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 36px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 60%, transparent);
  opacity: 0.55;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
.hero-copy .display-xl { margin-bottom: 28px; }
.hero-copy .lead { margin-bottom: 36px; }
.hero-meta { margin-top: 22px; color: var(--ink-3); }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* The drawn Outlook message. */
.compose {
  position: relative;
  background: var(--paper-raised);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 15px;
}
.compose-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
}
.compose-dots { display: inline-flex; gap: 6px; }
.compose-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.compose-status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 22%, transparent); }

.compose-fields > div {
  display: flex;
  gap: 16px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--line);
}
.compose-fields .mono { width: 64px; color: var(--ink-3); padding-top: 2px; }

.compose-body { padding: 22px 18px 26px; }
.compose-body > p { margin-bottom: 12px; color: var(--ink-2); }

.signature {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
}
.signature p { margin: 0; }
.sig-name { font-family: var(--serif); font-size: 26px; line-height: 1.1; margin-bottom: 4px !important; }
.sig-role { color: var(--ink-2); }
.sig-contact { color: var(--ink-2); font-family: var(--mono); font-size: 13px; margin-top: 4px !important; }
.sig-banner {
  margin-top: 14px !important;
  padding: 10px 12px;
  border-radius: 0;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 13.5px;
  font-weight: 500;
}

.sig-fill {
  border-radius: 4px;
  animation: sig-fill 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--d) * 0.45s + 0.5s);
}
@keyframes sig-fill {
  from { color: transparent; background-color: var(--accent-soft); }
  60% { color: transparent; background-color: var(--accent-soft); }
  to { color: inherit; background-color: transparent; }
}

.token-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: var(--paper-sunken);
}
.token-rail span {
  padding: 4px 10px;
  border-radius: 0;
  border: 1px solid var(--line);
  color: var(--ink-3);
  animation: token-lit 0.7s ease both;
  animation-delay: calc(var(--d) * 0.45s + 0.5s);
}
@keyframes token-lit {
  from { border-color: var(--line); color: var(--ink-3); }
  50% { border-color: var(--accent); color: var(--accent-text); }
  to { border-color: var(--line-strong); color: var(--ink-2); }
}

/* ---------- Ticker ---------- */

.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track ul { display: flex; flex-shrink: 0; }
.ticker-track li { display: inline-flex; align-items: center; gap: 14px; padding-right: 44px; white-space: nowrap; }
.ticker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; background: var(--surface); }
.section + .section:not(.section-sunken):not(.section-invert) { border-top: 1px solid var(--line); }
.section-sunken { --surface: var(--paper-sunken); }
.section-invert {
  --surface: var(--invert-bg);
  --ink: var(--invert-fg);
  --line: color-mix(in srgb, var(--invert-fg) 16%, transparent);
  --line-strong: color-mix(in srgb, var(--invert-fg) 34%, transparent);
  --ink-2: color-mix(in srgb, var(--invert-fg) 74%, transparent);
  --ink-3: color-mix(in srgb, var(--invert-fg) 54%, transparent);
  --accent-text: var(--invert-accent);
  color: var(--invert-fg);
}

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .display-md { max-width: 15em; }
.section-head .lead { margin-top: 22px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.split-wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split .section-head { margin-bottom: 0; }
@media (max-width: 880px) {
  .split, .split-wide { grid-template-columns: 1fr; }
}

/* ---------- Inner page hero ---------- */

.page-hero {
  padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}
.page-hero .display-lg { max-width: 13em; margin-bottom: 26px; }
.page-hero-doc .display-lg { margin-bottom: 14px; }
.doc-date { color: var(--ink-3); }
.not-found { border-bottom: 0; min-height: 60vh; }
.not-found .display-xl { max-width: 12em; margin-bottom: 26px; }
.not-found .lead { margin-bottom: 32px; }

/* ---------- Steps and lettered blocks ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
.step {
  padding: 28px 28px 8px 0;
  counter-increment: step;
}
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-letter {
  display: block;
  margin-bottom: 36px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
}
.step h3, .lettered-item h3, .card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
  margin-bottom: 10px;
}
.step p, .lettered-item p, .card p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .step-letter { margin-bottom: 18px; }
}

.lettered {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.lettered-letter {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  margin-bottom: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
}
.section-invert .text-link { margin-top: 56px; }
@media (max-width: 820px) {
  .lettered { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 26px 24px;
  background: var(--surface);
  transition: background-color 0.2s ease;
}
a.card:hover { background: var(--paper-raised); }
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;
  padding-bottom: 48px;
}
.card-num { color: var(--ink-3); }
.tag {
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.18s ease;
}
.card-more .arrow { width: 15px; height: 15px; transition: transform 0.18s ease; }
a.card:hover .card-more { color: var(--accent-text); }
a.card:hover .card-more .arrow { transform: translateX(3px); }
.card-grid-plain .card { min-height: 0; }
.card-grid-plain .card-top { padding-bottom: 36px; }

@media (max-width: 1100px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .card-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card-top { padding-bottom: 28px; }
}

/* ---------- Lists ---------- */

.ticks { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.tick { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; color: var(--accent); }
.tick-off { color: var(--ink-3); }

.feature-list { border-top: 1px solid var(--line-strong); }
.feature-list > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.feature-list dt { font-weight: 600; letter-spacing: -0.01em; }
.feature-list dd { color: var(--ink-2); }
@media (max-width: 620px) {
  .feature-list > div { grid-template-columns: 1fr; gap: 6px; }
}

.spec-table { border-top: 1px solid var(--line-strong); }
.spec-table > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.spec-table dt { color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; padding-top: 3px; }
.spec-table a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.spec-table a:hover { text-decoration-color: currentColor; }
@media (max-width: 520px) { .spec-table > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Permissions ---------- */

.permission-list {
  padding: 8px 26px 22px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.section-sunken .permission-list { background: var(--paper); }
.permission-caption { padding: 18px 0 14px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.permission { padding: 18px 0; border-top: 1px solid var(--line); }
.permission code {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 0;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 500;
}
.permission p { color: var(--ink-2); font-size: 15.5px; }
.permission-foot { padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }

/* ---------- Pricing ---------- */

.pricing-section { padding-top: clamp(40px, 6vw, 72px); }

.billing-switch {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 36px;
  padding: 4px;
  border: 1px solid var(--line-strong);
}
.billing-switch button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.billing-switch button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.save { font-family: var(--mono); font-size: 11.5px; color: var(--accent-text); }
.billing-switch button[aria-pressed="true"] .save { color: inherit; opacity: 0.8; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
}
.plan-featured { border: 2px solid var(--ink); background: var(--paper-raised); }
.plan-flag {
  position: absolute;
  top: -12px; left: 26px;
  padding: 4px 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.plan h2 { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1; }
.plan-summary { margin: 12px 0 26px; color: var(--ink-2); font-size: 15.5px; min-height: 3.2em; }
.plan-price { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 26px; }
.price { font-family: var(--serif); font-size: 60px; line-height: 0.9; letter-spacing: -0.02em; }
.per { color: var(--ink-3); font-size: 13.5px; line-height: 1.35; padding-bottom: 4px; }
.plan .btn { width: 100%; }
.plan-limits { margin-top: 26px; border-top: 1px solid var(--line); }
.plan-limits li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.fine-print { margin-top: 24px; color: var(--ink-3); font-size: 14px; }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .plan-summary { min-height: 0; }
}

.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 15px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.compare tbody th { font-weight: 500; }
.compare td { width: 16%; }

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chevron { width: 18px; height: 18px; flex-shrink: 0; color: var(--ink-3); }
.faq details[open] summary .chevron { transform: rotate(180deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--ink-2); }

/* ---------- Contact ---------- */

.contact-section { padding-top: clamp(48px, 6vw, 80px); }
.contact-aside .spec-table > div { grid-template-columns: 110px minmax(0, 1fr); }

.contact-form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.optional { color: var(--ink-3); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--paper-raised);
  font-size: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 14px; }
.field-error:empty { display: none; }
.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.field-check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--accent); }
.field-check label { font-weight: 400; color: var(--ink-2); }
.field-check label a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.field-check .field-error { grid-column: 2; }
.turnstile:empty { display: none; }
.form-alert, .form-note {
  padding: 14px 16px;

  border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent);
  background: color-mix(in srgb, var(--danger) 10%, transparent);
  color: var(--danger);
}
.contact-form .btn { justify-self: start; }
.contact-form .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-success { outline: none; }
.form-success .display-md { margin-bottom: 20px; }

/* ---------- Privacy centre and documents ---------- */

.doc-list { border-top: 0; }
.doc-link {
  display: block;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.doc-link:first-of-type { border-top: 1px solid var(--line-strong); }
.doc-title { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.doc-title .arrow { width: 18px; height: 18px; transition: transform 0.18s ease; }
.doc-link:hover .doc-title { color: var(--accent-text); }
.doc-link:hover .arrow { transform: translateX(4px); }
.doc-summary { display: block; margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }

.section-doc { padding-top: clamp(40px, 5vw, 64px); }
.callout {
  max-width: 72ch;
  margin-bottom: 40px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  font-size: 15.5px;
}

.prose { max-width: 72ch; }
.prose h2 {
  margin: 48px 0 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 600; }
.prose p, .prose ul { margin-bottom: 14px; color: var(--ink-2); }
.prose ul { padding-left: 20px; list-style: disc; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }

/* ---------- Closing call to action ---------- */

.closing {
  padding: clamp(88px, 13vw, 176px) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.closing .display-xl { margin: 0 auto 40px; max-width: 11em; }
.closing .button-row { justify-content: center; }
.closing-note { margin-top: 22px; color: var(--ink-3); }

/* ---------- Footer ---------- */

.site-footer {
  padding: 72px 0 32px;
  background: var(--paper-sunken);
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand p { margin-top: 18px; max-width: 26em; color: var(--ink-2); }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-cols h2 {
  margin-bottom: 14px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-cols a { display: block; padding: 5px 0; color: var(--ink-2); }
.footer-cols a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
}
.footer-bottom .mono { font-size: 11.5px; }
.footer-company p + p { margin-top: 4px; }
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}

/* ---------- Reveal on scroll (only when JavaScript is running) ---------- */

.reveal-ready .section-head,
.reveal-ready .card,
.reveal-ready .step,
.reveal-ready .lettered-item,
.reveal-ready .plan,
.reveal-ready .feature-list > div {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-ready .is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .sig-fill, .token-rail span { animation: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker-track ul + ul { display: none; }
  .ticker-track ul { flex-wrap: wrap; row-gap: 10px; padding: 0 var(--gutter); }
}

/* Home: the Google Workspace pointer under the Microsoft 365 section */
.ms-google { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); max-width: 46ch; }
.ms-google .text-link { display: inline-flex; margin-top: 10px; }

/* Home trust section: four points */
.lettered { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .lettered { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .lettered { grid-template-columns: 1fr; } }

/* Security: certified infrastructure. Typographic marks, not the ISO or
   AICPA logos, which are not ours to use. */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
}
.cert { padding: 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.cert:last-child { border-right: 0; }
.cert-badge {
  display: inline-flex;
  flex-direction: column;
  align-self: flex-start;
  gap: 4px;
  margin: 0 0 22px;
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
}
.cert-mark { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--ink); }
.cert-scope { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.cert h3 { margin: 0 0 10px; }
.cert p { color: var(--ink-2); }
.cert-links { list-style: none; margin: auto 0 0; padding: 18px 0 0; display: grid; gap: 10px; }
.cert-note { margin-top: 20px; max-width: 70ch; }
@media (max-width: 960px) {
  .cert-grid { grid-template-columns: 1fr; }
  .cert { border-right: 0; border-bottom: 1px solid var(--line); }
  .cert:last-child { border-bottom: 0; }
}

/* "Cookie settings": shown only when the site asks for consent */
.footer-button, .text-button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.footer-button { display: block; padding: 5px 0; color: var(--ink-2); text-align: left; }
.footer-button:hover { color: var(--ink); }
.text-button { text-decoration: underline; text-underline-offset: 3px; }

/* Cookie banner: square and in the site's type, light and dark */
#cc-main {
  --cc-font-family: var(--sans);
  --cc-modal-border-radius: 0;
  --cc-btn-border-radius: 0;
  --cc-pm-toggle-border-radius: 0;
  --cc-bg: var(--paper-raised);
  --cc-primary-color: var(--ink);
  --cc-secondary-color: var(--ink-2);
  --cc-btn-primary-bg: var(--ink);
  --cc-btn-primary-color: var(--paper);
  --cc-btn-primary-border-color: var(--ink);
  --cc-btn-primary-hover-bg: var(--accent);
  --cc-btn-primary-hover-border-color: var(--accent);
  --cc-btn-primary-hover-color: #fff;
  --cc-btn-secondary-bg: transparent;
  --cc-btn-secondary-color: var(--ink);
  --cc-btn-secondary-border-color: var(--line-strong);
  --cc-btn-secondary-hover-bg: var(--paper-sunken);
  --cc-btn-secondary-hover-border-color: var(--ink);
  --cc-separator-border-color: var(--line);
  --cc-toggle-on-bg: var(--ink);
  --cc-cookie-category-block-bg: var(--paper-sunken);
  --cc-cookie-category-block-border: var(--line);
  --cc-footer-bg: var(--paper-sunken);
  --cc-footer-border-color: var(--line);
  --cc-link-color: var(--accent-text);
}
#cc-main .cm__btn, #cc-main .pm__btn {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#cc-main .cm__title, #cc-main .pm__title { font-family: var(--serif); font-weight: 400; font-size: 24px; }
