@font-face {
  font-family: 'Almoni DL AAA';
  src: url('../fonts/almoni-dl-aaa-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Almoni DL AAA';
  src: url('../fonts/almoni-dl-aaa-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Almoni DL AAA';
  src: url('../fonts/almoni-dl-aaa-900.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #06070a;
  --surface: #0d1017;
  --surface-2: #131722;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --ink: #f4f6fa;
  --muted: #b8c0cf;
  --dim: #8b95a8;
  --accent: #f2c744;
  --accent-hover: #f7d463;
  --accent-ink: #090a0e;
  --ok: #4ade80;
  --radius: 12px;
  --radius-lg: 18px;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Almoni DL AAA', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 7, 10, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 21px;
  color: var(--ink);
}
.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.32);
}
.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 15px;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  width: 42px;
  height: 42px;
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 16px 24px 22px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.mobile-nav a {
  display: block;
  padding: 8px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

/* Hero - Asymmetric Obsidian Stage */
.hero {
  position: relative;
  min-height: min(86dvh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #050608;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    270deg,
    rgba(5, 6, 8, 0.96) 0%,
    rgba(5, 6, 8, 0.88) 38%,
    rgba(5, 6, 8, 0.36) 66%,
    rgba(5, 6, 8, 0.18) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 72px;
}
.hero-copy {
  max-width: 560px;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.05rem, 3.25vw, 3.1rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
}
.hero-lead {
  margin: 0 0 30px;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 46ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-mobile-media {
  display: none;
}

/* Sections */
section.band {
  padding-block: 88px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 84px;
}
section.band-alt {
  background: var(--surface);
}
h2.sec-title {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}
.sec-lead {
  margin: 0 0 36px;
  color: var(--muted);
  max-width: 65ch;
  font-size: 18px;
}

/* Section 2: Definition & Capabilities Editorial Split */
.def-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: start;
}
.def-text {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
  max-width: 52ch;
}
.cap-list {
  display: grid;
  border-top: 1px solid var(--line);
}
.cap-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.cap-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-top: 3px;
}
.cap-row h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.cap-row p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 58ch;
}

/* Section 3: Interactive Product Stage */
.stage-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
}
.stage-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 12px;
}
.stage-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.stage-tab:hover { color: var(--ink); }
.stage-tab[aria-selected="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}
.stage-frame {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}
.stage-panel { display: none; }
.stage-panel.active { display: block; }
.stage-media {
  background: #07080b;
  border-bottom: 1px solid var(--line);
}
.stage-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
.stage-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}
.stage-caption p {
  margin: 0;
  color: var(--muted);
  max-width: 66ch;
}
.stage-caption strong { color: var(--ink); }

/* Section 4: Workflow Horizontal Rail */
.flow-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.flow-step {
  padding: 28px 22px;
  border-inline-end: 1px solid var(--line);
}
.flow-step:last-child { border-inline-end: 0; }
.flow-step h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.flow-tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

/* Section 5: Comparison Table */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
table.cmp {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
table.cmp thead th {
  text-align: start;
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
table.cmp thead th.col-hl {
  color: var(--accent);
}
table.cmp tbody td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
}
table.cmp tbody td:first-child {
  color: var(--ink);
  font-weight: 700;
  width: 24%;
}
table.cmp tbody td.col-hl {
  color: var(--ink);
  background: rgba(242, 199, 68, 0.04);
}
table.cmp tbody tr:last-child td { border-bottom: 0; }

/* Section 6: FAQ */
.faq-list {
  display: grid;
  border-top: 1px solid var(--line);
  max-width: 860px;
}
details.faq-item {
  border-bottom: 1px solid var(--line);
}
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding-block: 22px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--accent);
  transition: transform 0.2s ease;
}
details.faq-item[open] .faq-plus {
  transform: rotate(45deg);
}
.faq-body {
  padding: 0 0 22px;
  color: var(--muted);
  max-width: 68ch;
  margin: 0;
}

/* Section 7: Closing Band */
.closing-stage {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.closing-stage h2 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: 900;
  line-height: 1.2;
}
.closing-stage p {
  margin: 0;
  color: var(--muted);
  max-width: 54ch;
}

/* Subpages */
.sub-hero {
  padding-block: 64px 44px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.sub-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 900;
  line-height: 1.16;
}
.sub-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
  font-size: 18px;
}
.prose {
  max-width: 72ch;
}
.prose h2 {
  margin: 34px 0 12px;
  font-size: 24px;
  font-weight: 900;
}
.prose p, .prose li {
  color: var(--muted);
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.plan-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.plan-col.featured {
  border-color: var(--accent);
  background: var(--surface-2);
}
.plan-col h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}
.plan-col ul {
  margin: 0;
  padding-inline-start: 20px;
  color: var(--muted);
  display: grid;
  gap: 8px;
  flex: 1;
}

/* Footer */
.site-footer {
  padding-block: 48px 36px;
  background: #040507;
  color: var(--dim);
  font-size: 15px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.footer-brand p {
  margin: 10px 0 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 15px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}
.footer-nav a {
  color: var(--muted);
  font-weight: 700;
}
.footer-nav a:hover { color: var(--accent); }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--dim);
}

/* Reveal */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-ready .reveal:not(.in) {
  opacity: 0;
  transform: translateY(12px);
}
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal:not(.in) { opacity: 1; transform: none; }
  .reveal { transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 960px) {
  .nav-links, .header-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .def-split { grid-template-columns: 1fr; gap: 32px; }
  .flow-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-step { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .flow-step:last-child { border-bottom: 0; }
  .plans-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { padding-inline: 18px; }
  .hero { min-height: auto; }
  .hero-bg { display: none; }
  .hero-inner { padding-block: 36px 28px; }
  .hero-mobile-media {
    display: block;
    margin-top: 26px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .hero-cta .btn { width: 100%; }
  section.band { padding-block: 56px; }
  .flow-rail { grid-template-columns: 1fr; }
  .closing-stage { padding: 28px 22px; }
  .closing-stage .btn { width: 100%; }
  .stage-tabs { width: 100%; }
  .stage-tab { flex: 1 1 auto; text-align: center; padding: 9px 10px; font-size: 14px; }
  .stage-caption { padding: 16px; }
}
