/* ExecutiveIQ brand tokens, from the ExecutiveIQ Brand Guide v2.
   Colors: black, white and teal are primary (about 90%); green, yellow and orange are pops (about 10%).
   Tints use the guide's 20% steps. Teal fails contrast as text on white, so text stays black. */
:root {
  --charcoal: #25282A;     /* brand black */
  --charcoal-2: #25282A;
  --ink: #25282A;
  --ink-2: #25282A;
  --muted: #515455;        /* black 80% tint */
  --line: #D3D4D4;         /* black 20% tint */
  --paper: #FFFFFF;
  --canvas: #E8F8FB;       /* teal tint for alternate sections */
  --cyan: #19B5D2;         /* brand teal */
  --cyan-deep: #25282A;    /* text-on-white uses black (teal is below 4.5:1) */
  --cyan-soft: #D1F0F6;    /* teal 20% tint */
  --orange: #FF6A13;
  --orange-soft: #FFE1D0;  /* 20% tint */
  --green: #00D94F;
  --green-soft: #CCF7DC;   /* 20% tint */
  --yellow: #F4E605;
  --yellow-soft: #FDFACD;  /* 20% tint */

  --display: "Oswald", "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Cardo", Georgia, "Times New Roman", serif;
  --sans: "Inter", Helvetica, Arial, system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 28px;
  --max: 1200px;
  --shadow-sm: 0 1px 2px rgba(37, 40, 42, .06);
  --shadow: 0 1px 2px rgba(37, 40, 42, .06), 0 16px 40px rgba(37, 40, 42, .12);

  /* Official brand pattern (made of the logo mark) */
  --q-pattern: url("/media/brand/pattern-black.jpg");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 500; line-height: 1.15; letter-spacing: 0; }
h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
h3 { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; line-height: 1.2; }
p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section { padding: 112px 0; }
.section.canvas { background: var(--canvas); }

/* Section kicker: short cyan bar + label */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 500; font-size: .92rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.kicker::before { content: ""; width: 32px; height: 3px; border-radius: 2px; background: var(--cyan); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 620px; }
.serif-lead { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; line-height: 1.35; color: var(--ink-2); max-width: 640px; }
.section-head { display: grid; gap: 18px; margin-bottom: 56px; max-width: 760px; }
.section-head.center { text-align: left; justify-items: start; }
.center { text-align: left; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px; border-radius: 999px; white-space: nowrap;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .025em; text-transform: uppercase;
  border: 2px solid transparent; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .arrow { font-family: var(--sans); font-size: 1.1em; line-height: 1; }
.btn-primary { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.btn-primary:hover { background: #47C3DB; border-color: #47C3DB; }
.btn-dark { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.btn-dark:hover { background: #515455; border-color: #515455; }
.btn-dark:disabled { opacity: .7; cursor: default; transform: none; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; }
.logo { display: inline-flex; align-items: center; justify-self: start; }
.logo img { display: block; height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; white-space: nowrap; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: .98rem; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { justify-self: end; display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.nav-cta .login { color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav-cta .btn { padding: 9px 22px; font-size: .92rem; }
.nav-toggle { display: none; justify-self: end; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
.mobile-only { display: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 104px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 88px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 88px 100%,
    var(--canvas);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 28% 45%, rgba(232,248,251,.1) 0%, rgba(232,248,251,.75) 45%, var(--canvas) 80%);
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 64px; align-items: center; }
.hero-copy { display: grid; gap: 26px; align-content: start; }
.pill-tag {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .9rem; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.pill-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-soft); }
/* Brand lockup at the top of the hero: square logo + tagline together (trademark use) */
.hero-lockup { display: flex; align-items: center; gap: 20px; }
.hero-lockup img { display: block; height: 80px; width: auto; }
.hero-tagline { margin: 0; padding-left: 20px; border-left: 2px solid var(--cyan); font-family: var(--display); font-weight: 500; font-size: 1.5rem; line-height: 1.15; color: var(--charcoal); }
@media (max-width: 640px) { .hero-lockup img { height: 64px; } .hero-tagline { font-size: 1.2rem; padding-left: 16px; } }
.hl { background: linear-gradient(transparent 64%, rgba(29,180,216,.4) 64%, rgba(29,180,216,.4) 92%, transparent 92%); padding: 0 .06em; }
.hero-sub { font-size: 1.2rem; color: var(--ink-2); max-width: 560px; }
.proof {
  justify-self: start; display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 20px 10px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .93rem; color: var(--ink-2); box-shadow: var(--shadow-sm); max-width: 100%;
}
.proof-mark {
  flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--charcoal); color: #fff;
  display: grid; place-items: center; overflow: hidden;
}
.proof-mark img { width: 15px; height: 24px; }
.proof strong { color: var(--ink); font-weight: 600; }

/* Hero visual: charcoal panel holding a product-style profile */
.hero-visual { position: relative; }
.panel-dark {
  background-color: var(--charcoal); background-image: var(--q-pattern); background-size: 1200px auto;
  border-radius: var(--radius-lg); padding: 36px 32px 48px;
}
.profile { background: var(--paper); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.4); color: var(--ink); }
.profile-banner {
  background: var(--cyan);
  padding: 20px 20px 0; display: grid; grid-template-columns: 64px 1fr; gap: 14px; color: #fff; position: relative;
}
.profile .sample-tag {
  position: absolute; top: 14px; right: 14px; background: rgba(0,0,0,.28); color: #fff;
  font-family: var(--display); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
}
.profile-photo {
  width: 64px; height: 64px; border-radius: 10px; border: 3px solid #fff;
  background: var(--charcoal);
  display: grid; place-items: center; font-family: var(--display); font-size: 1.4rem; color: #fff;
}
.profile-name { font-family: var(--display); font-weight: 600; font-size: 1.65rem; line-height: 1.05; }
.profile-title { font-size: .84rem; opacity: .95; margin-top: 4px; }
.profile-tabs { grid-column: 1 / -1; display: flex; gap: 18px; overflow: hidden; margin-top: 12px; font-size: .76rem; white-space: nowrap; }
.profile-tabs span { padding: 8px 0; opacity: .85; }
.profile-tabs .active { opacity: 1; border-bottom: 2px solid #fff; font-weight: 600; }
.profile-body { padding: 16px 20px 20px; display: grid; gap: 12px; }
.profile-panel { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.profile-panel h4 { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; margin: 0 0 4px; }
.profile-panel ul { margin: 0; padding-left: 18px; font-size: .88rem; color: var(--ink-2); }
.profile-panel p { font-size: .88rem; color: var(--ink-2); }
.float-card {
  position: absolute; right: -20px; bottom: -32px; width: 256px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 16px 18px; border: 1px solid var(--line);
}
.float-card .fc-title { font-family: var(--display); font-weight: 500; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.float-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .88rem; }
.float-card li { display: flex; align-items: center; gap: 10px; }
.float-card .role { margin-left: auto; font-size: .76rem; color: var(--muted); }
.float-card .sw { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.float-card .verified { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--ink); }

/* Stat tiles (brand-tinted) */
.stats-band { padding: 56px 0 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  border-radius: var(--radius); padding: 26px 24px 20px; min-height: 180px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.stat strong { font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; color: var(--ink); }
.stat span { display: block; padding-top: 12px; border-top: 1px solid rgba(22,25,28,.14); font-size: .92rem; color: var(--ink-2); }
.t-cyan { background: var(--cyan-soft); }
.t-orange { background: var(--orange-soft); }
.t-yellow { background: var(--yellow-soft); }
.t-green { background: var(--green-soft); }

/* Problem: two columns */
.problem-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.problem-copy { display: grid; gap: 20px; }
.compare { display: grid; gap: 12px; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.compare-row > div { padding: 18px 20px; font-size: .96rem; }
.compare-row .was { color: var(--muted); background: var(--canvas); border-right: 1px solid var(--line); }
.compare-row .now { color: var(--ink); font-weight: 500; }
.compare-head { display: grid; grid-template-columns: 1fr 1fr; }
.compare-head span { font-family: var(--display); font-weight: 500; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 20px; }
.compare-head span:last-child { color: var(--cyan-deep); }

/* Audience grid with hairlines */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.audience > div { padding: 32px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; background: #fff; }
.audience .role { font-size: .88rem; color: var(--muted); }
.audience p { color: var(--ink-2); font-size: .98rem; }
.audience ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); font-size: .95rem; }
.audience li { margin-bottom: 6px; }
.fit { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit > div { border-radius: var(--radius); padding: 24px 26px; }
.fit h3 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; margin-bottom: 10px; }
.fit ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--ink-2); font-size: .96rem; }
.fit li { padding-left: 26px; position: relative; }
.fit .yes { background: var(--cyan-soft); }
.fit .no { background: var(--canvas); }
.fit .yes li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan-deep); font-weight: 800; }
.fit .no li::before { content: "–"; position: absolute; left: 4px; color: var(--muted); font-weight: 800; }

/* Products: rows with colored icon tiles */
.products-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.products-intro { position: sticky; top: 120px; display: grid; gap: 20px; }
.product-row { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.product-row:last-child { border-bottom: 1px solid var(--line); }
.icon-tile { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; color: var(--ink); }
.icon-tile svg { width: 26px; height: 26px; }
.i-orange { background: var(--orange); }
.i-green { background: var(--green); }
.i-yellow { background: var(--yellow); }
.product-row .label { font-family: var(--display); font-weight: 500; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.product-row h3 { margin: 4px 0 8px; }
.product-row p { color: var(--ink-2); }
.product-row ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.product-row li { font-size: .85rem; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }

/* How it works: charcoal band */
.band-dark { background-color: var(--charcoal); background-image: var(--q-pattern); background-size: 1200px auto; color: #E9EAEA; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .kicker { color: #FFFFFF; }
.band-dark .lead { color: #D3D4D4; }
.how-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: end; margin-bottom: 64px; }
.how-copy { display: grid; gap: 20px; }
.designed-for { border-left: 3px solid var(--cyan); padding-left: 24px; display: grid; gap: 10px; }
.designed-for p { color: #fff; font-weight: 600; }
.designed-for ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.14); counter-reset: step; }
.step { padding: 32px 32px 8px 0; display: grid; gap: 12px; align-content: start; }
.step + .step { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.14); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--display); font-weight: 500; font-size: 1rem; letter-spacing: .1em; color: var(--cyan); }
.step h3 { font-family: var(--display); font-weight: 500; font-size: 1.5rem; }
.step p { color: #D3D4D4; }

/* Use cases */
.usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usecase { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: grid; gap: 10px; align-content: start; }
.usecase h3 { font-size: 1.25rem; }
.usecase p { color: var(--ink-2); font-size: .95rem; }

/* Heritage */
.heritage { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.heritage-visual { min-height: 380px; display: grid; place-items: center; padding: 48px 32px; }
.brand-labels { display: grid; gap: 18px; justify-items: start; }
.brand-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem); padding: 8px 20px; border-radius: 6px; color: var(--ink);
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
}
.brand-label svg { width: 22px; height: 22px; }
.brand-label:nth-child(2) { margin-left: 56px; }
.brand-label:nth-child(3) { margin-left: 20px; }
.bl-orange { background: var(--orange); }
.bl-yellow { background: var(--yellow); }
.bl-green { background: var(--green); }
.heritage-copy { display: grid; gap: 20px; }
.heritage-copy p { color: var(--ink-2); }

/* Pricing + CTA card */
.cta-card {
  background: var(--cyan); border-radius: var(--radius-lg); padding: 56px;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start;
}
.cta-card h2 { color: var(--ink); }
.cta-card .serif-lead { color: var(--ink); }
.cta-card .kicker { color: var(--ink); }
.cta-card .kicker::before { background: var(--ink); }
.cta-copy { display: grid; gap: 22px; }
.pricing-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink); }
.pricing-points li { padding-left: 28px; position: relative; }
.pricing-points li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; }
.form-note { font-size: .95rem; color: var(--ink); }
.form-note a { color: var(--ink); font-weight: 600; text-decoration: underline; }
.contact-form { background: #fff; border-radius: 20px; padding: 28px; display: grid; gap: 14px; box-shadow: 0 20px 40px rgba(10, 60, 75, .18); }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 4px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { font-size: .85rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--canvas); color: var(--ink); font: inherit; font-size: 1rem;
}
.contact-form textarea { border-radius: 16px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #7C7E7F; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: var(--cyan); }
.contact-form button { justify-self: start; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--canvas); color: var(--ink); font-family: var(--sans); font-size: 1.2rem; line-height: 1;
}
.faq details[open] summary::after { content: "–"; background: var(--cyan); }
.faq details p { margin: 12px 0 0; color: var(--ink-2); max-width: 700px; }
.faq-group { font-size: 1.6rem; margin: 56px 0 16px; }
.faq-group:first-child { margin-top: 0; }
.faq-group + details { border-top: 1px solid var(--line); }

/* Inner page hero */
.page-hero { padding: 88px 0 64px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.page-hero .container { display: grid; gap: 18px; justify-items: start; text-align: left; }

/* Closing band on inner pages */
.closing { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; background: var(--cyan); border-radius: var(--radius-lg); padding: 48px 56px; }
.closing h2 { color: var(--ink); }
.closing p { color: var(--ink); margin-top: 8px; }

/* Footer */
.site-footer { background: var(--charcoal-2); color: #A8A9AA; font-size: .95rem; padding-top: 72px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.9fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-lockup { display: flex; align-items: center; gap: 24px; }
.footer-logo img { display: block; height: 96px; width: auto; }
.footer-brand p { max-width: 340px; }
.footer-tagline { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.75rem; line-height: 1.15; color: #fff; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h4 { margin: 0 0 6px; font-family: var(--display); font-weight: 500; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer-col a { color: #D3D4D4; }
.footer-col a:hover { color: #fff; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav { grid-template-columns: 1fr auto; height: 68px; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .mobile-only { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 18px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 20px 24px 24px;
  }
  .nav-links.open { display: flex; }
}
@media (max-width: 980px) {
  .section { padding: 80px 0; }
  .hero-grid, .problem-grid, .products-grid, .how-grid, .heritage, .cta-card { grid-template-columns: 1fr; gap: 48px; }
  .products-intro { position: static; }
  .stats, .usecases, .audience { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card { right: 12px; }
  .cta-card { padding: 40px 32px; }
  .heritage-visual { min-height: 0; padding: 40px 24px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 72px; }
  .panel-dark { padding: 20px 14px 28px; border-radius: 20px; }
  .float-card { position: relative; right: auto; bottom: auto; width: auto; margin: -16px 12px 0; }
  .stats, .usecases, .audience, .fit, .contact-form .row, .footer-grid { grid-template-columns: 1fr; }
  .stat { min-height: 140px; }
  .compare-row, .compare-head { grid-template-columns: 1fr; }
  .compare-head span:first-child { display: none; }
  .compare-row .was { border-right: 0; border-bottom: 1px solid var(--line); text-decoration: line-through; text-decoration-color: #A8A9AA; }
  .product-row { grid-template-columns: 1fr; gap: 16px; }
  .cta-card { padding: 28px 18px; border-radius: 20px; }
  .closing { padding: 32px 22px; border-radius: 20px; }
  .contact-form { padding: 20px; }
  .brand-label:nth-child(2) { margin-left: 28px; }
  .proof { border-radius: 18px; }
}

/* Demo form status message */
.form-status { margin: 0; padding: 12px 16px; border-radius: 12px; font-size: .95rem; }
.form-status[data-kind="success"] { background: var(--green-soft); color: var(--ink); }
.form-status[data-kind="error"] { background: var(--orange-soft); color: var(--ink); }
/* Spam honeypot: hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Demo video */
.video-frame {
  max-width: 980px; margin: 0 auto; padding: 10px; /* source is 960x492 */
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 960 / 492; border-radius: 20px; background: var(--charcoal); }
@media (max-width: 640px) {
  .video-frame { padding: 6px; border-radius: 16px; }
  .video-frame video { border-radius: 12px; }
}

/* Blog: index cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
  display: flex; flex-direction: column; gap: 12px; padding: 28px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.post-card:hover { text-decoration: none; border-color: var(--cyan); box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card-meta { font-family: var(--display); font-weight: 500; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-card h3 { font-size: 1.4rem; }
.post-card p { color: var(--ink-2); font-size: .96rem; flex: 1; }
.post-card-more { font-family: var(--display); font-weight: 500; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan-deep); }

/* Blog: article */
.article-hero { background: var(--canvas); border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
.article-hero .container { max-width: 860px; display: grid; gap: 18px; }
.article-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.back-link { font-weight: 600; font-size: .95rem; color: var(--cyan-deep); }
.article-meta { color: var(--muted); font-size: .95rem; }
.article-section { padding: 64px 0 96px; }
.prose { max-width: 720px; margin: 0 auto; font-size: 1.1rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.25em; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin-top: 2em; }
.prose h2 { font-family: var(--display); font-weight: 600; font-size: 2rem; line-height: 1.15; }
.prose h3 { font-size: 1.5rem; }
.prose h4 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
.prose p, .prose li { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .5em; }
.prose a { color: var(--cyan-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--cyan); font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; color: var(--ink); }
.prose img { border-radius: 12px; border: 1px solid var(--line); height: auto; }
.prose figure { margin: 2em 0; }
.prose figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--canvas); color: var(--ink); }
.prose iframe { max-width: 100%; border: 0; border-radius: 12px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

@media (max-width: 980px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .article-hero { padding: 44px 0 40px; }
  .article-section { padding: 44px 0 72px; }
  .prose { font-size: 1.04rem; }
}
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { color: #A8A9AA; }
.footer-legal-links a:hover { color: #fff; }
@media (max-width: 380px) { .footer-lockup { flex-wrap: wrap; } }

/* Customer quotes (verified G2 reviews) */
.testimonial { margin: 0; max-width: 880px; display: grid; gap: 20px; padding-left: 32px; border-left: 4px solid var(--cyan); }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.35; color: var(--ink); }
.testimonial-more { margin: 0; font-size: 1.1rem; color: var(--ink-2); }
.testimonial figcaption { display: grid; gap: 4px; font-size: .95rem; color: var(--muted); }
.testimonial figcaption .who strong { color: var(--ink); margin-right: 6px; }
.stars { color: var(--orange); letter-spacing: 2px; font-size: 1.05rem; }
.testimonial-compact { margin: 40px 0 0; padding-left: 24px; }
.testimonial-compact blockquote p { font-size: 1.35rem; }
.prose .testimonial-compact blockquote { margin: 0; padding: 0; border: 0; background: none; }
.prose .testimonial-compact blockquote p { margin: 0; }
.inline-quote { margin: 18px 0 0; padding: 14px 18px; border-left: 3px solid var(--cyan); background: var(--canvas); border-radius: 0 10px 10px 0; font-family: var(--serif); font-size: 1.02rem; line-height: 1.5; color: var(--ink); }
.inline-quote cite { display: block; margin-top: 6px; font-family: var(--sans); font-style: normal; font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) { .testimonial { padding-left: 20px; } }
.g2-link { justify-self: start; margin-top: 6px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 4px; }
.g2-link:hover { text-decoration-thickness: 2px; }
.inline-quote cite a { color: inherit; text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 3px; }
