/* ============================================================
   VERIAM — concept landing
   Editorial B2B SaaS · cold ink / warm paper / vermillion accent
   ============================================================ */

:root {
  --ink: #0A0F1C;
  --ink-2: #1A2236;
  --ink-3: #2A3349;
  --paper: #F5F1E8;
  --paper-2: #ECE6D5;
  --paper-3: #E2DBC6;
  --line: #1A1F2E;
  --mid: #5B6175;
  --muted: #8C92A5;
  --accent: #FF5A1F;     /* vermillion — primary action */
  --accent-2: #1F6B5C;   /* deep green — passing / "go" */
  --green: #1F6B5C;
  --amber: #C97A1A;
  --red: #B73E3E;
  --off: #B5B7BC;

  --serif: "Newsreader", "Georgia", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --maxw: 1280px;
  --gut: clamp(20px, 4vw, 56px);
  --rad: 4px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0; }
em { font-style: italic; }
.mono { font-family: var(--mono); font-size: 0.86em; letter-spacing: -0.01em; }
.muted { color: var(--mid); }
.skip-link {
  position: absolute; left: -9999px; top: 0; padding: 8px 12px;
  background: var(--ink); color: var(--paper); z-index: 999;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.num, .num-lg, .num-xl {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-feature-settings: "lnum" 1, "ss01" 1;
}
.num-lg { font-size: 2.2em; line-height: 1; }
.num-xl { font-size: 2.6em; line-height: 1; font-style: normal; font-weight: 500; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.section-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: grid;
  gap: 18px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.section-head h2 em { color: var(--accent); }
.section-head .section-sub {
  font-size: 1.1rem;
  color: var(--mid);
  max-width: 56ch;
}
.section-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section-num::before {
  content: ""; width: 24px; height: 1px; background: var(--ink);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1.5px solid var(--ink);
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg { padding: 18px 28px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.link-quiet { color: var(--mid); font-size: 0.9rem; }
.link-quiet:hover { color: var(--ink); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--gut);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink);
}
.brand-mark { color: var(--accent); display: inline-flex; }
.brand-name {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.site-nav {
  display: flex; gap: 24px; margin-left: auto;
  font-size: 0.92rem;
}
.site-nav a {
  position: relative;
  padding: 4px 0;
  color: var(--ink-2);
  transition: color .2s ease;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
.header-cta { display: inline-flex; align-items: center; gap: 18px; }

.header-marquee {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 0;
}
.marquee-track {
  display: inline-flex; gap: 28px; white-space: nowrap;
  animation: marquee 40s linear infinite;
  padding-left: 28px;
}
.marquee-track span { opacity: .8; }
.marquee-track span:nth-child(even) { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gut) clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mid);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  width: 100%;
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.15);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.15); }
  50%      { box-shadow: 0 0 0 8px rgba(255, 90, 31, 0.0); }
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin-bottom: 28px;
}
.hero-headline em { color: var(--accent); }
.hero-headline .num {
  font-size: 1.05em;
  position: relative;
  display: inline-block;
}
.hero-headline .num::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.05em;
  height: 3px; background: var(--accent);
  opacity: .25;
}

.hero-sub {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 50ch;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}
.hero-meta > div {
  padding-right: 14px;
  border-right: 1px solid rgba(10, 15, 28, 0.15);
}
.hero-meta > div:last-child { border-right: 0; }
.hero-meta dt {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid);
  margin-bottom: 8px;
}
.hero-meta dd {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 6px;
}
@media (max-width: 640px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .hero-meta > div:nth-child(2) { border-right: 0; }
}

/* ---- Hero card (live readiness preview) ---- */
.hero-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10, 15, 28, 0.5);
  position: relative;
}
.hero-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255, 90, 31, 0.15), transparent 60%);
  pointer-events: none;
}
.hc-chrome {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  background: var(--ink-2);
  border-bottom: 1px solid rgba(245, 241, 232, 0.1);
  font-family: var(--mono); font-size: 0.75rem;
  color: var(--muted);
}
.hc-dots { display: inline-flex; gap: 6px; }
.hc-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(245, 241, 232, 0.15); }
.hc-dots span:nth-child(1) { background: #FF5F56; }
.hc-dots span:nth-child(2) { background: #FFBD2E; }
.hc-dots span:nth-child(3) { background: #27C93F; }
.hc-url { flex: 1; text-align: center; }
.hc-status { display: inline-flex; align-items: center; gap: 6px; }
.hc-status .dot { width: 7px; height: 7px; border-radius: 50%; }
.hc-body { padding: 24px; }
.hc-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin-bottom: 20px;
}
.hc-label { font-weight: 500; font-size: 0.95rem; }
.hc-sub { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.pill {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  white-space: nowrap;
}
.pill-go { background: rgba(31, 107, 92, 0.25); color: #6FD9B8; }
.pill-warn { background: rgba(201, 122, 26, 0.25); color: #F2C46F; }
.pill-off { background: rgba(183, 62, 62, 0.25); color: #F2A6A6; }

.hc-score { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(245, 241, 232, 0.1); }
.hc-score-num {
  font-family: var(--serif);
  font-size: 4.2rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.hc-score-num small { font-size: 0.42em; color: var(--muted); font-weight: 400; }
.hc-score-bar {
  height: 6px; background: rgba(245, 241, 232, 0.1); border-radius: 3px; overflow: hidden;
  margin-bottom: 14px;
}
.hc-score-fill {
  height: 100%;
  width: var(--w, 0%);
  background: var(--accent);
  border-radius: 3px;
  animation: barfill 1.4s ease-out forwards;
}
@keyframes barfill { from { width: 0; } }
.hc-score-meta {
  display: flex; gap: 16px; font-size: 0.82rem; color: var(--muted);
  font-family: var(--mono);
}
.hc-score-meta b { color: var(--paper); font-weight: 500; margin-right: 2px; }
.hc-feed li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(245, 241, 232, 0.06);
  font-size: 0.85rem;
}
.hc-feed li:last-child { border-bottom: 0; }
.hc-feed time {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 0.74rem;
  min-width: 36px;
}
.hc-feed .muted { margin-left: auto; font-size: 0.74rem; font-family: var(--mono); }

/* ============================================================
   LOGOS
   ============================================================ */
.logos {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px var(--gut);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.logos-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mid);
  text-align: center;
  margin-bottom: 24px;
}
.logos-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
}
.logos-grid li {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  opacity: .65;
  transition: opacity .2s ease;
  text-align: center;
}
.logos-grid li:hover { opacity: 1; color: var(--accent); }
.logos-grid li:nth-child(2),
.logos-grid li:nth-child(5) { font-family: var(--serif); font-style: italic; font-weight: 400; }
.logos-grid li:nth-child(3) { font-family: var(--serif); font-weight: 400; }
.logos-grid li:nth-child(7) { font-weight: 400; }
.logos-grid li:nth-child(8) { font-weight: 500; }
@media (max-width: 760px) {
  .logos-grid { grid-template-columns: repeat(4, 1fr); gap: 18px 12px; }
  .logos-grid li { font-size: 0.92rem; }
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem {
  background: var(--paper-2);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: clamp(72px, 10vw, 120px) 0;
}
.problem .section-head h2 em { color: var(--ink); }
.problem-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}
@media (max-width: 820px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  background: var(--paper-2);
  padding: 36px 32px 32px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
}
.pc-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
}
.problem-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.problem-card p {
  color: var(--mid);
  font-size: 0.95rem;
}

/* ============================================================
   HOW
   ============================================================ */
.how { padding: clamp(72px, 10vw, 120px) 0; }
.steps {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  padding: 32px 24px 32px 0;
  border-right: 1px solid rgba(10, 15, 28, 0.15);
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.steps li:last-child { border-right: 0; }
.steps li:not(:first-child) { padding-left: 24px; }
.step-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 500;
}
.steps h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.1;
  font-weight: 500;
}
.steps p { color: var(--mid); font-size: 0.95rem; }
.step-time {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 16px;
  border-top: 1px dashed rgba(10, 15, 28, 0.2);
}

/* ============================================================
   PRODUCT (dashboard)
   ============================================================ */
.product { padding: clamp(72px, 10vw, 120px) 0; background: var(--paper-2); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.dash {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--ink);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 50px 100px -50px rgba(10, 15, 28, 0.6);
  color: var(--paper);
}
.dash-chrome {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px;
  background: var(--ink-2);
  border-bottom: 1px solid rgba(245, 241, 232, 0.08);
  font-size: 0.78rem;
  color: var(--muted);
}
.dash-dots { display: inline-flex; gap: 6px; }
.dash-dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(245, 241, 232, 0.15); }
.dash-dots span:nth-child(1) { background: #FF5F56; }
.dash-dots span:nth-child(2) { background: #FFBD2E; }
.dash-dots span:nth-child(3) { background: #27C93F; }
.dash-url { flex: 1; text-align: center; font-family: var(--mono); font-size: 0.78rem; }
.dash-user { font-family: var(--mono); font-size: 0.78rem; }
.dash-body { padding: 32px 32px 36px; }
.dash-top {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.08);
}
.dash-top h4 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; margin-bottom: 4px; }
.dash-sub { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.dash-tabs { display: flex; gap: 0; border: 1px solid rgba(245, 241, 232, 0.15); border-radius: 999px; padding: 4px; }
.dtab {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: background .2s ease, color .2s ease;
}
.dtab:hover { color: var(--paper); }
.dtab.is-active { background: var(--paper); color: var(--ink); }

.dash-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.08);
}
@media (max-width: 720px) { .dash-stats { grid-template-columns: repeat(2, 1fr); } }
.ds {}
.ds-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.ds-num small { font-size: 0.42em; color: var(--muted); font-weight: 400; }
.ds-label { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); margin-bottom: 12px; }
.ds-bar { height: 4px; background: rgba(245, 241, 232, 0.1); border-radius: 2px; overflow: hidden; }
.ds-bar span { display: block; height: 100%; width: var(--w, 0); background: var(--accent); border-radius: 2px; animation: barfill 1.2s ease-out forwards; }

.dash-cols {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px;
}
@media (max-width: 820px) { .dash-cols { grid-template-columns: 1fr; } }
.dash-col h5 {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.08);
}
.ctrls li {
  display: grid; grid-template-columns: 14px 1fr auto;
  align-items: center; gap: 10px;
  padding: 9px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(245, 241, 232, 0.04);
}
.ctrls li:last-child { border-bottom: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.ok { background: var(--green); box-shadow: 0 0 0 3px rgba(31, 107, 92, 0.18); }
.dot.warn { background: var(--amber); box-shadow: 0 0 0 3px rgba(201, 122, 26, 0.18); }
.dot.off { background: var(--red); box-shadow: 0 0 0 3px rgba(183, 62, 62, 0.18); }

.tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 2px;
  background: rgba(245, 241, 232, 0.08);
  color: var(--muted);
}
.tag-warn { background: rgba(201, 122, 26, 0.18); color: #F2C46F; }
.tag-off { background: rgba(183, 62, 62, 0.18); color: #F2A6A6; }

.feed li {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px;
  padding: 9px 0;
  font-size: 0.86rem;
  border-bottom: 1px solid rgba(245, 241, 232, 0.04);
}
.feed li:last-child { border-bottom: 0; }
.feed time { font-family: var(--mono); color: var(--muted); font-size: 0.74rem; padding-top: 2px; }
.feed code { font-family: var(--mono); font-size: 0.82em; background: rgba(245, 241, 232, 0.06); padding: 1px 5px; border-radius: 2px; }
.feed b { color: var(--paper); font-weight: 500; }

.dash-footnote {
  text-align: center;
  margin-top: 28px;
  color: var(--mid);
  font-size: 0.78rem;
}

/* ============================================================
   INTEGRATIONS
   ============================================================ */
.integrations { padding: clamp(72px, 10vw, 120px) 0; }
.integ-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}
@media (max-width: 920px) { .integ-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .integ-grid { grid-template-columns: repeat(3, 1fr); } }
.integ {
  background: var(--paper);
  aspect-ratio: 1.4 / 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: background .2s ease, color .2s ease;
  position: relative;
  cursor: default;
}
.integ-mark { font-size: 1.6rem; color: var(--ink-3); }
.integ:hover { background: var(--ink); color: var(--paper); }
.integ:hover .integ-mark { color: var(--accent); }
.integ:last-child { background: var(--ink); color: var(--paper); }
.integ:last-child .integ-mark { color: var(--accent); font-size: 2.4rem; }
.integ:last-child:hover { background: var(--accent); color: var(--paper); }
.integ:last-child:hover .integ-mark { color: var(--paper); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.plans {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; } }
.plan {
  background: var(--paper-2);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
}
.plan--featured {
  background: var(--ink);
  color: var(--paper);
}
.plan-flag {
  position: absolute; top: -10px; left: 32px;
  background: var(--accent); color: var(--paper);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  border-radius: 2px;
}
.plan-tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.plan--featured .plan-tag { color: var(--accent); }
.plan-price {
  display: flex; align-items: baseline; gap: 6px;
  margin: 8px 0 4px;
}
.plan-per { color: var(--mid); font-size: 0.95rem; }
.plan--featured .plan-per { color: var(--muted); }
.plan-desc { color: var(--mid); font-size: 0.92rem; }
.plan--featured .plan-desc { color: rgba(245, 241, 232, 0.7); }
.plan-list { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-list li {
  font-size: 0.92rem;
  padding-left: 22px;
  position: relative;
  color: var(--ink-2);
}
.plan-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}
.plan--featured .plan-list li { color: rgba(245, 241, 232, 0.85); }
.plan--featured .plan-list li::before { color: var(--accent); }

.pricing-foot {
  max-width: var(--maxw);
  margin: 32px auto 0;
  padding: 0 var(--gut);
  text-align: center;
  font-size: 0.78rem;
  color: var(--mid);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: clamp(72px, 10vw, 120px) 0; }
.faqs {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gut);
  border-top: 1px solid var(--ink);
}
.faqs details {
  border-bottom: 1px solid var(--ink);
  padding: 0;
  transition: background .2s ease;
}
.faqs details[open] { background: var(--paper-2); }
.faqs summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 4px;
  cursor: pointer;
  user-select: none;
}
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-icon {
  font-family: var(--mono);
  font-size: 1.4rem;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.faqs details[open] .faq-icon { background: var(--ink); color: var(--paper); transform: rotate(45deg); }
.faq-body { padding: 0 4px 28px; max-width: 64ch; }
.faq-body p { color: var(--ink-2); font-size: 1.02rem; }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: clamp(72px, 10vw, 120px) 0; }
.cta-card {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}
.cta-grid {
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}
.cta-grid::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.15), transparent 70%);
  pointer-events: none;
}
@media (max-width: 820px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-grid h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 16px 0 20px;
  color: var(--paper);
}
.cta-grid h2 em { color: var(--accent); }
.cta-grid > div > p { color: rgba(245, 241, 232, 0.75); font-size: 1.05rem; max-width: 50ch; margin-bottom: 28px; }
.cta-fine { color: rgba(245, 241, 232, 0.5); font-size: 0.78rem; margin-top: 14px; }
.cta-side { display: flex; flex-direction: column; gap: 24px; }
.cta-quote {
  background: rgba(245, 241, 232, 0.04);
  border: 1px solid rgba(245, 241, 232, 0.1);
  border-radius: 4px;
  padding: 24px;
}
.cta-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--paper);
  margin-bottom: 14px;
}
.cta-quote footer { font-size: 0.85rem; line-height: 1.4; }
.cta-quote footer .muted { color: var(--muted); }
.cta-checks { display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; color: rgba(245, 241, 232, 0.85); }
.cta-checks li { padding-left: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 32px;
  border-top: 1px solid var(--ink);
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.foot-brand p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 32ch;
}
.foot-brand .brand { color: var(--paper); }
.site-footer h6 {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a {
  color: rgba(245, 241, 232, 0.8);
  font-size: 0.92rem;
  transition: color .2s ease;
}
.site-footer ul a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px var(--gut) 0;
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.74rem;
  color: var(--muted);
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; }
  .site-nav { order: 3; width: 100%; margin-left: 0; gap: 16px; flex-wrap: wrap; }
  .header-cta .link-quiet { display: none; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
