:root {
  --bg: #0f1720;
  --panel: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --accent: #6fb2d9;
  --accent-dark: #2c6d91;
  --soft: #f8fafc;
  --max: 1100px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-feather {
  height: 80px;
  width: auto;
  display: block;
}

.logo-text {
  height: 46px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.96rem;
}

nav a:hover,
nav a.active {
  color: var(--accent-dark);
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
  font: inherit;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(44,109,145,.16);
}

.btn-primary {
  background: var(--accent);
  color: #08314b;
}

.btn-secondary {
  background: #fff;
  color: var(--accent-dark);
  border-color: var(--border);
}

.page-hero,
.hero {
  padding: 72px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.3rem;
}

p.lead {
  font-size: 1.15rem;
  color: #334155;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.trust-list,
.simple-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.trust-list li,
.simple-list li {
  margin: 0 0 12px;
  padding-left: 30px;
  position: relative;
  color: #334155;
}

.trust-list li::before,
.simple-list li::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 45px rgba(15,23,32,.06);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.stat {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

section {
  padding: 36px 0;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.cta-band {
  background: #0d1f2c;
  color: #f8fafc;
  border-radius: 28px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.cta-band p {
  margin: 0;
  color: #d6e4ef;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 28px;
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-block p {
  margin: 0 0 14px;
}

.form-link-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.content-section {
  padding-top: 8px;
}

.content-block {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(15,23,32,.04);
  margin-bottom: 16px;
}

.content-block.callout {
  background: #f5fbff;
}

/* Shared HinkleFeather form system */

.form-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15,23,32,.04);
  max-width: 760px;
  width: 100%;
}

.hf-form-grid {
  display: grid;
  gap: 16px;
}

.hf-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.hf-field input[type="text"],
.hf-field input[type="email"],
.hf-field input[type="tel"],
.hf-field select,
.hf-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  color: var(--text);
}

.hf-help {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 6px;
}

.hf-options {
  display: grid;
  gap: 8px;
  padding: 2px 0;
}

.hf-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
}

.hf-option input {
  margin: 0;
}

.hf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hf-status {
  margin-top: 10px;
  font-weight: 700;
  color: var(--accent-dark);
}

.hf-note {
  background: #f5fbff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: #334155;
  font-size: 0.96rem;
}

.hf-consent-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.hf-consent-box .hf-option {
  align-items: flex-start;
}

.hf-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

/* Legacy button helpers */

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.button.primary {
  background-color: #2563eb;
  color: white;
}

.button.primary:hover {
  background-color: #1e4fd1;
}

.button.secondary {
  background-color: #e5e7eb;
  color: #111827;
}

.button.secondary:hover {
  background-color: #d1d5db;
}

@media (max-width: 860px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .stats {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    gap: 14px;
  }

  .logo-feather {
    height: 68px;
  }

  .logo-text {
    height: 40px;
  }
}

@media (max-width: 640px) {
  .form-card {
    padding: 18px;
  }

  .hf-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hf-actions .btn {
    width: 100%;
    text-align: center;
  }
}