/* One dark theme for the whole page: dark blue backgrounds with white,
   light blue and orange text. Founder decision, 2026-11-07. */
:root {
  color-scheme: dark;
  --navy: #0b2540;
  --navy-deep: #071a2e;
  --navy-input: #06182a;
  --text: #ffffff;
  --text-soft: #d6e2ec;
  --text-muted: #b9c9d6;
  --line: rgba(214, 226, 236, 0.22);
  --accent: #7fd6e3;
  --orange: #f0a43a;
  --orange-light: #f6ba66;
  --wrap: 72rem;
  --gutter: clamp(1rem, 5vw, 3rem);
}

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

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  height: auto;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: var(--navy-deep);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4rem;
}

/* Two-line wordmark */
.brand {
  margin-right: auto;
  padding: 0.5rem 0;
  color: var(--text);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .brand {
    font-size: 1.125rem;
  }
}

/* Narrow screens, including desktop windows that lose width to a scrollbar */
@media (max-width: 420px) {
  .header-row {
    gap: 0.75rem;
  }

  .brand {
    font-size: 1rem;
  }

  .header-cta {
    gap: 0.375rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.875rem;
  }
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--text-soft);
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
}

/* Call-to-action buttons: solid orange so they read clearly as buttons */
.header-cta,
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 6px;
  background: var(--orange);
  box-shadow: 0 4px 14px rgba(240, 164, 58, 0.35);
  color: var(--navy-deep);
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

.header-cta::after,
.cta::after {
  content: "\2192" / "";
  font-weight: 800;
}

.header-cta:hover,
.cta:hover {
  background: var(--orange-light);
  box-shadow: 0 6px 20px rgba(240, 164, 58, 0.5);
}

.header-cta:focus-visible,
.cta:focus-visible {
  outline-color: var(--text);
}

@media (prefers-reduced-motion: no-preference) {
  .header-cta,
  .cta {
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  }

  .header-cta:hover,
  .cta:hover {
    transform: translateY(-1px);
  }
}

.header-cta {
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

/* Shared text */
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.15;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1875rem;
  font-weight: 700;
}

.section-lead {
  max-width: 44rem;
  margin: 0 0 2.5rem;
  color: var(--text-soft);
  font-size: 1.125rem;
}

/* Hero */
.hero {
  padding: clamp(1.25rem, 3vh, 3rem) 0 clamp(2.5rem, 8vh, 5rem);
  background: radial-gradient(ellipse at 85% 0%, #17406a 0%, var(--navy) 55%);
}

/* Long lines save height; "balance" evens out the lines so no word sits alone */
h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 5.4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.accent {
  color: var(--accent);
}

.hero-lead {
  margin: 0 0 1.25rem;
  color: var(--text-soft);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
}

.hero-lead strong {
  display: block;
  margin-bottom: 0.375rem;
  color: var(--text);
  font-size: 1.1em;
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

/* Hero button: one line, spanning the full content width */
.cta {
  justify-content: center;
  width: 100%;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 1.1875rem;
  line-height: 1.2;
  text-align: center;
}

.cta::after {
  font-size: 1.375rem;
}

.hero-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.hero-scope li {
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(127, 214, 227, 0.55);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Phones: keep the button well above the fold, allowing for browser bars */
@media (max-width: 760px) {
  .hero {
    padding-top: 1.5rem;
  }

  .hero .eyebrow {
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
  }

  .hero h1 {
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-lead strong {
    font-size: 1.0625em;
  }

  .hero-scope {
    gap: 0.375rem;
    margin-bottom: 1rem;
  }

  .hero-scope li {
    padding: 0.2rem 0.625rem;
    font-size: 0.875rem;
  }

  .hero-lead {
    margin-bottom: 1rem;
  }
}

/* Very narrow phones: keep the button text on one line */
@media (max-width: 360px) {
  .cta {
    gap: 0.5rem;
    padding: 0.875rem 0.75rem;
    font-size: 1rem;
  }
}

.text-link {
  color: var(--text);
  font-weight: 600;
}

.microcopy {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Placeholders, shown clearly so they are never mistaken for real content */
.placeholder {
  border: 2px dashed var(--orange);
  color: var(--orange);
}

.placeholder--inline {
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.9375rem;
}

/* Proof band */
.proof {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.proof-note {
  margin-top: 1rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
  border-radius: 6px;
  font-size: 0.9375rem;
}

.proof-figure {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

/* Sections: same background throughout, separated by a thin line */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 5rem; /* keeps headings clear of the sticky header after a jump */
}

.situation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 6px;
}

.card-number {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 800;
}

.card p,
.step p {
  margin: 0;
  color: var(--text-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy-deep);
  font-size: 1rem;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.25rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  color: var(--text-soft);
}

.why-list strong {
  display: block;
  color: var(--text);
}

/* Founder */
.founder {
  display: grid;
  grid-template-columns: minmax(12rem, 20rem) 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.founder p {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

.founder .placeholder {
  color: var(--orange);
}

.headshot {
  width: 100%;
  border-radius: 8px;
}

.fine-print {
  color: var(--text-muted);
  font-size: 0.875rem;
}

@media (max-width: 760px) {
  .founder {
    grid-template-columns: 1fr;
  }

  .headshot {
    max-width: 16rem;
  }
}

/* Contact */
.contact:focus {
  outline: none;
}

.contact p {
  color: var(--text-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.inquiry {
  display: grid;
  gap: 0.375rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.inquiry label {
  margin-top: 0.625rem;
  color: var(--text);
  font-weight: 600;
}

.required {
  color: var(--text-muted);
  font-weight: 400;
}

.inquiry input,
.inquiry select,
.inquiry textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid #7d93a6;
  border-radius: 4px;
  background: var(--navy-input);
  color: var(--text);
  font: inherit;
}

.inquiry option {
  background: var(--navy-deep);
  color: var(--text);
}

.inquiry button {
  margin-top: 1.25rem;
  padding: 0.875rem 1.5rem;
  border: 0;
  border-radius: 6px;
  background: var(--orange);
  color: var(--navy-deep);
  font: inherit;
  font-weight: 800;
}

.inquiry button:disabled {
  border: 1px solid #7d93a6;
  background: transparent;
  color: var(--text-muted);
  cursor: not-allowed;
}

.inquiry .form-status {
  margin: 0 0 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--orange);
  border-radius: 4px;
  color: var(--orange);
}

.inquiry .fine-print {
  margin: 1rem 0 0;
  color: var(--orange);
}

.inquiry .privacy-note {
  color: var(--text-muted);
}

.inquiry .form-status--note {
  border-color: #7d93a6;
  color: var(--text-soft);
}

.inquiry .form-status--success {
  border-color: #6fcf97;
  color: #9be7b8;
}

.inquiry .form-status--error {
  border-color: #ff8a80;
  color: #ffb4ab;
}

.inquiry .field-error {
  margin: 0.25rem 0 0;
  color: #ffb4ab;
  font-size: 0.9rem;
}

.inquiry [aria-invalid="true"] {
  border-color: #ff8a80;
}

/* Honeypot: off-screen for people, still in the form for bots. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  background: var(--navy-deep);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
}

.footer-email {
  color: var(--text-soft);
  text-underline-offset: 3px;
}

.footer-email:hover,
.footer-email:focus-visible {
  color: var(--orange);
}
