@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/work-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/work-sans-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/work-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/work-sans-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Same tokens (light-first, dark via prefers-color-scheme only — no manual
   toggle, this page has no preference to persist) as the other 3 apps'
   index.css, so the marketing site matches the real product exactly
   instead of inventing its own palette. */
:root {
  color-scheme: light;
  --background: oklch(0.985 0.005 185);
  --foreground: oklch(0.24 0.02 190);
  --card: oklch(1 0 0);
  --border: oklch(0.9 0.012 185);
  --muted-foreground: oklch(0.5 0.02 190);
  --primary: oklch(0.517 0.084 187);
  --primary-foreground: oklch(0.99 0.005 185);
  /* brand accents — deliberately plain hex, identical in both themes, same
     reasoning as the other apps: decorative solid-block fills, not
     semantic UI colors that should drift with the theme. */
  --brand-amber: #f59e1d;
  --brand-amber-foreground: #ffffff;
  --brand-navy: #104756;
  --brand-navy-foreground: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: oklch(0.19 0.015 190);
    --foreground: oklch(0.93 0.01 185);
    --card: oklch(0.23 0.017 190);
    --border: oklch(0.32 0.02 190);
    --muted-foreground: oklch(0.68 0.02 188);
    --primary: oklch(0.7 0.11 183);
    --primary-foreground: oklch(0.18 0.02 190);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Work Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Compact nav — hidden above the viewport until the big hero logo scrolls
   out of view (see script.js's IntersectionObserver), then slides down.
   Doesn't reserve layout space while hidden (position: fixed). */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sticky-nav.visible {
  transform: translateY(0);
  box-shadow: 0 2px 14px color-mix(in oklch, var(--foreground) 8%, transparent);
}

.sticky-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

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

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand span {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.al {
  color: var(--brand-amber);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
}

section.hero {
  padding: 40px 0 72px;
  text-align: center;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 0 56px;
}

.hero-brand img {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.hero-brand .wordmark {
  margin: 14px 0 2px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-brand .tagline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero p.lead {
  font-size: 19px;
  color: var(--muted-foreground);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--muted-foreground);
  font-size: 17px;
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

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

/* Bold solid-block icon fills (white icon on a solid brand color), not
   translucent tints — matches the rest of the product's "confident
   color-blocking" language (StatusPill, token boxes, the Sugerido badge)
   rather than a softer tinted-circle treatment. Cycles through the logo's
   own 3 face colors for rhythm across the grid. */
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #fff;
}

.card:nth-child(3n + 1) .icon {
  background: var(--primary);
}

.card:nth-child(3n + 2) .icon {
  background: var(--brand-amber);
}

.card:nth-child(3n + 3) .icon {
  background: var(--brand-navy);
}

.card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}

.card p {
  color: var(--muted-foreground);
  font-size: 15px;
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--brand-amber);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
}

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

.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
}

.faq summary {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}

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

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

.faq details[open] summary::after {
  content: "\2212";
}

.faq p {
  color: var(--muted-foreground);
  font-size: 15px;
  margin: 12px 0 0;
}

/* Bold gradient band — reuses the exact same navy->primary->light-teal
   gradient already shipped on frontend/'s Login hero panel, rather than
   inventing an unproven new one. */
section.cta {
  text-align: center;
  border-top: none;
  background: linear-gradient(165deg, var(--brand-navy) 0%, var(--primary) 55%, oklch(0.707 0.12 189.9) 100%);
  color: #fff;
}

section.cta h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}

section.cta p {
  color: color-mix(in oklch, #fff 80%, transparent);
  margin: 0 0 28px;
}

section.cta .btn-primary {
  background: #fff;
  color: var(--brand-navy);
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 14px;
}

footer.site .links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

footer.site .links a {
  text-decoration: none;
}

footer.site .links a:hover {
  color: var(--foreground);
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 32px;
  }
  .hero p.lead {
    font-size: 16px;
  }
  .hero-brand img {
    width: 84px;
    height: 84px;
  }
  .hero-brand .wordmark {
    font-size: 30px;
  }
  section {
    padding: 56px 0;
  }
}
