@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('./assets/fonts/plus-jakarta-sans.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Serif Display';
  src: url('./assets/fonts/dm-serif-display.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #e4e2de;
  --bg-soft: #d8d6d2;
  --surface: #ffffff;
  --surface-soft: #f0efec;
  --text: #1f2f38;
  --ink: #153949;
  --muted: #4d6471;
  --line: rgba(34, 114, 149, 0.22);
  --accent: #227295;
  --accent-dark: #1a5b77;
  --accent-warm: #dbb34f;
  --accent-pale: rgba(34, 114, 149, 0.12);
  --brand: #227295;
  --brand-deep: #1a5b77;
  --paper: #e4e2de;
  --glow: #f3efe3;
  --shadow-sm: 0 6px 18px rgba(34, 114, 149, 0.1);
  --shadow-md: 0 16px 42px rgba(34, 114, 149, 0.16);
  --shadow-lg: 0 28px 70px rgba(34, 114, 149, 0.22);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[data-site-header],
[data-site-footer] {
  display: block;
}

[data-site-header] {
  min-height: 73px;
}

@media (min-width: 768px) {
  [data-site-header] {
    min-height: 81px;
  }
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(34, 114, 149, 0.18), transparent 38%),
    radial-gradient(circle at bottom right, rgba(219, 179, 79, 0.18), transparent 36%),
    linear-gradient(180deg, var(--bg), #ffffff 84%);
  margin: 0;
  line-height: 1.6;
  min-height: 100vh;
}

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

.bg-white {
  background-color: var(--surface) !important;
}

input,
select,
textarea {
  background-color: var(--surface-soft) !important;
  color: var(--text) !important;
  border-color: var(--line) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand);
}

::selection {
  background: rgba(34, 114, 149, 0.24);
  color: var(--ink);
}

.font-display {
  font-family: 'DM Serif Display', serif;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(228, 226, 222, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 180ms ease;
}

.nav-link:hover::after,
.nav-link[aria-current='page']::after {
  width: 100%;
}

.site-header-shell a,
.site-footer-shell a {
  color: #ffffff;
}

.site-header-shell a:hover,
.site-footer-shell a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.site-header-shell a:focus-visible,
.site-footer-shell a:focus-visible {
  outline: 3px solid #dbb34f;
  outline-offset: 2px;
  border-radius: 6px;
}

.hero-sheen {
  position: relative;
  isolation: isolate;
}

.hero-sheen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(34, 114, 149, 0.2), transparent 44%),
    linear-gradient(320deg, rgba(219, 179, 79, 0.16), transparent 46%);
  z-index: -1;
  border-radius: var(--radius-xl);
}

.card-lift {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, #227295, #1a5b77);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(26, 91, 119, 0.34);
  transform: translateY(0);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn-cta:hover,
.btn-cta:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 20px 34px rgba(26, 91, 119, 0.42);
}

.btn-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.2);
  transform: none;
  box-shadow: none;
}

.btn-cta-dark {
  background: linear-gradient(135deg, #1a5b77, #153949);
  box-shadow: 0 14px 30px rgba(21, 57, 73, 0.34);
}

.btn-cta-dark:hover,
.btn-cta-dark:focus-visible {
  box-shadow: 0 20px 34px rgba(21, 57, 73, 0.44);
}

.pricing-card {
  border-width: 1.5px;
  box-shadow: var(--shadow-sm);
}

.pricing-card ul li::marker {
  color: var(--brand);
}

.pricing-card-featured {
  border-width: 2px;
  border-color: var(--brand) !important;
  background: linear-gradient(180deg, #ffffff, rgba(34, 114, 149, 0.08));
}

.pricing-card .pricing-cta {
  width: 100%;
  letter-spacing: 0.09em;
}

.pricing-card-featured .pricing-cta {
  background: linear-gradient(135deg, #1a5b77, #153949);
}

.pricing-card .pricing-cta:hover,
.pricing-card .pricing-cta:focus-visible {
  color: #ffffff;
}

.pricing-card-featured .pricing-cta:hover,
.pricing-card-featured .pricing-cta:focus-visible {
  box-shadow: 0 20px 34px rgba(21, 57, 73, 0.44);
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--muted);
}

.faq-item[open] {
  border-color: var(--brand);
  box-shadow: 0 10px 24px rgba(34, 114, 149, 0.2);
}

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  animation: fade-in-up 650ms ease forwards;
}

.fade-delay-1 { animation-delay: 110ms; }
.fade-delay-2 { animation-delay: 180ms; }
.fade-delay-3 { animation-delay: 250ms; }

@keyframes fade-in-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .mobile-menu {
    display: none;
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-menu.open {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    padding: 0.72rem 0.85rem;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.02em;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
  }

  .mobile-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(2px);
    text-decoration: none;
  }

  .mobile-nav-link[aria-current='page'] {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(219, 179, 79, 0.3), rgba(255, 255, 255, 0.12));
    border: 1px solid rgba(219, 179, 79, 0.45);
  }

  .mobile-nav-link:focus-visible {
    outline: 3px solid #dbb34f;
    outline-offset: 2px;
  }
}
