@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/SpaceGrotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg: #080d14;
  --bg-raise: #171c26;
  --ink: #f5f7fa;
  --muted: #b7c0cc;
  --line: rgba(255, 255, 255, 0.12);
  --card: rgba(23, 28, 38, 0.86);
  --accent: #7c3aed;
  --accent-2: #a78bfa;
  --ok: #7dffa8;
  --danger: #ffb4a8;
  --max: 1120px;
  --header: 76px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.35rem, 5.4vw, 4.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--ink);
  color: var(--bg);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
}

.skip:focus {
  top: 1rem;
}

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

.eyebrow {
  margin: 0 0 0.7rem;
  color: #c4b5fd;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.lead {
  font-size: 1.15rem;
  max-width: 42rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: max(1rem, calc((100% - var(--max)) / 2));
  background: rgba(8, 13, 20, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 68px;
}

.footer-mark {
  width: 156px;
  height: auto;
}

.footer-copy {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy p {
  margin: 0;
}

.brand strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.brand .code {
  color: var(--accent-2);
  letter-spacing: 0;
  text-transform: none;
  margin-left: 0.35rem;
}

.brand strong,
.brand small {
  display: block;
}


.brand small {
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

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

.drawer {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0 4.5rem;
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(124, 58, 237, 0.34), transparent 60%),
    radial-gradient(640px 420px at 0% 80%, rgba(105, 117, 134, 0.2), transparent 55%),
    linear-gradient(180deg, #121722 0%, #0c111a 58%, #080d14 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
}

.note {
  color: #d5def0;
  margin: 1rem 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.3rem;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.35);
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  filter: brightness(1.08);
}

.button:disabled {
  cursor: wait;
  filter: grayscale(0.2);
  opacity: 0.75;
}

.button-small {
  padding: 0.65rem 1rem;
  box-shadow: none;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border: 1px solid var(--line);
}

.mock {
  margin-top: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(32, 38, 50, 0.96), rgba(12, 16, 24, 0.96));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.mock-bar span:nth-child(2) { background: #febc2e; }
.mock-bar span:nth-child(3) { background: #28c840; }

.mock-bar small {
  margin-left: auto;
}

.mock-body {
  display: grid;
  grid-template-columns: 210px 1fr;
}

.mock-side {
  padding: 1.2rem 1rem 1.5rem;
  border-right: 1px solid var(--line);
}

.mock-logo {
  display: block;
  width: 100%;
  max-width: 168px;
  height: auto;
  margin: 0 0 1rem;
}

.mock-tabs {
  display: grid;
  gap: 0.25rem;
}

.mock-side ul,
.steps,
.compare,
.fit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.flow li {
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  color: var(--muted);
}

.mock-side button {
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.75rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.mock-side button:hover {
  color: var(--ink);
}

.mock-side button[aria-selected="true"] {
  background: rgba(124, 58, 237, 0.22);
  color: var(--ink);
}

.mock-main {
  padding: 1.3rem 1.3rem 1.5rem;
}

.mock-main h2 {
  font-size: 1.35rem;
}

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

.flow li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.flow b,
.flow span {
  display: block;
}

.flow span,
.card p,
.solution p,
.faq p,
.step p {
  color: var(--muted);
  margin-bottom: 0;
}

.solution p + p {
  margin-top: 0.75rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 40%);
}

.cards,
.solutions,
.method,
.compare {
  display: grid;
  gap: 1rem;
}

.cards,
.solutions {
  margin-top: 1.6rem;
}

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

.card,
.solution,
.step,
.faq,
.form-card,
.fit-no,
.compare article {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 18px;
}

.card,
.solution,
.step {
  padding: 1.15rem 1.2rem 1.25rem;
}

.card small,
.solution small,
.step small {
  color: var(--accent-2);
  font-weight: 700;
}

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

.solutions + p {
  margin-top: 2rem;
}

.method {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1.6rem;
}

.compare {
  margin-top: 1.6rem;
}

.compare article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.compare div {
  padding: 1rem 1.1rem 1.15rem;
}

.compare div + div {
  background: rgba(124, 58, 237, 0.14);
}

.compare p {
  margin: 0.25rem 0 0;
  font-weight: 700;
}

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.compare div + div .kicker {
  color: #c4b5fd;
}

.fit {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1rem;
  margin-top: 1.6rem;
}

.fit-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.fit-no {
  padding: 1.2rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding: 1rem 1.1rem;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

.faq[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0;
  padding: 0 1.1rem 1rem;
}

.form-card {
  padding: 1.3rem;
  margin-top: 1.4rem;
}

.stepper {
  display: flex;
  gap: 1rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.stepper [aria-current="step"] {
  color: var(--ink);
  font-weight: 700;
}

.grid-form {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 13, 20, 0.72);
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.button:focus-visible,
summary:focus-visible,
a:focus-visible,
.mock-side button:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 500;
}

.check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
}

.field-error,
.form-status {
  min-height: 1.2rem;
  margin: 0.3rem 0 0;
  color: var(--danger);
  font-size: 0.92rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

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

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.whatsapp {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 25;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.whatsapp[hidden] {
  display: none;
}

.privacy {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 1.5rem));
  padding: 1.1rem 1.15rem 1rem;
  border-radius: 18px;
  background: #10141c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.privacy[hidden] {
  display: none;
}

.privacy h2 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

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

.page {
  padding: 2rem 0 4rem;
}

.page h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.prose {
  max-width: 44rem;
}

.prose h2,
.page h2 {
  font-size: 1.4rem;
  margin-top: 2.4rem;
}

.prose a {
  color: var(--accent-2);
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  margin: 0.2rem 0 0;
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.crumbs a {
  color: var(--muted);
}

.meta-line {
  color: var(--muted);
  font-size: 0.92rem;
}

.link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.4rem;
}

.link-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 18px;
  padding: 1rem 1.1rem 1.15rem;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: rgba(167, 139, 250, 0.75);
}

.link-card p {
  margin: 0;
  color: var(--muted);
}

.prose pre {
  overflow: auto;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #10141c;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

.prose code {
  font-family: ui-monospace, "Cascadia Code", monospace;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.4rem;
}

.app-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.9rem;
  align-items: center;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 18px;
  padding: 1rem;
}

.app-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.app-card small {
  color: var(--accent-2);
  font-weight: 700;
}

.app-card h3 {
  margin-bottom: 0.25rem;
}

.app-card p {
  margin: 0;
  color: var(--muted);
}

.app-card:hover,
.app-card:focus-visible {
  border-color: rgba(167, 139, 250, 0.75);
}

@media (max-width: 980px) {
  .solutions,
  .method,
  .fit,
  .mock-body {
    grid-template-columns: 1fr 1fr;
  }

  .mock-body {
    grid-template-columns: 1fr;
  }

  .mock-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mock-tabs {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
  }

  .mock-side button {
    width: auto;
  }
}

@media (max-width: 1040px) {
  .nav {
    display: none;
  }

  .drawer {
    display: block;
    position: relative;
  }

  .drawer summary {
    width: 44px;
    height: 44px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
    cursor: pointer;
    list-style: none;
  }

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

  .drawer summary span {
    width: 18px;
    height: 2px;
    background: white;
    border-radius: 2px;
  }

  .drawer nav {
    position: absolute;
    right: 0;
    top: 52px;
    display: grid;
    gap: 0.8rem;
    min-width: 220px;
    padding: 1rem;
    border-radius: 16px;
    background: #171c26;
    border: 1px solid var(--line);
  }

  .drawer nav a {
    text-decoration: none;
  }
}

@media (max-width: 760px) {
  .cards,
  .solutions,
  .method,
  .fit,
  .compare article,
  .app-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .privacy {
    bottom: 5.2rem;
  }
}

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

  * {
    transition: none !important;
  }
}
