/* =====================================================================
   ExportOps AI — product-led light design system (rebuild)
   Confident type · realistic product UI · one emerald accent + one dark band
   Public page + shared admin/form components.
   ===================================================================== */

:root {
  color-scheme: light;
  --ink: #0c1512;
  --ink-2: #3c4843;
  --muted: #69756e;
  --paper: #ffffff;
  --paper-2: #f4f7f5;
  --paper-3: #eaf0ec;
  --line: #e4eae6;
  --line-2: #eef2ef;
  --green: #0a7d54;
  --green-dark: #066043;
  --green-soft: #e6f4ed;
  --ink-band: #0b1a14;     /* dark contrast band */
  --amber: #b9791f;
  --clay: #b04f33;
  --shadow-sm: 0 1px 2px rgba(12, 21, 18, 0.04), 0 10px 28px rgba(12, 21, 18, 0.05);
  --shadow-md: 0 2px 8px rgba(12, 21, 18, 0.05), 0 28px 64px rgba(12, 21, 18, 0.10);
  --shadow-lg: 0 40px 90px rgba(12, 21, 18, 0.16);
  --radius: 16px;
  --radius-lg: 22px;
  --bound: 1160px;
  --pad-x: max(20px, calc((100% - var(--bound)) / 2));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.004em;
}

a { color: inherit; }
::selection { background: rgba(10, 125, 84, 0.16); }

/* ---------------------------------------------------------------- Header */
.site-header,
.admin-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px var(--pad-x);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.site-header.is-scrolled,
.admin-header {
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(180%);
}

.brand,
.nav-links a,
.nav-cta,
.button { text-decoration: none; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand em { font-style: normal; color: var(--green); }

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #11a06d, var(--green-dark));
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-links { display: flex; gap: 2px; font-weight: 540; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 9px;
  color: var(--ink-2);
  transition: color 150ms ease, background 150ms ease;
}
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-weight: 600;
  transition: transform 150ms ease, background 150ms ease;
}
.nav-cta:hover { background: #14241d; transform: translateY(-1px); }
.nav-cta.dark { color: #fff; background: var(--ink); }

/* ---------------------------------------------------------------- Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: center;
  transition: transform 150ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.button.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 30px rgba(10, 125, 84, 0.24);
}
.button.primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 16px 38px rgba(10, 125, 84, 0.3); }
.button.ghost,
.button.secondary-dark {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}
.button.ghost:hover,
.button.secondary-dark:hover { border-color: #cdd8d2; background: var(--paper-2); }
.button.full { width: 100%; }

/* ---------------------------------------------------------------- Hero */
.hero {
  padding: clamp(130px, 16vh, 196px) var(--pad-x) clamp(56px, 7vw, 96px);
  background:
    radial-gradient(900px 500px at 92% -10%, rgba(10, 125, 84, 0.07), transparent 62%),
    linear-gradient(180deg, #ffffff, var(--paper-2));
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(400px, 1.08fr);
  gap: clamp(32px, 4.5vw, 68px);
  align-items: center;
}
.hero-head { max-width: 560px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(10, 125, 84, 0.14);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  font-weight: 680;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero-sub {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  line-height: 1.6;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.94rem;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust li::before {
  content: "";
  width: 17px; height: 17px; flex: none;
  border-radius: 50%;
  background: var(--green-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7d54' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ---------------------------------------------------------------- Product window */
.app-window {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.app-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-2);
  background: var(--paper-2);
}
.app-dots { display: inline-flex; gap: 7px; }
.app-dots i { width: 11px; height: 11px; border-radius: 50%; background: #d6ddd8; }
.app-dots i:nth-child(1) { background: #ff5f57; }
.app-dots i:nth-child(2) { background: #febc2e; }
.app-dots i:nth-child(3) { background: #28c840; }
.app-url {
  margin: 0 auto;
  padding: 4px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: -0.01em;
}
.app-body { display: grid; grid-template-columns: 140px 1fr; min-height: 340px; }
.app-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 12px;
  border-right: 1px solid var(--line-2);
  background: #fbfdfc;
}
.app-logo {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  margin-bottom: 8px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #11a06d, var(--green-dark));
  font-size: 0.7rem;
  font-weight: 800;
}
.app-nav { display: grid; gap: 3px; }
.app-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.app-nav a svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.app-nav a.is-active { color: var(--green-dark); background: var(--green-soft); }
.app-agent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.app-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(10, 125, 84, 0.45);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(10, 125, 84, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(10, 125, 84, 0); }
  100% { box-shadow: 0 0 0 0 rgba(10, 125, 84, 0); }
}
.app-main { display: grid; gap: 14px; align-content: start; padding: 18px; }
.app-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-ship strong { display: block; font-size: 0.98rem; }
.app-ship span { color: var(--muted); font-size: 0.82rem; }
.app-flag {
  padding: 4px 11px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700;
}
.app-flag.risk { background: #f9e6dd; color: #9a4124; }
.feed { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.feed-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--paper-2);
}
.feed-item strong { font-size: 0.9rem; font-weight: 600; }
.feed-item small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.8rem; line-height: 1.4; }
.feed-ico {
  display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  font-size: 0.78rem; font-weight: 800; color: #fff;
}
.feed-item.done .feed-ico { background: var(--green); }
.feed-item.alert .feed-ico { background: var(--clay); }
.feed-item.draft .feed-ico { background: #2f6f9e; }
.feed-item.draft { border-color: #cfe0ec; background: #f1f7fb; }
.app-approve {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.app-await { color: var(--green-dark); font-size: 0.84rem; font-weight: 700; }
.app-approve-btns { display: inline-flex; gap: 8px; }
.app-btn {
  min-height: 34px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink-2);
  font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer;
}
.app-btn.go { border-color: transparent; background: var(--green); color: #fff; }

/* ---------------------------------------------------------------- Credibility strip */
.cred {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px clamp(20px, 4vw, 48px);
  padding: 30px var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.cred-lead { margin: 0; color: var(--muted); font-size: 0.84rem; font-weight: 600; letter-spacing: 0.02em; }
.cred-list { display: flex; flex-wrap: wrap; gap: 12px clamp(20px, 4vw, 44px); margin: 0; padding: 0; list-style: none; }
.cred-list li { color: var(--ink-2); font-weight: 600; font-size: 1rem; opacity: 0.85; }

/* ---------------------------------------------------------------- Sections + headings */
.section { padding: clamp(80px, 10vw, 140px) var(--pad-x); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-kicker {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.section h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 680;
  line-height: 1.07;
  letter-spacing: -0.03em;
}
.section-lede { max-width: 640px; margin: 20px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.62; }
.section-head.light .section-kicker { color: #6fe0b0; }
.section-head.light h2 { color: #fff; }
.section-head.light .section-lede { color: rgba(255, 255, 255, 0.72); }

/* ---------------------------------------------------------------- Problem stats */
.problem { background: #fff; }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--green);
  line-height: 1;
}
.stat-label { margin: 0; color: var(--ink-2); line-height: 1.5; }

/* ---------------------------------------------------------------- How it works */
.how { background: var(--paper-2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.step-visual {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 18px;
  border-radius: var(--radius);
  background:
    radial-gradient(420px 200px at 50% 0%, rgba(10, 125, 84, 0.06), transparent 70%),
    var(--paper-2);
}
.mini { width: 100%; display: grid; gap: 9px; }
.mini-sources { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip {
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff; color: var(--ink-2);
  font-size: 0.82rem; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.chip.ghost { background: transparent; box-shadow: none; color: var(--muted); border-style: dashed; }
.mini-line {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line-2);
  font-size: 0.82rem; font-weight: 500; color: var(--ink-2);
}
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--green); }
.dot.warn { background: var(--amber); }
.mini-bar { height: 7px; border-radius: 999px; background: var(--line); overflow: hidden; }
.mini-bar i { display: block; height: 100%; background: var(--green); border-radius: 999px; }
.mini-approve { justify-items: center; text-align: center; gap: 12px; }
.mini-msg {
  margin: 0; padding: 10px 14px; width: 100%;
  border-radius: 10px; background: #f1f7fb; border: 1px solid #cfe0ec;
  color: #2f6f9e; font-weight: 600; font-size: 0.86rem;
}
.mini-actions { display: inline-flex; gap: 8px; }
.mini-btn {
  padding: 7px 16px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff;
  font-size: 0.82rem; font-weight: 600; color: var(--ink-2);
}
.mini-btn.go { border-color: transparent; background: var(--green); color: #fff; }
.mini-note { color: var(--muted); font-size: 0.8rem; line-height: 1.4; }
.step-copy { display: grid; gap: 8px; }
.step-num { color: var(--green); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; }
.step-copy h3 { margin: 0; font-size: 1.2rem; font-weight: 650; letter-spacing: -0.02em; }
.step-copy p { margin: 0; color: var(--muted); line-height: 1.58; }

/* ---------------------------------------------------------------- Agents bento */
.agents { background: #fff; }
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px;
}
.bento-tile {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 240ms cubic-bezier(0.22,1,0.36,1), box-shadow 240ms ease, border-color 240ms ease;
}
.bento-tile:hover { transform: translateY(-4px); border-color: #d3e0d9; box-shadow: var(--shadow-md); }
.bento-tile h3 { margin: 0; font-size: 1.16rem; font-weight: 650; letter-spacing: -0.02em; }
.bento-tile p { margin: 0; color: var(--muted); line-height: 1.58; }
.bento-tile.feature {
  grid-row: span 2;
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(10, 125, 84, 0.08), transparent 64%),
    #fff;
  border-color: #cfe2d8;
}
.bento-tag {
  width: max-content;
  padding: 4px 11px; border-radius: 999px;
  background: var(--green-soft); color: var(--green-dark);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
}
.bento-mini { display: grid; gap: 8px; margin-top: 8px; }
.bento-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border-radius: 11px;
  background: var(--paper-2);
  font-size: 0.88rem; font-weight: 600;
}
.tag {
  padding: 3px 10px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; font-style: normal; white-space: nowrap;
}
.tag.ok { background: var(--green-soft); color: var(--green-dark); }
.tag.warn { background: #fbf0dd; color: #8a5a14; }
.tag.risk { background: #f9e3da; color: #8a3a22; }

/* ---------------------------------------------------------------- Results (dark band) */
.results { padding: clamp(28px, 5vw, 64px) var(--pad-x); background: #fff; }
.results-band {
  display: grid;
  gap: clamp(36px, 5vw, 60px);
  padding: clamp(52px, 7vw, 92px) clamp(28px, 5vw, 76px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(800px 380px at 88% 0%, rgba(17, 160, 109, 0.22), transparent 60%),
    linear-gradient(180deg, #102a20, var(--ink-band));
  color: #fff;
}
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.metric { display: grid; gap: 12px; }
.metric-num {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.02;
  color: #fff;
}
.metric-num i { font-style: normal; color: #6fe0b0; font-weight: 600; }
.metric p { margin: 0; color: rgba(255, 255, 255, 0.66); line-height: 1.55; }

/* ---------------------------------------------------------------- Proof */
.proof { display: grid; gap: 22px; background: var(--paper-2); }
.quote {
  margin: 0;
  max-width: 880px;
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.quote blockquote {
  margin: 0;
  font-size: clamp(1.22rem, 2.2vw, 1.62rem);
  font-weight: 500; line-height: 1.42; letter-spacing: -0.02em;
}
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.quote figcaption > span:last-child { display: grid; color: var(--muted); font-size: 0.92rem; }
.quote figcaption strong { color: var(--ink); font-size: 1rem; }
.quote-avatar, .founder-avatar {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(145deg, #11a06d, var(--green-dark));
  color: #fff; font-size: 1rem; font-weight: 700;
}
.founder {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 28px);
  max-width: 880px;
  padding: clamp(20px, 3vw, 30px) clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.founder-copy { display: grid; gap: 3px; }
.founder-copy p { margin: 0 0 6px; max-width: 640px; color: var(--ink); font-size: 1.06rem; font-weight: 500; line-height: 1.5; letter-spacing: -0.01em; }
.founder-copy strong { font-size: 0.98rem; font-weight: 600; }
.founder-copy span { color: var(--muted); font-size: 0.9rem; }

/* ---------------------------------------------------------------- Credentials */
.credentials { background: #fff; }
.credential-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  margin: 0 0 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
}
.credential-tab {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}
.credential-tab.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.identity-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.identity-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 172px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.identity-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.02em;
}
.identity-card strong {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 690;
}
.identity-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}
.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card-style-grid { margin-top: 0; }
.credential-card {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}
.card-style-grid .credential-card {
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.credential-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.credential-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 760;
  letter-spacing: 0.01em;
}
.lynkyro-card .credential-mark { background: #2457d6; }
.export-card .credential-mark { background: var(--green); }
.credential-label {
  margin: 0 0 4px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.02em;
}
.credential-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  font-weight: 680;
  letter-spacing: 0;
}
.credential-card p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.62;
}
.credential-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.credential-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.5;
}
.credential-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.credential-link {
  width: max-content;
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}
.credential-link:hover { text-decoration: underline; }
.proof-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.proof-chip-grid span {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 620;
  line-height: 1.25;
}
.project-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.project-item {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.project-item span {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.04em;
}
.project-item h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 660;
  letter-spacing: 0;
}
.project-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.52;
}

/* ---------------------------------------------------------------- Engagement */
.start { background: #fff; }
.start-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.start-step {
  position: relative;
  display: grid; gap: 10px; align-content: start;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}
.start-step span {
  display: grid; place-items: center;
  width: 38px; height: 38px; margin-bottom: 6px;
  border-radius: 11px;
  color: #fff; background: var(--green);
  font-size: 0.9rem; font-weight: 700;
}
.start-step h3 { margin: 0; font-size: 1.14rem; font-weight: 650; letter-spacing: -0.02em; }
.start-step p { margin: 0; color: var(--muted); line-height: 1.56; }

/* ---------------------------------------------------------------- FAQ */
.faq-section { background: var(--paper-2); }
.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 6px 24px;
  transition: border-color 200ms ease;
}
.faq-list details[open] { border-color: #d3e0d9; }
.faq-list summary {
  position: relative;
  display: block;
  padding: 16px 34px 16px 0;
  font-weight: 600; font-size: 1.04rem; letter-spacing: -0.01em;
  cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; top: 50%; right: 2px;
  width: 12px; height: 12px; margin-top: -6px;
  background:
    linear-gradient(var(--green), var(--green)) center / 12px 2px no-repeat,
    linear-gradient(var(--green), var(--green)) center / 2px 12px no-repeat;
  transition: transform 220ms ease;
}
.faq-list details[open] summary::after { transform: rotate(90deg); }
.faq-list p { margin: 0 0 18px; color: var(--muted); line-height: 1.62; }

/* ---------------------------------------------------------------- Onboarding form */
.onboarding-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 0.82fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
  background: #fff;
}
.workflow-review-section { scroll-margin-top: 78px; }
.onboarding-copy { position: sticky; top: 100px; display: grid; gap: 18px; }
.onboarding-copy h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 680; line-height: 1.08; letter-spacing: -0.03em; }
.onboarding-copy > p { margin: 0; color: var(--muted); line-height: 1.6; }
.small-note { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

.receive-list { display: grid; gap: 11px; margin: 4px 0 0; padding: 0; list-style: none; }
.receive-list li {
  position: relative; padding-left: 28px;
  color: var(--ink-2); font-weight: 500; line-height: 1.45;
}
.receive-list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7d54' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.onboarding-form,
.admin-card { display: grid; gap: 18px; }

.review-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
}
.review-tab {
  min-height: 46px; border: 0; border-radius: 10px;
  color: var(--muted); background: transparent;
  font: inherit; font-weight: 600; cursor: pointer;
  transition: color 150ms ease, background 150ms ease;
}
.review-tab:hover { color: var(--ink); }
.review-tab.is-active { color: #fff; background: var(--green); }

.review-tab-panel { display: grid; gap: 18px; animation: panelIn 200ms ease both; }
.review-tab-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tab-panel-heading {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.tab-panel-heading > span {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  padding: 8px 14px; border-radius: 999px;
  color: var(--green-dark); background: var(--green-soft);
  font-size: 0.8rem; font-weight: 700; line-height: 1.2;
}
.tab-panel-heading > span small { font-size: 0.68rem; font-weight: 600; opacity: 0.85; }
.tab-panel-heading h3 { margin: 0; font-size: 1.2rem; font-weight: 650; letter-spacing: -0.02em; }
.tab-panel-heading p { margin: 6px 0 0; color: var(--muted); line-height: 1.5; }

.tab-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }

.form-assist,
.core-form,
.form-block,
.intake-summary,
.blueprint-preview {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.form-assist { display: grid; gap: 16px; }
.form-assist h3,
.form-block h3,
.intake-summary h3,
.blueprint-preview h3 { margin: 0; font-size: 1.08rem; font-weight: 650; letter-spacing: -0.015em; }
.form-assist > div p { margin: 4px 0 0; color: var(--muted); line-height: 1.5; }

.core-form { display: grid; gap: 18px; border-color: #cfe2d8; background: linear-gradient(180deg, #fbfdfc, #fff); }
.form-row, .form-subgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.onboarding-form label,
.admin-card label,
.form-block label { display: grid; gap: 8px; color: var(--ink-2); font-weight: 600; font-size: 0.95rem; }

input, select, textarea {
  width: 100%; min-height: 48px;
  border: 1px solid var(--line); border-radius: 11px;
  padding: 12px 14px; color: var(--ink); background: #fff;
  font: inherit; letter-spacing: -0.003em;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(10, 125, 84, 0.14);
}
textarea { resize: vertical; }
input[type="checkbox"], input[type="radio"] { width: auto; min-height: auto; accent-color: var(--green); }
input[type="file"] { padding: 9px 12px; cursor: pointer; }

.preset-row, .option-grid { display: grid; gap: 10px; }
.preset-row { grid-template-columns: repeat(4, 1fr); }
.preset-button {
  min-height: 42px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--green-dark); background: #fff;
  font: inherit; font-weight: 600; cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}
.preset-button:hover { border-color: var(--green); background: var(--green-soft); }

.progress-wrap { display: grid; gap: 8px; }
.progress-label { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 0.9rem; }
.progress-label strong { color: var(--green-dark); }
.progress-track { height: 7px; overflow: hidden; border-radius: 999px; background: var(--line); }
.progress-track span { display: block; width: 0%; height: 100%; border-radius: 999px; background: var(--green); transition: width 200ms ease; }

.option-grid label { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 0.94rem; }
.tile-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile-options label {
  display: grid; gap: 5px; align-content: start; min-height: 116px; padding: 16px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 600;
  transition: border-color 150ms ease;
}
.tile-options label:hover { border-color: #cddbd4; }
.tile-options input { justify-self: start; }
.tile-options span { color: var(--muted); font-size: 0.86rem; font-weight: 400; line-height: 1.4; }

.form-block { display: grid; gap: 18px; }
.form-block-heading { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.form-block-heading > span {
  display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%;
  color: #fff; background: var(--green); font-size: 0.86rem; font-weight: 700;
}
.form-block-heading h3 { margin: 0; }
.form-block-heading p { margin: 4px 0 0; color: var(--muted); line-height: 1.45; }
.form-subgrid h4 { margin: 0 0 10px; font-size: 0.95rem; font-weight: 600; }

.intake-summary, .blueprint-preview { background: var(--paper-2); }
.intake-summary p, .blueprint-preview p { margin: 10px 0 0; color: var(--ink-2); white-space: pre-wrap; line-height: 1.55; }
.submit-now-note { margin-top: -4px; text-align: right; }
.form-note { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

/* ---------------------------------------------------------------- Footer */
.footer {
  display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: clamp(44px, 5vw, 68px) var(--pad-x);
  color: var(--muted); background: var(--ink-band);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand { display: grid; gap: 8px; max-width: 420px; }
.footer .brand { color: #fff; }
.footer .brand em { color: #6fe0b0; }
.footer-fine { font-size: 0.85rem; color: rgba(255, 255, 255, 0.45); line-height: 1.5; }
.footer-brand > span:not(.footer-fine) { color: rgba(255, 255, 255, 0.66); }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: #fff; }

/* ---------------------------------------------------------------- Scroll reveal */
.reveal-armed { opacity: 0; transform: translateY(20px); }
.reveal-armed {
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal-armed.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal-armed { opacity: 1; transform: none; transition: none; }
  .app-pulse { animation: none; }
  .button:hover, .bento-tile:hover, .nav-cta:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* ====================================================================
   ADMIN PAGE (shares components above)
   ==================================================================== */
.admin-body { background: var(--paper-2); }
.admin-main { padding: 112px var(--pad-x) 72px; }
.admin-intro { max-width: 900px; margin-bottom: 30px; }
.admin-intro h1 { margin: 0; font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 680; line-height: 1.05; letter-spacing: -0.03em; }
.admin-intro p { color: var(--muted); line-height: 1.6; }
.admin-grid { display: grid; grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr); gap: 20px; align-items: start; }
.outreach-guide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.outreach-guide div { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.outreach-guide span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 999px; color: #fff; background: var(--green); font-size: 0.76rem; font-weight: 700; }
.outreach-guide strong { line-height: 1.25; font-weight: 600; }
.outreach-guide p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.admin-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.admin-card h2 { margin: 0; font-size: 1.18rem; font-weight: 650; letter-spacing: -0.02em; }
.admin-focus { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 12px; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.admin-focus label { display: flex; gap: 9px; align-items: center; }
.email-rules { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); }
.email-rules label { display: flex; gap: 9px; align-items: center; color: var(--ink-2); font-weight: 500; }
.lead-log-card { margin-top: 18px; }
.lead-log-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.lead-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.lead-filters label {
  display: grid; gap: 5px; min-width: 150px;
  color: var(--muted); font-size: 0.78rem; font-weight: 600;
}
.lead-filters select {
  width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 10px; background: #fff; color: var(--ink); font: inherit; font-size: 0.9rem;
}
.lead-log { display: grid; gap: 10px; }
.lead-log article, .lead-log p { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); }
.lead-log article { display: grid; gap: 4px; }
.lead-log span, .lead-log small { color: var(--muted); }
.text-action { width: max-content; border: 0; padding: 0; color: var(--green-dark); background: transparent; font: inherit; font-weight: 600; cursor: pointer; }
.text-action:hover { text-decoration: underline; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.admin-actions.compact { margin-top: 0; }
.hubspot-panel {
  display: grid; gap: 14px;
  padding: 16px; border: 1px solid #cfe2d8; border-radius: 12px;
  background: linear-gradient(180deg, #fbfdfc, #fff);
}
.hubspot-panel > div:first-child { display: grid; gap: 4px; }
.hubspot-panel strong { font-weight: 650; }
.hubspot-panel span { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.domain-health-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.domain-health-item {
  display: grid; gap: 3px; min-height: 64px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.domain-health-item strong { font-size: 0.86rem; }
.domain-health-item span { font-size: 0.8rem; }
.domain-health-item.ok { border-color: #b8dcca; background: #f6fbf8; }
.domain-health-item.warn { border-color: #f1d5a5; background: #fffaf0; }
.dns-record-panel {
  display: grid; gap: 12px; padding: 14px;
  border: 1px solid #f1d5a5; border-radius: 12px; background: #fffaf0;
}
.dns-record-panel[hidden] { display: none; }
.dns-record-panel strong { font-size: 0.92rem; }
.dns-record-grid {
  display: grid; grid-template-columns: minmax(72px, 0.22fr) minmax(0, 1fr);
  gap: 8px 12px; align-items: start;
}
.dns-record-grid span { color: var(--muted); font-size: 0.84rem; }
.dns-record-grid code {
  overflow-wrap: anywhere; padding: 5px 7px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink); font-size: 0.84rem;
}
.campaign-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.campaign-stat { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); }
.campaign-stat strong { font-size: 1.4rem; line-height: 1; }
.campaign-stat span { color: var(--muted); font-size: 0.84rem; line-height: 1.35; }
.readiness-panel {
  display: grid; gap: 12px; margin: 16px 0; padding: 16px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2);
}
.readiness-panel > div:first-child { display: grid; gap: 4px; }
.readiness-panel span { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.readiness-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.readiness-item {
  display: grid; gap: 3px; min-height: 58px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.readiness-item strong { font-size: 0.82rem; line-height: 1.25; }
.readiness-item span { font-size: 0.78rem; }
.readiness-item.ok { border-color: #b8dcca; background: #f6fbf8; }
.readiness-item.warn { border-color: #f1d5a5; background: #fffaf0; }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1040px) {
  .hero-inner,
  .onboarding-section,
  .admin-grid { grid-template-columns: 1fr; }
  .hero { padding-top: clamp(116px, 15vh, 160px); }
  .onboarding-copy { position: static; }
  .stat-cards,
  .steps,
  .start-steps,
	  .metrics,
	  .identity-card-grid,
	  .credential-grid,
	  .outreach-guide { grid-template-columns: 1fr; }
	  .project-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-tile.feature { grid-row: auto; grid-column: 1 / -1; }
  .tile-options { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header, .admin-header { padding-block: 12px; }
  .nav-links { display: none; }
  .hero h1 { font-size: clamp(2.3rem, 9vw, 3rem); }
  .hero-cta .button { flex: 1 1 auto; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .app-logo { margin-bottom: 0; }
  .app-nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .app-nav a { padding: 6px 9px; }
  .app-agent { margin: 0 0 0 auto; padding: 0; }
  .app-main { padding: 14px; }
  .app-approve { flex-direction: column; align-items: stretch; gap: 10px; }
  .app-approve-btns { justify-content: flex-end; }
  .bento,
  .stat-cards,
  .steps,
  .start-steps,
	  .metrics,
	  .identity-card-grid,
	  .credential-grid,
	  .project-showcase,
	  .proof-chip-grid,
	  .campaign-stats,
  .domain-health-grid,
  .readiness-grid,
  .form-row,
  .form-subgrid,
  .preset-row,
  .review-tabs,
  .tile-options,
  .outreach-guide,
  .admin-focus { grid-template-columns: 1fr; }
  .tab-panel-heading { grid-template-columns: 1fr; }
	  .quote figcaption, .founder { flex-direction: column; text-align: center; }
	  .credential-tabs { display: grid; grid-template-columns: 1fr; }
	  .credential-card-head { align-items: flex-start; }
	  .founder-copy { justify-items: center; }
  .founder-copy p { text-align: center; }
  .footer { flex-direction: column; }
}
