/* Kalc marketing site — Brand Identity v3.1 */
:root {
  --navy: #0B1F3A;
  --navy-light: #122a4a;
  --teal: #00C4B4;
  --teal-hover: #00a89a;
  --critical: #D93025;
  --high: #F5A623;
  --success: #1A8A5A;
  --slate-light: #F4F6F9;
  --slate-mid: #8A95A3;
  --slate-dark: #2C3E50;
  --white: #ffffff;
  --font-display: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --max-width: 1120px;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(11, 31, 58, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate-dark);
  background: var(--white);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 196, 180, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--slate-light);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover { color: var(--white); }

.nav-cta {
  color: var(--navy) !important;
  background: var(--teal);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--teal-hover);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
}

/* Hero */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.hero-subhead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate-mid);
  margin: 0 0 2rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--teal-hover);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  border-color: var(--white);
  text-decoration: none;
}

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

.hero-trust {
  font-size: 0.8125rem;
  color: var(--slate-mid);
  margin: 0;
}

/* Hero visual — CSS placeholder until SVG asset lands */
.hero-visual { display: flex; justify-content: center; }

.grid-mock {
  display: grid;
  grid-template-columns: repeat(3, 72px);
  grid-template-rows: repeat(3, 72px);
  gap: 8px;
  padding: 1.5rem;
  background: var(--navy-light);
  border-radius: 12px;
  border: 1px solid rgba(0, 196, 180, 0.2);
  box-shadow: var(--shadow);
}

.cell {
  background: rgba(244, 246, 249, 0.08);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cell.verified {
  background: rgba(0, 196, 180, 0.2);
  border-color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cell.verified .check {
  color: var(--teal);
  font-size: 1.5rem;
  font-weight: 700;
}

.cell.ref {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--teal);
}

.cell.severity-high {
  background: rgba(245, 166, 35, 0.25);
  border-color: var(--high);
}

/* Outcomes */
.outcomes {
  padding: 5rem 0;
  background: var(--slate-light);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.75rem;
  text-align: center;
}

.section-lead {
  text-align: center;
  color: var(--slate-mid);
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.outcome-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.outcome-icon {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.outcome-card h3 {
  font-size: 1.0625rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.outcome-card p {
  font-size: 0.9375rem;
  color: var(--slate-mid);
  margin: 0;
  line-height: 1.55;
}

/* Proof */
.proof {
  padding: 4rem 0;
  background: var(--white);
}

.proof-inner { max-width: 48rem; margin: 0 auto; }

blockquote {
  margin: 0 0 2.5rem;
  padding: 0;
  border: none;
}

blockquote p {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy);
  text-align: center;
}

.proof-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
}

.proof-item strong {
  font-size: 0.9375rem;
  color: var(--navy);
}

.proof-item span {
  font-size: 0.875rem;
  color: var(--slate-mid);
}

/* Pricing */
.pricing {
  padding: 5rem 0;
  background: var(--navy);
  color: var(--white);
}

.pricing .section-title,
.pricing .section-lead { color: var(--white); }
.pricing .section-lead { color: var(--slate-mid); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.price-card {
  position: relative;
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.price-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}

.badge {
  position: absolute;
  top: -0.625rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--navy);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 1rem;
  margin: 0.5rem 0 0.75rem;
}

.price { margin: 0 0 1rem; }

.amount {
  font-size: 2rem;
  font-weight: 700;
}

.period {
  font-size: 0.875rem;
  color: var(--slate-mid);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-card li {
  font-size: 0.875rem;
  color: var(--slate-mid);
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.75rem;
}

.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--slate-mid);
}

.pricing-note a { color: var(--teal); }

/* CTA band */
.cta-band {
  padding: 4rem 0;
  background: var(--slate-light);
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.cta-inner p {
  color: var(--slate-mid);
  margin: 0 0 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--slate-mid);
  padding: 2.5rem 0;
  font-size: 0.875rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 0.35rem;
}

.footer-brand p { margin: 0; }

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a { color: var(--slate-mid); }
.footer-links a:hover { color: var(--white); }

.footer-copy {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .outcome-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-points { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy);
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0, 196, 180, 0.15);
  }

  .nav.open { display: flex; }

  .outcome-grid,
  .pricing-grid { grid-template-columns: 1fr; }

  .hero { padding: 2.5rem 0 3rem; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}
