:root {
  color-scheme: light;
  --ink-900: #0b1120;
  --ink-700: #233048;
  --ink-500: #50627d;
  --ink-300: #c9d3e3;
  --surface: #f5f7fb;
  --surface-strong: #ffffff;
  --accent: #0f172a;
  --accent-bright: #38bdf8;
  --accent-warm: #f59e0b;
  --border: rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.14);
  --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 15% 5%, rgba(56, 189, 248, 0.18), transparent 48%),
    radial-gradient(circle at 85% 10%, rgba(245, 158, 11, 0.14), transparent 50%),
    linear-gradient(180deg, #f9fafc 0%, #eef2f8 100%);
  min-height: 100vh;
}

body.is-locked {
  overflow: hidden;
}

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

main {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(249, 250, 252, 0.8);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.site-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.2);
  object-fit: contain;
  padding: 4px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-weight: 600;
  font-size: 16px;
}

.brand__tag {
  font-size: 12px;
  color: var(--ink-500);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--ink-700);
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(0);
  opacity: 0.65;
}

.orb--one {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.7), transparent 70%);
  top: -80px;
  left: -60px;
}

.orb--two {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.55), transparent 70%);
  bottom: -100px;
  right: -40px;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(transparent 94%, rgba(15, 23, 42, 0.05) 96%),
    linear-gradient(90deg, transparent 94%, rgba(15, 23, 42, 0.05) 96%);
  background-size: 120px 120px;
  opacity: 0.35;
}

.hero__content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero__copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  margin: 12px 0 16px;
}

.hero__copy p {
  color: var(--ink-700);
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.hero__meta {
  display: flex;
  gap: 18px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--ink-500);
  flex-wrap: wrap;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--ink-900);
  color: #fff;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.22);
}

.btn.secondary {
  background: rgba(15, 23, 42, 0.08);
  color: var(--ink-900);
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.2);
  color: var(--ink-900);
}

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

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--ink-900);
}

.icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.18);
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.toc-card {
  width: min(440px, 100%);
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 20px;
  display: grid;
  gap: 18px;
}

.toc-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-500);
}

.toc-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
}

.toc-card__title {
  flex: 1;
}

.toc-card__chip {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--ink-700);
}

.toc-list {
  display: grid;
  gap: 12px;
}

.toc-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.04);
}

.toc-item.is-active {
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.toc-index {
  font-weight: 600;
  color: var(--ink-700);
}

.toc-body {
  display: grid;
  gap: 4px;
}

.toc-title {
  font-weight: 600;
  font-size: 14px;
}

.toc-preview {
  font-size: 12px;
  color: var(--ink-500);
}

.toc-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-500);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 12px;
}

section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 32px;
}

.showcase {
  padding-top: 30px;
}

.showcase__layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1.1fr);
  gap: 36px;
  align-items: center;
}

.showcase__text h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin: 12px 0 16px;
}

.showcase__text p {
  color: var(--ink-700);
  line-height: 1.7;
}

.showcase__features {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.showcase__feature {
  background: var(--surface-strong);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
}

.showcase__feature h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.showcase__feature p {
  margin: 0;
  color: var(--ink-500);
  font-size: 14px;
}

.showcase__carousel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.showcase__carousel::before,
.showcase__carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.showcase__carousel::before {
  left: 0;
  background: linear-gradient(90deg, rgba(249, 250, 252, 0.9), rgba(249, 250, 252, 0));
}

.showcase__carousel::after {
  right: 0;
  background: linear-gradient(270deg, rgba(249, 250, 252, 0.9), rgba(249, 250, 252, 0));
}

.carousel-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 20px;
  animation: showcase-scroll 28s linear infinite;
}

.showcase__carousel:hover .carousel-track {
  animation-play-state: paused;
}

.carousel-slide {
  flex: 0 0 auto;
  width: clamp(220px, 34vw, 420px);
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
  cursor: zoom-in;
}

@keyframes showcase-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    animation: none;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 17, 32, 0.78);
  backdrop-filter: blur(6px);
}

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  display: grid;
  place-items: center;
}

.lightbox__image {
  max-width: 100%;
  max-height: 86vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.4);
  background: #fff;
}

.lightbox__close {
  position: absolute;
  top: -18px;
  right: -12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #ffffff;
  color: var(--ink-900);
  font-size: 24px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.3);
}

.download-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.download-modal.is-open {
  display: flex;
}

.download-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 17, 32, 0.68);
  backdrop-filter: blur(6px);
}

.download-modal__content {
  position: relative;
  z-index: 1;
  width: min(920px, 92vw);
  max-height: 90vh;
  overflow: auto;
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.download-modal__header h2 {
  font-family: "Fraunces", serif;
  margin: 10px 0 8px;
}

.download-modal__header p {
  margin: 0 0 18px;
  color: var(--ink-500);
}

.download-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.download-modal__card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 18px;
  background: rgba(15, 23, 42, 0.04);
  display: grid;
  gap: 12px;
  align-content: start;
}

.download-modal__steps {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 12px;
  color: var(--ink-700);
  font-size: 14px;
}

.download-modal__steps h4 {
  margin: 0 0 6px;
}

.download-modal__steps ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.download-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.08);
  color: var(--ink-900);
  font-size: 20px;
}

.section-title {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.section-title h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0;
}

.section-title p {
  margin: 0;
  color: var(--ink-500);
}

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

.value-card,
.feature-item,
.step,
.faq-item {
  background: var(--surface-strong);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.value-card h3,
.feature-item h3,
.step h3,
.faq-item h3 {
  margin-top: 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

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

.step__num {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-500);
}

.cta {
  padding-top: 0;
}

.cta__card {
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.75));
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #f8fafc;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.cta__card h2 {
  margin: 0 0 10px;
  font-family: "Fraunces", serif;
  font-size: 2rem;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.site-footer {
  background: #0b1120;
  color: #dbe4f3;
  padding: 40px 0;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.footer-links,
.footer-meta {
  display: grid;
  gap: 10px;
  font-size: 13px;
}

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

  .site-nav {
    flex-wrap: wrap;
  }

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

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

@media (max-width: 600px) {
  .site-nav {
    padding: 16px 20px;
  }

  section {
    padding: 48px 20px;
  }

  .cta__card {
    padding: 28px;
  }
}
