/* WoundSight brand system
   Palette: warm ivory paper, deep ink, clinical teal primary, and a
   red→violet "beyond visible" spectral gradient used as a thin accent.
   Type: Fraunces (display), Inter (text). */

:root {
  --paper: #faf7f2;
  --paper-2: #f1ece3;
  --ink: #14161a;
  --ink-2: #3d4149;
  --muted: #6b7078;
  --line: #e2dcd0;
  --teal-700: #0b574e;
  --teal-600: #0e6e63;
  --teal-50: #edf7f5;
  --ember: #c33149;
  --spectrum: linear-gradient(90deg, #e4572e 0%, #d14140 22%, #c33149 45%, #a63565 68%, #8d3b72 84%, #4b3b8f 100%);
  --radius: 14px;
  --shadow: 0 1px 2px rgb(20 22 26 / 4%), 0 12px 32px -16px rgb(20 22 26 / 18%);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.shell { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 480; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); line-height: 1.04; margin: 0.4em 0; }
h1 em { font-style: italic; color: var(--teal-600); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.15; margin: 0 0 0.9em; }
h3 { font-size: 1.16rem; font-weight: 600; margin: 0 0 0.45em; }

a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.mark { width: 30px; height: 30px; }
.brand-name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; color: var(--ink); }
.brand-name-sm { font-size: 1.1rem; }
.brand-accent { color: var(--teal-600); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--teal-700); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  padding: 10px 20px; border: 1.5px solid transparent; transition: transform 0.06s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; }
.btn-primary { background: var(--teal-600); color: #fff; }
.btn-primary:hover { background: var(--teal-700); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--teal-600); color: var(--teal-700); }

/* Hero */
.hero { padding: 96px 24px 56px; text-align: left; }
.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-700); margin: 0;
}
.eyebrow-light { color: #e7b9a9; }
.lede { font-size: 1.22rem; color: var(--ink-2); max-width: 44rem; margin: 0 0 1.6em; }
.lede-light { color: #c9c4bc; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.spectrum-rule { height: 4px; width: 220px; border-radius: 2px; background: var(--spectrum); }
.hero-foot { color: var(--muted); font-size: 0.95rem; margin-top: 18px; }

/* Sections */
.section { padding: 72px 24px; }
.band { background: var(--paper-2); }
.band .shell, .dark .shell { padding: 0 24px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.card h3 { color: var(--teal-700); }
.card p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.card-slim p { font-size: 0.92rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 0; margin: 0; list-style: none; }
.steps h3 { margin-top: 12px; }
.steps p { color: var(--ink-2); font-size: 0.98rem; margin: 0; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  background: var(--teal-50); color: var(--teal-700); border: 1px solid color-mix(in srgb, var(--teal-600) 25%, transparent);
}

/* Dark technology section */
.dark { background: radial-gradient(1200px 500px at 70% -10%, #232030 0%, var(--ink) 55%); color: #f2efe9; }
.dark h2.light { color: #f6f1e7; }
.spectrum-band {
  display: flex; justify-content: space-between; align-items: flex-end;
  height: 56px; border-radius: 10px; padding: 0 18px 8px;
  background: var(--spectrum); color: rgb(255 255 255 / 85%);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  max-width: 720px; margin: 34px 0 22px;
}
.disclaimer { color: #9b96a8; font-size: 0.85rem; max-width: 620px; }

/* Final CTA + footer */
.cta-final { text-align: center; padding-bottom: 96px; }
.cta-final .lede { margin-left: auto; margin-right: auto; }
.footer { border-top: 1px solid var(--line); background: var(--paper-2); }
.footer-inner { display: flex; gap: 40px; justify-content: space-between; align-items: flex-start; padding: 36px 24px 44px; flex-wrap: wrap; }
.footer-note { color: var(--muted); font-size: 0.9rem; margin: 6px 0 0; }
.footer-legal { color: var(--muted); font-size: 0.8rem; max-width: 480px; margin: 0; }

@media (max-width: 860px) {
  .cards, .cards-4, .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding-top: 64px; }
}
