:root {
  --bg-page: #ffffff;
  --bg-warm: #f6f5f4;
  --bg-warm-alt: #f3f1ef;
  --bg-dark: #31302e;
  --bg-dark-alt: #2a2927;
  --bg-dark-soft: #3a3836;
  --surface: #ffffff;
  --surface-soft: #fbfaf9;
  --surface-dark: rgba(255, 255, 255, 0.06);
  --text-primary: rgba(0, 0, 0, 0.95);
  --text-secondary: #615d59;
  --text-muted: #a39e98;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, 0.72);
  --line-light: rgba(0, 0, 0, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);
  --blue: #0075de;
  --blue-active: #005bab;
  --blue-tint: #f2f9ff;
  --focus: #097fe8;
  --shadow-card: rgba(0, 0, 0, 0.04) 0 4px 18px, rgba(0, 0, 0, 0.027) 0 2.025px 7.84688px,
    rgba(0, 0, 0, 0.02) 0 0.8px 2.925px, rgba(0, 0, 0, 0.01) 0 0.175px 1.04062px;
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --max: 1200px;
  --section-y: clamp(64px, 9vw, 104px);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.5;
}

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

.skip-link {
  position: absolute;
  top: 12px;
  left: -999px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: min(42vw, 220px);
}

.nav {
  display: none;
  gap: 28px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
}

@media (min-width: 880px) {
  .nav {
    display: flex;
  }
}

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

.shell {
  width: min(100% - clamp(24px, 5vw, 80px), var(--max));
  margin-inline: auto;
}

.shell--relative {
  position: relative;
  z-index: 1;
}

.shell.narrow {
  max-width: 640px;
  text-align: center;
}

.section {
  position: relative;
  padding-block: var(--section-y);
  scroll-margin-top: 84px;
}

.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line-light);
  opacity: 0.8;
}

.band-light {
  background: var(--bg-page);
  color: var(--text-primary);
}

.band-dark {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  overflow: hidden;
}

.band-dark--tight {
  padding-block: calc(var(--section-y) * 0.84);
}

.band-gradient {
  background: linear-gradient(180deg, #f8f7f5 0%, #f2efeb 100%);
  color: var(--text-primary);
  border-top: 1px solid var(--line-light);
  padding: clamp(56px, 8vw, 88px) clamp(24px, 5vw, 40px);
}

.core.band-light {
  background: var(--bg-warm);
}

.solutions.band-light {
  background: var(--bg-page);
}

.security.band-light {
  background: var(--bg-warm-alt);
}

.faq.band-light {
  background: var(--bg-page);
}

.templates.band-dark {
  background: linear-gradient(180deg, var(--bg-dark-alt) 0%, var(--bg-dark) 100%);
}

.use.band-dark {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-soft) 100%);
}

.stories.band-dark {
  background: linear-gradient(180deg, #302f2d 0%, #2a2927 100%);
}

.guide.band-dark {
  background: linear-gradient(180deg, var(--bg-dark-soft) 0%, var(--bg-dark) 100%);
}

.aurora {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1), transparent 36%),
    radial-gradient(circle at 75% 22%, rgba(98, 174, 240, 0.15), transparent 34%);
  filter: blur(40px);
}

.aurora--soft {
  opacity: 0.55;
}

.templates::after,
.use::after,
.stories::after,
.guide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.08), transparent 32%),
    radial-gradient(circle at 12% 86%, rgba(98, 174, 240, 0.1), transparent 26%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), color 0.18s var(--ease);
}

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

.btn:active {
  transform: scale(0.96);
}

.btn:focus-visible,
.core-item:focus-visible,
.use-tab:focus-visible,
.sol-tab:focus-visible,
.story-nav:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.btn-gradient {
  background: var(--blue);
  color: #fff;
}

.btn-gradient:hover {
  background: var(--blue-active);
}

.btn-pill-light {
  background: var(--surface);
  color: var(--text-primary);
  border-color: var(--line-light);
}

.btn-pill-light:hover {
  background: var(--surface-soft);
}

.btn-pill-dark {
  background: var(--text-primary);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 0.875rem;
}

.btn--header {
  min-height: 36px;
}

.btn-lg {
  min-height: 44px;
  padding-inline: 20px;
}

.hero {
  min-height: calc(100svh - 72px);
  padding-top: 40px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
}

.hero-replica {
  position: relative;
  min-height: 576px;
  padding: 0;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 18%, rgba(56, 255, 236, 0.36), transparent 28%),
    radial-gradient(circle at 30% 76%, rgba(164, 74, 255, 0.28), transparent 34%),
    radial-gradient(circle at 78% 84%, rgba(44, 250, 180, 0.24), transparent 30%),
    linear-gradient(115deg, #05195d 0%, #0c1e78 24%, #15156c 48%, #112d8f 72%, #0c2f63 100%);
}

.hero-replica::before,
.hero-replica::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-replica::before {
  background:
    repeating-linear-gradient(
      102deg,
      transparent 0 64px,
      rgba(146, 101, 255, 0.12) 64px 68px,
      transparent 68px 124px
    ),
    repeating-linear-gradient(
      28deg,
      transparent 0 88px,
      rgba(72, 255, 230, 0.1) 88px 92px,
      transparent 92px 158px
    );
  mix-blend-mode: screen;
  opacity: 0.5;
}

.hero-replica::after {
  background:
    radial-gradient(circle at 50% 60%, rgba(83, 255, 198, 0.18), transparent 22%),
    radial-gradient(circle at 50% 54%, rgba(164, 101, 255, 0.2), transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 6%);
}

.hero-replica-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 53%, rgba(255, 255, 255, 0.2), transparent 14%),
    radial-gradient(circle at 52% 54%, rgba(47, 255, 210, 0.2), transparent 18%),
    radial-gradient(circle at 52% 53%, rgba(125, 54, 255, 0.24), transparent 26%);
  filter: blur(0.5px);
  pointer-events: none;
}

.hero-replica-content {
  position: relative;
  z-index: 2;
  width: min(92vw, 980px);
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.52);
}

.hero-replica-content h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.06;
  letter-spacing: 0.02em;
  font-weight: 800;
}

.hero-replica-content p {
  margin: 22px 0 0;
  font-size: clamp(1rem, 2.2vw, 2rem);
  color: rgba(255, 255, 255, 0.92);
}

.hero-replica-cta {
  margin-top: 28px;
  min-height: 52px;
  padding: 12px 34px;
  border-radius: 999px;
  border: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  background: linear-gradient(100deg, #7a36ff 0%, #4f5cff 40%, #2be8b6 100%);
  box-shadow: 0 8px 28px rgba(79, 92, 255, 0.45), 0 0 22px rgba(43, 232, 182, 0.3);
}

.hero-replica-cta:hover {
  background: linear-gradient(100deg, #853eff 0%, #5b68ff 42%, #35f1c0 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - clamp(24px, 5vw, 80px), var(--max));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 40px;
}

.hero-copy,
.hero-trust,
.block-head,
.story-cta,
.faq {
  text-align: center;
}

.hero-copy h1 {
  margin: 0 auto;
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 4rem);
  line-height: 1;
  letter-spacing: -2.125px;
}

.hero-sub {
  margin: 22px auto 0;
  max-width: 40rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-on-dark-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-media,
.panel-frame,
.sol-visual,
.tpl-preview {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.hero-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
}

.media-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.125px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.trust-label {
  margin: 0 0 16px;
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.logo-strip span,
.story-logo-row span {
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.block-head {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.block-head h2,
.sec-head h2,
.footer-cta-title {
  margin: 14px 0 0;
  font-size: clamp(2.25rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -1.5px;
}

.sub {
  margin: 16px 0 0;
  color: var(--text-secondary);
}

.sub.dual {
  display: grid;
  gap: 6px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue-tint);
  color: var(--focus);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.125px;
}

.pill--on-dark {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

.text-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue);
}

.text-link--light {
  color: #62aef0;
}

.text-link--dark {
  color: var(--blue);
}

.core-split,
.sol-nav,
.use-card,
.story-quote,
.guide-card,
.sec-grid > div {
  background: var(--surface);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-card);
}

.core .core-split,
.solutions .sol-nav,
.security .sec-grid > div,
.faq .pill {
  border-color: rgba(0, 0, 0, 0.12);
}

.core-split {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.12fr);
  gap: 24px;
  padding: 16px;
  border-radius: var(--radius-lg);
}

@media (max-width: 900px) {
  .core-split {
    grid-template-columns: 1fr;
  }
}

.core-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.core-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px 16px;
  width: 100%;
  padding: 18px 16px;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  background: var(--surface);
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}

.core-item:last-child {
  border-bottom: 0;
}

.core-item:hover,
.core-item.is-active {
  background: var(--surface-soft);
}

.core-item.is-active {
  box-shadow: inset 2px 0 0 var(--blue);
}

.core-dot,
.ic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-tint);
  border: 1px solid rgba(9, 127, 232, 0.16);
}

.core-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.core-desc,
.panel-label,
.use-icons,
.use-trust,
.bullets,
.story-quote blockquote,
.story-metrics span,
.guide-link,
.sec-head .sub {
  color: var(--text-secondary);
}

.core-desc {
  display: block;
  margin-top: 6px;
  font-size: 0.9375rem;
}

.core-arrow {
  align-self: center;
  color: var(--blue);
}

.core-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.125px;
  text-transform: uppercase;
}

.panel-frame {
  min-height: 280px;
  display: grid;
  place-items: center;
}

.tpl-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 800px) {
  .tpl-row {
    grid-template-columns: 1fr;
  }
}

.tpl-card {
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--surface-dark);
  backdrop-filter: blur(10px);
}

.tpl-chrome {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.tpl-chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
}

.tpl-preview {
  min-height: 132px;
  background: rgba(255, 255, 255, 0.95);
}

.tpl-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
}

.dots .on {
  background: #fff;
}

.use-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-bottom: 28px;
}

.use-tab {
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--text-on-dark-muted);
  padding: 6px 0;
  cursor: pointer;
}

.use-tab.is-active,
.use-tab:hover {
  color: var(--text-on-dark);
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.use-card {
  max-width: 660px;
  margin-inline: auto;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
}

.use-card h3,
.sol-copy h3,
.guide-name,
.sec-grid > div {
  color: var(--text-primary);
}

.use-icons {
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 30px;
}

.use-icons li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.use-trust {
  margin: 22px 0 0;
}

.sol-split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
}

@media (max-width: 800px) {
  .sol-split {
    grid-template-columns: 1fr;
  }
}

.sol-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sol-nav li + li {
  border-top: 1px solid var(--line-light);
}

.sol-tab {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
}

.sol-tab:hover,
.sol-tab.is-active {
  background: var(--surface-soft);
  color: var(--text-primary);
}

.sol-body {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 240px);
  gap: 26px;
}

@media (max-width: 700px) {
  .sol-body {
    grid-template-columns: 1fr;
  }
}

.bullets {
  margin: 0 0 22px;
  padding-left: 1.2rem;
}

.sol-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
}

.sol-visual {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.story-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.story-nav {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark);
  cursor: pointer;
}

.story-logo-row {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.story-quote {
  margin: 0;
  padding: 28px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  background: rgba(255, 255, 255, 0.98);
}

@media (max-width: 720px) {
  .story-quote {
    grid-template-columns: 1fr;
  }
}

.quote-mark {
  display: block;
  margin-bottom: 6px;
  font-size: 2rem;
  color: var(--blue);
}

.story-quote figcaption {
  grid-column: 1;
}

.story-metrics {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story-metrics div {
  min-width: 116px;
  padding: 14px 16px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  text-align: center;
}

.story-metrics strong {
  display: block;
  font-size: 1.625rem;
}

.sec-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.sec-dots {
  display: flex;
  gap: 8px;
  padding-top: 6px;
}

.sec-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.75;
}

.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 700px) {
  .sec-grid {
    grid-template-columns: 1fr;
  }
}

.sec-grid > div {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
}

.guide-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .guide-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .guide-row {
    grid-template-columns: 1fr;
  }
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 132px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.guide-ic {
  color: var(--blue);
}

.guide-link {
  margin-top: auto;
}

.guide-card:hover {
  transform: translateY(-2px);
  border-color: rgba(9, 127, 232, 0.22);
}

.faq {
  padding-bottom: calc(var(--section-y) + 16px);
}

.footer-cta-sub {
  margin: 16px 0 28px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  .topbar {
    min-height: 64px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy h1 {
    letter-spacing: -1.2px;
  }

  .hero-replica {
    min-height: 460px;
  }

  .hero-replica-content h1 {
    letter-spacing: 0.01em;
  }

  .brand-logo {
    height: 30px;
    max-width: min(48vw, 180px);
  }

  .logo-strip,
  .story-logo-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
