/* ============================================================
   Windrose — SaaS website template
   ------------------------------------------------------------
   Design language: nautical-chart. Cool chart paper, marine ink,
   pale water tints, and the magenta that real charts reserve for
   compass roses and lights.

   Contents
   01. Design tokens
   02. Base & reset
   03. Layout utilities
   04. Type utilities (eyebrow, lede)
   05. Buttons & links
   06. Chips, tags, avatars
   07. Header & navigation
   08. Footer
   09. Landing — hero & chart
   10. Landing — logo strip, features, board, steps
   11. Landing — quote, metrics, latest, CTA band
   12. Interior page scaffolding
   13. Prose (articles, postings, announcements)
   14. Pricing
   15. Jobs & postings
   16. Team & profiles
   17. Index lists (articles / announcements / jobs)
   18. Motion & accessibility
   19. Responsive
   ============================================================ */


/* ---------- 01. Design tokens ------------------------------ */

:root {
  /* Color */
  --paper:      #F9F9F4;   /* chart paper */
  --white:      #FFFFFF;
  --water:      #DCE8EA;   /* shallow-water tint */
  --water-2:    #ECF2F2;   /* faintest water wash */
  --ink:        #14293A;   /* marine ink */
  --ink-2:      #0D1D2B;   /* ink, pressed */
  --slate:      #4A626F;   /* secondary text */
  --line:       #CBD8DA;   /* hairlines */
  --magenta:    #C22667;   /* chart magenta — roses & lights */
  --magenta-2:  #9E1B51;
  --buff:       #EBDCB4;   /* land buff */
  --tint-m:     #F2DAE6;   /* magenta wash, avatars only */
  --ok:         #2F6B4F;   /* the one non-chart color: "on schedule" */

  /* Type */
  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body:    "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "Spline Sans Mono", "SFMono-Regular", Consolas, monospace;

  /* Rhythm */
  --wrap: 1140px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(20, 41, 58, 0.08);
  --header-h: 66px;
}

::selection {
  background: var(--magenta);
  color: var(--paper);
}


/* ---------- 02. Base & reset ------------------------------- */

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

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

a { color: inherit; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Chart "neatline" tick strip — used as a section divider */
.tickline {
  height: 7px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 1px,
    transparent 1px 12px
  );
  opacity: 0.3;
}


/* ---------- 03. Layout utilities --------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.wrap-narrow { max-width: 800px; }

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

.band-water {
  background: var(--water-2);
  border-block: 1px solid var(--line);
}

.band-ink {
  background: var(--ink);
  color: var(--paper);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

.section-head p {
  color: var(--slate);
  font-size: 1.075rem;
  margin-bottom: 0;
}

.band-ink .section-head p { color: #A9BFCB; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }


/* ---------- 04. Type utilities ----------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--magenta);
  flex: none;
}

.band-ink .eyebrow { color: #93ADBA; }

.lede {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--slate);
  max-width: 60ch;
}

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

.accent { color: var(--magenta); }


/* ---------- 05. Buttons & links ---------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease,
              color 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover { background: var(--ink-2); }

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

.btn-ghost:hover { border-color: var(--ink); }

.band-ink .btn-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.band-ink .btn-ghost {
  color: var(--paper);
  border-color: #4A6375;
}

.band-ink .btn-ghost:hover { border-color: var(--paper); }

.btn-lg { padding: 15px 26px; font-size: 13px; }

.textlink {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--magenta);
  padding-bottom: 1px;
}

.textlink:hover { color: var(--magenta); }

.backlink {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--slate);
  margin-bottom: 26px;
}

.backlink:hover { color: var(--magenta); }


/* ---------- 06. Chips, tags, avatars ----------------------- */

.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.chip-ok     { background: var(--water); color: var(--ink); }
.chip-warn   { background: var(--buff); color: #5C4A17; }
.chip-alert  { background: var(--magenta); color: var(--paper); }
.chip-plain  { background: var(--white); color: var(--slate); border-color: var(--line); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--water);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  flex: none;
}

.avatar-lg { width: 96px; height: 96px; font-size: 1.7rem; }


/* ---------- 07. Header & navigation ------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 249, 244, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  gap: 26px;
  margin-left: 12px;
}

.site-nav a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--slate);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--ink); }

.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--magenta);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions .btn { padding: 9px 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ---------- 08. Footer ------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .brand { color: var(--paper); margin-bottom: 14px; }

.footer-tagline {
  color: #A9BFCB;
  max-width: 30ch;
  font-size: 0.95rem;
}

.footer-coords {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #7E97A6;
  margin-top: 18px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8FA9B6;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: rgba(249, 249, 244, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  border-top: 1px solid rgba(249, 249, 244, 0.14);
  margin-top: 52px;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #7E97A6;
}

.footer-bottom a { color: #7E97A6; }
.footer-bottom a:hover { color: var(--paper); }


/* ---------- 09. Landing — hero & chart --------------------- */

.hero { padding: 72px 0 64px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.028em;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 50ch;
  margin-bottom: 30px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }

.hero-proof {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--slate);
}

.hero-chart svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 34px rgba(20, 41, 58, 0.12));
}


/* ---------- 10. Landing — strip, features, board, steps ---- */

.logo-strip {
  border-top: 1px solid var(--line);
  padding: 26px 0;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  align-items: baseline;
  justify-content: space-between;
}

.logo-row span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  opacity: 0.75;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card h3 { font-size: 1.16rem; font-weight: 600; margin-bottom: 8px; }

.card p { color: var(--slate); font-size: 0.98rem; margin-bottom: 0; }

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--ink);
}

.card-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #B4C6C9;
}

/* Mini product board (fake live data) */
.board-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

.board-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--magenta);
  margin-right: 8px;
}

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

.board {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.board th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: var(--slate);
  background: var(--water-2);
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
}

.board td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--water-2);
  vertical-align: middle;
  white-space: nowrap;
}

.board tr:last-child td { border-bottom: 0; }

.board .b-id {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
}

.board .b-dim { color: var(--slate); }

.board-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--slate);
  margin-top: 12px;
}

/* Steps — a real sequence, so numbers are earned */
.steps { counter-reset: step; }

.step { position: relative; padding-left: 62px; }

.step-num {
  position: absolute;
  left: 0;
  top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
}

.step-num::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--magenta);
}

.step h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 6px; }

.step p { color: var(--slate); font-size: 0.98rem; margin: 0; }


/* ---------- 11. Landing — quote, metrics, latest, CTA ------ */

.quote-wrap {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--magenta);
  margin-bottom: 20px;
}

.quote-wrap blockquote {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.quote-wrap cite {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

.metrics-band { position: relative; overflow: hidden; }

.metrics-rose {
  position: absolute;
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  opacity: 0.1;
  pointer-events: none;
}

.metric-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 10px;
}

.metric-num sub {
  font-size: 0.45em;
  font-weight: 600;
  vertical-align: baseline;
  color: #A9BFCB;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8FA9B6;
}

/* Latest cards */
.card-a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.card-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.card-eyebrow.is-announcement { color: var(--magenta); }

.card-a h3 { margin-bottom: 0; }

.card-date {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.card-excerpt { color: var(--slate); font-size: 0.95rem; margin: 0; flex: 1; }

.card-arrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.card-a:hover .card-arrow { color: var(--magenta); }

/* CTA band */
.cta-band { text-align: center; }

.cta-band h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  max-width: 22ch;
  margin-inline: auto;
}

.cta-band p {
  color: var(--slate);
  max-width: 52ch;
  margin: 0 auto 30px;
}

.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }


/* ---------- 12. Interior page scaffolding ------------------ */

.page-hero { padding: 68px 0 52px; }

.page-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  letter-spacing: -0.025em;
  max-width: 20ch;
}

.page-hero .lede { margin-bottom: 0; }

.post-hero { padding: 56px 0 36px; }

.post-hero h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  letter-spacing: -0.02em;
  max-width: 24ch;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.post-meta a { color: var(--ink); text-decoration-color: var(--magenta); text-underline-offset: 3px; }

.post-meta a:hover { color: var(--magenta); }

.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.byline .avatar { width: 42px; height: 42px; font-size: 0.85rem; }

.byline-name { font-weight: 600; font-size: 0.95rem; line-height: 1.3; }

.byline-role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--slate);
}


/* ---------- 13. Prose -------------------------------------- */

.prose { max-width: 70ch; }

.prose p { color: #2C4356; font-size: 1.05rem; line-height: 1.75; }

.prose h2 {
  font-size: 1.5rem;
  font-weight: 650;
  margin: 2.2em 0 0.6em;
}

.prose h3 { font-size: 1.15rem; font-weight: 600; margin: 1.8em 0 0.5em; }

.prose ul, .prose ol { padding-left: 0; margin: 0 0 1.2em; }

.prose ul { list-style: none; }

.prose ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 0.55em;
  color: #2C4356;
  font-size: 1.02rem;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.52em;
  width: 8px;
  height: 8px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.prose ol { list-style: none; counter-reset: item; }

.prose ol li {
  position: relative;
  counter-increment: item;
  padding-left: 40px;
  margin-bottom: 0.7em;
  color: #2C4356;
  font-size: 1.02rem;
}

.prose ol li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.18em;
  font-family: var(--font-mono);
  font-size: 0.82em;
  font-weight: 600;
  color: var(--magenta);
}

.prose blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--magenta);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ink);
}

.prose strong { color: var(--ink); }

.prose a { color: var(--ink); text-decoration-color: var(--magenta); text-underline-offset: 3px; }
.prose a:hover { color: var(--magenta); }

.prose pre {
  background: var(--ink);
  color: #E6EFEA;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  padding: 20px 22px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 1.6em 0;
}

.prose code { font-family: var(--font-mono); font-size: 0.92em; }

.prose p code, .prose li code {
  background: var(--water-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
}

.prose figure {
  margin: 2em 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prose figcaption {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--slate);
  margin-top: 16px;
}

/* Horizontal bar figure */
.bars { display: flex; flex-direction: column; gap: 12px; }

.bar-row { display: grid; grid-template-columns: 150px 1fr 44px; gap: 12px; align-items: center; }

.bar-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--slate);
  text-align: right;
}

.bar-track { background: var(--water-2); border-radius: 4px; height: 20px; }

.bar-fill { height: 100%; background: var(--ink); border-radius: 4px; }

.bar-row:first-child .bar-fill { background: var(--magenta); }

.bar-val {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}


/* ---------- 14. Pricing ------------------------------------ */

.billing-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 4px;
  margin: 6px 0 40px;
}

.bt-opt {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  cursor: pointer;
}

.bt-opt.is-on { background: var(--ink); color: var(--paper); }

.bt-save { color: var(--magenta); }

.bt-opt.is-on .bt-save { color: #F2A9C8; }

.tiers { align-items: stretch; }

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
}

.tier-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }

.tier-for { color: var(--slate); font-size: 0.93rem; min-height: 2.9em; margin-bottom: 14px; }

.price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 2px; }

.price-cur {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate);
}

.price-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.9rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-per {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--slate);
}

.tier-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--slate);
  min-height: 1.4em;
  margin-bottom: 20px;
}

.tier-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  flex: 1;
}

.tier-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.94rem;
}

.tier-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border: 2px solid var(--magenta);
  border-radius: 50%;
}

.tier .btn { width: 100%; }

/* Featured tier */
.tier-feat {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.tier-feat .tier-for,
.tier-feat .price-cur,
.tier-feat .price-per,
.tier-feat .tier-note { color: #A9BFCB; }

.tier-feat .tier-list { border-top-color: rgba(249, 249, 244, 0.2); }

.tier-feat .btn-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.tier-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--magenta);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.pricing-foot {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--slate);
  margin-top: 26px;
}

/* Comparison table */
.compare-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
}

.compare {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.compare th, .compare td {
  padding: 13px 20px;
  text-align: left;
  border-bottom: 1px solid var(--water-2);
}

.compare thead th {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 650;
  background: var(--water-2);
  border-bottom: 1px solid var(--line);
}

.compare thead th:first-child { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }

.compare tbody th {
  font-weight: 500;
  color: var(--slate);
}

.compare td { font-family: var(--font-mono); font-size: 13px; }

.compare .yes { color: var(--ink); font-weight: 700; }
.compare .no  { color: #9AAAB1; }

/* FAQ */
.faq { max-width: 760px; }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--magenta);
  flex: none;
}

.faq details[open] summary::after { content: "\2013"; }

.faq details p {
  color: var(--slate);
  padding-bottom: 20px;
  margin: 0;
  max-width: 65ch;
}


/* ---------- 15. Jobs & postings ---------------------------- */

.benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.benefit-dot {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border: 2.5px solid var(--magenta);
  border-radius: 50%;
}

.benefit h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 3px; }

.benefit p { color: var(--slate); font-size: 0.93rem; margin: 0; }

.jobs-list { display: flex; flex-direction: column; gap: 14px; }

.job-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  text-decoration: none;
  color: inherit;
}

.job-title { font-size: 1.2rem; font-weight: 650; margin-bottom: 8px; }

.job-meta { display: flex; flex-wrap: wrap; gap: 8px; }

.job-card .card-arrow { flex: none; }

.posting-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}

.posting-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 18px; }

.aside-card h3 { font-size: 1rem; font-weight: 650; margin-bottom: 10px; }

.aside-card p { font-size: 0.9rem; color: var(--slate); }

.aside-facts { list-style: none; margin: 0; padding: 0; }

.aside-facts li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--water-2);
  font-size: 0.9rem;
}

.aside-facts li:last-child { border-bottom: 0; }

.aside-facts .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 2px;
}

.aside-facts .v { font-weight: 600; text-align: right; }

.apply-box {
  text-align: center;
  padding: 40px 28px;
}

.apply-box h2 { font-size: 1.5rem; margin-bottom: 8px; }

.apply-box p { color: var(--slate); max-width: 46ch; margin: 0 auto 22px; }


/* ---------- 16. Team & profiles ---------------------------- */

.team-grid { row-gap: 36px; }

.person { text-decoration: none; color: inherit; display: block; }

.person .avatar { margin-bottom: 14px; width: 64px; height: 64px; font-size: 1.15rem; }

.team-grid > *:nth-child(3n+2) .avatar { background: var(--buff); }
.team-grid > *:nth-child(3n)   .avatar { background: var(--tint-m); }

.person-name { font-family: var(--font-display); font-weight: 650; font-size: 1.08rem; line-height: 1.25; }

a.person:hover .person-name { color: var(--magenta); }

.person-role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 4px;
}

.person-link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

a.person:hover .person-link { color: var(--magenta); }

.profile-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.profile-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  text-align: center;
  padding: 36px 28px;
}

.profile-card .avatar-lg { margin: 0 auto 18px; }

.profile-card h1 { font-size: 1.5rem; margin-bottom: 4px; }

.profile-loc {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--slate);
  margin: 12px 0 0;
}

.qa { margin: 0; }

.qa dt {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 18px;
}

.qa dt:first-child { margin-top: 0; }

.qa dd { margin: 4px 0 0; font-size: 1rem; color: #2C4356; }


/* ---------- 17. Index lists -------------------------------- */

.entry-list { display: flex; flex-direction: column; }

.entry {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.entry:first-child { border-top: 1px solid var(--line); }

.entry-date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.entry h2 { font-size: 1.35rem; font-weight: 650; margin-bottom: 6px; }

.entry:hover h2 { color: var(--magenta); }

.entry p { color: var(--slate); font-size: 0.97rem; margin: 0; max-width: 62ch; }

.entry .tag-row { margin-top: 12px; }

.entry .card-arrow { align-self: center; }


/* ---------- 18. Motion & accessibility --------------------- */

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--d, 0s);
}

.reveal.in { opacity: 1; transform: none; }

/* Hero chart choreography */
#routePath {
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
}

.rose-g { transform-box: fill-box; transform-origin: center; }

.pulse { transform-box: fill-box; transform-origin: center; opacity: 0; }

#vesselG, #etaCard { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  #routePath { animation: draw 1.7s ease-out 0.4s forwards; }
  #vesselG   { animation: appear 0.5s ease-out 1.7s forwards; }
  #etaCard   { animation: appear 0.5s ease-out 2s forwards; }
  .rose-g    { animation: settle 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both; }
  .pulse     { animation: pulse 2.6s ease-out 2.3s infinite; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  #routePath { stroke-dashoffset: 0; }
  #vesselG, #etaCard { opacity: 1; }
  .btn, .card-lift { transition: none; }
}

@keyframes draw { to { stroke-dashoffset: 0; } }

@keyframes appear { to { opacity: 1; } }

@keyframes settle {
  from { transform: rotate(-22deg); }
  to   { transform: rotate(0deg); }
}

@keyframes pulse {
  0%   { transform: scale(0.4); opacity: 0.8; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}


/* ---------- 19. Responsive --------------------------------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-chart { max-width: 560px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .posting-grid { grid-template-columns: 1fr; gap: 40px; }
  .posting-aside { position: static; }
  .profile-grid { grid-template-columns: 1fr; gap: 36px; }
  .profile-card { position: static; max-width: 420px; }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 10px 24px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-open .site-nav { display: flex; }

  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--water-2); }

  .site-nav a[aria-current="page"] { border-bottom-color: var(--magenta); }

  .nav-toggle { display: flex; }

  .header-actions .btn-ghost { display: none; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .tiers { gap: 28px; }
  .entry { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .entry .card-arrow { display: none; }
  .compare { min-width: 620px; }
}

@media (max-width: 520px) {
  .wrap { padding-inline: 18px; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 48px; }
  .hero-ctas .btn { width: 100%; }
  .cta-band .hero-ctas .btn { width: auto; }
}

/* ---------- 20. Chart text & odds-and-ends ----------------- */

.chart-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  fill: var(--ink);
}

.chart-small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  fill: var(--slate);
}

.chart-depth {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: #86A6B0;
}

.chart-eta {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  fill: var(--ink);
}

.chart-conf {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  fill: var(--magenta);
}

/* Alert-rule boxes (product page) */
.rulebox {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.9;
  background: var(--water-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 14px 0 0;
  color: #2C4356;
}

.rulebox b {
  color: var(--magenta);
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Carrier / integration grid (product page) */
.carrier-grid { gap: 12px; }

.carrier {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

/* Non-numeric price ("Custom") */
.price-num.small {
  font-size: 2.1rem;
  padding-top: 0.4rem;
}
