@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #041119;
  --raise: #071824;
  --text: #e8edf5;
  --muted: #b7c0ce;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #7ef0d8;
  --blue: #1c8cff;
  --teal: #3dffe0;
  --max: 1080px;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --display: Outfit, "Avenir Next", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--teal);
  color: var(--bg);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  z-index: 20;
  text-decoration: none;
  font-family: var(--display);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(4, 17, 25, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.bar {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.4rem 0;
}

.logo img {
  display: block;
  height: 72px;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  width: 100%;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1rem;
  padding: 0.35rem 0;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.book {
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(100deg, var(--blue), var(--teal));
  color: var(--bg);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  color: var(--bg);
  filter: brightness(1.05);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(184, 214, 255, 0.5);
}

.btn.secondary:hover {
  color: var(--text);
  border-color: var(--accent);
  filter: none;
}

main {
  flex: 1;
  padding: 2.5rem 0 4.5rem;
}

section + section {
  margin-top: 4.5rem;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.15rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.lede,
.prose p,
.card p,
.faq p,
.step p {
  max-width: 68ch;
}

.lede {
  font-size: 1.3rem;
  margin: 0 0 0.75rem;
}

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

.hero {
  position: relative;
  padding-top: 0.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 320px;
  left: -60px;
  top: -40px;
  background: radial-gradient(circle, rgba(32, 170, 220, 0.22), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.hero-mark {
  width: min(220px, 70%);
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 28px rgba(46, 220, 210, 0.35));
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.4rem);
  max-width: 12ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.35rem 1.35rem;
}

.card.popular {
  border-color: rgba(61, 255, 224, 0.45);
  box-shadow: 0 0 36px rgba(46, 200, 220, 0.14);
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card p {
  margin: 0 0 0.75rem;
}

.price {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.85rem;
}

.badge {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--teal);
  color: var(--bg);
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 600;
}

.card ul,
.prose ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.card li + li,
.prose li + li {
  margin-top: 0.3rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.25rem 1.25rem;
}

.step-num {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--display);
  font-weight: 600;
  color: var(--accent);
}

.step h3,
.step p {
  margin-bottom: 0;
}

.step h3 {
  margin-bottom: 0.4rem;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
}

.faq p {
  margin: 0.6rem 0 0.2rem;
  color: var(--muted);
}

.cta-band {
  margin-top: 4.5rem;
  padding: 1.5rem;
  border-radius: 16px;
  background:
    radial-gradient(520px 160px at 0% 0%, rgba(28, 140, 255, 0.2), transparent 70%),
    var(--raise);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band p {
  margin: 0;
  max-width: 42ch;
}

.draft {
  border: 1px solid rgba(243, 214, 150, 0.55);
  background: rgba(243, 214, 150, 0.08);
  color: #f6e6bf;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin: 0 0 1.5rem;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--display);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--raise);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.note {
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
}

.site-footer p {
  color: var(--muted);
  margin: 0.9rem 0 0;
}

@media (min-width: 761px) {
  .logo img {
    height: 92px;
  }

  .site-nav {
    width: auto;
    margin-left: 0.5rem;
  }

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

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

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

@media (max-width: 760px) {
  .book {
    margin-left: auto;
  }
}

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