:root {
  --ink: #14213d;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --alt: #f4f6f9;
  --accent: #0f766e;
  --pin: #2563eb;
  --pipe: #0d9488;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--pin); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; }
nav a { color: var(--text); text-decoration: none; margin-left: 24px; font-size: 0.95rem; }
nav a:hover { color: var(--accent); }
@media (max-width: 640px) { nav a:not(:last-child) { display: none; } }

/* Hero */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, #f6f9fc 0%, #fff 100%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; color: var(--accent); }
.lead { font-size: 1.15rem; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-block; padding: 12px 20px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
}
.button:hover { background: #0b1529; }
.button.ghost { background: transparent; color: var(--ink); border: 1px solid #cbd5e1; }
.button.ghost:hover { border-color: var(--ink); }

.plan { margin: 0; }
.plan svg {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(20, 33, 61, 0.06), 0 12px 32px rgba(20, 33, 61, 0.1);
}
.plan figcaption { margin-top: 10px; text-align: center; font-size: 0.85rem; color: var(--muted); }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lead { max-width: 40em; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; }
.card-icon {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px;
  border-radius: 10px; background: #e6f4f2;
}
.card-icon svg { width: 22px; height: 22px; }

/* Product */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.tag {
  display: inline-block; margin-bottom: 12px; padding: 3px 10px; border-radius: 999px;
  background: #fef3c7; color: #92400e; font-size: 0.78rem; font-weight: 600;
}
.steps { list-style: none; counter-reset: step; margin: 20px 0 24px; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; margin-bottom: 18px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--pin); color: #fff; font-size: 0.9rem; font-weight: 700;
}

.sample { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 12px 32px rgba(20, 33, 61, 0.08); }
.sample-title { font-weight: 600; color: var(--ink); }
.sample dl { margin: 0; }
.sample dl div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sample dt::before {
  content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px;
  border-radius: 50%; background: var(--pin); vertical-align: 1px;
}
.sample .pipe dt::before { border-radius: 2px; background: var(--pipe); }
.sample dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.sample-note { margin: 14px 0 0; font-size: 0.85rem; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.details { display: grid; gap: 16px; margin: 0; }
.details div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.details dt { font-weight: 600; color: var(--ink); }
.details dd { margin: 0; }

/* Details still to fill in: highlighted so they can't go live unnoticed */
.fill { background: #fef08a; padding: 0 3px; border-radius: 3px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 0.9rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer a { color: var(--muted); }

/* Privacy page */
.prose { max-width: 760px; padding-top: 56px; padding-bottom: 72px; }
.prose h1 { font-size: 2.2rem; }
.prose h2 { font-size: 1.25rem; margin-top: 2em; }
.prose .updated { color: var(--muted); }

@media (max-width: 860px) {
  .hero-inner, .product, .contact, .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .section { padding: 56px 0; }
}
