@font-face {
  font-family: "Founders Grotesk";
  src: url("./fonts/FoundersGroteskText-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Founders Grotesk";
  src: url("./fonts/FoundersGroteskText-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Founders Grotesk";
  src: url("./fonts/FoundersGroteskText-Semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Founders Grotesk";
  src: url("./fonts/FoundersGroteskText-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("./fonts/BricolageGrotesque-Variable.ttf") format("truetype-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f4f6;
  --bg-subtle: #f8f8fa;
  --surface: #ffffff;
  --surface-2: #fbfbfc;
  --line: #e2e3e8;
  --line-strong: #d1d4dc;
  --text: #191b22;
  --muted: #5b6170;
  --accent: #3f67ff;
  --accent-soft: #eaf0ff;
  --ok: #22a06b;
  --danger: #c03636;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 56px;
  --space-9: 72px;
  --space-10: 96px;
  --space-11: 120px;
  --space-12: 144px;

  --content-max: 1160px;

  --elev-1: 0 1px 2px rgba(15, 16, 20, 0.04), 0 8px 24px rgba(15, 16, 20, 0.04);
  --elev-2: 0 2px 8px rgba(15, 16, 20, 0.06), 0 16px 38px rgba(15, 16, 20, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Founders Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.42px;
  background: linear-gradient(180deg, #f7f7f9 0%, #f2f2f4 100%);
  color: var(--text);
  line-height: 1.5;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(58px);
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

.orb-1 {
  width: 460px;
  height: 460px;
  top: -180px;
  left: -120px;
  background: #d8e2ff;
}

.orb-2 {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 26%;
  background: #e3efe8;
}

.container {
  width: min(var(--content-max), 100% - 3rem);
  margin-inline: auto;
}

.problem-narrow {
  width: min(768px, 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding: var(--space-11) 0;
  border-bottom: 1px solid var(--line);
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1 {
  font-family: "Bricolage Grotesque", "Founders Grotesk", "Inter", sans-serif;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -1px;
  margin-bottom: var(--space-5);
  color: var(--text);
}

h2 {
  font-family: "Bricolage Grotesque", "Founders Grotesk", "Inter", sans-serif;
  font-size: clamp(1.85rem, 3.7vw, 2.95rem);
  line-height: 1.12;
  margin-bottom: var(--space-5);
  color: var(--text);
}

h3 {
  font-family: "Bricolage Grotesque", "Founders Grotesk", "Inter", sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.48rem);
  line-height: 1.22;
  margin-bottom: var(--space-4);
  color: #1e2129;
}

p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.8vw, 1.16rem);
  max-width: 72ch;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding-top: 14px;
  background: transparent;
  border-bottom: 0;
  transform: translateY(0);
  transition: transform 260ms ease;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 18px));
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-inline: var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(19, 22, 28, 0.08);
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.34rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 240ms ease;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease, background 220ms ease,
    border-color 220ms ease;
  cursor: pointer;
  will-change: transform;
}

.btn-sm {
  min-height: 40px;
  padding: 0.58rem 0.98rem;
  font-size: 0.9rem;
}

.btn-primary {
  color: #ececf0;
  background:
    linear-gradient(180deg, #201e25 0%, #323137 100%) padding-box,
    linear-gradient(180deg, #4b4951 0%, #313036 100%) border-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 1px #0d0d0d;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 6px 14px rgba(17, 17, 19, 0.2), 0 0 0 1px #0d0d0d;
}

.btn-primary:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.btn-secondary {
  color: #1d1f25;
  background:
    linear-gradient(180deg, rgba(227, 227, 227, 0.8) 0%, rgba(227, 227, 227, 0.8) 100%) padding-box,
    linear-gradient(180deg, #fdfdfd 0%, rgba(241, 241, 241, 0) 100%) border-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.16);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 6px 14px rgba(22, 22, 22, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-10);
  align-items: center;
  padding-top: calc(var(--space-12) + 28px);
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4a556f;
  padding: 0.42rem 0.72rem;
  border-radius: var(--radius-md);
  border: 1px solid #d9e2ff;
  background: var(--accent-soft);
  margin-bottom: var(--space-5);
}

.hero-subhead {
  margin-bottom: var(--space-6);
}

.hero-meta {
  font-size: 0.94rem;
  margin-top: var(--space-4);
}

.hero-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--elev-1);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.hero-panel:hover {
  transform: translateY(-2px);
  box-shadow: var(--elev-2);
  border-color: var(--line-strong);
}

.panel-head {
  font-weight: 600;
  margin-bottom: var(--space-5);
  color: #1f2330;
}

.status-list {
  display: grid;
  gap: var(--space-4);
}

.status-item {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.status-item:hover {
  transform: translateX(2px);
  border-color: #d4d9e8;
  box-shadow: 0 4px 14px rgba(20, 24, 32, 0.06);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ok);
}

.status-tag {
  border: 1px solid #dbe0eb;
  border-radius: var(--radius-sm);
  padding: 0.24rem 0.56rem;
  font-size: 0.76rem;
  color: #44516c;
  background: #f8fbff;
}

.panel-foot {
  margin-top: var(--space-5);
  color: var(--muted);
  font-size: 0.95rem;
}

.bullet-grid {
  list-style: none;
  margin: var(--space-7) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5) var(--space-7);
}

.bullet-grid li {
  color: #3e4556;
  position: relative;
  padding-left: 1.2rem;
}

.bullet-grid li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #5e79ff;
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.cards {
  margin-top: var(--space-7);
  display: grid;
  gap: var(--space-5);
}

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

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

.card {
  background: linear-gradient(180deg, #ffffff 0%, #fafafb 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 1px 2px rgba(17, 20, 28, 0.03);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #d5d9e4;
  box-shadow: 0 10px 30px rgba(17, 20, 28, 0.07);
}

.step-card {
  position: relative;
}

.step-index {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e9efff;
  color: #2f4de0;
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.section-cta {
  margin-top: var(--space-7);
}

.pricing-card .plan {
  color: var(--text);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.price {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  color: var(--text);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.pricing-card.featured {
  border-color: #cad5ff;
  box-shadow: 0 0 0 1px rgba(63, 103, 255, 0.14), 0 12px 30px rgba(63, 103, 255, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.pricing-card .btn {
  margin-top: var(--space-5);
}

.policy-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #3e4556;
  display: grid;
  gap: var(--space-3);
}

.policy-list li {
  font-size: 1rem;
  line-height: 1.45;
}

.policy-note {
  margin-top: var(--space-4);
  font-size: 0.95rem;
}

.faq-list {
  margin-top: var(--space-7);
  display: grid;
  gap: var(--space-4);
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 1rem 1.1rem;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.faq-list details[open] {
  border-color: #cfd8f8;
  background: #fcfdff;
  box-shadow: 0 4px 16px rgba(29, 36, 65, 0.06);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  color: #1f2330;
  font-weight: 500;
  transition: color 200ms ease;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: #697285;
  transition: transform 220ms ease;
}

.faq-list details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-list details p {
  margin-top: 0;
  margin-bottom: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 240ms ease, opacity 240ms ease, transform 240ms ease, margin 240ms ease;
  font-size: 0.98rem;
}

.faq-list details[open] p {
  margin-top: var(--space-3);
  margin-bottom: var(--space-1);
  max-height: 180px;
  opacity: 1;
  transform: translateY(0);
}

.section-cta-final {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  margin-top: var(--space-10);
  margin-bottom: var(--space-10);
}

.cta-form {
  margin-top: var(--space-6);
}

.cta-form label {
  display: block;
  font-size: 0.92rem;
  color: #2a2f3c;
  margin-bottom: var(--space-2);
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-4);
}

.cta-form input {
  width: 100%;
  min-height: 50px;
  border-radius: var(--radius-md);
  border: 1px solid #d4d8e2;
  background: #fff;
  color: var(--text);
  padding: 0.8rem 1rem;
  font-size: 1rem;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.cta-form input::placeholder {
  color: #8a90a2;
}

.cta-form input:hover {
  border-color: #c9cfde;
}

.cta-form input:focus-visible,
.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(63, 103, 255, 0.45);
  outline-offset: 2px;
}

.cta-form input:focus-visible {
  box-shadow: 0 0 0 3px rgba(63, 103, 255, 0.13);
}

.helper {
  margin-top: var(--space-4);
  margin-bottom: 0;
  font-size: 0.93rem;
}

.form-message {
  min-height: 1.2em;
  margin-top: var(--space-2);
  font-size: 0.9rem;
}

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

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--space-7) 0;
  background: rgba(255, 255, 255, 0.55);
}

.footer-wrap {
  display: flex;
  gap: var(--space-5);
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-wrap p {
  margin: 0;
  font-size: 0.92rem;
}

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

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: fade-up 520ms cubic-bezier(0.21, 0.7, 0.24, 1) forwards;
}

.hero .reveal:nth-child(2) {
  animation-delay: 110ms;
}

.section.reveal {
  animation-delay: 50ms;
}

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

@media (max-width: 1100px) {
  .nav {
    min-height: 78px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding-top: calc(var(--space-11) + 28px);
  }

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

  .cards-2 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--space-10) 0;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--content-max), 100% - 1.5rem);
  }

  .problem-narrow {
    width: min(768px, 100% - 1.5rem);
  }

  .section {
    padding: var(--space-9) 0;
  }

  .site-header {
    position: sticky;
    top: 0;
    padding-top: 0;
    background: rgba(247, 247, 249, 0.94);
    border-bottom: 1px solid var(--line);
    transform: none !important;
  }

  .nav {
    min-height: 64px;
    flex-wrap: nowrap;
    padding: var(--space-3) var(--space-4);
    gap: var(--space-3);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(19, 22, 28, 0.06);
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: var(--space-8);
  }

  .bullet-grid,
  .cards-3,
  .cards-2,
  .input-row {
    grid-template-columns: 1fr;
  }

  .section-cta-final {
    padding: var(--space-7) var(--space-5);
    margin-top: var(--space-8);
    margin-bottom: var(--space-8);
  }

  .btn,
  .cta-form input {
    width: 100%;
  }

  .nav .btn {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
