:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --ink: #0c1830;
  --muted: #51607b;
  --line: #d7deea;
  --accent: #14345c;
  --accent-2: #223f69;
  --accent-soft: rgba(20, 52, 92, 0.08);
  --success: #1d5e3d;
  --danger: #9a2f2f;
  --shadow: 0 20px 60px rgba(12, 24, 48, 0.08);
  --radius: 20px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f9fafb 0%, #f4f6f9 100%);
  line-height: 1.55;
}

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

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

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(249, 250, 251, 0.86);
  border-bottom: 1px solid rgba(12, 24, 48, 0.06);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 12px;
}

.brand-wordmark {
  height: 26px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.hero {
  padding: 5.25rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 4.45rem);
  line-height: 1.02;
  max-width: 10.5ch;
}

.hero-text,
.section-heading p,
.feature-card p,
.price-copy,
.price-card li,
.pricing-note,
.application-form,
.site-footer p,
.hero-card-text {
  color: var(--muted);
}

.hero-text {
  font-size: 1.1rem;
  margin: 1.2rem 0 0;
  max-width: 44rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.92rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #274b79 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(20, 52, 92, 0.18);
}

.button-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(12, 24, 48, 0.12);
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.65rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-points li {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(29, 58, 98, 0.08), transparent 42%), var(--surface);
  border: 1px solid rgba(20, 52, 92, 0.08);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.hero-logo {
  width: 100%;
  border-radius: 16px;
  background: #fff;
}

.signal-strip {
  display: flex;
  gap: 0.45rem;
  margin: 1rem 0 0.85rem;
}

.signal-strip span {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(20, 52, 92, 0.18), rgba(20, 52, 92, 0.05));
}

.signal-strip span:nth-child(1) { width: 28%; }
.signal-strip span:nth-child(2) { width: 46%; }
.signal-strip span:nth-child(3) { width: 22%; }

.section {
  padding: 2.25rem 0 4rem;
}

.surface-section,
.pricing-section,
.apply-section {
  scroll-margin-top: 96px;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 1.6rem;
}

.section-heading.left {
  margin-bottom: 1.2rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.06;
  margin-bottom: 0.8rem;
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.price-card,
.application-form,
.mini-note {
  background: var(--surface);
  border: 1px solid rgba(20, 52, 92, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(12, 24, 48, 0.05);
}

.feature-card {
  padding: 1.35rem;
}

.feature-card h3,
.price-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.price-card {
  padding: 1.45rem;
}

.price-card.featured {
  position: relative;
  border-color: rgba(20, 52, 92, 0.16);
  box-shadow: 0 22px 48px rgba(20, 52, 92, 0.1);
}

.price-label {
  margin: 0 0 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.77rem;
  color: var(--accent-2);
  font-weight: 700;
}

.price-card h3 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  margin-bottom: 0.6rem;
}

.price-card h3 span {
  font-size: 1rem;
  color: var(--muted);
  margin-left: 0.2rem;
}

.price-card ul {
  margin: 1rem 0 1.2rem;
  padding-left: 1.1rem;
}

.pricing-note {
  margin-top: 1rem;
  font-size: 0.94rem;
}

.apply-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.25rem;
  align-items: start;
}

.mini-note {
  padding: 1rem 1.1rem;
  color: var(--muted);
}

.application-form {
  padding: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.application-form label {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  margin-top: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0.9rem 0.95rem;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: rgba(20, 52, 92, 0.42);
  box-shadow: 0 0 0 4px rgba(20, 52, 92, 0.08);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  flex: 0 0 auto;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.form-status {
  min-height: 1.4rem;
  margin: 0.85rem 0 0;
  font-size: 0.94rem;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.site-footer {
  padding: 1.6rem 0 2.6rem;
  border-top: 1px solid rgba(12, 24, 48, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 1rem;
}

.footer-wordmark {
  height: 28px;
  width: auto;
  margin-bottom: 0.7rem;
}

.footer-label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
}

.contact-email-link,
#email-link {
  color: var(--accent);
}

.hidden-until-config {
  display: none;
}

.hidden-until-config.ready {
  display: inline-flex;
}

.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 (max-width: 960px) {
  .hero-grid,
  .apply-grid,
  .footer-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 720px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .brand-wordmark {
    height: 22px;
  }

  h1 {
    max-width: none;
  }

  .button {
    width: 100%;
  }

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


.pricing-grid.single {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}
