/* ============================================================
   Hque — Editorial light theme
   Type: Fraunces (display) / Inter Tight (UI) / JBM (mono)
   ============================================================ */

:root {
  --bg: #FCFCFC;
  --bg-tint: #F5F5F4;
  --bg-mono: #F4F4F3;
  --fg: #0A0A0A;
  --fg-muted: #525252;
  --fg-subtle: #737373;
  --border: #E7E5E4;
  --border-strong: #D6D3D1;
  --accent: #2563EB;
  --accent-soft: #DBEAFE;
  --accent-deep: #1D4ED8;
  --success: #15803D;
  --warn: #B45309;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1140px;
  --container-narrow: 880px;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

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

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

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 252, 252, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}

.logo-mark { color: var(--accent); }
.logo-text { color: var(--fg); }
.logo-dot { color: var(--accent); margin-left: 1px; }

.primary-nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
}

.primary-nav a {
  color: var(--fg-muted);
  transition: color .15s ease;
  position: relative;
}

.primary-nav a:hover { color: var(--fg); }

.primary-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -22px;
  height: 2px;
  background: var(--fg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.link-muted {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
}

.link-muted:hover { color: var(--fg); }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--fg);
  color: #FCFCFC;
  border-color: var(--fg);
}

.btn-primary:hover {
  background: #1F1F1F;
}

.btn-accent {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

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

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: var(--bg-tint);
  border-color: var(--fg-muted);
}

.btn-lg {
  padding: 12px 20px;
  font-size: 15px;
}

.btn .arrow {
  transition: transform .2s ease;
}

.btn:hover .arrow {
  transform: translateX(2px);
}

/* ============================================================
   Typography
   ============================================================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-variation-settings: "opsz" 144;
  color: var(--fg);
}

h1 {
  font-size: clamp(48px, 6.5vw, 70px);
  letter-spacing: -0.035em;
  line-height: 0.98;
}

h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

h3 {
  font-size: clamp(24px, 2.5vw, 32px);
}

h4 {
  font-size: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.italic-accent {
    font-style: italic;
    font-weight: 400;
    /*color: var(--fg-muted);*/
    color: var(--accent);
}

.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--fg-muted);
  max-width: 640px;
  font-weight: 400;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  margin: 20px 0 24px;
}

.hero h1 .accent {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.hero .lede {
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 28px;
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--fg-subtle);
  font-family: var(--font-mono);
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta span::before {
  content: "✓";
  color: var(--success);
  font-weight: 600;
}

/* ============================================================
   Procedure card — the signature visual motif
   ============================================================ */

.procedure-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.02),
    0 8px 32px -12px rgba(0,0,0,0.06);
  font-family: var(--font-mono);
  font-size: 13px;
}

.procedure-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-mono);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.procedure-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 500;
}

.procedure-title::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
}

.procedure-meta {
  color: var(--fg-subtle);
  font-size: 12px;
}

.procedure-body {
  padding: 4px 0;
}

.step {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: start;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  transition: background .15s ease;
}

.step:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-subtle);
  padding-top: 2px;
}

.step-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--fg);
}

.step-output {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  background: var(--bg-mono);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.step-output b { color: var(--fg); font-weight: 500; }

.step-status {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 3px;
  font-weight: 500;
}

.step-status.done {
  background: rgba(21, 128, 61, 0.1);
  color: var(--success);
}

.step-status.run {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.step-status.wait {
  background: var(--bg-mono);
  color: var(--fg-subtle);
}

.procedure-foot {
  padding: 10px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg-mono);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--fg-subtle);
}

.hash-chip {
  font-family: var(--font-mono);
  color: var(--fg-muted);
  background: white;
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.02em;
}

/* ============================================================
   Section primitives
   ============================================================ */

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.section-tight { padding: 72px 0; }

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head h2 { margin: 16px 0 16px; }

/* ============================================================
   Problem section — bullet list
   ============================================================ */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.problem-card {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-card:nth-child(3n) {
  border-right: none;
}

.problem-card:nth-last-child(-n+3) {
  border-bottom: none;
}

.problem-card:nth-child(3n+1) {
  padding-left: 0;
}

.problem-card:nth-child(3n) {
  padding-right: 0;
}

.problem-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 500;
}

.problem-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.problem-card p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ============================================================
   How it works — three-layer diagram
   ============================================================ */

.layer-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.layer {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 28px 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  align-items: center;
  position: relative;
  transition: border-color .2s ease, transform .2s ease;
}

.layer:hover {
  border-color: var(--fg-muted);
}

.layer-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-subtle);
}

.layer-label b {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-transform: none;
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.layer-body p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.55;
}

.layer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.layer-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  background: var(--bg-mono);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--fg-muted);
}

.layer.layer-execution {
  background: var(--fg);
  border-color: var(--fg);
}

.layer.layer-execution .layer-label,
.layer.layer-execution .layer-body p {
  color: #A3A3A3;
}

.layer.layer-execution .layer-label b {
  color: white;
}

.layer.layer-execution .layer-tag {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: #D4D4D4;
}

/* ============================================================
   Audience / personas
   ============================================================ */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.audience-card {
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: border-color .2s ease;
}

.audience-card:hover {
  border-color: var(--fg-muted);
}

.audience-card .role {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}

.audience-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.audience-card p {
  color: var(--fg-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ============================================================
   What it isn't — comparison rows
   ============================================================ */

.contrast-list {
  border-top: 1px solid var(--border);
}

.contrast-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.contrast-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contrast-label .x {
  color: var(--warn);
  font-weight: 700;
}

.contrast-body {
  font-size: 17px;
  line-height: 1.5;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.contrast-body b {
  font-weight: 500;
  color: var(--fg);
}

.contrast-body em {
  color: var(--accent);
  font-style: italic;
}

/* ============================================================
   CTA strip
   ============================================================ */

.cta-strip {
  padding: 88px 0;
  background: var(--fg);
  color: white;
  border-bottom: 1px solid var(--fg);
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute;
  top: 0; right: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(37, 99, 235, 0.18), transparent 60%);
  pointer-events: none;
}

.cta-strip .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-strip h2 {
  color: white;
  font-size: clamp(32px, 4vw, 48px);
}

.cta-strip h2 .accent {
  font-style: italic;
  color: #93C5FD;
  font-weight: 400;
}

.cta-strip p {
  color: #A3A3A3;
  margin-top: 16px;
  font-size: 17px;
}

.cta-strip-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cta-strip .btn-primary {
  background: white;
  color: var(--fg);
  border-color: white;
}

.cta-strip .btn-primary:hover {
  background: #E7E5E4;
}

.cta-strip .btn-ghost {
  color: white;
  border-color: rgba(255,255,255,0.25);
}

.cta-strip .btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.4);
}

/* ============================================================
   Connections / integrations
   ============================================================ */

.connect-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.connect-tile {
  padding: 24px 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all .2s ease;
}

.connect-tile:hover {
  border-color: var(--fg-muted);
  transform: translateY(-2px);
}

.connect-tile .name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--fg);
}

.connect-tile .kind {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-subtle);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   Quote / framing block
   ============================================================ */

.framing-block {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.framing-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 880px;
  margin: 0 auto;
}

.framing-block blockquote .accent {
  font-style: italic;
  color: var(--accent);
}

.framing-block cite {
  display: block;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-style: normal;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  padding: 64px 0 40px;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .logo {
  font-size: 28px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 280px;
  line-height: 1.55;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-subtle);
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-col ul { list-style: none; }

.footer-col li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-col a {
  color: var(--fg-muted);
  transition: color .15s ease;
}

.footer-col a:hover { color: var(--fg); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fg-subtle);
  font-family: var(--font-mono);
}

/* ============================================================
   Page hero (interior pages)
   ============================================================ */

.page-hero {
  padding: 88px 0 64px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  max-width: 800px;
  margin: 18px 0 22px;
}

.page-hero .lede {
  font-size: clamp(17px, 1.5vw, 19px);
  max-width: 680px;
}

/* ============================================================
   Features page — feature blocks
   ============================================================ */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  padding: 88px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.feature-row:nth-child(even) {
  grid-template-columns: 1.1fr 1fr;
}

.feature-row:nth-child(even) .feature-text {
  order: 2;
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-text h2 {
  margin: 18px 0 20px;
  font-size: clamp(32px, 3.5vw, 44px);
}

.feature-text p {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 480px;
}

.feature-text ul {
  list-style: none;
  margin-top: 24px;
}

.feature-text li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--fg-muted);
}

.feature-text li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 500;
}

/* ============================================================
   Pricing page
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.price-card {
  padding: 36px 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .2s ease;
}

.price-card:hover {
  border-color: var(--fg-muted);
}

.price-card.featured {
  border-color: var(--fg);
  border-width: 1.5px;
}

.price-card.featured::before {
  content: "Most relevant";
  position: absolute;
  top: 0;
  right: 24px;
  transform: translateY(-50%);
  background: var(--fg);
  color: white;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 500;
}

.price-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.price-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 28px;
  min-height: 42px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.price-amount .num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.price-amount .num .currency {
  font-size: 28px;
  vertical-align: super;
  line-height: 1;
  font-weight: 400;
}

.price-amount .per {
  font-size: 13px;
  color: var(--fg-subtle);
  font-family: var(--font-mono);
}

.price-note {
  font-size: 13px;
  color: var(--fg-subtle);
  margin-bottom: 28px;
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.price-features li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--fg);
  position: relative;
  padding-left: 22px;
  border-top: 1px solid var(--border);
}

.price-features li:last-child {
  border-bottom: 1px solid var(--border);
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 500;
}

.price-features li.muted {
  color: var(--fg-subtle);
}

.price-features li.muted::before {
  content: "—";
  color: var(--border-strong);
}

.price-card .btn {
  width: 100%;
  justify-content: center;
}

.pricing-note {
  margin-top: 56px;
  padding: 28px 32px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: 15px;
  color: var(--fg-muted);
}

.pricing-note b {
  color: var(--fg);
  font-weight: 500;
}

/* ============================================================
   About page
   ============================================================ */

.about-prose {
  max-width: 680px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg);
}

.about-prose p {
  margin-bottom: 24px;
}

.about-prose p:first-child {
  font-size: 22px;
  line-height: 1.5;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.about-prose h2 {
  font-size: 32px;
  margin: 56px 0 20px;
}

.about-prose .signature {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-subtle);
  line-height: 1.7;
}

.about-prose .signature b {
  color: var(--fg);
  font-weight: 500;
}

/* ============================================================
   Animations
   ============================================================ */

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

.hero h1, .hero .eyebrow, .hero .lede, .hero-actions, .hero-meta {
  animation: fadeUp .7s ease-out both;
}

.hero .eyebrow { animation-delay: .05s; }
.hero h1 { animation-delay: .15s; }
.hero .lede { animation-delay: .3s; }
.hero-actions { animation-delay: .45s; }
.hero-meta { animation-delay: .55s; }

.procedure-card {
  animation: fadeUp .9s ease-out .35s both;
}

.step {
  animation: fadeUp .5s ease-out both;
}

.step:nth-child(1) { animation-delay: .55s; }
.step:nth-child(2) { animation-delay: .7s; }
.step:nth-child(3) { animation-delay: .85s; }
.step:nth-child(4) { animation-delay: 1.0s; }
.step:nth-child(5) { animation-delay: 1.15s; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  .container, .container-narrow { padding: 0 24px; }

  .header-inner { height: 60px; }

  .primary-nav { display: none; }

  .hero { padding: 64px 0 56px; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section { padding: 64px 0; }

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

  .problem-card {
    padding: 28px 0 !important;
    border-right: none !important;
    border-top: 1px solid var(--border);
  }

  .problem-card:first-child { border-top: none; }

  .layer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px;
  }

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

  .contrast-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .cta-strip { padding: 64px 0; }

  .cta-strip .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-strip-actions { justify-content: flex-start; }

  .feature-row {
    grid-template-columns: 1fr !important;
    gap: 40px;
    padding: 56px 0;
  }

  .feature-row:nth-child(even) .feature-text { order: 0; }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom { flex-direction: column; gap: 12px; }
}

@media (max-width: 540px) {
  h1 { font-size: 44px; }

  .header-actions .link-muted { display: none; }

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

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