/* Moviqo website (moviqo.in): one shared stylesheet. No build step. */

:root {
  --amber: #f2b705;
  --amber-deep: #cf9b07;
  --ink: #121417;
  --charcoal: #1c1f24;
  --charcoal-2: #2b2f36;
  --off: #edebe4;
  --paper: #f6f4ee;
  --grey: #9aa1a9;

  /* Derived tokens (all checked for WCAG AA on their backgrounds) */
  --text-on-paper: #121417;
  --muted-on-paper: #4f555d;
  --body-on-paper: #2c3036;
  --line-paper: #d8d4c8;
  --text-dim-dark: #bfc4ca;
  --line-dark: #2b2f36;
  --field-border: #767b82;
  --error: #b42318;
  --error-bg: #fdf0ee;
  --card-paper: #fffdf8;

  --font-display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --radius: 4px;
  --header-h: 64px;
  --focus: var(--ink);
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-on-paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  height: auto;
}

p,
ul,
ol,
dl,
figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

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

/* The skip link moves focus to <main tabindex="-1">; the landmark itself needs no ring. */
main:focus {
  outline: none;
}

.on-dark {
  --focus: var(--amber);
}

.on-amber {
  --focus: var(--ink);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.04;
}

h1 {
  font-size: clamp(2.5rem, 5.6vw + 0.6rem, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 3.8vw + 0.75rem, 3.5rem);
}

h3 {
  font-size: 1.375rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.mono {
  font-family: var(--font-mono);
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
  --focus: var(--off);
}

/* Small mono label with an amber rule (the rule is decorative, so it may sit on paper). */
.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted-on-paper);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  margin-top: 0.62em;
  background: var(--amber);
}

.on-dark .eyebrow {
  color: var(--text-dim-dark);
}

.on-amber .eyebrow {
  color: var(--ink);
}

.on-amber .eyebrow::before {
  background: var(--ink);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

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

.btn:active {
  transform: translateY(0);
}

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

.btn-primary:hover {
  background: var(--amber-deep);
  border-color: var(--amber-deep);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(237, 235, 228, 0.55);
  color: var(--off);
}

.btn-ghost:hover {
  border-color: var(--off);
  background: rgba(237, 235, 228, 0.08);
}

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

.btn-dark:hover {
  background: var(--charcoal-2);
  border-color: var(--charcoal-2);
}

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

.btn-outline:hover {
  background: rgba(18, 20, 23, 0.08);
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0.9rem 1.6rem;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  flex: none;
}

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

.site-header {
  position: relative;
  z-index: 50;
  background: var(--ink);
  color: var(--off);
  border-bottom: 1px solid var(--line-dark);
}

.js .site-header {
  position: sticky;
  top: 0;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0;
  border-radius: 2px;
}

.header-inner .brand img {
  width: 104px;
  height: 36px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul a,
.nav-login {
  color: var(--off);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav ul a:hover,
.nav-login:hover {
  color: var(--amber);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(237, 235, 228, 0.4);
  border-radius: var(--radius);
  background: transparent;
  color: var(--off);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.site-header.is-open .nav-toggle-bars {
  background: transparent;
}

.site-header.is-open .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 899.98px) {
  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding-bottom: 1.25rem;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav ul a {
    display: block;
    padding: 0.85rem 0;
    border-top: 1px solid var(--line-dark);
    font-size: 1rem;
  }

  .nav-cta {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line-dark);
  }

  .nav-login {
    padding: 0.5rem 0;
    font-size: 1rem;
  }

  /* nav-ready is set by site.js itself, so if site.js fails to load the menu simply stays open. */
  .nav-ready .nav-toggle {
    display: inline-flex;
  }

  .nav-ready .site-nav {
    display: none;
  }

  .nav-ready .site-header.is-open .site-nav {
    display: flex;
    /* The header is sticky: keep the open menu scrollable on short (landscape) screens. */
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

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

.section {
  padding-block: clamp(64px, 10vw, 128px);
}

.section--tight {
  padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 112px);
}

.section--paper {
  background: var(--paper);
  color: var(--text-on-paper);
}

.section--off {
  background: var(--off);
  color: var(--text-on-paper);
}

.section--dark {
  background: var(--ink);
  color: var(--off);
}

.section--charcoal {
  background: var(--charcoal);
  color: var(--off);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head p:not(.eyebrow) {
  margin-top: 1.25rem;
  font-size: clamp(1.0625rem, 0.4vw + 0.95rem, 1.1875rem);
  color: var(--muted-on-paper);
}

.on-dark .section-head p:not(.eyebrow) {
  color: var(--text-dim-dark);
}

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

/* Links inside running text */
.prose a,
.text-link {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--amber-deep);
}

.prose a:hover,
.text-link:hover {
  text-decoration-color: currentColor;
}

/* Long addresses (for example myaccount.google.com/permissions) may break, so they never widen the page on phones. */
.prose a {
  overflow-wrap: anywhere;
}

.on-dark .text-link {
  text-decoration-color: var(--amber);
}

.on-amber .text-link {
  text-decoration-color: var(--ink);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 80px) clamp(64px, 9vw, 112px);
  background: var(--ink);
  color: var(--off);
}

/* Blueprint grid behind the hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(237, 235, 228, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 235, 228, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 75% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 75% 45%, #000 20%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: clamp(48px, 6vw, 72px);
  align-items: center;
}

@media (min-width: 1020px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }
}

.hero-logo {
  width: min(280px, 78%);
  margin-bottom: clamp(24px, 3vw, 32px);
}

/* Phones: a smaller logo (the header already carries the brand) and lede, so the buttons sit above the fold. */
@media (max-width: 599.98px) {
  .hero-logo {
    width: 180px;
    margin-bottom: 16px;
  }

  .hero .lede {
    font-size: 1rem;
  }

  .hero .hero-actions {
    margin-top: 1.5rem;
  }
}

/* The home H1 carries the name and category (styled as the eyebrow line) and then the slogan. */
.hero h1 .hero-kicker {
  margin-bottom: 1.25rem;
}

.hero h1 .hero-slogan {
  display: block;
  max-width: 13ch;
}

.lede {
  max-width: 58ch;
  margin-top: 1.5rem;
  font-size: clamp(1.0625rem, 0.6vw + 0.95rem, 1.25rem);
  color: var(--text-dim-dark);
}

.lede strong {
  color: var(--off);
  font-weight: 600;
}

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

.hero-note {
  max-width: 56ch;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.875rem;
  color: var(--grey);
}

/* ---------------------------------------------------------------- RFQ card mock */

.mock-figure {
  width: 100%;
  max-width: 520px;
  justify-self: center;
}

.mock {
  overflow: hidden;
  border: 1px solid #343941;
  border-radius: 6px;
  background: var(--charcoal);
  color: var(--off);
  font-size: 0.875rem;
  line-height: 1.45;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1.25rem;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.mock-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem 0.9rem;
}

.mock-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

.mock-rfqno {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 1.5vw + 0.9rem, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--amber);
}

.mock-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--grey);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill--amber {
  color: var(--amber);
}

.pill--solid {
  background: var(--off);
  border-color: var(--off);
  color: var(--ink);
}

.pill--muted {
  color: var(--grey);
}

.mock-lane {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 1.25rem 1rem;
}

.port-code {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.port-name {
  display: block;
  font-size: 0.8125rem;
  color: var(--grey);
}

.mock-lane > :last-child {
  text-align: right;
}

.lane-arrow {
  position: relative;
  height: 2px;
  background: var(--amber);
}

.lane-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  border-left: 8px solid var(--amber);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1.25rem 1.1rem;
}

.chip {
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  background: var(--charcoal-2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--off);
}

.mock-section-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  border-top: 1px solid var(--line-dark);
  background: rgba(18, 20, 23, 0.55);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

.vendor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 1rem;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--line-dark);
}

.vendor.is-selected {
  box-shadow: inset 3px 0 0 var(--amber);
}

.vendor-name {
  font-weight: 600;
}

.vendor-name small {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--grey);
}

.vendor-meta {
  grid-column: 1;
  font-size: 0.75rem;
  color: var(--grey);
}

.vendor-side {
  grid-column: 2;
  grid-row: 1 / span 2;
  text-align: right;
}

.vendor-total {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
}

.vendor.is-declined .vendor-name {
  color: var(--grey);
}

.mock-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--line-dark);
  background: var(--ink);
  font-size: 0.8125rem;
}

.mock-foot .mono {
  color: var(--amber);
  font-weight: 600;
}

.mock-caption {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--grey);
}

.section--paper .mock-caption,
.section--off .mock-caption {
  color: var(--muted-on-paper);
}

/* ---------------------------------------------------------------- RFQ-to-job flow */

.flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 clamp(24px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 0 2.5rem;
  border-top: 3px solid var(--ink);
}

.flow-step::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 0;
  width: 15px;
  height: 15px;
  background: var(--amber);
  outline: 3px solid var(--paper);
}

.flow-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted-on-paper);
}

.flow-step h3 {
  margin: 0.6rem 0 0.85rem;
  font-size: clamp(1.5rem, 1vw + 1.1rem, 1.75rem);
}

.flow-step p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: var(--body-on-paper);
}

.code-chip {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  background: var(--ink);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.flow-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: clamp(16px, 3vw, 32px);
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--amber-deep);
  background: var(--off);
  font-size: 0.9375rem;
  color: var(--body-on-paper);
}

/* ---------------------------------------------------------------- workspaces */

.ws-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

@media (min-width: 720px) {
  .ws-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1140px) {
  .ws-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ws-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--charcoal);
}

.ws-index {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.ws-card h3 {
  font-size: clamp(1.75rem, 1vw + 1.35rem, 2rem);
}

.ws-tagline {
  margin-top: -0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--off);
}

.ws-card p {
  font-size: 0.96875rem;
  color: var(--text-dim-dark);
}

.ws-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding: 0.5rem 0 0;
  list-style: none;
}

.ws-list li {
  padding: 0.2rem 0.5rem;
  border: 1px solid #3b4049;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--off);
}

.ws-note {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-dim-dark);
}

/* ---------------------------------------------------------------- features */

.spotlight {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(56px, 8vw, 96px);
}

@media (min-width: 980px) {
  .spotlight {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

.spotlight h3 {
  font-size: clamp(1.75rem, 2vw + 1.1rem, 2.5rem);
  line-height: 1.05;
}

.spotlight p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--body-on-paper);
}

.tick-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.tick-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.96875rem;
  color: var(--body-on-paper);
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--ink);
}

.on-dark .tick-list li {
  color: var(--text-dim-dark);
}

.on-dark .tick-list li::before {
  background: var(--amber);
}

/* OOG cargo check mock */
.oog {
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink);
  color: var(--off);
  font-size: 0.875rem;
  line-height: 1.45;
  box-shadow: 0 30px 60px -30px rgba(18, 20, 23, 0.55);
}

.oog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--line-dark);
}

.oog-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.oog-src {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--grey);
}

.oog-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15rem 1rem;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--line-dark);
}

.oog-piece {
  font-weight: 600;
}

.oog-piece small {
  margin-left: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--grey);
}

.oog-dims {
  grid-column: 1;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--grey);
}

.oog-flag {
  grid-column: 1;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--amber);
}

/* A long reason (break-bulk) runs under the row at full width instead of squeezing beside the fit chip. */
.oog-flag--wide {
  grid-column: 1 / -1;
  grid-row: 4;
}

.oog-fit {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
}

.fit {
  display: inline-block;
  min-width: 5.5rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #3b4049;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
}

.fit--box {
  background: var(--charcoal-2);
  color: var(--off);
}

.fit--oog {
  border-color: var(--amber);
  color: var(--amber);
}

.fit--bb {
  /* "Break-bulk, heavy lift" may wrap to two lines so the reason text keeps room on small phones. */
  max-width: 7.5rem;
  white-space: normal;
  border-color: var(--amber);
  background: var(--amber);
  color: var(--ink);
}

.oog-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 1px;
  background: var(--line-dark);
}

.oog-totals div {
  padding: 0.75rem 1rem;
  background: var(--charcoal);
}

.oog-totals dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.oog-totals dd {
  margin: 0.15rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--line-paper);
  border-top: 3px solid var(--ink);
  background: var(--card-paper);
}

.feature-icon {
  width: 28px;
  height: 28px;
  color: var(--ink);
}

.feature h3 {
  font-size: 1.375rem;
}

.feature p {
  font-size: 0.96875rem;
  color: var(--body-on-paper);
}

.also {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-paper);
  font-size: 0.9375rem;
  color: var(--body-on-paper);
}

.also-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-paper);
}

.also ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.also li {
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--line-paper);
  border-radius: 3px;
  background: var(--card-paper);
  font-size: 0.875rem;
}

/* ---------------------------------------------------------------- Claude & AI */

.ai-grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
}

@media (min-width: 960px) {
  .ai-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

.ai-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: var(--ink);
}

.ai-card > .pill {
  align-self: flex-start;
}

.ai-card h3 {
  font-size: clamp(1.75rem, 1.5vw + 1.2rem, 2.25rem);
}

.ai-card > p {
  color: var(--text-dim-dark);
}

.ai-card strong {
  color: var(--off);
  font-weight: 600;
}

.ai-card .tick-list {
  margin-top: 0;
}

.log {
  margin-top: 0.5rem;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: var(--charcoal);
}

.log ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.log li {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.8125rem;
  color: var(--text-dim-dark);
}

.log li:first-child {
  border-top: 0;
}

.log-who {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--amber);
}

.log-who--you {
  color: var(--off);
}

.log figcaption {
  padding: 0.55rem 0.9rem;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--grey);
}

.card-note {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.875rem;
  color: var(--grey);
}

.ai-steps {
  display: grid;
  gap: 0.5rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: aistep;
}

.ai-steps li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: var(--charcoal);
  counter-increment: aistep;
  font-size: 0.875rem;
  color: var(--text-dim-dark);
}

.ai-steps li::before {
  content: counter(aistep, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber);
}

.ai-steps strong {
  display: block;
  color: var(--off);
  font-weight: 600;
}

/* ---------------------------------------------------------------- security */

.sec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 clamp(24px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .sec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .sec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sec-item {
  padding: 1.5rem 0 2.25rem;
  border-top: 2px solid var(--ink);
}

.sec-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted-on-paper);
}

.sec-item h3 {
  margin: 0.5rem 0 0.7rem;
  font-size: 1.375rem;
}

.sec-item p {
  font-size: 0.96875rem;
  color: var(--body-on-paper);
}

/* ---------------------------------------------------------------- closing CTA */

.cta {
  background: var(--amber);
  color: var(--ink);
}

.cta-inner {
  display: grid;
  gap: 2rem;
  align-items: end;
}

@media (min-width: 960px) {
  .cta-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.cta h2 {
  font-size: clamp(2.25rem, 4.6vw + 0.5rem, 4.25rem);
}

.cta p:not(.eyebrow) {
  max-width: 48ch;
  font-size: 1.0625rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cta-small {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
}

/* ---------------------------------------------------------------- page hero (inner pages) */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px);
  background: var(--ink);
  color: var(--off);
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--amber) 0 120px, transparent 120px);
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.25rem, 5vw + 0.8rem, 4.25rem);
}

.page-hero .lede {
  max-width: 62ch;
}

.updated {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid #3b4049;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-dim-dark);
}

/* ---------------------------------------------------------------- legal pages */

.legal-layout {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
}

@media (min-width: 1000px) {
  .legal-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
  }

  .toc {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

.toc {
  padding: 1.25rem 1.25rem 1.4rem;
  border: 1px solid var(--line-paper);
  border-top: 3px solid var(--ink);
  background: var(--card-paper);
}

.toc h2 {
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted-on-paper);
}

.toc ol {
  display: grid;
  gap: 0.15rem;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: flex;
  gap: 0.6rem;
  padding: 0.3rem 0;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--body-on-paper);
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.9;
  color: var(--muted-on-paper);
}

.toc a:hover {
  text-decoration: underline;
  text-decoration-color: var(--amber-deep);
}

.prose {
  max-width: 72ch;
  color: var(--body-on-paper);
}

.prose > * + * {
  margin-top: 1rem;
}

.prose h2 {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
  font-size: clamp(1.5rem, 1.5vw + 1.1rem, 2rem);
  color: var(--ink);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.75rem;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose li + li {
  margin-top: 0.45rem;
}

.prose li::marker {
  color: var(--muted-on-paper);
}

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

.callout {
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--ink);
  background: var(--off);
}

.callout--amber {
  border-left-color: var(--amber-deep);
}

.contact-card {
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem;
  border: 1px solid var(--line-paper);
  background: var(--card-paper);
}

.contact-card .label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-paper);
}

.steps {
  display: grid;
  gap: 1rem;
  padding: 0 !important;
  list-style: none;
  counter-reset: step;
}

.steps > li {
  position: relative;
  padding: 1.1rem 1.25rem 1.2rem 3.75rem;
  border: 1px solid var(--line-paper);
  background: var(--card-paper);
  counter-increment: step;
}

.steps > li + li {
  margin-top: 0;
}

.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.1rem;
  top: 1.05rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.steps > li > * + * {
  margin-top: 0.6rem;
}

.mail-sample {
  display: inline-block;
  padding: 0.6rem 0.8rem;
  border-radius: 3px;
  background: var(--ink);
  color: var(--off);
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

/* ---------------------------------------------------------------- sign-up form */

.signup-grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

@media (min-width: 980px) {
  .signup-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }
}

.form-card {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--line-paper);
  border-top: 4px solid var(--ink);
  background: var(--card-paper);
}

.form-intro {
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--muted-on-paper);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 1.5rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field .label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.req {
  color: var(--error);
}

.optional {
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--muted-on-paper);
}

.hint {
  margin: -0.15rem 0 0.45rem;
  font-size: 0.8125rem;
  color: var(--muted-on-paper);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23121417' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 12px 8px;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--ink);
  outline: 3px solid var(--ink);
  outline-offset: 1px;
}

.field [aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: inset 0 0 0 1px var(--error);
}

.field-error {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.45rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--error);
}

.field-error::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--error);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

.field-error[hidden] {
  display: none;
}

.check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.check input[type="checkbox"] {
  width: 24px;
  height: 24px;
  margin: 0.1rem 0 0;
  accent-color: var(--ink);
  cursor: pointer;
}

.check label {
  margin: 0;
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--body-on-paper);
}

.check .field-error {
  grid-column: 2;
  margin-top: 0;
}

/* Honeypot: off-screen, not display:none, so simple bots still fill it. */
.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-paper);
}

.form-actions p {
  font-size: 0.9375rem;
  color: var(--body-on-paper);
}

.form-alert {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--error);
  border-radius: var(--radius);
  background: var(--error-bg);
  color: #7a1a12;
}

.form-alert:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.form-alert h2 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.form-alert p,
.form-alert ul {
  margin-top: 0.4rem;
  font-size: 0.9375rem;
}

.form-alert ul {
  padding-left: 1.25rem;
}

.form-alert a {
  color: #7a1a12;
}

.form-success {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line-paper);
  border-top: 4px solid var(--amber-deep);
  background: var(--card-paper);
}

.form-success:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.form-success h2 {
  font-size: clamp(1.75rem, 2vw + 1.1rem, 2.5rem);
}

.form-success [data-email] {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}

.form-success p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--body-on-paper);
}

.form-success .btn {
  margin-top: 1.5rem;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.aside-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--ink);
  color: var(--off);
  border-radius: 6px;
}

.aside-card h2 {
  font-size: 1.5rem;
}

.aside-steps {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
  counter-reset: aside;
}

.aside-steps li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.5rem;
  counter-increment: aside;
  font-size: 0.9375rem;
  color: var(--text-dim-dark);
}

.aside-steps li::before {
  content: counter(aside, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.9;
  color: var(--amber);
}

.aside-steps strong {
  display: block;
  color: var(--off);
  font-weight: 600;
}

.aside-foot {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.9375rem;
  color: var(--text-dim-dark);
}

.aside-foot + .aside-foot {
  margin-top: 0.75rem;
  padding-top: 0;
  border-top: 0;
}

/* ---------------------------------------------------------------- 404 */

.notfound {
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 240px);
  min-height: calc(100svh - var(--header-h) - 240px);
}

.notfound-code {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: 0.9;
  color: var(--amber);
}

.notfound h1 {
  margin-top: 1rem;
  font-size: clamp(2rem, 4vw + 0.8rem, 3.5rem);
}

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

.site-footer {
  padding-block: clamp(48px, 6vw, 72px) 2rem;
  border-top: 1px solid var(--line-dark);
  background: var(--ink);
  color: var(--off);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

.footer-logo {
  width: 200px;
}

.footer-company {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-dim-dark);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  display: inline-block;
  padding: 0.3rem 0;
  font-size: 0.9375rem;
  color: var(--off);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--amber);
  text-decoration: underline;
}

.footer-nav a[aria-current="page"] {
  color: var(--amber);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.8125rem;
  color: var(--grey);
}

/* ---------------------------------------------------------------- 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;
    scroll-behavior: auto !important;
  }

  .btn:hover {
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .toc {
    display: none !important;
  }

  .page-hero {
    background: none;
    color: #000;
    padding: 0 0 1rem;
  }

  .page-hero::after {
    display: none;
  }

  body {
    background: #fff;
  }
}

/* ================================================================ content pages
   Features, solutions, guides, FAQ, glossary and about pages, plus the header dropdowns and footer columns
   shared by every page. */

/* ---------------------------------------------------------------- header dropdowns (<details>) */

.nav-drop summary {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--off);
  font-size: 0.9375rem;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

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

.nav-drop summary::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.nav-drop[open] summary::after {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.nav-drop summary:hover,
.nav-drop[open] summary,
.nav-drop.is-current summary {
  color: var(--amber);
}

.site-nav .nav-panel ul {
  display: grid;
  gap: 0;
}

@media (min-width: 900px) {
  .nav-drop {
    position: relative;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 22px);
    left: -1.25rem;
    z-index: 60;
    min-width: 270px;
    padding: 0.5rem 0;
    border: 1px solid var(--line-dark);
    border-top: 3px solid var(--amber);
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--ink);
    box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.75);
  }

  .nav-panel--wide {
    min-width: 500px;
  }

  .nav-panel--wide ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav .nav-panel a {
    display: block;
    padding: 0.55rem 1.25rem;
    font-size: 0.9375rem;
    white-space: nowrap;
  }

  .site-nav .nav-panel a:hover {
    background: var(--charcoal);
  }
}

/* 900-1099px: the header holds four menu items and two calls to action on one line. */
@media (min-width: 900px) and (max-width: 1099.98px) {
  .site-nav {
    gap: 1.25rem;
  }

  .site-nav > ul {
    gap: 1.1rem;
  }

  .nav-cta {
    gap: 0.9rem;
  }
}

@media (max-width: 899.98px) {
  .nav-drop summary {
    justify-content: space-between;
    min-height: 48px;
    padding: 0.85rem 0.25rem 0.85rem 0;
    border-top: 1px solid var(--line-dark);
    font-size: 1rem;
  }

  .site-nav .nav-panel {
    padding-bottom: 0.5rem;
  }

  .site-nav .nav-panel a {
    padding: 0.65rem 0 0.65rem 1rem;
    border-top: 0;
    font-size: 0.9375rem;
    color: var(--text-dim-dark);
  }

  .site-nav .nav-panel a:hover,
  .site-nav .nav-panel a[aria-current="page"] {
    color: var(--amber);
  }
}

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

.footer-grid--wide {
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .footer-grid--wide {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1140px) {
  .footer-grid--wide {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

.footer-company .text-link {
  color: var(--off);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

@media (min-width: 720px) {
  .footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1140px) {
  .footer-cols {
    grid-template-columns: 1.25fr 1.1fr 1.25fr 1.1fr 0.8fr;
  }
}

.footer-title {
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

.footer-nav.footer-cols ul {
  display: grid;
  gap: 0.1rem;
}

.footer-nav.footer-cols a {
  overflow-wrap: anywhere;
}

/* ---------------------------------------------------------------- breadcrumbs, byline */

.crumbs {
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: #6b7179;
}

.crumbs a {
  color: var(--text-dim-dark);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--amber);
  text-decoration: underline;
}

.crumbs [aria-current="page"] {
  color: var(--off);
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--text-dim-dark);
}

.byline a {
  color: var(--off);
  text-decoration-color: var(--amber);
}

/* ---------------------------------------------------------------- shared content blocks */

.h2-sm {
  font-size: clamp(1.75rem, 2vw + 1.1rem, 2.5rem);
  line-height: 1.05;
}

.sec-item .h3-like {
  margin: 0.5rem 0 0.7rem;
  font-size: 1.375rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.section-head p + p:not(.eyebrow) {
  margin-top: 1rem;
}

@media (min-width: 720px) {
  .sec-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.on-dark .sec-item {
  border-top-color: var(--amber);
}

.on-dark .sec-num {
  color: var(--grey);
}

.on-dark .sec-item p {
  color: var(--text-dim-dark);
}

@media (min-width: 720px) {
  .ws-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .tick-list--cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 2.5rem;
  }
}

.section-head + .tick-list,
.table-wrap + .tick-list {
  margin-top: 0;
}

.table-wrap + .tick-list {
  margin-top: 2rem;
}

.also--flush {
  margin-top: 0;
}

.mock-body {
  margin: 0;
  padding: 1rem 1.25rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78125rem;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--text-dim-dark);
}

.mock-body strong {
  color: var(--amber);
  font-weight: 600;
}

/* Tables: scroll inside their own box on narrow screens, never the page. */
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-paper);
  background: var(--card-paper);
}

.table-wrap--narrow {
  max-width: 640px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--body-on-paper);
}

.data-table--wide {
  min-width: 40rem;
}

.data-table th,
.data-table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line-paper);
  text-align: left;
  vertical-align: top;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table thead th {
  background: var(--off);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-paper);
  white-space: nowrap;
}

.data-table tbody th {
  font-weight: 600;
  color: var(--ink);
}

.data-table .num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.data-table caption {
  caption-side: bottom;
  padding: 0.65rem 0.9rem;
  border-top: 1px solid var(--line-paper);
  font-size: 0.8125rem;
  text-align: left;
  color: var(--muted-on-paper);
}

/* Questions and answers on feature and solution pages */
.faq-list {
  display: grid;
  gap: 0 clamp(24px, 3vw, 48px);
}

@media (min-width: 900px) {
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.faq-item {
  padding: 1.5rem 0 2rem;
  border-top: 2px solid var(--ink);
}

.faq-item h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.faq-item p {
  margin-top: 0.6rem;
  font-size: 0.96875rem;
  color: var(--body-on-paper);
}

/* Related links */
.link-grid {
  display: grid;
  gap: clamp(12px, 2vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .link-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 100%;
  padding: 1.25rem 1.25rem 1.4rem;
  border: 1px solid var(--line-paper);
  border-top: 3px solid var(--ink);
  background: var(--card-paper);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.link-card:hover {
  border-top-color: var(--amber-deep);
  transform: translateY(-1px);
}

.link-kind {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-paper);
}

.link-title {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
}

.link-card:hover .link-title {
  text-decoration: underline;
  text-decoration-color: var(--amber-deep);
}

.link-desc {
  font-size: 0.9375rem;
  color: var(--body-on-paper);
}

/* Steps on paper (Claude connector set-up) */
@media (min-width: 900px) {
  .steps--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.steps--grid strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.steps--grid span {
  display: block;
  margin-top: 0.35rem;
  color: var(--body-on-paper);
}

/* About: contact cards in a row */
.contact-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .contact-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------------- guides, FAQ and glossary text */

.guide-main {
  min-width: 0;
}

.prose pre {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--off);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.prose code {
  padding: 0.1em 0.35em;
  border-radius: 3px;
  background: var(--off);
  font-family: var(--font-mono);
  font-size: 0.875em;
  overflow-wrap: anywhere;
}

.prose .table-wrap {
  margin-top: 1.25rem;
}

.prose .table-wrap + * {
  margin-top: 1.25rem;
}

.prose .data-table caption {
  margin: 0;
}

.helps {
  margin-top: clamp(40px, 5vw, 56px);
  max-width: 72ch;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 6px;
  background: var(--ink);
  color: var(--off);
}

.helps h2 {
  font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2rem);
}

.helps p:not(.eyebrow) {
  margin-top: 0.85rem;
  color: var(--text-dim-dark);
}

.helps .eyebrow {
  margin-bottom: 0.85rem;
}

.helps .btn {
  margin-top: 1.5rem;
}

/* FAQ page: questions in the body face, answers close under them */
.prose--faq h3 {
  margin-top: 2rem;
}

.prose--faq h3 + p {
  margin-top: 0.45rem;
}

.prose .callout:last-child {
  margin-top: 2.5rem;
}

/* Glossary */
.glossary {
  margin: 0.5rem 0 0;
}

.glossary-entry {
  padding: 1rem 0 1.1rem;
  border-top: 1px solid var(--line-paper);
}

.glossary-entry:first-child {
  border-top: 0;
}

.glossary-entry:target {
  margin-inline: -0.85rem;
  padding-inline: 0.85rem;
  border-left: 4px solid var(--amber-deep);
  background: var(--card-paper);
}

.glossary dt {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
}

.gl-full {
  font-weight: 400;
  color: var(--muted-on-paper);
}

.glossary dd {
  margin: 0.3rem 0 0;
}

.footer-company + .footer-company {
  margin-top: 0.4rem;
}

/* Logos: <picture> wrappers (WebP with PNG fallback) take no box of their own. */
picture {
  display: contents;
}
