/* ============================================================
   iHRMS — Conversion-focused landing page
   Theme: clean white surface · ink type · single coral accent
   Typography: Inter Tight (variable) · JetBrains Mono (UI labels)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --bg:        #ffffff;
  --bg-2:      #fafafa;
  --bg-3:      #f4f4f4;
  --surface:   #ffffff;

  /* Ink */
  --ink:       #0a0a0a;
  --ink-2:     #1f1f1f;
  --ink-3:     #404040;
  --muted:     #6b6b6b;
  --muted-2:   #8a8a8a;

  /* Lines */
  --line:      #ececec;
  --line-2:    #e0e0e0;

  /* Accent — single, intentional */
  --accent:        #ff4d2e;
  --accent-deep:   #e63a1a;
  --accent-soft:   #ffe9e2;

  --ok:    #16a34a;
  --warn:  #d97706;

  /* Type */
  --sans:  "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Spacing & layout */
  --max:   1240px;
  --pad:   clamp(1.25rem, 4vw, 3rem);
  --r-sm:  10px;
  --r:     14px;
  --r-lg:  20px;

  /* Motion */
  --ease:    cubic-bezier(.2,.7,.2,1);
  --t-fast:  .18s;
  --t:       .32s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Base ---------- */
body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11", "cv02";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.skip {
  position: absolute; left: -1000px; top: 0;
  background: var(--ink); color: #fff;
  padding: .75rem 1rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  width: 100%;
}

/* ---------- Typography ---------- */
.display, .display-2 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--ink);
}
.display {
  font-size: clamp(2.6rem, 7.4vw, 5.6rem);
  margin-bottom: 1.4rem;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.display .accent { color: var(--accent); }
.display .ink    { color: var(--ink); }

.display-2 {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  letter-spacing: -0.035em;
}
.display-2 .accent { color: var(--accent); }

.kicker {
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.kicker::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 720px; }
.section-head-centered {
  margin-left: auto; margin-right: auto;
  text-align: center;
}
.section-sub {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 620px;
}
.section-head-centered .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--ink);
  --fg-btn: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.3rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .94rem;
  letter-spacing: -.005em;
  background: var(--bg-btn);
  color: var(--fg-btn);
  border: 1px solid transparent;
  transition:
    transform var(--t-fast) var(--ease),
    background var(--t) var(--ease),
    color var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { transition: transform var(--t) var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  --bg-btn: var(--ink);
  --fg-btn: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 8px 22px -10px rgba(10,10,10,.35);
}
.btn-primary:hover {
  --bg-btn: var(--accent);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 14px 30px -10px rgba(255,77,46,.55);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: .65rem 1rem;
}
.btn-ghost:hover { background: var(--bg-3); }

.btn-lg    { padding: 1rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,.92);
}
.header-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: .9rem;
  padding-bottom: .9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: 1.15rem;
  letter-spacing: -.025em;
  font-weight: 600;
  color: var(--ink);
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--accent);
  display: inline-grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}
.brand-name { font-weight: 600; letter-spacing: -.025em; }
.brand-lg { font-size: 1.35rem; }
.brand-lg .brand-mark { width: 36px; height: 36px; font-size: 1.15rem; border-radius: 9px; }

.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  gap: 1.75rem;
}
.primary-nav a {
  font-size: .92rem;
  color: var(--ink-3);
  position: relative;
  padding: .25rem 0;
  font-weight: 500;
  transition: color var(--t-fast) var(--ease);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--accent);
  transition: right var(--t) var(--ease);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after { right: 0; }

.header-cta {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  width: 42px; height: 42px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.hamburger span {
  width: 16px; height: 1.5px;
  background: var(--ink);
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-menu nav {
  padding: 1rem var(--pad) 2rem;
  display: flex;
  flex-direction: column;
}
.mobile-menu a {
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 500;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-cta { margin-top: 1rem; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%; right: -10%;
  width: 800px; height: 800px;
  background: radial-gradient(circle at center, rgba(255,77,46,.08), transparent 60%);
  pointer-events: none;
  filter: blur(20px);
  z-index: 0;
}
.hero-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  padding: .42rem .85rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: -.005em;
  margin-bottom: 1.5rem;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,77,46,.14);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,77,46,.14); }
  50%      { box-shadow: 0 0 0 7px rgba(255,77,46,.04); }
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hero-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: .9rem;
  color: var(--muted);
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.hero-meta svg { color: var(--accent); }

/* ---------- Hero visual (CSS dashboard mock) ---------- */
.hero-visual {
  position: relative;
  isolation: isolate;
  min-height: 480px;
}

.mock {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 24px 48px -22px rgba(10,10,10,.18),
    0 8px 20px -12px rgba(10,10,10,.08);
}

.mock-main {
  position: relative;
  z-index: 1;
  transform: rotate(.5deg);
  overflow: hidden;
  font-size: 13px;
}
.mock-bar {
  height: 36px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: .5rem;
  background: var(--bg-2);
}
.mock-bar > span:not(.mock-url) {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line-2);
}
.dot-r { background: #ff7a59 !important; }
.dot-y { background: #ffc34a !important; }
.dot-g { background: #4cc38a !important; }
.mock-url {
  margin-left: 1rem;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: -.005em;
}
.mock-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 360px;
}
.mock-side {
  border-right: 1px solid var(--line);
  background: var(--bg-2);
  padding: 1rem .5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
}
.mock-logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: .5rem;
}
.mock-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--bg-3);
}
.mock-icon.active {
  background: var(--ink);
  position: relative;
}
.mock-icon.active::after {
  content: "";
  position: absolute;
  inset: 9px;
  background: var(--accent);
  border-radius: 3px;
}

.mock-content { padding: 1.2rem; display: flex; flex-direction: column; gap: 1rem; }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.mock-stat {
  background: var(--bg-2);
  border-radius: 12px;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.mock-stat-label {
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
}
.mock-stat-value {
  font-family: var(--sans);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
}
.mock-trend { font-size: 11px; color: var(--muted); }
.mock-trend.up { color: var(--ok); }

.mock-chart {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .8rem;
  height: 110px;
}
.mock-chart svg { width: 100%; height: 100%; }

.mock-table {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.mock-tr {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: .6rem;
  padding: .55rem .8rem;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  background: #fff;
}
.mock-tr:last-child { border-bottom: 0; }
.av { width: 24px; height: 24px; border-radius: 50%; }
.av1 { background: linear-gradient(135deg, #ff7a59, #ffc34a); }
.av2 { background: linear-gradient(135deg, #4cc38a, #16a34a); }
.av3 { background: linear-gradient(135deg, #b3a4ff, #6e57e0); }
.tag {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .25rem .55rem;
  border-radius: 999px;
  font-weight: 600;
}
.tag-ok   { background: rgba(22,163,74,.12); color: var(--ok); }
.tag-warn { background: rgba(217,119,6,.14);  color: var(--warn); }

/* Floating cards */
.mock-float {
  position: absolute;
  left: -28px;
  bottom: 60px;
  z-index: 2;
  background: #fff;
  padding: .8rem 1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  border-radius: 14px;
  font-size: 12.5px;
  transform: rotate(-3deg);
  animation: floaty 6s ease-in-out infinite;
}
.mock-float strong { display: block; color: var(--ink); font-weight: 600; }
.mock-float span   { color: var(--muted); font-size: 11px; }
.mock-float-icon {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
}

.mock-stat-float {
  position: absolute;
  right: -10px;
  top: -10px;
  z-index: 2;
  background: var(--ink);
  color: #fff;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  border-color: var(--ink);
  transform: rotate(2.5deg);
  animation: floaty-r 7s ease-in-out infinite;
}
.mock-stat-float .mock-stat-label { color: rgba(255,255,255,.65); }
.mock-stat-float .mock-stat-value {
  color: var(--accent);
  font-size: 1.7rem;
  display: block;
  margin-top: .25rem;
  font-weight: 700;
}
.mock-stat-float .mock-stat-value em {
  font-style: normal;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .9rem;
  color: #fff;
  margin-left: 2px;
}

@keyframes floaty {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-3deg) translateY(-6px); }
}
@keyframes floaty-r {
  0%, 100% { transform: rotate(2.5deg) translateY(0); }
  50%      { transform: rotate(2.5deg) translateY(-7px); }
}

/* ---------- Trust / logos ---------- */
.trust {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.trust-label {
  text-align: center;
  font-family: var(--mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}
.logos img {
  height: auto;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: .55;
  filter: grayscale(1) contrast(.95);
  transition: opacity var(--t) var(--ease), filter var(--t) var(--ease), transform var(--t) var(--ease);
}
.logos img:hover {
  opacity: 1;
  filter: none;
  transform: translateY(-2px);
}

/* ---------- Benefits ---------- */
.benefits { padding: clamp(4rem, 9vw, 7rem) 0; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.benefit {
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  position: relative;
  transition: background var(--t) var(--ease);
}
.benefit:hover { background: var(--bg-2); }
.benefit-num {
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--accent);
  letter-spacing: .08em;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.benefit h3 {
  font-family: var(--sans);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: .65rem;
  line-height: 1.2;
}
.benefit p {
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.55;
}

/* ---------- Features ---------- */
.features {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.feature-cat {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.feature-cat:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 22px 48px -28px rgba(10,10,10,.18);
}
.feature-cat-head h3 {
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -.025em;
  margin-top: .85rem;
  line-height: 1.15;
}
.cat-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  padding: .25rem .65rem;
  background: var(--accent-soft);
  border-radius: 999px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.feature-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: .8rem;
  align-items: start;
}
.f-ico {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--bg-2);
  display: grid; place-items: center;
  color: var(--ink);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
/*.feature-list li:hover .f-ico {*/
/*  background: var(--ink);*/
/*  color: var(--accent);*/
/*}*/
.feature-list strong {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .15rem;
  letter-spacing: -.005em;
}
.feature-list span {
  display: block;
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.45;
}
.features-foot {
  text-align: center;
  margin-top: 3rem;
  color: var(--muted);
  font-size: .96rem;
}

/* ---------- Why / Compare ---------- */
.why { padding: clamp(4rem, 9vw, 7rem) 0; }
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.compare-col {
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
}
.compare-col h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -.025em;
  margin-bottom: 1.5rem;
}
.compare-col ul { display: flex; flex-direction: column; gap: .8rem; }
.compare-col li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.45;
}
.compare-col li::before {
  position: absolute;
  left: 0; top: .35em;
  font-size: .9rem;
}
.compare-old {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(10,10,10,.18);
  text-decoration-thickness: 1px;
}
.compare-old h3 { color: var(--muted-2); text-decoration: none; }
.compare-old li::before { content: "✕"; color: var(--muted-2); }
.compare-new {
  background: var(--ink);
  color: #fff;
}
.compare-new h3 { color: #fff; }
.compare-new li::before { content: "→"; color: var(--accent); font-weight: 700; }
.compare-badge {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .35rem .7rem;
  border-radius: 999px;
}

/* ---------- Proof / stats ---------- */
.proof {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.stat {
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  text-align: left;
}
.stat-num {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: .55rem;
}
.stat-label {
  font-size: .88rem;
  color: var(--muted);
}

.quote {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--ink);
  position: relative;
  padding: 0 clamp(1rem, 4vw, 3rem);
}
.quote blockquote::before,
.quote blockquote::after {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--accent);
  font-size: 2.5rem;
  line-height: 1;
  position: absolute;
}
.quote blockquote::before { content: "\201C"; left: 0; top: -.15em; }
.quote blockquote::after  { content: "\201D"; right: 0; bottom: -.45em; }
.quote .accent { color: var(--accent); }
.quote figcaption {
  margin-top: 1.75rem;
  font-size: .92rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.quote .who { color: var(--ink); font-weight: 600; }

/* ---------- Pricing ---------- */
.pricing { padding: clamp(4rem, 9vw, 7rem) 0; }

.billing-toggle {
  display: inline-flex;
  margin-top: 2rem;
  padding: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  position: relative;
}
.bt-opt {
  border: 0;
  background: transparent;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.bt-opt.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 12px -6px rgba(10,10,10,.4);
}
.bt-opt .save {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  padding: .12rem .45rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  letter-spacing: .02em;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.price-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 24px 50px -28px rgba(10,10,10,.18);
}
.price-card-featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.price-card-featured:hover {
  border-color: var(--ink);
  box-shadow: 0 28px 56px -22px rgba(10,10,10,.5);
}
.price-badge {
  position: absolute;
  top: -12px; left: 1.75rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .35rem .8rem;
  border-radius: 999px;
}

.price-head h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  margin-bottom: .35rem;
}
.price-tag {
  font-size: .9rem;
  color: var(--muted);
}
.price-card-featured .price-tag { color: rgba(255,255,255,.7); }

.price-amount {
  display: flex;
  align-items: baseline;
  gap: .15rem;
  font-family: var(--sans);
  letter-spacing: -.04em;
  margin-top: .25rem;
}
.price-amount .currency {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--muted);
  align-self: flex-start;
  margin-top: .6rem;
}
.price-card-featured .price-amount .currency { color: rgba(255,255,255,.7); }
.price-amount .num {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  transition: opacity var(--t) var(--ease);
}
.price-card-featured .price-amount .num { color: #fff; }
.price-amount .num.custom {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -.03em;
}
.price-amount .per {
  font-size: .85rem;
  color: var(--muted);
  margin-left: .5rem;
  font-weight: 500;
}
.price-card-featured .price-amount .per { color: rgba(255,255,255,.7); }

.price-note {
  font-size: .8rem;
  color: var(--muted);
  margin-top: -.4rem;
}
.price-card-featured .price-note { color: rgba(255,255,255,.7); }

.price-card-featured .btn-primary {
  --bg-btn: var(--accent);
  --fg-btn: #fff;
}
.price-card-featured .btn-primary:hover {
  --bg-btn: #fff;
  --fg-btn: var(--ink);
}
.price-card-featured .btn-outline {
  border-color: rgba(255,255,255,.35);
  color: #fff;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .92rem;
  color: var(--ink-3);
  line-height: 1.45;
}
.price-card-featured .price-list {
  border-top-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
}
.price-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: .65rem;
  align-items: start;
}
.price-list svg {
  color: var(--accent);
  margin-top: .25rem;
}

.pricing-foot {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: .92rem;
}

/* ---------- Add-ons ---------- */
.addons {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.addon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.addon {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.5vw, 1.85rem);
  display: flex;
  flex-direction: column;
  gap: .8rem;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.addon:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: 0 22px 48px -28px rgba(10,10,10,.16);
}
.addon-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: .25rem;
}
.addon h3 {
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -.02em;
}
.addon p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
  flex: 1;
}
.addon-foot {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: .25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.addon-price {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -.03em;
  color: var(--ink);
}
.addon-price em {
  font-style: normal;
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 2px;
}

/* ---------- Final CTA ---------- */
.cta { padding: clamp(4rem, 9vw, 7rem) 0; }
.cta-wrap {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-wrap::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,77,46,.32), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-wrap > * { position: relative; z-index: 1; }
.cta-wrap .kicker { color: var(--accent); }
.cta-wrap .kicker::before { background: var(--accent); }
.cta-wrap .display-2 { color: #fff; margin-top: .5rem; }
.cta-wrap .display-2 .accent { color: var(--accent); }
.cta-sub {
  margin-top: 1.25rem;
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  max-width: 480px;
}
.cta-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cta .btn-primary {
  --bg-btn: var(--accent);
  --fg-btn: #fff;
}
.cta .btn-primary:hover {
  --bg-btn: #fff;
  --fg-btn: var(--ink);
}
.cta .btn-outline {
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.cta .btn-outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-2);
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}
.footer-wrap {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer-brand p {
  color: var(--muted);
  margin-top: 1rem;
  font-size: .94rem;
  max-width: 280px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.footer-nav h4 {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
  color: var(--ink);
}
.footer-nav a {
  display: block;
  font-size: .94rem;
  color: var(--muted);
  padding: .35rem 0;
  transition: color var(--t-fast) var(--ease);
}
.footer-nav a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.5rem var(--pad);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: .85rem;
  margin: 0 auto;
}
.footer-tag { color: var(--muted-2); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.price-min {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.01em;
    color: var(--muted, #8a8a8a);
    margin: 0.35rem 0 1rem;
    opacity: 0.85;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .price-grid { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 960px) {
  .primary-nav,
  .header-cta { display: none; }
  .hamburger  { display: inline-flex; }
  .header-wrap { gap: 1rem; }

  .hero-wrap { grid-template-columns: 1fr; }
  .hero-visual { order: 2; min-height: 420px; margin-top: 1rem; }

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

  .cta-wrap { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }

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

@media (max-width: 640px) {
  .display { font-size: clamp(2.4rem, 11vw, 3.4rem); }

  .hero-visual { min-height: 380px; }
  .mock-float  { left: -10px; bottom: 30px; }
  .mock-stat-float { right: 4px; top: -6px; padding: .8rem 1rem; }
  .mock-stat-float .mock-stat-value { font-size: 1.4rem; }

  .logos { gap: 1.5rem 2rem; }
  .logos img { height: 26px; }

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

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Pricing: cards come from the database, so the count varies.
   auto-fit keeps three across on desktop but degrades cleanly
   when a plan is added or hidden in Platform → Plans.
   ============================================================ */
.price-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
}

