/* ============================================================
   Outfitter — adsoutfitter.com
   Sasquatch Creative TX product site.

   Tokens ported from Sasquatch Creative Design System
   (tokens/sasquatch.css), whose own source of truth is
   sasquatch-creative-web/assets/css/style.css. Keep in sync.

   Brand rules enforced here:
     - Blue (#1D76BB) informs. Green (#259C58) sells. Never swapped.
     - Oswald for headings/buttons/eyebrows/nav. Lato for body.
     - Sentence case everywhere except the eyebrow device.
     - One motion timing: 200ms cubic-bezier(0.16, 1, 0.3, 1).
     - Section rhythm alternates white -> tint -> white.

   No framework, no build step, no external requests.
   ============================================================ */

/* ---------------------------------------------- fonts */

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("assets/fonts/oswald-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lato-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/lato-700-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono Variable";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin-wght-normal.woff2")
    format("woff2-variations");
}

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

:root {
  /* type scale (fluid) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.4rem, 1rem + 4.4vw, 4.5rem);

  /* spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* brand palette */
  --blue-base: #1d76bb;
  --blue-light: #4fa1dd;
  --blue-dark: #135581;
  --blue-tint: #d8ecf8;
  --green-base: #259c58;
  --green-light: #41b972;
  --green-dark: #197341;
  --green-tint: #d5f1e1;

  /* neutrals */
  --color-bg: #ffffff;
  --color-surface: #f7faf8;
  --color-surface-2: #eef6fb;
  --color-ink: #14202b;
  --color-ink-soft: #2b3742;
  --color-muted: #5a6b78;
  --color-faint: #94a3ad;
  --color-border: #e2ebf1;
  --color-border-strong: #14202b;
  --color-inverse: #ffffff;

  /* semantic roles */
  --color-accent: var(--blue-base);
  --color-accent-hover: var(--blue-light);
  --color-cta: var(--green-base);
  --color-cta-hover: var(--green-light);
  --color-cta-active: var(--green-dark);

  /* radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* content widths */
  --content-narrow: 680px;
  --content: 1080px;
  --content-wide: 1280px;

  /* motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 200ms var(--ease);

  /* fonts */
  --font-display: "Oswald", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular,
    Menlo, monospace;

  /* shadow */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);

  /* status (product-UI extension; used here only to mirror
     the app's own dry-run badges in figures and tables) */
  --status-error: #c0392b;
  --status-error-tint: #fae5e2;
  --status-warning: #b9770e;
  --status-warning-tint: #fcf0dc;
}

/* ---------------------------------------------- base */

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

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

h1 {
  font-size: var(--text-hero);
}
h2 {
  font-size: var(--text-2xl);
}
h3 {
  font-size: var(--text-lg);
}
h4 {
  font-size: var(--text-base);
  font-weight: 600;
}

p {
  margin: 0 0 var(--space-4);
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--t);
}
a:hover {
  color: var(--color-accent-hover);
}

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

code,
kbd,
.mono {
  font-family: var(--font-mono);
  font-size: 0.88em;
  font-weight: 500;
}

code {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.1em 0.36em;
  color: var(--blue-dark);
  white-space: nowrap;
}

hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: var(--space-12) 0;
}

::selection {
  background: var(--green-tint);
  color: var(--color-ink);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-ink);
  color: #fff;
  padding: var(--space-3) var(--space-5);
  z-index: 200;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

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

.container {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container-wide {
  max-width: var(--content-wide);
}
.container-narrow {
  max-width: var(--content-narrow);
}

.section {
  padding: var(--space-24) 0;
}
.section-tight {
  padding: var(--space-16) 0;
}
.section-alt {
  background: var(--color-surface);
}
.section-alt-blue {
  background: var(--color-surface-2);
}
.section-tint {
  background: var(--green-tint);
}
.section-ink {
  background: var(--color-ink);
  color: #fff;
}
.section-ink h2,
.section-ink h3 {
  color: #fff;
}
.section-ink p {
  color: #c8d4dd;
}

.section-head {
  max-width: 760px;
  margin-bottom: var(--space-12);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head p {
  font-size: var(--text-lg);
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 0;
}
.section-ink .section-head p {
  color: #a9bac6;
}

.center {
  text-align: center;
}
.mt-4 {
  margin-top: var(--space-4);
}
.mt-6 {
  margin-top: var(--space-6);
}
.mt-8 {
  margin-top: var(--space-8);
}
.mt-12 {
  margin-top: var(--space-12);
}

.grid {
  display: grid;
  gap: var(--space-6);
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

/* ---------------------------------------------- eyebrow (signature device) */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 10px;
  flex: none;
  background: linear-gradient(
    to bottom,
    var(--green-base) 0 3px,
    transparent 3px 7px,
    var(--green-base) 7px 10px
  );
}
.section-ink .eyebrow {
  color: var(--green-light);
}
.section-ink .eyebrow::before {
  background: linear-gradient(
    to bottom,
    var(--green-light) 0 3px,
    transparent 3px 7px,
    var(--green-light) 7px 10px
  );
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-ink);
  background: transparent;
  color: var(--color-ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t),
    color var(--t), border-color var(--t);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-ink);
}
.btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

.btn-primary {
  background: var(--color-cta);
  border-color: var(--color-cta);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
  color: #fff;
}
.btn-primary:active {
  background: var(--color-cta-active);
  border-color: var(--color-cta-active);
}

.btn-blue {
  background: var(--blue-base);
  border-color: var(--blue-base);
  color: #fff;
}
.btn-blue:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: #fff;
}

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

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

.btn-ghost-on-ink {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-ghost-on-ink:hover {
  border-color: #fff;
  color: #fff;
}

.btn-lg {
  font-size: var(--text-base);
  padding: var(--space-5) var(--space-10);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}
.btn-row.center {
  justify-content: center;
}

.lead-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.lead-link:hover {
  gap: var(--space-3);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header-inner {
  max-width: var(--content-wide);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-ink);
  text-decoration: none;
  flex: none;
}
.brand:hover {
  color: var(--color-ink);
}
.brand svg {
  flex: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.site-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--blue-base);
}
.site-nav .nav-cta {
  background: var(--color-cta);
  color: #fff;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: background var(--t), transform var(--t);
}
.site-nav .nav-cta:hover {
  background: var(--color-cta-hover);
  color: #fff;
  transform: translateY(-1px);
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

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

.hero {
  padding: var(--space-20) 0 var(--space-16);
  background: linear-gradient(180deg, var(--color-surface-2) 0%, #fff 62%);
  overflow: hidden;
}
.hero .container {
  max-width: var(--content-wide);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-6);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-base);
  flex: none;
}

.hero h1 {
  max-width: 18ch;
  margin-bottom: var(--space-6);
}

.hero .lede {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--color-muted);
  max-width: 62ch;
  margin-bottom: var(--space-8);
}

.hero-note {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-top: var(--space-5);
}

/* scribble underline: exactly one per page, under the key phrase */
.scribble {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.scribble svg {
  position: absolute;
  left: 0;
  bottom: -0.22em;
  width: 100%;
  height: 0.34em;
  overflow: visible;
  pointer-events: none;
}

.hero-figure {
  margin: var(--space-16) 0 0;
}

.figure-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.figure-frame img {
  width: 100%;
}

.figure-caption {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-muted);
  max-width: 78ch;
}

/* ---------------------------------------------- trustline */

.trustline {
  background: var(--color-ink);
  color: #fff;
  padding: var(--space-8) 0;
}
.trustline .label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: var(--space-4);
  text-align: center;
}
.platform-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3) var(--space-4);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-base);
}
.platform-line .sep {
  color: var(--color-faint);
}
.platform-line .live {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.platform-line .live::after {
  content: "live";
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--green-base);
  color: #fff;
  padding: 0.15em 0.5em;
  border-radius: var(--radius-full);
}

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

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card h3 {
  margin-bottom: var(--space-3);
}
.card p:last-child {
  margin-bottom: 0;
}
.card p {
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.card-static:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.section-alt .card,
.section-alt-blue .card,
.section-tint .card {
  box-shadow: none;
}
.section-alt .card:hover,
.section-alt-blue .card:hover,
.section-tint .card:hover {
  box-shadow: var(--shadow-md);
}

.section-ink .card {
  background: #1d2c39;
  border-color: #2f4150;
}
.section-ink .card p {
  color: #a9bac6;
}

/* ---------------------------------------------- steps */

.step {
  position: relative;
  padding-top: var(--space-6);
}
.step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--green-base);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: var(--space-3);
}
.step h3 {
  margin-bottom: var(--space-3);
}
.step p {
  color: var(--color-muted);
  font-size: var(--text-sm);
  margin-bottom: 0;
}
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--green-base);
  border-radius: var(--radius-full);
}

/* ---------------------------------------------- feature list */

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding-left: var(--space-8);
  margin-bottom: var(--space-4);
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--green-base);
  border-bottom: 2.5px solid var(--green-base);
  transform: rotate(-45deg);
}
.feature-list strong {
  color: var(--color-ink);
  font-weight: 700;
}
.section-ink .feature-list li {
  color: #a9bac6;
}
.section-ink .feature-list strong {
  color: #fff;
}

/* a list of things the product refuses to do: red-x marks, not checks */
.refuse-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.refuse-list li {
  position: relative;
  padding-left: var(--space-8);
  margin-bottom: var(--space-5);
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.refuse-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 13px;
  height: 13px;
  background: linear-gradient(
      45deg,
      transparent 44%,
      var(--status-error) 44% 56%,
      transparent 56%
    ),
    linear-gradient(
      -45deg,
      transparent 44%,
      var(--status-error) 44% 56%,
      transparent 56%
    );
}
.refuse-list strong {
  color: var(--color-ink);
  font-weight: 700;
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

/* ---------------------------------------------- tables */

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  min-width: 560px;
}
table.data th,
table.data td {
  text-align: left;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
table.data thead th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: var(--color-surface);
  white-space: nowrap;
}
table.data tbody tr:last-child td {
  border-bottom: 0;
}
table.data td:first-child {
  font-weight: 700;
  color: var(--color-ink);
  white-space: nowrap;
}
table.data .muted {
  color: var(--color-muted);
}

/* ---------------------------------------------- status badges
   These mirror the app's own dry-run vocabulary so the site and
   the product read the same way. */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2em 0.7em;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.badge-live {
  background: var(--green-tint);
  color: var(--green-dark);
}
.badge-hold {
  background: var(--status-warning-tint);
  color: var(--status-warning);
}
.badge-off {
  background: var(--status-error-tint);
  color: var(--status-error);
}
.badge-plan {
  background: var(--color-surface-2);
  color: var(--color-muted);
}
.badge-info {
  background: var(--blue-tint);
  color: var(--blue-dark);
}

/* ---------------------------------------------- op vocabulary families */

.family-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}
.family {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8) var(--space-8);
}
.family h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}
.family .family-note {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-5);
}
.op-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.op-list li {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--blue-dark);
  border-radius: var(--radius-sm);
  padding: 0.24em 0.6em;
}

/* ---------------------------------------------- callout band */

.callout-band {
  background: var(--color-ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-12);
}
.callout-band h2,
.callout-band h3 {
  color: #fff;
}
.callout-band p {
  color: #c8d4dd;
}

.pull {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  line-height: 1.25;
  color: var(--color-ink);
  border-left: 4px solid var(--green-base);
  padding-left: var(--space-6);
  margin: var(--space-10) 0;
  max-width: 30ch;
}

/* ---------------------------------------------- suite band */

.suite-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}
.suite-card {
  border: 1px solid #2f4150;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  background: #1d2c39;
  display: flex;
  flex-direction: column;
}
.suite-card.is-current {
  border-color: var(--green-base);
  background: #16342a;
}
.suite-verb {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: var(--space-3);
}
.suite-card h3 {
  color: #fff;
  margin-bottom: var(--space-3);
}
.suite-card p {
  color: #a9bac6;
  font-size: var(--text-sm);
  flex: 1;
}
.suite-card a {
  color: var(--blue-light);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
}

/* ---------------------------------------------- faq */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-8) 0;
}
.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}
.faq-item h3 {
  margin-bottom: var(--space-3);
}
.faq-item p {
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}
.faq-item p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------- cta band */

.cta-band {
  background: var(--green-tint);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-band p {
  font-size: var(--text-lg);
  color: var(--color-ink-soft);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-8);
}
.cta-mascot {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 190px;
  opacity: 0.9;
  pointer-events: none;
}

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

.site-footer {
  background: var(--color-ink);
  color: #a9bac6;
  padding: var(--space-16) 0 var(--space-8);
  font-size: var(--text-sm);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid #2f4150;
}
.footer-brand .brand {
  color: #fff;
  margin-bottom: var(--space-4);
}
.footer-brand .brand:hover {
  color: #fff;
}
.footer-brand p {
  max-width: 34ch;
  margin-bottom: var(--space-4);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-4);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: var(--space-3);
}
.footer-col a {
  color: #a9bac6;
  text-decoration: none;
}
.footer-col a:hover {
  color: #fff;
}
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--green-light);
  margin: var(--space-10) 0 0;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-8);
  font-size: var(--text-xs);
  color: var(--color-faint);
}
.footer-bottom a {
  color: var(--color-faint);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #fff;
}

/* ---------------------------------------------- long-form (whitepaper, legal) */

.doc-hero {
  padding: var(--space-16) 0 var(--space-10);
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}
.doc-hero h1 {
  font-size: var(--text-2xl);
  max-width: 24ch;
}
.doc-hero .lede {
  font-size: var(--text-lg);
  color: var(--color-muted);
  max-width: 64ch;
  line-height: 1.5;
  margin-bottom: 0;
}
.doc-meta {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-top: var(--space-6);
  margin-bottom: 0;
}

.doc-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: var(--space-16);
  align-items: start;
  padding: var(--space-16) 0 var(--space-24);
}

/* Grid and flex children default to min-width:auto, which means a wide table
   inside .table-wrap pushes the whole page sideways instead of scrolling
   inside its own container. Every wrapper between a table and the viewport
   has to opt out. */
.doc-layout > *,
.doc-body,
.split > *,
.card,
.family {
  min-width: 0;
}

.doc-toc {
  position: sticky;
  top: 100px;
  font-size: var(--text-sm);
}
.doc-toc h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-4);
}
.doc-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}
.doc-toc li {
  margin-bottom: var(--space-3);
  counter-increment: toc;
}
.doc-toc a {
  text-decoration: none;
  color: var(--color-ink-soft);
  display: block;
  line-height: 1.35;
}
.doc-toc a::before {
  content: counter(toc) ". ";
  color: var(--color-faint);
  font-family: var(--font-mono);
  font-size: 0.85em;
}
.doc-toc a:hover {
  color: var(--blue-base);
}

.doc-body {
  max-width: 72ch;
  font-size: var(--text-base);
}
.doc-body h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-16);
  padding-top: var(--space-4);
  border-top: 3px solid var(--color-ink);
  display: inline-block;
}
.doc-body > h2:first-child {
  margin-top: 0;
}
.doc-body h3 {
  font-size: var(--text-lg);
  margin-top: var(--space-10);
}
.doc-body h4 {
  margin-top: var(--space-8);
  color: var(--color-ink);
}
.doc-body ul,
.doc-body ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-6);
}
.doc-body li {
  margin-bottom: var(--space-3);
  line-height: 1.65;
}
.doc-body .table-wrap {
  margin-bottom: var(--space-8);
}

.doc-tldr {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--green-base);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  margin-bottom: var(--space-12);
}
.doc-tldr h4 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.doc-tldr p:last-child {
  margin-bottom: 0;
}

.doc-note {
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-ink-soft);
  margin-bottom: var(--space-8);
}
.doc-note strong {
  color: var(--color-ink);
}
.doc-note p:last-child {
  margin-bottom: 0;
}

.doc-note-warn {
  background: var(--status-warning-tint);
}

.legal-banner {
  background: var(--status-warning-tint);
  border-bottom: 1px solid rgba(185, 119, 14, 0.28);
  padding: var(--space-4) 0;
  font-size: var(--text-sm);
  color: #7a4f09;
}
.legal-banner p {
  margin: 0;
}

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

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
  max-width: 880px;
  margin: 0 auto;
}
.plan-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
}
.plan-card.is-featured {
  border: 2px solid var(--green-base);
}
.plan-tier {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.plan-blurb {
  color: var(--color-muted);
  font-size: var(--text-sm);
  min-height: 3em;
  margin-bottom: var(--space-6);
}
.plan-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-ink);
  line-height: 1.1;
  margin-bottom: var(--space-2);
}
.plan-price-note {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-8);
}
.plan-card .feature-list {
  flex: 1;
  margin-bottom: var(--space-8);
}

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

@media (max-width: 1000px) {
  .doc-layout {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .doc-toc {
    position: static;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-6);
  }
  .doc-toc ol {
    columns: 2;
    column-gap: var(--space-8);
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: var(--space-4) var(--space-6) var(--space-8);
    transform: translateY(-120%);
    transition: transform var(--t);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav-toggle:checked ~ .site-nav {
    transform: translateY(0);
  }
  .site-nav a {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--text-base);
  }
  .site-nav .nav-cta {
    margin-top: var(--space-5);
    text-align: center;
    border-bottom: 0;
  }
  .nav-toggle-label {
    display: block;
    width: 44px;
    height: 44px;
    position: relative;
    cursor: pointer;
    flex: none;
  }
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    position: absolute;
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-ink);
    border-radius: 2px;
    transition: transform var(--t), opacity var(--t);
  }
  .nav-toggle-label span {
    top: 21px;
    left: 10px;
  }
  .nav-toggle-label span::before {
    content: "";
    top: -7px;
    left: 0;
  }
  .nav-toggle-label span::after {
    content: "";
    top: 7px;
    left: 0;
  }
  .nav-toggle:checked ~ .nav-toggle-label span {
    background: transparent;
  }
  .nav-toggle:checked ~ .nav-toggle-label span::before {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-toggle-label span::after {
    transform: translateY(-7px) rotate(-45deg);
  }

  .split {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .suite-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .cta-mascot {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: var(--space-16) 0;
  }
  .section-tight {
    padding: var(--space-12) 0;
  }
  .hero {
    padding: var(--space-12) 0 var(--space-10);
  }
  .hero h1 {
    max-width: none;
  }
  .hero-figure {
    margin-top: var(--space-10);
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .family-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .doc-toc ol {
    columns: 1;
  }
  .callout-band {
    padding: var(--space-8) var(--space-6);
  }
  .btn-lg {
    width: 100%;
  }
  .btn-row {
    gap: var(--space-3);
  }
  .pull {
    font-size: var(--text-lg);
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .btn:hover,
  .card:hover {
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .doc-toc,
  .skip-link {
    display: none;
  }
  body {
    font-size: 11pt;
  }
  .doc-layout {
    grid-template-columns: 1fr;
    padding: 0;
  }
  a {
    color: var(--color-ink);
  }
}
