:root {
  --paper: #f7faff;
  --paper-tint: #f0f5ff;
  --ink: #0b1b3a;
  --ink-soft: #1a2d6b;
  --muted: #52627a;
  --line: rgba(12, 33, 66, 0.1);
  --line-strong: rgba(12, 33, 66, 0.16);
  --primary: #4f7dff;
  --primary-deep: #1e3a8a;
  --accent: #0e9f91;
  --warm: #e8a54b;
  --warm-deep: #b45309;
  --success: #0ea5c9;
  --danger: #dc2626;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 58, 0.04), 0 6px 16px rgba(11, 27, 58, 0.05);
  --shadow-md: 0 4px 12px rgba(11, 27, 58, 0.07), 0 16px 32px rgba(11, 27, 58, 0.08);
  --shadow-lg: 0 8px 20px rgba(11, 27, 58, 0.1), 0 24px 48px rgba(11, 27, 58, 0.12);
  --font-display: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-ui: "Inter", ui-sans-serif, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-ui);
  color: var(--ink);
  line-height: 1.65;
  background:
    radial-gradient(900px 380px at 8% -8%, rgba(79, 125, 255, 0.1), transparent 60%),
    radial-gradient(700px 420px at 100% 0%, rgba(14, 159, 145, 0.08), transparent 55%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: #fff;
  z-index: 200;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(247, 250, 255, 0.96), rgba(247, 250, 255, 0.88));
}

.site-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: transparent;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text strong,
.site-brand strong,
.site-footer-brand {
  display: block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-text span {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-ui);
  font-weight: 650;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 9px 16px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  border-color: #335fd9;
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.22);
}

.btn-primary:hover {
  border-color: var(--primary-deep);
}

.btn-ghost {
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.82);
}

.btn-ghost:hover {
  border-color: rgba(79, 125, 255, 0.28);
  background: #fff;
}

.btn-tonal {
  color: var(--ink-soft);
  background: var(--paper-tint);
  border-color: rgba(79, 125, 255, 0.22);
}

.btn-link {
  border: 0;
  background: transparent;
  color: var(--primary);
  padding-inline: 0;
  min-height: auto;
}

main {
  padding: 40px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  background: #fff;
  font-size: 0.88rem;
  color: var(--muted);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(79, 125, 255, 0.18);
}

.section {
  margin-top: 72px;
}

.section h2 {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-sub {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 74ch;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, var(--paper-tint));
  box-shadow: var(--shadow-sm);
}

.card-strong {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.card-warm {
  border-color: rgba(232, 165, 75, 0.35);
  background: linear-gradient(180deg, #fff9f0, #fff4e6);
}

.faq-list {
  display: grid;
  gap: 11px;
  margin-top: 20px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 650;
  font-size: 1rem;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "▾";
  font-size: 0.95rem;
  transition: transform 180ms ease;
  color: var(--muted);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  padding: 28px 0 calc(34px + env(safe-area-inset-bottom));
}

.site-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
}

.site-footer-links a {
  color: var(--ink-soft);
  font-weight: 500;
}

.mobile-sticky-cta {
  display: none;
}

[data-reveal] {
  animation: fade-up 640ms cubic-bezier(0.2, 0.65, 0.2, 1) both;
}

[data-delay="1"] {
  animation-delay: 80ms;
}
[data-delay="2"] {
  animation-delay: 160ms;
}
[data-delay="3"] {
  animation-delay: 240ms;
}
[data-delay="4"] {
  animation-delay: 320ms;
}

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

@media (max-width: 980px) {
  .site-header-row {
    align-items: start;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .mobile-nav-toggle > summary {
    list-style: none;
    cursor: pointer;
    margin: 0;
  }

  .mobile-nav-toggle > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav-toggle > summary .btn {
    min-width: 44px;
    width: 44px;
    padding-inline: 0;
  }

  .mobile-nav-toggle[open] > summary .btn {
    background: var(--paper-tint);
  }

  .mobile-nav-links {
    margin-top: 10px;
    width: min(320px, calc(100vw - 40px));
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-md);
    padding: 10px;
    display: grid;
    gap: 8px;
  }

  .mobile-nav-links .btn {
    justify-content: flex-start;
    border-radius: 10px;
  }
}

@media (max-width: 820px) {
  main {
    padding-top: 28px;
  }

  .mobile-sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    border-top: 1px solid var(--line);
    background: rgba(247, 250, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  }

  .mobile-sticky-cta .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}
