:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --violet: #8b5cf6;
  --teal: #14b8a6;
  --amber: #f59e0b;
  --ink: #101828;
  --muted: #64748b;
  --paper: #ffffff;
  --canvas: #f8fafc;
  --line: rgba(15, 23, 42, 0.1);
  --shadow: 0 24px 80px rgba(79, 70, 229, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.18), transparent 32rem),
    radial-gradient(circle at 88% 10%, rgba(20, 184, 166, 0.16), transparent 28rem),
    linear-gradient(180deg, #fbfcff 0%, #f6f8ff 42%, #f8fafc 100%);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.052) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

a {
  color: inherit;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
}

.nav-inner,
.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(99, 102, 241, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.92rem;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--primary-dark);
  background: rgba(99, 102, 241, 0.08);
}

.hero {
  padding: 78px 0 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(99, 102, 241, 0.16);
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  max-width: 850px;
  margin-top: 24px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
}

.lead {
  max-width: 740px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.26rem);
  line-height: 1.76;
  font-weight: 650;
}

.hero-card {
  padding: 26px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(99, 102, 241, 0.14);
  box-shadow: var(--shadow);
}

.hero-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.hero-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 800;
}

.hero-card li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.12);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 21px;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  text-decoration: none;
  font-weight: 900;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  box-shadow: 0 18px 38px rgba(99, 102, 241, 0.28);
}

.btn-secondary {
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.78);
}

.section {
  padding: 58px 0;
}

.section h2 {
  max-width: 820px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.section-lead {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.74;
  font-weight: 650;
  font-size: 1.08rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.card {
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(99, 102, 241, 0.12);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.card h3 {
  font-size: 1.7rem;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.65;
  font-weight: 650;
}

.card ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.28fr);
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}

.article {
  padding: clamp(26px, 5vw, 44px);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(99, 102, 241, 0.12);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.article h2,
.article h3 {
  margin-top: 28px;
}

.article h2:first-child,
.article h3:first-child {
  margin-top: 0;
}

.article p,
.article li {
  color: var(--muted);
  line-height: 1.78;
  font-weight: 650;
}

.aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 14px;
}

.aside a {
  text-decoration: none;
}

.faq details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
  font-size: 1.05rem;
}

.faq p {
  margin-bottom: 0;
}

.footer {
  margin-top: 50px;
  padding: 36px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #0f172a;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 800;
}

@media (max-width: 920px) {
  .hero-grid,
  .content {
    grid-template-columns: 1fr;
  }

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

  .aside {
    position: static;
  }
}

@media (max-width: 680px) {
  .nav-inner,
  .container {
    width: min(100% - 26px, 1160px);
  }

  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }
}
