:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --panel: rgba(16, 23, 34, 0.9);
  --card: rgba(16, 23, 34, 0.78);
  --text: #e6e8ee;
  --muted: #a7afbf;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --accent: #26e0ff;
  --accent2: #22c55e;
  --warn: #f59e0b;
  --error: #ef4444;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(6, 182, 212, 0.25) 0%, transparent 55%),
    radial-gradient(820px 480px at 85% 5%, rgba(34, 197, 94, 0.18) 0%, transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a.link {
  color: var(--accent);
  text-decoration: none;
}

a.link:hover {
  text-decoration: underline;
}

strong {
  font-weight: 650;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.skipLink {
  position: absolute;
  left: -9999px;
  top: 10px;
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  z-index: 10;
}

.skipLink:focus {
  left: 10px;
}

/* TOP BAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 15, 20, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(16, 23, 34, 0.8);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.brand__mark svg {
  width: 22px;
  height: 22px;
  display: block;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__name {
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand__tag {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.1;
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 150ms ease;
}

.nav a:hover {
  color: var(--text);
  border-color: rgba(38, 224, 255, 0.25);
  background: rgba(16, 23, 34, 0.55);
}

/* HERO */
.hero {
  padding: 64px 0 48px;
}

.hero__inner {
  display: grid;
  gap: 24px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  width: fit-content;
  margin: 0 auto;
  border: 1px solid rgba(38, 224, 255, 0.22);
  border-radius: 999px;
  background: rgba(16, 23, 34, 0.55);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.hero__title {
  margin: 0;
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui;
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 65ch;
  margin: 0 auto;
  line-height: 1.7;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 24px 0;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero__stat-value {
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui;
  font-size: 42px;
  font-weight: 700;
  color: var(--accent2);
  letter-spacing: -0.02em;
}

.hero__stat-label {
  color: var(--muted);
  font-size: 14px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(16, 23, 34, 0.65);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(38, 224, 255, 0.35);
}

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

.btn--primary {
  border-color: rgba(38, 224, 255, 0.28);
  background: linear-gradient(135deg, rgba(38, 224, 255, 0.18), rgba(34, 197, 94, 0.14));
  box-shadow: var(--shadow);
}

.btn--ghost {
  color: var(--muted);
}

.btn--ghost:hover {
  color: var(--text);
}

.btn--small {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
}

.btn--large {
  padding: 14px 24px;
  font-size: 16px;
  border-radius: 16px;
}

.btn--nowrap {
  white-space: nowrap;
}

/* SECTIONS */
.section {
  padding: 64px 0;
}

.section--dark {
  background: rgba(16, 23, 34, 0.4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--cta {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(38, 224, 255, 0.08), rgba(34, 197, 94, 0.08));
  border-top: 1px solid rgba(38, 224, 255, 0.15);
}

.section__title {
  margin: 0;
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui;
  font-size: 32px;
  letter-spacing: -0.02em;
}

.section__title.centered {
  text-align: center;
}

.section__subtitle {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 70ch;
}

.section__subtitle.centered {
  text-align: center;
  margin: 12px auto 0;
}

/* CALCULATOR */
.calculator {
  max-width: 800px;
  margin: 32px auto 0;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.calculator__inputs {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.calc-field__label {
  color: var(--muted);
  font-size: 14px;
}

.calc-field__input {
  width: 140px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 15, 20, 0.55);
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui;
}

.calc-field__input:focus {
  outline: none;
  border-color: rgba(38, 224, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(38, 224, 255, 0.12);
}

.calculator__results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.calc-result {
  padding: 20px;
  border-radius: 12px;
  background: rgba(11, 15, 20, 0.4);
  border: 1px solid var(--border);
  text-align: center;
}

.calc-result--highlight {
  background: linear-gradient(135deg, rgba(38, 224, 255, 0.1), rgba(34, 197, 94, 0.08));
  border-color: rgba(34, 197, 94, 0.3);
}

.calc-result__label {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.calc-result__value {
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent2);
  letter-spacing: -0.02em;
}

.calc-result__note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}

.calculator__disclaimer {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-top: 24px;
}

/* BENEFITS GRID */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.benefit-card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 150ms ease, border-color 150ms ease;
}

.benefit-card:hover {
  transform: translateY(-2px);
  border-color: rgba(38, 224, 255, 0.25);
}

.benefit-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(38, 224, 255, 0.15), rgba(34, 197, 94, 0.1));
  border: 1px solid rgba(38, 224, 255, 0.2);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 16px;
}

.benefit-card__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.benefit-card__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* STEPS */
.steps {
  max-width: 700px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px;
  background: rgba(11, 15, 20, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step__number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50%;
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui;
  font-size: 22px;
  font-weight: 700;
  color: #0b0f14;
  flex-shrink: 0;
}

.step__content {
  flex: 1;
}

.step__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.step__text {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* LINK BUILDER */
.builder {
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(16, 23, 34, 0.55);
}

.builder__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
}

.builder__actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.field {
  display: grid;
  gap: 8px;
}

.field__label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.field__input {
  width: 100%;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 15, 20, 0.55);
  color: var(--text);
  font-size: 15px;
}

.field__input:focus {
  outline: none;
  border-color: rgba(38, 224, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(38, 224, 255, 0.12);
}

.outputs {
  margin-top: 20px;
  display: grid;
  gap: 16px;
}

.outputCard {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(16, 23, 34, 0.55);
}

.outputCard__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.outputCard__title {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.outputCard__hint {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

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

.outputCard__code {
  display: block;
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 15, 20, 0.55);
  color: rgba(230, 232, 238, 0.95);
  font-size: 13px;
  overflow-x: auto;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* EMAIL SWIPES */
.swipes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.swipe-card {
  background: rgba(11, 15, 20, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.swipe-card__header {
  margin-bottom: 16px;
}

.swipe-card__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(38, 224, 255, 0.12);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.swipe-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.swipe-card__content {
  margin-bottom: 16px;
}

.swipe-card__content p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.swipe-card__copy {
  width: 100%;
}

.swipe-details {
  margin-top: 12px;
}

.swipe-details summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
}

.swipe-code {
  margin: 12px 0 0;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 15, 20, 0.7);
  overflow-x: auto;
  font-size: 12px;
}

.swipe-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.6;
  color: rgba(230, 232, 238, 0.9);
  white-space: pre;
}

/* ASSETS */
.assets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.asset-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.asset-card__title {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 600;
}

.asset-card__list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* FAQ */
.faq-grid {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(11, 15, 20, 0.4);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(38, 224, 255, 0.25);
}

.faq-item__question {
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.faq-item__question::after {
  content: "+";
  font-size: 20px;
  color: var(--muted);
  transition: transform 200ms ease;
}

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

.faq-item__answer {
  margin: 0;
  padding: 0 24px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* CALLOUT */
.callout {
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(38, 224, 255, 0.18);
  background: rgba(16, 23, 34, 0.48);
}

.callout--warn {
  border-color: rgba(245, 158, 11, 0.35);
}

.callout__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.callout__copy {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.codeBlock {
  margin: 14px 0 0;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 15, 20, 0.55);
  overflow-x: auto;
}

.codeBlock code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(230, 232, 238, 0.95);
  white-space: pre;
}

/* GRIDS */
.grid2 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card__title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.list--green li::marker {
  color: var(--accent2);
}

.list--red li::marker {
  color: var(--error);
}

/* CTA BUTTONS */
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  margin-top: 24px;
  padding: 32px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 15, 20, 0.65);
}

.footer__inner {
  display: grid;
  gap: 12px;
}

.footer__fineprint {
  margin: 0;
  color: rgba(167, 175, 191, 0.92);
  font-size: 12px;
  line-height: 1.6;
}

/* TOAST */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(38, 224, 255, 0.25);
  background: rgba(16, 23, 34, 0.95);
  color: var(--text);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero__title {
    font-size: 36px;
  }

  .hero__stats {
    gap: 24px;
  }

  .hero__stat-value {
    font-size: 32px;
  }

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

  .calculator__results {
    grid-template-columns: 1fr;
  }

  .swipes-grid {
    grid-template-columns: 1fr;
  }

  .assets-grid {
    grid-template-columns: 1fr;
  }

  .grid2 {
    grid-template-columns: 1fr;
  }

  .builder__row {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .hero__title {
    font-size: 28px;
  }

  .hero__stats {
    flex-direction: column;
    gap: 16px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .topbar__inner {
    flex-direction: column;
    gap: 12px;
  }

  .brand {
    min-width: unset;
  }
}
