:root {
  --bg: #0b1020;
  --bg-soft: #111831;
  --panel: rgba(16, 24, 48, 0.88);
  --card: #121a33;
  --card-strong: #172242;
  --text: #eff4ff;
  --muted: #a1afc9;
  --line: rgba(255, 255, 255, 0.1);
  --brand: #4ade80;
  --brand-2: #38bdf8;
  --brand-3: #fbbf24;
  --shadow: 0 24px 80px rgba(3, 8, 20, 0.45);
  --radius: 22px;
  --radius-sm: 16px;
  --font-head: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 28%),
    radial-gradient(circle at left 20%, rgba(74, 222, 128, 0.12), transparent 24%),
    linear-gradient(180deg, #0a1022 0%, #0b1020 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.02);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.28);
  background: rgba(74, 222, 128, 0.08);
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 100%;
}

.section-tag::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-head);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.3rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0;
}

.lead,
.section-sub {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
  text-wrap: pretty;
}

.hero {
  position: relative;
  padding: 9rem 0 5.5rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}

.hero::before {
  top: 2rem;
  right: -8rem;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 68%);
}

.hero::after {
  bottom: -6rem;
  left: -8rem;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.18) 0%, transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: end;
}

.hero-copy h1 strong,
.hero-copy h1 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy .lead {
  margin-top: 1.3rem;
}

.hero-actions,
.cta-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.cta-actions:has(> :only-child) {
  justify-content: center;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.button {
  background: linear-gradient(135deg, var(--brand) 0%, #80ffb3 100%);
  color: #04101d;
  box-shadow: 0 18px 35px rgba(74, 222, 128, 0.18);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.hero-panel,
.info-panel,
.cta-box,
.card,
.quote-card,
.process-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}

.hero-panel h3 {
  margin-bottom: 1rem;
}

.mini-metrics {
  display: grid;
  gap: 0.85rem;
}

.mini-metric {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem 1rem;
  align-items: start;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-metric:first-child {
  padding-top: 0;
  border-top: 0;
}

.metric-number {
  min-width: 3.4rem;
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
}

.metric-text strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.98rem;
}

.metric-text span {
  color: var(--muted);
  font-size: 0.92rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.6rem;
}

.stat-card {
  padding: 1.2rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 1.8rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.grid-steps,
.grid-cards,
.grid-features,
.grid-cases,
.grid-process {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.4rem;
}

.grid-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-features {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-cases {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-process {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.quote-card,
.process-card {
  padding: 1.5rem;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.4rem 0.85rem;
  border-radius: 1rem;
  background: rgba(74, 222, 128, 0.12);
  color: var(--brand);
  font-family: var(--font-head);
  font-weight: 800;
}

.card p,
.quote-card p,
.process-card p,
.card li {
  color: var(--muted);
  text-wrap: pretty;
}

.list-clean {
  display: grid;
  gap: 0.7rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.list-clean li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.list-clean li::before {
  content: "+";
  color: var(--brand);
  font-weight: 800;
}

.card-link {
  display: inline-flex;
  margin-top: 1.2rem;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.quote-card blockquote {
  margin: 1rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid rgba(74, 222, 128, 0.45);
  color: var(--muted);
}

.quote-card footer {
  margin-top: 1rem;
  color: var(--text);
  font-weight: 700;
}

.quote-card footer span {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.process-card .eyebrow {
  margin-bottom: 1rem;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

.story-copy h2 {
  max-width: 12ch;
}

.story-text {
  max-width: 60ch;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 1.06rem;
  text-wrap: pretty;
}

.story-panel {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.story-panel h3 {
  margin-bottom: 1.25rem;
}

.story-points {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: story-points;
}

.story-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.story-points li::before {
  counter-increment: story-points;
  content: counter(story-points);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.1);
  color: var(--brand);
  font-family: var(--font-head);
  font-weight: 800;
}

.faq-intro {
  text-align: center;
}

.faq-intro .section-tag {
  margin-left: auto;
  margin-right: auto;
}

.faq-intro .section-sub {
  margin: 1rem auto 0;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.faq-item {
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--brand-2);
  font-size: 1.7rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "×";
}

.faq-answer {
  padding: 0 1.6rem 1.5rem;
}

.faq-answer p {
  max-width: 72ch;
  color: var(--muted);
  font-size: 1.02rem;
  text-wrap: pretty;
}

.cta-box {
  padding: 3rem;
  text-align: center;
}

.cta-box .section-sub {
  margin: 1rem auto 0;
}

.breadcrumb {
  padding-top: 7.2rem;
}

.breadcrumb .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb .current {
  color: var(--brand);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding-top: max(0.75rem, env(safe-area-inset-top));
}

.site-header .container {
  position: relative;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem 0.85rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 16, 34, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.logo {
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo span {
  color: var(--brand);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.nav-dropdown > button::after {
  content: "▾";
  font-size: 0.7rem;
}

.nav-dropdown:hover > button,
.nav-dropdown:focus-within > button {
  color: var(--text);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  min-width: 280px;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(12, 18, 36, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 0.85rem;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.dropdown-title {
  display: block;
  color: var(--text);
  font-weight: 700;
}

.dropdown-copy {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
}

.nav-toggle span::before {
  top: -0.38rem;
}

.nav-toggle span::after {
  top: 0.38rem;
}

body.nav-open .nav-toggle span {
  background: transparent;
}

body.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-panel {
  display: none;
  margin-top: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(10, 16, 34, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  max-height: calc(100vh - 6.5rem);
  overflow-y: auto;
}

.nav-panel nav,
.nav-panel .mobile-group {
  display: grid;
  gap: 0.7rem;
}

.nav-panel a {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
}

.nav-panel small {
  display: block;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav-panel-label {
  margin: 0.2rem 0 0.15rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.nav-open .nav-panel {
  display: block;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.92rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-grid,
  .story-grid,
  .grid-steps,
  .grid-features,
  .grid-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .site-header {
    padding-top: 0.8rem;
  }

  .nav-shell {
    border-radius: 1.25rem;
    padding: 0.8rem 0.85rem 0.8rem 1rem;
  }

  .nav-links,
  .nav-shell > .button {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 8rem;
  }

  .hero-grid,
  .story-grid,
  .grid-cards {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    order: -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, 1120px);
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.72rem, 8vw, 2.4rem);
    line-height: 1.08;
  }

  h3 {
    font-size: 1.05rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero {
    padding: 7.2rem 0 4rem;
  }

  .hero::before {
    right: -11rem;
    width: 18rem;
    height: 18rem;
  }

  .hero::after {
    left: -10rem;
    width: 16rem;
    height: 16rem;
  }

  .hero-panel,
  .card,
  .quote-card,
  .process-card,
  .cta-box {
    padding: 1.3rem;
    border-radius: 1.2rem;
  }

  .button,
  .button-secondary {
    width: 100%;
    min-height: 3.4rem;
  }

  .grid-steps,
  .grid-features,
  .grid-process {
    grid-template-columns: 1fr;
  }

  .story-copy h2 {
    max-width: none;
  }

  .story-text {
    font-size: 0.99rem;
  }

  .story-panel {
    padding: 1.3rem;
    border-radius: 1.2rem;
  }

  .story-points li {
    gap: 0.75rem;
    font-size: 0.98rem;
  }

  .story-points li::before {
    width: 2.1rem;
    height: 2.1rem;
  }

  .faq-item summary {
    padding: 1.2rem 1.2rem 1rem;
    font-size: 1.04rem;
    align-items: start;
  }

  .faq-answer {
    padding: 0 1.2rem 1.2rem;
  }

  .faq-answer p {
    font-size: 0.98rem;
  }

  .section-tag {
    width: fit-content;
    font-size: 0.7rem;
    padding: 0.4rem 0.78rem;
  }

  .lead,
  .section-sub {
    font-size: 0.99rem;
  }

  .hero-copy .lead {
    margin-top: 1rem;
  }

  .hero-actions,
  .cta-actions,
  .button-row {
    gap: 0.75rem;
    margin-top: 1.4rem;
  }

  .stats-row {
    margin-top: 1.8rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .mini-metric {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .metric-number {
    min-width: 0;
    font-size: 1.1rem;
  }

  .card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .eyebrow {
    min-width: 2.6rem;
    min-height: 2.6rem;
    padding: 0.35rem 0.7rem;
    border-radius: 0.85rem;
  }

  .breadcrumb {
    padding-top: 6.7rem;
  }

  .breadcrumb .container {
    gap: 0.35rem;
    font-size: 0.84rem;
  }

  .nav-panel {
    padding: 0.85rem;
    border-radius: 1.15rem;
    max-height: calc(100vh - 5.75rem);
  }

  .nav-panel a {
    padding: 0.82rem 0.9rem;
  }

  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 1rem, 1120px);
  }

  .hero {
    padding-top: 6.9rem;
  }

  .nav-shell {
    padding-left: 0.85rem;
  }

  .logo {
    font-size: 1rem;
  }

  .hero-panel,
  .card,
  .quote-card,
  .process-card,
  .cta-box {
    padding: 1.1rem;
  }

  .site-footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
