/* ============================================================
   TradeStatus — Marketing Site Styles
   Design system: deep navy operational SaaS, mono status ledger
   ============================================================ */

:root {
  /* Color */
  --navy-900: #0B1F33;
  --navy-800: #10283F;
  --navy-700: #17385A;
  --navy-600: #204873;

  --paper: #F7F5F0;
  --paper-raised: #FFFFFF;

  --ink: #10171F;
  --ink-soft: #3B4652;
  --slate: #5B6A78;
  --slate-light: #8C99A6;
  --line: #E3E1D9;
  --line-strong: #CFCDC3;
  --line-on-dark: rgba(255, 255, 255, 0.14);

  --blue: #2F5FE0;
  --blue-soft: #EBF0FE;
  --green: #1E7A4C;
  --green-soft: #E7F4EC;
  --amber: #A5680C;
  --amber-soft: #FBF0DC;
  --red: #B23A2E;
  --red-soft: #FBEBE8;
  --gray-status: #6B7580;
  --gray-status-soft: #EEEDE7;

  /* Type */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: 'IBM Plex Mono', "SFMono-Regular", Consolas, monospace;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-card: 0 1px 2px rgba(11, 31, 51, 0.06), 0 8px 24px -12px rgba(11, 31, 51, 0.18);
  --shadow-card-lg: 0 4px 12px rgba(11, 31, 51, 0.08), 0 24px 64px -20px rgba(11, 31, 51, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 650;
}

p { margin: 0; }

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

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

button { font-family: inherit; cursor: pointer; }

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

@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

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

.section {
  padding: 112px 0;
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
}

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

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 16px;
}

.section-head p {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.6;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--navy-900);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-700); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--navy-900); background: rgba(11,31,51,0.03); }

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
}
.btn-ghost:hover { background: rgba(11,31,51,0.05); }

.btn-on-dark {
  background: #fff;
  color: var(--navy-900);
}
.btn-on-dark:hover { background: #E9EEF5; transform: translateY(-1px); }

.btn-on-dark-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-on-dark-outline:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

.btn-lg { padding: 14px 26px; font-size: 15.5px; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }

/* ---------- Status chips (signature element) ---------- */

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px 4px 7px;
  border-radius: 4px;
  line-height: 1.4;
  white-space: nowrap;
}

.status-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  flex-shrink: 0;
}

.status-chip--green { background: var(--green-soft); color: var(--green); }
.status-chip--green::before { background: var(--green); }

.status-chip--amber { background: var(--amber-soft); color: var(--amber); }
.status-chip--amber::before { background: var(--amber); }

.status-chip--red { background: var(--red-soft); color: var(--red); }
.status-chip--red::before { background: var(--red); }

.status-chip--gray { background: var(--gray-status-soft); color: var(--gray-status); }
.status-chip--gray::before { background: var(--gray-status); }

.status-chip--blue { background: var(--blue-soft); color: var(--blue); }
.status-chip--blue::before { background: var(--blue); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(11,31,51,0.02);
  background: rgba(247, 245, 240, 0.95);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.logo-mark {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--navy-900); background: rgba(11,31,51,0.04); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-right .nav-link { padding: 8px 10px; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}

@media (max-width: 900px) {
  .nav-center { display: none; }
  .nav-right .nav-link, .nav-right .btn-secondary { display: none; }
  .nav-mobile-toggle { display: flex; }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--paper);
  z-index: 99;
  padding: 24px 20px;
  overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu .nav-link {
  display: block;
  font-size: 17px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { width: 100%; margin-top: 10px; }

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 100px;
  overflow: hidden;
}

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

.hero-copy { max-width: 760px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(38px, 6vw, 66px);
  letter-spacing: -0.03em;
}

.hero h1 .line-muted { color: var(--slate-light); }

.hero-sub {
  margin: 26px auto 0;
  max-width: 560px;
  font-size: 18px;
  color: var(--slate);
  line-height: 1.6;
}

.hero-cta {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--slate-light);
  font-family: var(--font-mono);
}

.hero-visual {
  margin-top: 64px;
}

/* Product mockup (browser chrome + dashboard) */

.mockup-window {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-lg);
  border: 1px solid var(--line);
  background: var(--paper-raised);
  opacity: 0;
  transform: translateY(18px);
  animation: mockup-in 0.8s var(--ease) 0.15s forwards;
}

@keyframes mockup-in {
  to { opacity: 1; transform: translateY(0); }
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #EFEEE8;
  border-bottom: 1px solid var(--line);
}

.mockup-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #D8D6CC;
}

.mockup-url {
  margin-left: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 10px;
}

.mockup-body {
  background: var(--paper-raised);
  padding: 28px 32px 34px;
  text-align: left;
}

.mockup-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 10px;
}

.mockup-header-row h3 {
  font-size: 15px;
  font-weight: 650;
  color: var(--navy-900);
}

.mockup-header-row .mockup-count {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--slate);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.stat-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 14px 12px;
  background: #FBFAF7;
}

.stat-tile .num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-900);
  display: block;
}

.stat-tile .label {
  font-size: 11.5px;
  color: var(--slate);
  margin-top: 4px;
  display: block;
}

.stat-tile.green .num { color: var(--green); }
.stat-tile.amber .num { color: var(--amber); }
.stat-tile.red .num { color: var(--red); }
.stat-tile.gray .num { color: var(--gray-status); }

.attn-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 10px;
}

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

.attn-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.attn-row .contractor { font-weight: 600; color: var(--ink); }
.attn-row .req { color: var(--slate); }

@media (max-width: 720px) {
  .mockup-body { padding: 18px 16px 22px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .attn-row { grid-template-columns: 1fr auto; }
  .attn-row .req { display: none; }
}

/* ---------- Trust strip ---------- */

.trust-strip {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip p {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--slate);
  text-transform: uppercase;
}

/* ---------- Problem grid ---------- */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.problem-card {
  background: var(--paper-raised);
  padding: 30px 26px 32px;
}

.problem-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-light);
  margin-bottom: 18px;
}

.problem-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ---------- Flow diagram (product value section) ---------- */

.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 8px 0 4px;
}

.flow-node {
  border: 1px solid var(--line-strong);
  background: var(--paper-raised);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  text-align: center;
  min-width: 150px;
}

.flow-node .flow-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 6px;
}

.flow-node .flow-title {
  font-weight: 650;
  font-size: 15px;
  color: var(--navy-900);
}

.flow-arrow {
  color: var(--slate-light);
  font-family: var(--font-mono);
  padding: 0 18px;
  font-size: 18px;
}

@media (max-width: 800px) {
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); padding: 6px 0; }
}

/* ---------- Feature sections (alternating) ---------- */

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

.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }

@media (max-width: 900px) {
  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-visual { order: initial; }
}

.feature-copy h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
}

.feature-copy > p {
  color: var(--slate);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 8px;
  background: var(--navy-900);
  border-radius: 1px;
  flex-shrink: 0;
}

.feature-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-raised);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.feature-visual-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: #FBFAF7;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
}

.feature-visual-body { padding: 22px 22px 26px; }

/* requirement checklist visual */
.req-list { display: flex; flex-direction: column; gap: 0; }
.req-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.req-item:last-child { border-bottom: none; }
.req-item .req-name { color: var(--ink); font-weight: 500; }

/* intake dropzone visual */
.intake-zone {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  color: var(--slate);
  font-size: 13.5px;
  margin-bottom: 18px;
}
.intake-files { display: flex; flex-direction: column; gap: 8px; }
.intake-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: #FBFAF7;
}
.intake-file .fname { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); }

/* expiration timeline visual */
.exp-list { display: flex; flex-direction: column; gap: 12px; }
.exp-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
}
.exp-item .exp-bar-wrap {
  height: 5px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.exp-item .exp-bar { height: 100%; border-radius: 3px; }
.exp-item .exp-name { font-weight: 550; color: var(--ink); white-space: nowrap; }

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step .step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { color: var(--slate); font-size: 14.5px; line-height: 1.6; }

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Coming soon ---------- */

.coming-soon {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #FBFAF7 0%, var(--paper-raised) 100%);
  padding: 52px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.coming-soon h2 { font-size: 27px; margin-bottom: 14px; }
.coming-soon p { color: var(--slate); font-size: 15.5px; line-height: 1.65; margin-bottom: 10px; }
.coming-soon .fine { font-size: 13px; color: var(--slate-light); margin-top: 16px; }

.cs-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-raised);
  padding: 20px;
}
.cs-visual .cs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 13px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.cs-visual .cs-row:last-child { border-bottom: none; }

@media (max-width: 800px) {
  .coming-soon { grid-template-columns: 1fr; padding: 34px 24px; }
}

/* ---------- Solutions ---------- */

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

.solution-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  background: var(--paper-raised);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.solution-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }

.solution-card .eyebrow { margin-bottom: 18px; }
.solution-card h3 { font-size: 18px; margin-bottom: 10px; }
.solution-card p { color: var(--slate); font-size: 14.5px; line-height: 1.6; }

@media (max-width: 900px) {
  .solutions-grid { grid-template-columns: 1fr; }
}

/* ---------- Comparison ---------- */

.compare-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-raised);
}

.compare-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
}

.compare-head > div {
  padding: 18px 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
}

.compare-head .col-ts {
  color: var(--navy-900);
  font-weight: 700;
  background: #F2F5FB;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  border-top: 1px solid var(--line);
}

.compare-row > div {
  padding: 15px 24px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-row .label { color: var(--ink-soft); }
.compare-row .col-old { color: var(--slate-light); }
.compare-row .col-ts { background: #FAFBFD; color: var(--ink); font-weight: 500; }

@media (max-width: 700px) {
  .compare-head, .compare-row { grid-template-columns: 1fr; }
  .compare-head .col-old, .compare-head .col-ts,
  .compare-row .col-old, .compare-row .col-ts { padding-top: 6px; padding-bottom: 6px; }
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-raised);
  padding: 34px 30px;
}

.price-card.featured {
  border-color: var(--navy-900);
  box-shadow: var(--shadow-card-lg);
  position: relative;
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 30px;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
}

.price-name { font-size: 15px; font-weight: 650; color: var(--navy-900); margin-bottom: 6px; }
.price-desc { font-size: 13.5px; color: var(--slate); margin-bottom: 22px; min-height: 40px; }
.price-amount { font-family: var(--font-mono); font-size: 36px; font-weight: 600; color: var(--navy-900); }
.price-amount .period { font-size: 14px; color: var(--slate); font-weight: 400; }
.price-card .btn { width: 100%; margin: 22px 0 24px; }

.price-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.price-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink-soft); }
.price-features li::before { content: ""; width: 5px; height: 5px; margin-top: 7px; background: var(--green); border-radius: 1px; flex-shrink: 0; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

/* ---------- ROI ---------- */

.roi-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.roi-item {
  background: var(--paper-raised);
  padding: 26px 18px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.4;
}
@media (max-width: 900px) { .roi-list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Security ---------- */

.security-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  background: var(--paper-raised);
  max-width: 760px;
}
.security-box p { color: var(--slate); font-size: 15.5px; line-height: 1.7; }
.security-box p + p { margin-top: 14px; }

/* ---------- FAQ ---------- */

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-900);
  font-family: var(--font-display);
}
.faq-q .plus {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--slate-light);
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s var(--ease);
}
.faq-a-inner { padding: 0 4px 22px; color: var(--slate); font-size: 14.5px; line-height: 1.65; max-width: 680px; }

/* ---------- Final CTA ---------- */

.final-cta {
  background: var(--navy-900);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(255,255,255,0.05), transparent 60%),
    radial-gradient(600px 300px at 85% 100%, rgba(255,255,255,0.04), transparent 60%);
  pointer-events: none;
}

.final-cta h2 {
  color: #fff;
  font-size: clamp(30px, 4.2vw, 48px);
  position: relative;
}

.final-cta p {
  color: rgba(255,255,255,0.68);
  max-width: 480px;
  margin: 18px auto 0;
  font-size: 16.5px;
  line-height: 1.6;
  position: relative;
}

.final-cta .hero-cta { margin-top: 32px; position: relative; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { color: var(--slate); font-size: 13.5px; max-width: 240px; line-height: 1.6; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: var(--ink-soft); }
.footer-col a:hover { color: var(--navy-900); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--slate-light); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Page hero (pricing/contact/legal) ---------- */

.page-hero {
  padding: 72px 0 56px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(32px, 4.5vw, 48px); }
.page-hero p { color: var(--slate); font-size: 17px; max-width: 560px; margin: 16px auto 0; line-height: 1.6; }

/* ---------- Contact / Demo form ---------- */

.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-raised);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row + .form-row { margin-top: 16px; }
.form-field { margin-top: 16px; }
.form-row:first-child, .form-wrap > .form-field:first-child { margin-top: 0; }

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 7px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper-raised);
  transition: border-color 0.15s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.form-field textarea { resize: vertical; min-height: 90px; }

.form-submit { margin-top: 26px; }
.form-submit .btn { width: 100%; }

.form-note {
  font-size: 12.5px;
  color: var(--slate-light);
  margin-top: 14px;
  text-align: center;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-wrap { padding: 26px 20px; }
}

/* ---------- Legal pages ---------- */

.legal-body {
  max-width: 720px;
  margin: 0 auto;
}
.legal-body h2 { font-size: 20px; margin: 36px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.legal-notice {
  border: 1px solid var(--amber);
  background: var(--amber-soft);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--amber);
  margin-bottom: 40px;
}

/* ---------- Pricing page toggle (billing) ---------- */

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  font-size: 14px;
  color: var(--slate);
}

.switch {
  width: 42px;
  height: 24px;
  border-radius: 12px;
  background: var(--line-strong);
  border: none;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s var(--ease);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.switch.is-on { background: var(--navy-900); }
.switch.is-on::after { transform: translateX(18px); }

.save-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  background: var(--green-soft);
  padding: 2px 7px;
  border-radius: 4px;
}
