/* Stravio — site styles · mobile-first · operator aesthetic */
:root {
  /* Stravio Ink — unique super-dark blue (not black, not flat navy) */
  --brand: #071E3D;
  --brand-soft: #0F335C;
  --brand-mid: #1A4F82;
  --brand-glow: rgba(7, 30, 61, 0.14);
  /* Body type may be near-black; chrome/headings stay brand blue */
  --type: #12141a;
  --ink: var(--brand);
  --ink-soft: var(--brand-soft);
  --muted: #3D5A73;
  --line: #D7E3EF;
  --surface: #F4F8FC;
  --surface-2: #E8F0F8;
  --white: #ffffff;
  --accent: var(--brand);
  --accent-hover: var(--brand-mid);
  --focus: #3B82F6;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px var(--brand-glow), 0 8px 24px var(--brand-glow);
  --max: 68rem;
  --nav-h: 4rem;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--type);
  background: var(--white);
  line-height: 1.55;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* Thick / display type stays Stravio Ink blue — never pure black */
h1, h2, h3, h4, .wordmark, .section-title, .card h3, .hero h1 {
  color: var(--brand);
}
/* Light text on dark brand panels */
.cta-band h1, .cta-band h2, .cta-band h3,
.cta-copy h2 {
  color: var(--white);
}
.hero-card h2 {
  color: #A8C0D8;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.wordmark {
  font-weight: 750;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 550;
  transition: color 0.15s var(--ease);
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.9rem;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}
.nav-cta:hover,
.nav-cta:focus-visible { background: var(--accent-hover); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle svg { width: 1.25rem; height: 1.25rem; }

.nav-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 0.75rem 0 1rem;
}
.nav-panel.is-open { display: block; }
.nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}
.nav-panel a {
  display: block;
  padding: 0.7rem 0;
  text-decoration: none;
  font-weight: 550;
  color: var(--ink-soft);
}
.nav-panel .nav-cta {
  margin-top: 0.5rem;
  width: 100%;
}

@media (min-width: 820px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
  .nav-panel { display: none !important; }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover,
.btn-primary:focus-visible { background: var(--accent-hover); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--ink);
  background: var(--surface);
}
.btn-block { width: 100%; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* —— Hero —— */
.hero {
  padding: 3rem 0 2.5rem;
}
.hero-grid {
  display: grid;
  gap: 2rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.85rem;
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 780;
  max-width: 14ch;
}
.hero-lead {
  margin: 0 0 1.5rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 38rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.micro-proof {
  margin: 0;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border-left: 3px solid var(--ink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40rem;
}

.hero-card {
  background: var(--ink);
  color: var(--white);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.hero-card h2 {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
}
.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}
.hero-card li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.98rem;
  line-height: 1.4;
}
.hero-card .mark {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #e2e8f0;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .hero { padding: 4.5rem 0 3.5rem; }
  .hero-grid {
    grid-template-columns: 1.35fr 0.9fr;
    align-items: center;
    gap: 3rem;
  }
}

/* —— Sections —— */
section {
  padding: 3.25rem 0;
}
.section-alt { background: var(--surface); }
.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}
.section-label {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-head h2,
.section-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 750;
}
.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

/* —— Who —— */
.who-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .who-grid { grid-template-columns: 1.2fr 0.8fr; }
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}
.panel h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
}
.panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.panel li {
  padding-left: 1.15rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--ink);
}
.panel-muted {
  background: var(--surface-2);
  box-shadow: none;
}
.panel-muted li::before { background: #94a3b8; }

/* —— Problem —— */
.problem-block {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .problem-block { grid-template-columns: 1fr 1fr; align-items: start; }
}
.problem-lead {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.problem-lead strong { color: var(--ink); }
.problem-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.problem-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  color: var(--ink-soft);
}
.problem-closer {
  margin: 1.25rem 0 0;
  font-weight: 650;
  color: var(--ink);
}

.definition {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}
.definition h2 {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}
.definition p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.5;
  color: #e2e8f0;
}

/* —— Solutions —— */
.cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow);
  transition: border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.card:hover { border-color: #cbd5e1; }
.card-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 0 0 auto; /* never grow — was matching .card p { flex:1 } */
}
.card h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  flex: 0 0 auto;
}
.card > p:not(.card-kicker) {
  margin: 0;
  color: var(--ink-soft);
  flex: 1 1 auto; /* only body copy absorbs leftover card height */
}
.path-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— How —— */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, 1fr); }
}
.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.25rem;
  counter-increment: step;
  position: relative;
}
.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.steps strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}
.steps span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* —— Measure —— */
.metrics {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .metrics { grid-template-columns: repeat(3, 1fr); }
}
.metric {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  font-weight: 600;
  font-size: 0.98rem;
}

/* —— About —— */
.about-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 860px) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}
.about-intro h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  letter-spacing: -0.03em;
}
.about-role {
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 600;
}
.about-frame {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.proof-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.proof-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.05rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.proof-list strong { color: var(--ink); }

/* —— CTA / Form —— */
.cta {
  padding-bottom: 4rem;
}
.cta-band {
  background: var(--ink);
  color: var(--white);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.75rem 1.35rem 1.85rem;
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 900px) {
  .cta-band {
    grid-template-columns: 0.95fr 1.05fr;
    padding: 2.25rem;
    gap: 2.5rem;
    align-items: start;
  }
}
.cta-copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
}
.cta-copy p {
  margin: 0;
  color: #cbd5e1;
  max-width: 34rem;
}
.cta-copy .email-hint {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: #94a3b8;
}
.cta-copy .email-hint a {
  color: #e2e8f0;
  font-weight: 600;
}

.form {
  display: grid;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.15rem;
}
.field {
  display: grid;
  gap: 0.35rem;
}
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
}
.field .req { color: #94a3b8; font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 30, 61, 0.55);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: #64748b; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #60a5fa;
  background: rgba(7, 30, 61, 0.85);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%94a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}
.field select option { color: var(--ink); background: var(--white); }
.field textarea { min-height: 5.5rem; resize: vertical; }
.form-row {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-note {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
}
.form-status {
  margin: 0;
  font-size: 0.9rem;
  color: #86efac;
  min-height: 1.25rem;
}
.form-status[data-state="error"] { color: #fda4af; }
.form .btn-primary {
  background: var(--white);
  color: var(--ink);
}
.form .btn-primary:hover,
.form .btn-primary:focus-visible {
  background: #e2e8f0;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: start;
}
.footer-brand {
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.footer-meta {
  margin: 0.35rem 0 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 550;
}
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--ink); }
.footer-note {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

/* —— Utilities —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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


/* —— Cal.com book panel (replaces lead form) —— */
.cta-book {
  display: grid;
  gap: 1rem;
  align-content: start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.45rem;
}
.cta-book-lead {
  margin: 0;
  color: #cbd5e1;
  font-size: 1.02rem;
  font-weight: 550;
}
.btn-on-dark {
  background: var(--white) !important;
  color: var(--brand) !important;
}
.btn-on-dark:hover,
.btn-on-dark:focus-visible {
  background: #E8F0F8 !important;
  color: var(--brand) !important;
}
.cta-book .form-note {
  margin: 0;
  color: #94a3b8;
  font-size: 0.85rem;
}
