/* ===== Tokens ===== */
:root {
  --background: #f8f9fb;
  --foreground: #1e2433;
  --card: #ffffff;
  --card-foreground: #1e2433;
  --primary: #0065cc;
  --primary-foreground: #f8f9fb;
  --secondary: #eef1f6;
  --muted: #eef1f6;
  --muted-foreground: #5b6472;
  --accent: #dde8f7;
  --accent-foreground: #1f3a63;
  --border: #e2e6ee;
  --input: #e2e6ee;
  --ring: #0065cc;
  --radius: 0.75rem;
  --max-width: 72rem;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--background);
}

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

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn--lg {
  height: 3rem;
  padding: 0 1.5rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

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

.btn--primary:hover {
  background-color: #0058b3;
}

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

.btn--outline:hover {
  background-color: var(--secondary);
}

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

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

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 230, 238, 0.6);
  background-color: rgba(248, 249, 251, 0.8);
  backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand__logo {
  /* width: 2.25rem; */
  height: 2.25rem;
  border-radius: 0.5rem;
}

.brand__name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--foreground);
}

.header__actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.header__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  color: var(--foreground);
  border-radius: 0.5rem;
  margin-left: auto;
  cursor: pointer;
}

.mobile-nav {
  border-top: 1px solid rgba(226, 230, 238, 0.6);
  background-color: var(--background);
}

.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.mobile-nav__inner a {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.mobile-nav__inner a:hover {
  background-color: var(--muted);
  color: var(--foreground);
}

.mobile-nav__inner .btn {
  margin-top: 0.5rem;
  color: var(--primary-foreground);
}

@media (min-width: 768px) {
  .nav,
  .header__actions {
    display: flex;
  }
  .header__menu-btn {
    display: none;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero .container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero__content {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.badge__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--primary);
}

.hero__title {
  margin-top: 1.5rem;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero__subtitle {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.hero__highlights {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.hero__highlights li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.check {
  position: relative;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.check::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.801 10A10 10 0 1 1 17 3.335'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.801 10A10 10 0 1 1 17 3.335'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero__media {
  position: relative;
  max-width: 64rem;
  margin: 3.5rem auto 0;
}

.hero__media img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background-color: var(--card);
  box-shadow: 0 25px 50px -12px rgba(0, 101, 204, 0.12);
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
    width: auto;
  }
  .hero__title {
    font-size: 3.75rem;
  }
  .hero__subtitle {
    font-size: 1.25rem;
  }
}

/* ===== Sections ===== */
.section {
  border-top: 1px solid var(--border);
}

.section .container {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section--muted {
  background-color: rgba(238, 241, 246, 0.5);
}

.section__head {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.section__title {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section__lead {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .section__title {
    font-size: 2.25rem;
  }
}

/* ===== Grids ===== */
.grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Feature card ===== */
.card {
  border: 1px solid var(--border);
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 10px 30px -10px rgba(0, 101, 204, 0.08);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.card__title {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.card__text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ===== Steps ===== */
.step__num {
  font-size: 2.25rem;
  font-weight: 600;
  color: rgba(0, 101, 204, 0.3);
}

.step__title {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.step__text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ===== Benefits ===== */
.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.stats {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat__value {
  font-size: 1.875rem;
  font-weight: 600;
}

.stat__label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.benefits__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit {
  display: flex;
  gap: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.benefit__title {
  font-size: 1.125rem;
  font-weight: 600;
}

.benefit__text {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

@media (min-width: 1024px) {
  .benefits {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  .stat__value {
    font-size: 2.25rem;
  }
}

/* ===== CTA ===== */
.cta {
  border: 1px solid var(--border);
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 1rem;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.cta__title {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cta__lead {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(248, 249, 251, 0.8);
}

.cta__card {
  background-color: var(--card);
  color: var(--card-foreground);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .cta {
    padding: 4rem 3rem;
  }
  .cta__title {
    font-size: 2.25rem;
  }
  .cta__card {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .cta {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
}

/* ===== Form ===== */
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.875rem;
  font-weight: 500;
}

.field input {
  height: 2.75rem;
  border: 1px solid var(--input);
  border-radius: 0.5rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  background-color: var(--background);
  color: var(--foreground);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(0, 101, 204, 0.2);
}

.form .btn {
  margin-top: 0.5rem;
}

.form__note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
  color: var(--primary);
}

.form-success h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.form-success p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  background-color: rgba(238, 241, 246, 0.5);
}

.footer .container {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.footer__brand {
  grid-column: span 2;
}

.footer__brand p {
  margin-top: 1rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.footer__col h3 {
  font-size: 0.875rem;
  font-weight: 600;
}

.footer__col ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__col a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.15s ease;
}

.footer__col a:hover {
  color: var(--foreground);
}

.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer__bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.15s ease;
}

.footer__legal a:hover {
  color: var(--foreground);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__brand {
    grid-column: span 1;
  }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
