/* ─────────────────────────────────────────────────────────────
   PawnVision · Card system
   Warm dark theme (Claude-inspired). Source Serif 4 + Inter.
   ──────────────────────────────────────────────────────────── */

:root {
  /* Ink (warm dark) */
  --ink-900: #1a1915;
  --ink-850: #201f1c;
  --ink-800: #262624;
  --ink-750: #2b2b28;
  --ink-700: #30302e;
  --ink-600: #3e3d3a;
  --ink-500: #504e49;

  /* Cream / stone */
  --cream: #f5f4ee;
  --cream-dim: #ede9e1;
  --stone-400: #a8a29e;
  --stone-500: #847f7a;
  --stone-600: #605c58;

  /* Coral accent */
  --coral: #c96442;
  --coral-soft: #e8b79e;
  --coral-glow: rgba(201, 100, 66, 0.32);
  --coral-wash: rgba(201, 100, 66, 0.09);

  /* Semantic */
  --positive: #8ab47a;
  --positive-soft: rgba(138, 180, 122, 0.18);
  --warning: #d9a441;
  --warning-soft: rgba(217, 164, 65, 0.16);

  /* Type */
  --serif: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;

  /* Borders */
  --border: 1px solid rgba(245, 244, 238, 0.08);
  --border-strong: 1px solid rgba(245, 244, 238, 0.14);

  /* Shadow */
  --shadow-sm: 0 1px 0 rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 1px 0 rgba(0, 0, 0, 0.4), 0 8px 24px -6px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 2px 0 rgba(0, 0, 0, 0.45),
    0 24px 60px -18px rgba(0, 0, 0, 0.65);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background: var(--ink-900);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--cream-dim);
  background:
    radial-gradient(
      1200px 640px at 85% -10%,
      rgba(201, 100, 66, 0.09),
      transparent 60%
    ),
    radial-gradient(
      900px 480px at 0% 40%,
      rgba(232, 183, 158, 0.05),
      transparent 70%
    ),
    linear-gradient(180deg, #16150f 0%, var(--ink-900) 40%, #18160f 100%);
  background-attachment: fixed;
  letter-spacing: 0.01em;
  font-feature-settings: "ss01", "cv11";
  position: relative;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

em {
  font-style: italic;
}

::selection {
  background: var(--coral);
  color: var(--cream);
}

/* ── Background texture & glows ───────────────────────────── */
.bg-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.96 0 0 0 0 0.94 0 0 0 0 0.89 0 0 0 0.25 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.bg-glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.55;
}

.bg-glow--one {
  top: -10vh;
  right: -10vw;
  width: 48vw;
  height: 48vw;
  background: radial-gradient(
    closest-side,
    rgba(201, 100, 66, 0.28),
    transparent 70%
  );
}

.bg-glow--two {
  top: 60vh;
  left: -18vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(
    closest-side,
    rgba(232, 183, 158, 0.08),
    transparent 70%
  );
}

/* ── Layout shell ─────────────────────────────────────────── */
.topnav,
.intro,
.section,
.foot {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Top nav ──────────────────────────────────────────────── */
.topnav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 22px;
  padding-bottom: 22px;
  backdrop-filter: blur(8px);
}

.topnav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--cream);
  letter-spacing: 0.005em;
}

.topnav__mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 30%, var(--coral-soft), transparent 55%),
    linear-gradient(135deg, var(--coral), #8f3f24);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 2px 10px var(--coral-glow);
  position: relative;
}

.topnav__mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 3px;
  border: 1.5px solid rgba(26, 25, 21, 0.85);
  border-right: 0;
  border-bottom: 0;
}

.topnav__wordmark {
  font-weight: 500;
}

.topnav__sub {
  font-family: var(--sans);
  color: var(--stone-400);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.topnav__links {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  margin-left: auto;
}

.topnav__links a {
  font-size: 13.5px;
  color: var(--stone-400);
  transition: color 0.2s ease;
  padding: 6px 0;
  position: relative;
}

.topnav__links a:hover {
  color: var(--cream);
}

.topnav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.topnav__links a:hover::after {
  transform: scaleX(1);
}

.topnav__cta {
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--ink-700);
  border: var(--border-strong);
  color: var(--cream);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.topnav__cta:hover {
  background: var(--ink-600);
  border-color: rgba(201, 100, 66, 0.4);
  transform: translateY(-1px);
}

/* ── Intro ────────────────────────────────────────────────── */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 72px;
  padding-top: 72px;
  padding-bottom: 96px;
  align-items: start;
}

.intro__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin: 0 0 24px;
}

.intro__kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-wash), 0 0 16px var(--coral-glow);
}

.intro__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin: 0 0 24px;
  max-width: 18ch;
}

.intro__title em {
  color: var(--coral-soft);
  font-style: italic;
}

.intro__lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--stone-400);
  max-width: 58ch;
  margin: 0 0 44px;
}

.intro__specs {
  display: grid;
  gap: 36px;
}

.spec__label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 14px;
}

.swatches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.swatches li {
  background: var(--ink-800);
  border: var(--border);
  border-radius: var(--r-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.swatches li:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 244, 238, 0.2);
}

.swatches li::before {
  content: "";
  display: block;
  width: 100%;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--s);
  border: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.swatches li span {
  font-size: 12px;
  color: var(--stone-400);
  letter-spacing: 0.02em;
}

.swatches li code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cream);
  letter-spacing: 0.01em;
}

.typestack {
  background: var(--ink-800);
  border: var(--border);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  display: grid;
  gap: 14px;
}

.typestack__display {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  color: var(--cream);
  margin: 0;
  letter-spacing: -0.01em;
}

.typestack__body {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--stone-400);
  margin: 0;
}

.typestack__mono {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--stone-500);
  margin: 0;
  letter-spacing: 0.02em;
}

.intro__notes {
  display: grid;
  gap: 14px;
}

.notecard {
  margin: 0;
  padding: 20px 22px;
  background: linear-gradient(
    180deg,
    rgba(48, 48, 46, 0.55),
    rgba(38, 38, 36, 0.55)
  );
  border: var(--border);
  border-radius: var(--r-lg);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--cream-dim);
  position: relative;
}

.notecard__label {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--coral-soft);
  margin-bottom: 4px;
}

.notecard em {
  color: var(--cream);
}

/* ── Section headers ──────────────────────────────────────── */
.section {
  padding-top: 72px;
  padding-bottom: 72px;
  border-top: 1px solid rgba(245, 244, 238, 0.06);
}

.section__head {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 22px;
  row-gap: 6px;
  align-items: baseline;
  margin-bottom: 44px;
  max-width: 860px;
}

.section__number {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--coral);
  grid-row: 1 / span 2;
  align-self: start;
  padding-top: 14px;
  border-top: 1px solid var(--coral);
  padding-right: 2px;
  min-width: 28px;
  letter-spacing: 0.04em;
}

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 48px);
  color: var(--cream);
  margin: 0;
  letter-spacing: -0.018em;
  line-height: 1.05;
}

.section__desc {
  grid-column: 2;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--stone-400);
  margin: 8px 0 0;
  max-width: 58ch;
}

/* ── Grid layouts ─────────────────────────────────────────── */
.grid {
  display: grid;
  gap: 22px;
}

.grid--items {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid--stats {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--customers {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.grid--plans {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}

/* ── Card base ────────────────────────────────────────────── */
.card {
  background: linear-gradient(
    180deg,
    rgba(48, 48, 46, 0.6) 0%,
    rgba(38, 38, 36, 0.85) 100%
  );
  border: var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.3s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 244, 238, 0.16);
  box-shadow: var(--shadow-lg);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.008em;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
  user-select: none;
}

.btn--primary {
  background: var(--coral);
  color: var(--cream);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 6px 18px -6px var(--coral-glow);
}

.btn--primary:hover {
  background: #d97357;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 10px 26px -6px var(--coral-glow);
}

.btn--ghost {
  background: rgba(245, 244, 238, 0.04);
  border: 1px solid rgba(245, 244, 238, 0.12);
  color: var(--cream);
}

.btn--ghost:hover {
  background: rgba(245, 244, 238, 0.08);
  border-color: rgba(245, 244, 238, 0.22);
  transform: translateY(-1px);
}

.btn--block {
  width: 100%;
  padding: 14px 18px;
  font-size: 14px;
}

/* ── Pills / status ───────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 6px 11px 6px 9px;
  border-radius: 999px;
  background: rgba(245, 244, 238, 0.06);
  border: 1px solid rgba(245, 244, 238, 0.1);
  color: var(--cream-dim);
  font-weight: 500;
}

.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stone-400);
  box-shadow: 0 0 0 2px rgba(245, 244, 238, 0.06);
}

.pill--available .pill__dot {
  background: var(--positive);
  box-shadow: 0 0 0 2px var(--positive-soft);
}
.pill--available {
  color: #c8dcc0;
  background: var(--positive-soft);
  border-color: rgba(138, 180, 122, 0.3);
}

.pill--hold .pill__dot {
  background: var(--warning);
  box-shadow: 0 0 0 2px var(--warning-soft);
}
.pill--hold {
  color: #f2d39a;
  background: var(--warning-soft);
  border-color: rgba(217, 164, 65, 0.28);
}

.pill--redeemed .pill__dot {
  background: var(--coral-soft);
  box-shadow: 0 0 0 2px var(--coral-wash);
}
.pill--redeemed {
  color: var(--coral-soft);
  background: var(--coral-wash);
  border-color: rgba(201, 100, 66, 0.3);
}

/* ── Item card ────────────────────────────────────────────── */
.item {
  display: flex;
  flex-direction: column;
}

.item__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-850);
  border-bottom: 1px solid rgba(245, 244, 238, 0.06);
}

.media-plate {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      ellipse at 50% 40%,
      rgba(232, 183, 158, 0.16) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 50% 120%,
      rgba(0, 0, 0, 0.55),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      #1f1d18 0%,
      #161411 100%
    );
}

.media-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.87 0 0 0 0 0.82 0 0 0 0.2 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.3;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.item__lot {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
  background: rgba(22, 21, 17, 0.7);
  padding: 4px 8px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(245, 244, 238, 0.12);
  backdrop-filter: blur(6px);
  z-index: 2;
}

.item__bookmark {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(22, 21, 17, 0.7);
  border: 1px solid rgba(245, 244, 238, 0.12);
  color: var(--cream-dim);
  backdrop-filter: blur(6px);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.item__bookmark svg {
  width: 14px;
  height: 14px;
}

.item__bookmark:hover {
  color: var(--coral);
  border-color: rgba(201, 100, 66, 0.5);
  transform: scale(1.05);
}

.item__body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.item__kicker {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-soft);
  margin: 0;
  font-weight: 500;
}

.item__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.15;
  color: var(--cream);
  letter-spacing: -0.012em;
  margin: 0;
}

.item__title em {
  color: var(--stone-400);
  font-size: 20px;
}

.item__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--stone-400);
  margin: 0;
}

.item__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 4px 0 0;
  padding: 14px 0;
  border-top: 1px dashed rgba(245, 244, 238, 0.08);
  border-bottom: 1px dashed rgba(245, 244, 238, 0.08);
}

.item__meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.item__meta dt {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin: 0;
}

.item__meta dd {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--cream);
  margin: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
}

.item__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}

/* ── Product preview visuals (SaaS) ───────────────────── */

.preview {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.preview__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(245, 244, 238, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 244, 238, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 60%, #000 40%, transparent 100%);
}

.preview__tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(22, 21, 17, 0.7);
  border: 1px solid rgba(245, 244, 238, 0.12);
  backdrop-filter: blur(6px);
  color: var(--cream-dim);
  z-index: 2;
}

.preview__tag--live { color: #c8dcc0; border-color: rgba(138, 180, 122, 0.35); }
.preview__tag--warn { color: #f2d39a; border-color: rgba(217, 164, 65, 0.35); }
.preview__tag--beta { color: var(--coral-soft); border-color: rgba(201, 100, 66, 0.4); }

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 0 0 rgba(138, 180, 122, 0.5);
  animation: pulseDot 1.8s ease-out infinite;
}
.pulse--warn {
  background: var(--warning);
  box-shadow: 0 0 0 0 rgba(217, 164, 65, 0.5);
  animation-name: pulseDotWarn;
}
.pulse--coral {
  background: var(--coral);
  box-shadow: 0 0 0 0 var(--coral-glow);
  animation-name: pulseDotCoral;
}

/* ── Preview: Arclight (line chart) */
.preview--chart {
  display: grid;
  place-items: center;
}

.preview__svg {
  width: 86%;
  height: 64%;
  position: relative;
  filter: drop-shadow(0 6px 14px rgba(201, 100, 66, 0.3));
}

.preview__line {
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  animation: drawLine 2s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.preview__area {
  opacity: 0;
  animation: fadeIn 1.2s ease 1.4s forwards;
}

.preview__pt {
  opacity: 0;
  animation: fadeIn 0.4s ease 2.1s forwards;
}

.preview__pt--live {
  transform-origin: 252px 28px;
  filter: drop-shadow(0 0 6px var(--coral-glow));
  animation:
    fadeIn 0.4s ease 2.3s forwards,
    livePulse 2s ease-in-out 2.8s infinite;
}

/* ── Preview: Foundry (pipeline) */
.preview--pipeline {
  display: grid;
  place-items: center;
  padding: 0 8%;
}

.pipeline {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pipeline__track {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(245, 244, 238, 0.18) 0 6px,
    transparent 6px 12px
  );
  transform: translateY(-50%);
  z-index: 1;
}

.pipeline__node {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink-800);
  border: 1.5px solid rgba(245, 244, 238, 0.1);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-400);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  animation: nodeIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.pipeline__node:nth-child(2) { animation-delay: 0.2s; }
.pipeline__node:nth-child(3) { animation-delay: 0.4s; }
.pipeline__node:nth-child(4) { animation-delay: 0.6s; }
.pipeline__node:nth-child(5) { animation-delay: 0.8s; }

.pipeline__node--done {
  background: rgba(138, 180, 122, 0.2);
  border-color: rgba(138, 180, 122, 0.5);
  color: #c8dcc0;
}

.pipeline__node--active {
  background: rgba(217, 164, 65, 0.22);
  border-color: rgba(217, 164, 65, 0.6);
  color: #f2d39a;
  animation:
    nodeIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s both,
    activeGlow 1.8s ease-in-out 1s infinite;
}

.pipeline__node--pending {
  background: rgba(245, 244, 238, 0.04);
  border-style: dashed;
  opacity: 0.65;
}

.pipeline__pulse {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warning);
  box-shadow: 0 0 14px var(--warning), 0 0 4px var(--cream);
  transform: translate(-50%, -50%);
  left: 12%;
  animation: travelPipeline 3.2s cubic-bezier(0.4, 0, 0.2, 1) 1.2s infinite;
  z-index: 3;
}

/* ── Preview: Quill (document) */
.preview--doc {
  display: grid;
  place-items: center;
}

.doc {
  width: 62%;
  aspect-ratio: 3 / 4;
  position: relative;
  transform: rotate(-4deg) translateY(4px);
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.55));
}

.doc__paper {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(245, 244, 238, 0.06) 0%,
    rgba(245, 244, 238, 0.02) 100%
  );
  border: 1px solid rgba(245, 244, 238, 0.14);
  border-radius: 4px;
  padding: 14% 10% 10%;
  display: flex;
  flex-direction: column;
  gap: 7%;
  overflow: hidden;
}

.doc__title {
  width: 48%;
  height: 6px;
  background: var(--cream);
  opacity: 0.85;
  border-radius: 2px;
}

.doc__line {
  height: 4px;
  background: rgba(245, 244, 238, 0.38);
  border-radius: 1.5px;
}

.doc__line--hl {
  background: var(--coral-soft);
  opacity: 0.9;
  box-shadow: 0 0 8px var(--coral-glow);
}

.doc__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 26%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(201, 100, 66, 0.22) 50%,
    transparent 100%
  );
  border-top: 1px solid rgba(201, 100, 66, 0.35);
  border-bottom: 1px solid rgba(201, 100, 66, 0.35);
  box-shadow: 0 0 20px var(--coral-glow);
  animation: scanSweep 3.6s cubic-bezier(0.45, 0, 0.55, 1) 0.8s infinite;
}

/* ── Preview: QanoonX — scales + particles (ported from qanoonx.com) */
.preview--scales {
  display: grid;
  place-items: center;
  overflow: visible;
}

.qx-hero__scales-wrap {
  position: relative;
  width: 300px;
  height: 210px;
  transform: scale(0.82);
  transform-origin: center;
}

.qx-scales {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.qx-scales__pillar {
  width: 3px;
  height: 65px;
  background: linear-gradient(180deg, var(--coral) 0%, rgba(201, 100, 66, 0.15) 100%);
  border-radius: 2px;
  flex-shrink: 0;
}

.qx-scales__beam {
  position: relative;
  width: 190px;
  height: 3px;
  background: linear-gradient(90deg,
    rgba(201, 100, 66, 0.25) 0%,
    var(--coral) 50%,
    rgba(201, 100, 66, 0.25) 100%
  );
  border-radius: 2px;
  animation: qx-beam-tilt 4.5s ease-in-out infinite;
  transform-origin: center;
  flex-shrink: 0;
}

.qx-scales__chain {
  position: absolute;
  top: 3px;
  width: 1px;
  height: 36px;
  background: rgba(201, 100, 66, 0.45);
}
.qx-scales__chain--l { left: 12px; }
.qx-scales__chain--r { right: 12px; }

.qx-scales__pan {
  position: absolute;
  top: 39px;
  width: 52px;
  height: 15px;
  border: 2px solid rgba(201, 100, 66, 0.45);
  border-top: none;
  border-radius: 0 0 26px 26px;
}
.qx-scales__pan--l { left: -14px; }
.qx-scales__pan--r { right: -14px; }

.qx-scales__base {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201, 100, 66, 0.35) 50%,
    transparent 100%
  );
  border-radius: 2px;
}

/* Floating Phosphor icon particles */
.qx-hero__particle {
  position: absolute;
  font-size: 22px;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  animation: qx-particle-float 6s ease-in-out infinite;
}
.qx-hero__particle i { font-size: inherit; }

.qx-hero__particle--1 { top: 12%;   left: 6%;    color: rgba(201, 100, 66, 0.7);  animation-delay: 0s; }
.qx-hero__particle--2 { top: 6%;    right: 10%;  color: rgba(245, 244, 238, 0.55); animation-delay: 1s; }
.qx-hero__particle--3 { bottom: 32%; left: 4%;   color: rgba(138, 180, 122, 0.65); animation-delay: 2s; }
.qx-hero__particle--4 { bottom: 18%; right: 6%;  color: rgba(217, 164, 65, 0.65);  animation-delay: 3s; }
.qx-hero__particle--5 { top: 42%;   left: 0%;    color: rgba(232, 183, 158, 0.5);  animation-delay: 4s; }
.qx-hero__particle--6 { top: 28%;   right: 1%;   color: rgba(245, 244, 238, 0.4);  animation-delay: 5s; }

@keyframes qx-beam-tilt {
  0%, 100% { transform: rotate(0deg);  }
  25%      { transform: rotate(6deg);  }
  75%      { transform: rotate(-6deg); }
}

@keyframes qx-particle-float {
  0%, 100% { transform: translateY(0)     rotate(0deg);  opacity: 0.45; }
  50%      { transform: translateY(-18px) rotate(12deg); opacity: 0.85; }
}

/* ── Stat card ────────────────────────────────────────────── */
.stat {
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
}

.stat__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-400);
  font-weight: 500;
}

.stat__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--stone-500);
}

.stat__value {
  font-family: var(--serif);
  font-size: 62px;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.022em;
  font-variant-numeric: tabular-nums;
  margin: 4px 0 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat__prefix {
  font-size: 32px;
  color: var(--coral-soft);
  margin-right: 2px;
}

.stat__unit {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--stone-500);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.stat__delta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.stat__delta svg {
  width: 12px;
  height: 12px;
}

.stat__delta--up {
  color: var(--positive);
}

.stat__delta--down {
  color: var(--stone-400);
}

.stat__delta-sub {
  color: var(--stone-500);
  font-weight: 400;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
}

.spark {
  margin-top: auto;
  color: var(--coral);
  height: 50px;
}

.spark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.stat__breakdown {
  list-style: none;
  margin: auto 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed rgba(245, 244, 238, 0.08);
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.stat__breakdown li {
  display: flex;
  justify-content: space-between;
  color: var(--stone-400);
}

.stat__breakdown li span:last-child {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}

.stat__footrow {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(245, 244, 238, 0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat__footrow > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat__footlabel {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-500);
}

.stat__footval {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}

/* ── Customer profile card ────────────────────────────────── */
.profile {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.profile__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--cream);
  letter-spacing: -0.01em;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 6px 14px -6px rgba(0, 0, 0, 0.6);
}

.avatar--gradient-a {
  background:
    radial-gradient(circle at 30% 25%, #f5c7ae, transparent 55%),
    linear-gradient(135deg, #c96442, #6e2a14);
}

.avatar--gradient-b {
  background:
    radial-gradient(circle at 30% 25%, #d7c5a6, transparent 55%),
    linear-gradient(135deg, #8a6a3d, #3a2a15);
}

.profile__ident {
  min-width: 0;
}

.profile__name {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--cream);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.profile__sub {
  font-size: 12.5px;
  color: var(--stone-400);
  margin: 2px 0 0;
  font-family: var(--mono);
  letter-spacing: 0.01em;
}

.tier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
}

.tier svg {
  width: 12px;
  height: 12px;
}

.tier--gold {
  color: #f2d39a;
  background: rgba(217, 164, 65, 0.12);
  border-color: rgba(217, 164, 65, 0.36);
}

.tier--silver {
  color: #d8d6d0;
  background: rgba(200, 198, 190, 0.08);
  border-color: rgba(200, 198, 190, 0.24);
}

.profile__stats {
  list-style: none;
  margin: 0;
  padding: 16px 0;
  border-top: 1px dashed rgba(245, 244, 238, 0.08);
  border-bottom: 1px dashed rgba(245, 244, 238, 0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.profile__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile__stat-label {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-500);
}

.profile__stat-val {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
}

.profile__note {
  margin: 0;
  padding: 14px 16px;
  background: rgba(245, 244, 238, 0.03);
  border: 1px dashed rgba(245, 244, 238, 0.08);
  border-radius: var(--r-md);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--stone-400);
}

.profile__note-label {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 12.5px;
  color: var(--coral-soft);
  margin-bottom: 2px;
}

.profile__foot {
  margin-top: auto;
}

.profile__actions {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.profile__actions .btn {
  flex: 1;
}

/* ── Plan (pricing) card ──────────────────────────────────── */
.plan {
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}

.plan--featured {
  background:
    radial-gradient(
      ellipse 120% 80% at 50% -20%,
      rgba(201, 100, 66, 0.2),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(62, 61, 58, 0.7) 0%,
      rgba(38, 38, 36, 0.9) 100%
    );
  border-color: rgba(201, 100, 66, 0.42);
  box-shadow: var(--shadow-lg),
    0 0 0 1px rgba(201, 100, 66, 0.25),
    0 0 40px -10px var(--coral-glow);
}

.plan__ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 12.5px;
  padding: 4px 10px;
  color: var(--coral-soft);
  background: rgba(201, 100, 66, 0.14);
  border: 1px solid rgba(201, 100, 66, 0.4);
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.plan__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan__name {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--cream);
  letter-spacing: -0.012em;
  margin: 0;
}

.plan--featured .plan__name {
  color: var(--coral-soft);
}

.plan__pitch {
  font-size: 13.5px;
  color: var(--stone-400);
  margin: 0;
  line-height: 1.5;
  max-width: 26ch;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 0;
  padding: 18px 0;
  border-top: 1px dashed rgba(245, 244, 238, 0.08);
  border-bottom: 1px dashed rgba(245, 244, 238, 0.08);
  color: var(--cream);
}

.plan__currency {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--stone-400);
  margin-right: 2px;
}

.plan__amount {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.026em;
  font-variant-numeric: tabular-nums;
}

.plan__period {
  font-size: 13px;
  color: var(--stone-500);
  margin-left: 8px;
  font-family: var(--serif);
  font-style: italic;
}

.plan__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 14px;
  color: var(--cream-dim);
}

.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.plan__features .muted {
  color: var(--stone-500);
}

.check {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: 1px;
  background: var(--coral-wash);
  border: 1px solid rgba(201, 100, 66, 0.4);
  position: relative;
}

.check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 9px;
  border-right: 1.8px solid var(--coral);
  border-bottom: 1.8px solid var(--coral);
  transform: rotate(42deg);
}

.check--muted {
  background: rgba(245, 244, 238, 0.04);
  border-color: rgba(245, 244, 238, 0.1);
}

.check--muted::after {
  border-color: var(--stone-500);
  opacity: 0.5;
}

.plan .btn--block {
  margin-top: auto;
}

/* ── Footer ───────────────────────────────────────────────── */
.foot {
  padding: 48px 32px 64px;
  margin-top: 40px;
  border-top: 1px solid rgba(245, 244, 238, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.foot__mark {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.foot__meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  color: var(--stone-500);
  max-width: 52ch;
  text-align: right;
  margin: 0;
  line-height: 1.5;
}

/* ── Motion system ────────────────────────────────────────
   Every animation respects prefers-reduced-motion below.
   ──────────────────────────────────────────────────────── */

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseInSoft {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes nodeIn {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes activeGlow {
  0%, 100% {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4),
      0 0 0 0 rgba(217, 164, 65, 0.4);
  }
  50% {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4),
      0 0 0 8px rgba(217, 164, 65, 0);
  }
}

@keyframes livePulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px var(--coral-glow));
  }
  50% {
    transform: scale(1.25);
    filter: drop-shadow(0 0 12px rgba(201, 100, 66, 0.9));
  }
}

@keyframes travelPipeline {
  0%   { left: 12%; opacity: 0; }
  10%  { opacity: 1; }
  45%  { left: 50%; }
  85%  { left: 88%; opacity: 1; }
  100% { left: 88%; opacity: 0; }
}

@keyframes scanSweep {
  0%   { top: -26%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(138, 180, 122, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(138, 180, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(138, 180, 122, 0); }
}
@keyframes pulseDotWarn {
  0%   { box-shadow: 0 0 0 0 rgba(217, 164, 65, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(217, 164, 65, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 164, 65, 0); }
}
@keyframes pulseDotCoral {
  0%   { box-shadow: 0 0 0 0 var(--coral-glow); }
  70%  { box-shadow: 0 0 0 8px rgba(201, 100, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 100, 66, 0); }
}

@keyframes heroDot {
  0%, 100% {
    box-shadow: 0 0 0 4px var(--coral-wash), 0 0 12px var(--coral-glow);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(201, 100, 66, 0.06), 0 0 22px rgba(201, 100, 66, 0.55);
    transform: scale(1.08);
  }
}

@keyframes statusPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.25); opacity: 0.85; }
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(24px, -14px); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-18px, 20px); }
}

@keyframes featuredBreathe {
  0%, 100% {
    box-shadow: var(--shadow-lg),
      0 0 0 1px rgba(201, 100, 66, 0.25),
      0 0 30px -10px var(--coral-glow);
  }
  50% {
    box-shadow: var(--shadow-lg),
      0 0 0 1px rgba(201, 100, 66, 0.45),
      0 0 60px -10px rgba(201, 100, 66, 0.55);
  }
}

@keyframes markSheen {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.15);
  }
}

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

/* ── Entrance choreography ───────────────────────────── */

.topnav,
.intro__kicker,
.intro__title,
.intro__lede,
.intro__specs,
.intro__notes > .notecard,
.section__head,
.card {
  animation: riseIn 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.topnav         { animation-delay: 0.05s; }
.intro__kicker  { animation-delay: 0.15s; }
.intro__title   { animation: riseInSoft 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both; }
.intro__lede    { animation-delay: 0.45s; }
.intro__specs   { animation-delay: 0.6s; }

.intro__notes > .notecard:nth-child(1) { animation-delay: 0.55s; }
.intro__notes > .notecard:nth-child(2) { animation-delay: 0.65s; }
.intro__notes > .notecard:nth-child(3) { animation-delay: 0.75s; }

.section__head { animation-delay: 0.1s; }

/* Stagger cards via inline --stagger custom prop */
.card { animation-delay: calc(var(--stagger, 1) * 90ms + 0.15s); }

/* ── Ambient motion ──────────────────────────────────── */

.topnav__mark,
.foot__mark .topnav__mark {
  animation: markSheen 3.6s ease-in-out infinite;
}

.intro__kicker .dot {
  animation: heroDot 2.4s ease-in-out infinite;
}

.bg-glow--one { animation: drift1 18s ease-in-out infinite; }
.bg-glow--two { animation: drift2 22s ease-in-out infinite; }

.plan--featured {
  animation:
    riseIn 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both,
    featuredBreathe 5s ease-in-out 1.4s infinite;
}

.pill--available .pill__dot { animation: statusPulse 1.8s ease-in-out infinite; }
.pill--hold .pill__dot      { animation: statusPulse 2.2s ease-in-out infinite; }

/* Sparkline draw-on */
.spark__line {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: sparkDraw 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.8s forwards;
}
.spark__area {
  opacity: 0;
  animation: fadeIn 1s ease 2.4s forwards;
}

/* ── Hover refinements ───────────────────────────────── */

.item .media-plate { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.item:hover .media-plate { transform: scale(1.04); }

.item__title       { transition: color 0.25s ease; }
.item:hover .item__title { color: var(--coral-soft); }

.plan:hover:not(.plan--featured) {
  border-color: rgba(201, 100, 66, 0.35);
}

.avatar { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.profile:hover .avatar { transform: rotate(-4deg) scale(1.05); }

/* ── Live chart tracer (SVG animateMotion) ────────────── */

.chart-tracer {
  filter: drop-shadow(0 0 8px var(--coral)) drop-shadow(0 0 2px var(--cream));
}

.chart-tracer--halo {
  filter: blur(3px);
}

/* ── Reduced motion — disable everything ambient ─────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .preview__line,
  .preview__area,
  .preview__pt,
  .spark__line,
  .spark__area {
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }

  .chart-tracer { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE STYLES (home.html)
   ═══════════════════════════════════════════════════════════ */

.home .topnav {
  padding-top: 24px;
  padding-bottom: 24px;
}

.topnav__auth {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.home .topnav__links {
  margin-left: 36px;
}

.topnav__signin {
  font-size: 13.5px;
  color: var(--stone-400);
  padding: 6px 4px;
  transition: color 0.2s ease;
}
.topnav__signin:hover { color: var(--cream); }

.btn--lg {
  padding: 15px 22px;
  font-size: 14.5px;
  border-radius: 999px;
}
.btn--sm {
  padding: 8px 14px;
  font-size: 13px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 32px 120px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  min-height: 78vh;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin: 0 0 28px;
}
.hero__kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-wash), 0 0 16px var(--coral-glow);
  animation: heroDot 2.4s ease-in-out infinite;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--cream);
  margin: 0 0 28px;
  max-width: 14ch;
}
.hero__title em {
  color: var(--coral-soft);
  font-style: italic;
  font-weight: 400;
  white-space: nowrap;
}

.hero__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--stone-400);
  max-width: 52ch;
  margin: 0 0 40px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero__marks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
  font-size: 13px;
  color: var(--stone-400);
}
.hero__marks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__marks svg {
  width: 14px;
  height: 14px;
  color: var(--coral);
}

/* Hero visual — layered product mini-cards */
.hero__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.2;
  min-height: 480px;
}

.hero__halo {
  position: absolute;
  inset: -12% -6% -6% -6%;
  background:
    radial-gradient(
      ellipse 60% 50% at 60% 45%,
      rgba(201, 100, 66, 0.18),
      transparent 70%
    );
  filter: blur(40px);
  z-index: 0;
  animation: drift1 14s ease-in-out infinite;
}

.stack-card {
  position: absolute;
  background: linear-gradient(
    180deg,
    rgba(58, 57, 54, 0.95) 0%,
    rgba(38, 38, 36, 0.98) 100%
  );
  border: 1px solid rgba(245, 244, 238, 0.12);
  border-radius: var(--r-lg);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.4),
    0 30px 60px -20px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.stack-card__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(245, 244, 238, 0.08);
  background: rgba(26, 25, 21, 0.45);
}
.stack-card__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(245, 244, 238, 0.18);
}
.stack-card__dot:nth-child(1) { background: #c96442; }
.stack-card__dot:nth-child(2) { background: #d9a441; }
.stack-card__dot:nth-child(3) { background: #8ab47a; }

.stack-card__title {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--stone-400);
  letter-spacing: 0.02em;
}

.stack-card__body {
  padding: 18px 20px 20px;
}

/* Back card — Arclight */
.stack-card--back {
  top: 6%;
  left: 0;
  width: 78%;
  transform: rotate(-3deg);
  z-index: 1;
  animation: stackFloatA 8s ease-in-out infinite;
}
.stack-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.stack-kpi__label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 3px;
}
.stack-kpi__val {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--cream);
  letter-spacing: -0.008em;
  font-variant-numeric: tabular-nums;
}
.stack-chart {
  height: 90px;
  margin-top: 4px;
}
.stack-chart svg { width: 100%; height: 100%; }
.stack-chart__line {
  stroke-dasharray: 820;
  stroke-dashoffset: 820;
  animation: drawLine 2.4s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}
.stack-chart__area {
  opacity: 0;
  animation: fadeIn 1.2s ease 1.8s forwards;
}
.stack-chart__pt {
  opacity: 0;
  animation:
    fadeIn 0.4s ease 2.4s forwards,
    livePulse 2s ease-in-out 3s infinite;
  filter: drop-shadow(0 0 6px var(--coral-glow));
  transform-origin: 288px 28px;
}

/* Middle card — Foundry */
.stack-card--middle {
  top: 38%;
  right: 0;
  width: 62%;
  transform: rotate(2deg);
  z-index: 2;
  animation: stackFloatB 9s ease-in-out infinite;
}
.stack-card--middle .stack-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mini-pipeline {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.mp-node {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--stone-400);
  background: rgba(245, 244, 238, 0.06);
  border: 1px solid rgba(245, 244, 238, 0.12);
}
.mp-node--done {
  color: #c8dcc0;
  background: rgba(138, 180, 122, 0.2);
  border-color: rgba(138, 180, 122, 0.45);
}
.mp-node--active {
  background: rgba(217, 164, 65, 0.22);
  border-color: rgba(217, 164, 65, 0.55);
  position: relative;
}
.mp-node--active::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(217, 164, 65, 0.4);
  animation: activeGlow 2s ease-in-out infinite;
}
.mp-node--pending {
  border-style: dashed;
  opacity: 0.55;
}
.mp-line {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(138, 180, 122, 0.55) 0 4px, transparent 4px 8px);
}
.mp-line--dim {
  background: repeating-linear-gradient(90deg, rgba(245, 244, 238, 0.14) 0 4px, transparent 4px 8px);
}
.mini-pipeline__log {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--stone-400);
  padding: 4px 0;
  border-top: 1px dashed rgba(245, 244, 238, 0.08);
}
.log__time { color: var(--stone-500); }
.log__msg { color: var(--cream-dim); }
.mini-pipeline__log--live .log__msg { color: #f2d39a; }
.log__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warning);
  margin-left: auto;
  box-shadow: 0 0 0 0 rgba(217, 164, 65, 0.5);
  animation: pulseDotWarn 1.8s ease-out infinite;
}

/* Front card — Quill */
.stack-card--front {
  bottom: 0;
  left: 12%;
  width: 58%;
  transform: rotate(-2deg);
  z-index: 3;
  animation: stackFloatC 10s ease-in-out infinite;
}
.mini-doc__prompt {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--cream);
  letter-spacing: -0.005em;
  line-height: 1.35;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(245, 244, 238, 0.12);
}
.mini-doc__answer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.mini-doc__line {
  height: 5px;
  background: rgba(245, 244, 238, 0.32);
  border-radius: 2px;
}
.mini-doc__line--hl {
  background: var(--coral-soft);
  box-shadow: 0 0 10px var(--coral-glow);
}
.mini-doc__cite {
  margin: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--stone-500);
  line-height: 1.4;
}
.mini-doc__cite span {
  color: var(--coral-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  margin-right: 6px;
}
.mini-doc__cite em {
  color: var(--stone-400);
  font-style: normal;
}

/* ── Trust strip ──────────────────────────────────────────── */
.trust {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  border-bottom: 1px solid rgba(245, 244, 238, 0.06);
  padding-bottom: 48px;
}
.trust__label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--stone-500);
  margin: 0;
  white-space: nowrap;
}
.trust__logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 44px;
  align-items: center;
}
.trust__logos li {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--stone-400);
  letter-spacing: -0.005em;
  opacity: 0.75;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.trust__logos li:hover { opacity: 1; color: var(--cream); }
.trust__logos li.is-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

/* ── Item bullets (homepage product card variant) ───────── */
.item__bullets {
  list-style: none;
  margin: 0;
  padding: 14px 0;
  border-top: 1px dashed rgba(245, 244, 238, 0.08);
  border-bottom: 1px dashed rgba(245, 244, 238, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--stone-400);
}
.item__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}
.item__bullets li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
  margin-top: 7px;
  flex: 0 0 auto;
}

/* ── Principles ───────────────────────────────────────────── */
.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.principle {
  background: linear-gradient(
    180deg,
    rgba(48, 48, 46, 0.55) 0%,
    rgba(38, 38, 36, 0.85) 100%
  );
  border: var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  position: relative;
  animation: riseIn 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--stagger, 1) * 90ms + 0.15s);
  transition: border-color 0.3s ease, transform 0.35s ease;
}
.principle:hover {
  border-color: rgba(245, 244, 238, 0.16);
  transform: translateY(-2px);
}
.principle__mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--coral-wash);
  border: 1px solid rgba(201, 100, 66, 0.3);
  color: var(--coral-soft);
  margin-bottom: 22px;
}
.principle__mark svg {
  width: 24px;
  height: 24px;
}
.principle__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--cream);
  letter-spacing: -0.012em;
  margin: 0 0 10px;
  line-height: 1.2;
}
.principle__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--stone-400);
  margin: 0;
}

/* ── Testimonial ──────────────────────────────────────────── */
.testimonial-section { padding-top: 32px; }
.testimonial {
  max-width: 920px;
  margin: 0 auto;
  padding: 54px 48px 40px;
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(58, 57, 54, 0.5) 0%,
    rgba(38, 38, 36, 0.85) 100%
  );
}
.testimonial__quote {
  position: absolute;
  top: 10px;
  left: 24px;
  font-family: var(--serif);
  font-size: 160px;
  line-height: 1;
  color: var(--coral);
  opacity: 0.22;
  pointer-events: none;
}
.testimonial__body {
  margin: 0 0 30px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.014em;
  color: var(--cream);
}
.testimonial__body em {
  font-style: italic;
  color: var(--coral-soft);
}
.testimonial__foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px dashed rgba(245, 244, 238, 0.12);
}
.testimonial__foot .avatar {
  width: 48px;
  height: 48px;
  font-size: 17px;
}
.testimonial__who { flex: 1; min-width: 0; }
.testimonial__name {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--cream);
  margin: 0;
  letter-spacing: -0.005em;
}
.testimonial__role {
  font-size: 13px;
  color: var(--stone-400);
  margin: 2px 0 0;
}

/* ── Numbers strip ────────────────────────────────────────── */
.numbers {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 64px auto 0;
  padding: 0 32px;
}
.numbers__grid {
  list-style: none;
  margin: 0;
  padding: 40px 44px;
  background: linear-gradient(
    180deg,
    rgba(48, 48, 46, 0.5) 0%,
    rgba(26, 25, 21, 0.8) 100%
  );
  border: 1px solid rgba(245, 244, 238, 0.08);
  border-radius: var(--r-2xl);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.numbers__grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(201, 100, 66, 0.12), transparent 70%);
  pointer-events: none;
}
.numbers__grid li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  animation: riseIn 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--stagger, 1) * 100ms + 0.2s);
}
.numbers__grid li + li::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(245, 244, 238, 0.14),
    transparent
  );
}
.numbers__val {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 4.2vw, 54px);
  letter-spacing: -0.028em;
  line-height: 1;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
}
.numbers__prefix {
  font-size: 0.55em;
  color: var(--coral-soft);
  margin-right: 2px;
}
.numbers__unit {
  font-size: 0.5em;
  color: var(--stone-400);
  font-weight: 400;
  margin-left: 1px;
}
.numbers__label {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-400);
  font-weight: 500;
}

/* ── Final CTA ────────────────────────────────────────────── */
.final-cta {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px 32px 80px;
  text-align: center;
}
.final-cta__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 32px;
}
.final-cta__inner::before {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 40px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(201, 100, 66, 0.14), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}
.final-cta__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin: 0 0 20px;
}
.final-cta__kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  animation: heroDot 2.4s ease-in-out infinite;
}
.final-cta__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.024em;
  color: var(--cream);
  margin: 0 0 20px;
}
.final-cta__title em {
  font-style: italic;
  color: var(--coral-soft);
  font-weight: 400;
}
.final-cta__lede {
  font-size: 17px;
  color: var(--stone-400);
  line-height: 1.6;
  max-width: 50ch;
  margin: 0 auto 32px;
}
.final-cta__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Site footer ──────────────────────────────────────────── */
.site-foot {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 40px auto 0;
  padding: 56px 32px 32px;
  border-top: 1px solid rgba(245, 244, 238, 0.08);
}
.site-foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245, 244, 238, 0.06);
}
.site-foot__brand .topnav__brand {
  margin-bottom: 18px;
}
.site-foot__pitch {
  font-size: 14px;
  color: var(--stone-400);
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 40ch;
}
.site-foot__socials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
}
.site-foot__socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(245, 244, 238, 0.04);
  border: 1px solid rgba(245, 244, 238, 0.12);
  font-size: 11px;
  font-weight: 600;
  color: var(--stone-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.site-foot__socials a:hover {
  color: var(--cream);
  border-color: rgba(201, 100, 66, 0.45);
  background: var(--coral-wash);
}
.site-foot__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.site-foot__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-foot__label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--coral-soft);
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}
.site-foot__col a {
  font-size: 13.5px;
  color: var(--stone-400);
  transition: color 0.2s ease;
}
.site-foot__col a:hover {
  color: var(--cream);
}
.site-foot__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--stone-500);
}
.site-foot__bottom a {
  color: var(--coral-soft);
}
.site-foot__bottom a:hover { color: var(--coral); }

/* ── Homepage entrance animations ─────────────────────────── */
.hero__kicker,
.hero__title,
.hero__lede,
.hero__actions,
.hero__marks {
  animation: riseIn 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero__kicker  { animation-delay: 0.15s; }
.hero__title   { animation: riseInSoft 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both; }
.hero__lede    { animation-delay: 0.5s; }
.hero__actions { animation-delay: 0.65s; }
.hero__marks   { animation-delay: 0.8s; }

.stack-card {
  animation: riseInSoft 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.stack-card--back   { animation-delay: 0.4s; }
.stack-card--middle { animation-delay: 0.6s; }
.stack-card--front  { animation-delay: 0.8s; }

.stack-card--back   { animation: riseInSoft 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s both, stackFloatA 8s ease-in-out 1.4s infinite; }
.stack-card--middle { animation: riseInSoft 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s both, stackFloatB 9s ease-in-out 1.6s infinite; }
.stack-card--front  { animation: riseInSoft 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.8s both, stackFloatC 10s ease-in-out 1.8s infinite; }

@keyframes stackFloatA {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-2deg) translateY(-6px); }
}
@keyframes stackFloatB {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50%      { transform: rotate(3deg) translateY(8px); }
}
@keyframes stackFloatC {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(-1deg) translateY(-5px); }
}

/* ── Principle tags (services section) ───────────────────── */
.principle__tags {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.principle__tags li {
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(245, 244, 238, 0.04);
  border: 1px solid rgba(245, 244, 238, 0.1);
  color: var(--stone-400);
  letter-spacing: 0.01em;
}

/* ── Contact section ─────────────────────────────────────── */
.contact-section { padding-bottom: 56px; }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
}

.contact__pitch {
  padding: 8px 0;
  position: sticky;
  top: 32px;
}

.contact__lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.3;
  color: var(--cream);
  margin: 0 0 28px;
  letter-spacing: -0.012em;
}
.contact__lead em {
  font-style: italic;
  color: var(--coral-soft);
}

.contact__methods {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px dashed rgba(245, 244, 238, 0.1);
}
.contact__methods li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(245, 244, 238, 0.1);
}
.contact__method-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-500);
  font-weight: 500;
}
.contact__methods a {
  color: var(--cream);
  transition: color 0.2s ease;
  border-bottom: 1px dashed rgba(245, 244, 238, 0.2);
  padding-bottom: 1px;
}
.contact__methods a:hover {
  color: var(--coral-soft);
  border-color: rgba(201, 100, 66, 0.5);
}

.contact__pillrow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.contact__pill {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--coral-wash);
  border: 1px solid rgba(201, 100, 66, 0.3);
  color: var(--coral-soft);
  letter-spacing: 0.008em;
}

/* ── Form styles ─────────────────────────────────────────── */
.contact__form {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(
    180deg,
    rgba(58, 57, 54, 0.5) 0%,
    rgba(38, 38, 36, 0.92) 100%
  );
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.form-field__label {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-400);
  font-weight: 500;
}

.form-field__input {
  font-family: inherit;
  font-size: 14.5px;
  color: var(--cream);
  background: rgba(22, 21, 17, 0.55);
  border: 1px solid rgba(245, 244, 238, 0.1);
  border-radius: var(--r-md);
  padding: 12px 14px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.005em;
  appearance: none;
  outline: none;
  width: 100%;
}

.form-field__input::placeholder {
  color: var(--stone-500);
}

.form-field__input:focus {
  border-color: rgba(201, 100, 66, 0.55);
  background: rgba(26, 25, 21, 0.75);
  box-shadow: 0 0 0 3px var(--coral-wash);
}

.form-field__input--area {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}

.form-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(245, 244, 238, 0.04);
  border: 1px solid rgba(245, 244, 238, 0.1);
  color: var(--stone-400);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  user-select: none;
}
.chip:hover {
  color: var(--cream);
  border-color: rgba(245, 244, 238, 0.22);
}
.chip--on {
  color: var(--coral-soft);
  background: var(--coral-wash);
  border-color: rgba(201, 100, 66, 0.45);
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px dashed rgba(245, 244, 238, 0.08);
  flex-wrap: wrap;
}
.form-foot__note {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  color: var(--stone-500);
  max-width: 28ch;
  line-height: 1.4;
}

/* ── Homepage responsive ──────────────────────────────────── */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 40px;
    padding-bottom: 72px;
    min-height: auto;
  }
  .hero__visual {
    min-height: 420px;
    max-width: 480px;
    margin: 0 auto;
  }
  .home .topnav__links { display: none; }
  .topnav__auth .topnav__signin { display: none; }

  .trust {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial { padding: 44px 28px 32px; }
  .testimonial__quote { font-size: 120px; left: 14px; top: 0; }

  .contact {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact__pitch { position: static; }

  .site-foot__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .site-foot__cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .site-foot__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .hero { padding-left: 20px; padding-right: 20px; }
  .trust, .numbers, .final-cta, .site-foot { padding-left: 20px; padding-right: 20px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .numbers__grid { padding: 28px 24px; }
  .numbers__grid li + li::before { display: none; }
  .final-cta__inner { padding: 40px 20px; }
  .testimonial__foot {
    flex-wrap: wrap;
  }
  .form-row { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }
  .contact__methods li { grid-template-columns: 1fr; gap: 4px; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .intro {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .swatches {
    grid-template-columns: repeat(4, 1fr);
  }

  .topnav__links {
    display: none;
  }

  .foot {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .foot__meta {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .topnav,
  .intro,
  .section,
  .foot {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .section__head {
    grid-template-columns: 1fr;
  }

  .section__number {
    grid-row: auto;
  }

  .section__desc {
    grid-column: auto;
  }

  .topnav__cta {
    display: none;
  }

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

/* ═══════════════════════════════════════════════════════════
   CENTERED INTRO (inner pages: Terms, Privacy, About, Careers, Press, Blog, Archives, Search, Single post)
   Activates automatically whenever an .intro__col has a full-width inline grid-column style.
   ═══════════════════════════════════════════════════════════ */

.intro > .intro__col[style*="grid-column"] {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.intro > .intro__col[style*="grid-column"] .intro__kicker {
  justify-content: center;
}
.intro > .intro__col[style*="grid-column"] .intro__title {
  margin-left: auto;
  margin-right: auto;
  max-width: 22ch;
}
.intro > .intro__col[style*="grid-column"] .intro__lede {
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════
   WORDPRESS CONTENT TYPOGRAPHY
   Used by page.php, single.php, home.php for editor output.
   ═══════════════════════════════════════════════════════════ */

.page-content,
.post-body {
  max-width: 780px;
  margin: 0 auto;
}

.page-body,
.post-body {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--cream-dim);
}

.page-body > * + *,
.post-body > * + * {
  margin-top: 1.1em;
}

.page-body h1,
.page-body h2,
.page-body h3,
.page-body h4,
.page-body h5,
.page-body h6,
.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
  font-family: var(--serif);
  color: var(--cream);
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin: 2.4em 0 0.6em;
}

.page-body h2,
.post-body h2 {
  font-size: clamp(28px, 3.4vw, 36px);
}

.page-body h3,
.post-body h3 {
  font-size: clamp(22px, 2.6vw, 26px);
  color: var(--coral-soft);
}

.page-body h4,
.post-body h4 {
  font-size: 18px;
  color: var(--cream);
}

.page-body a,
.post-body a {
  color: var(--coral-soft);
  border-bottom: 1px dashed rgba(232, 183, 158, 0.4);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.page-body a:hover,
.post-body a:hover {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

.page-body strong,
.post-body strong { color: var(--cream); font-weight: 600; }

.page-body em,
.post-body em { color: var(--coral-soft); font-style: italic; }

.page-body ul,
.page-body ol,
.post-body ul,
.post-body ol {
  padding-left: 1.6em;
  margin-top: 1.1em;
}
.page-body ul li,
.post-body ul li { list-style: none; position: relative; }
.page-body ul li::before,
.post-body ul li::before {
  content: "";
  position: absolute;
  left: -1.1em;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}
.page-body ol li,
.post-body ol li {
  list-style: decimal;
  color: var(--stone-400);
}
.page-body li + li,
.post-body li + li {
  margin-top: 0.4em;
}

.page-body blockquote,
.post-body blockquote {
  margin: 2em 0;
  padding: 20px 24px;
  border-left: 3px solid var(--coral);
  background: rgba(201, 100, 66, 0.06);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--cream);
  line-height: 1.5;
}

.page-body code,
.post-body code {
  font-family: var(--mono);
  font-size: 13.5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(245, 244, 238, 0.06);
  border: 1px solid rgba(245, 244, 238, 0.1);
  color: var(--coral-soft);
}

.page-body pre,
.post-body pre {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  padding: 20px 22px;
  background: var(--ink-850);
  border: var(--border);
  border-radius: var(--r-lg);
  overflow-x: auto;
  color: var(--cream-dim);
}
.page-body pre code,
.post-body pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}

.page-body hr,
.post-body hr {
  border: 0;
  border-top: 1px dashed rgba(245, 244, 238, 0.14);
  margin: 3em 0;
}

.page-body img,
.post-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  margin: 2em auto;
}

.page-body table,
.post-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 2em 0;
}
.page-body th,
.post-body th {
  text-align: left;
  font-family: var(--serif);
  font-weight: 500;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(245, 244, 238, 0.14);
  color: var(--cream);
}
.page-body td,
.post-body td {
  padding: 12px 14px;
  border-bottom: 1px dashed rgba(245, 244, 238, 0.08);
  color: var(--stone-400);
}

/* ── Pagination ─────────────────────────────────────────────── */
.pagination,
.navigation.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 56px auto 0;
  max-width: 1240px;
  padding: 0 32px;
  flex-wrap: wrap;
}

.pagination .page-numbers,
.nav-links .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(245, 244, 238, 0.04);
  border: 1px solid rgba(245, 244, 238, 0.1);
  color: var(--stone-400);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
  color: var(--cream);
  border-color: rgba(201, 100, 66, 0.4);
  background: var(--coral-wash);
}

.pagination .page-numbers.current,
.nav-links .page-numbers.current {
  color: var(--cream);
  background: var(--coral);
  border-color: var(--coral);
}

/* ── Skip link + screen-reader helpers ───────────────────── */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  z-index: 1000;
  padding: 8px 14px;
  background: var(--coral);
  color: var(--cream);
  font-size: 13px;
  border-radius: 999px;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ═══════════════════════════════════════════════════════════
   FOOTER — Business identity block (bank compliance)
   ═══════════════════════════════════════════════════════════ */
.site-foot__legal {
  padding: 28px 0 24px;
  margin-top: 24px;
  border-top: 1px dashed rgba(245, 244, 238, 0.12);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--stone-400);
}
.site-foot__legal p { margin: 0; }
.site-foot__legal p + p { margin-top: 4px; }
.site-foot__legal strong { color: var(--cream); font-weight: 600; }
.site-foot__legal a {
  color: var(--stone-400);
  transition: color 0.2s ease;
  border-bottom: 1px dashed rgba(245, 244, 238, 0.15);
}
.site-foot__legal a:hover { color: var(--cream); border-color: var(--coral); }
.site-foot__legal-label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-500);
  font-weight: 500;
  margin-bottom: 8px;
}

.site-foot__policies {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  align-items: center;
}
