:root {
  --bg: #050505;
  --bg-2: #0b0a07;
  --panel: rgba(16, 15, 12, 0.9);
  --panel-strong: rgba(24, 21, 14, 0.95);
  --line: rgba(231, 190, 73, 0.22);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f8f3e7;
  --muted: #bcb29a;
  --muted-2: #837866;
  --gold: #d4af37;
  --gold-light: #ffe08a;
  --gold-dark: #8a6720;
  --graphite: #15191c;
  --ok: #37d399;
  --warning: #f5b642;
  --danger: #e76f51;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(120deg, rgba(212, 175, 55, 0.1), transparent 22%),
    linear-gradient(240deg, rgba(255, 224, 138, 0.06), transparent 24%),
    linear-gradient(180deg, #050505 0%, #020202 42%, #0a0805 100%);
  color: var(--text);
  font-family:
    Inter,
    Manrope,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.024) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), transparent 42%, rgba(0, 0, 0, 0.8)),
    linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.08));
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

section[id] {
  scroll-margin-top: 96px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  transform: translateY(-80px);
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: #050505;
  color: var(--gold-light);
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.section-shell,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.brand-mark img,
.footer-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.footer-brand strong {
  display: block;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 900;
}

.brand small,
.footer-brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.main-nav a,
.header-cta,
.site-footer nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 11px 12px;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.main-nav a:hover,
.site-footer nav a:hover {
  background: rgba(212, 175, 55, 0.09);
  color: var(--gold-light);
}

.header-cta {
  border: 1px solid rgba(212, 175, 55, 0.32);
  color: var(--gold-light);
}

.header-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 224, 138, 0.7);
  background: rgba(212, 175, 55, 0.11);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 46px;
  align-items: center;
  padding: 44px 0 58px;
}

.product-line {
  margin: 0 0 20px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  color: var(--text);
  font-size: 82px;
  font-weight: 950;
  line-height: 0.96;
}

h2 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 48px;
  font-weight: 920;
  line-height: 1.02;
}

h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.18;
}

.hero-lead,
.section-heading p,
.learning-copy p,
.evidence-copy p,
.final-cta p,
.legal-hero p {
  max-width: 690px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.68;
}

.hero-actions,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin: 34px 0 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #050505;
  box-shadow: 0 18px 44px rgba(212, 175, 55, 0.2);
}

.button.secondary {
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(255, 255, 255, 0.035);
  color: var(--gold-light);
}

.button.secondary:hover {
  border-color: rgba(255, 224, 138, 0.62);
  box-shadow: 0 18px 48px rgba(212, 175, 55, 0.08);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.proof-strip div,
.feature-card,
.operation-item,
.status-card,
.mini-brief,
.report-panel,
.hero-product,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)), var(--panel);
  box-shadow: var(--shadow);
}

.proof-strip div {
  padding: 15px;
  box-shadow: none;
}

.proof-strip dt {
  margin-bottom: 6px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 900;
}

.proof-strip dd {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.hero-product {
  position: relative;
  overflow: hidden;
  padding: 16px;
}

.hero-product::before,
.report-panel::before,
.final-cta::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(255, 224, 138, 0.16), transparent 36%);
}

.product-topbar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  padding: 4px 4px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 18px rgba(55, 211, 153, 0.62);
}

.product-topbar strong {
  color: var(--ok);
  font-size: 12px;
}

.product-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 14px;
  padding-top: 16px;
}

.chat-preview {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 224, 138, 0.2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(10, 8, 4, 0.94)), var(--graphite);
}

.rollo {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  display: grid;
  gap: 4px;
  height: 122px;
  padding: 12px;
  background: linear-gradient(180deg, #211b0e, #0d0b08);
  border-bottom: 1px solid rgba(255, 224, 138, 0.28);
  transform: translateY(-78px);
  animation: rolloOpen 1100ms ease-out 450ms both;
}

.rollo span {
  display: block;
  border: 1px solid rgba(255, 224, 138, 0.13);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(255, 224, 138, 0.12), rgba(0, 0, 0, 0.2));
}

@keyframes rolloOpen {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-78px);
  }
}

.chat-head {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 62px 18px 14px;
  border-bottom: 1px solid var(--line-soft);
}

.chat-head img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.chat-head strong,
.chat-head small {
  display: block;
}

.chat-head small,
.chat-status,
.status-card span,
.mini-brief span,
.report-header,
.report-score span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.chat-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.bubble {
  max-width: 88%;
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

.bubble.bot {
  background: rgba(255, 255, 255, 0.04);
}

.bubble.user {
  justify-self: end;
  border-color: rgba(212, 175, 55, 0.28);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
}

.chat-status {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}

.security-stack {
  display: grid;
  gap: 12px;
}

.status-card,
.mini-brief {
  padding: 16px;
  box-shadow: none;
}

.status-card strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 18px;
}

.status-card.high strong {
  color: var(--ok);
}

.mini-brief p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.split-section,
.learning-section,
.evidence-section,
.operation-section {
  padding: 64px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.8fr);
  gap: 44px;
  align-items: start;
  margin-bottom: 34px;
}

.feature-rail,
.operation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.operation-item {
  min-height: 250px;
  padding: 24px;
  box-shadow: none;
}

.feature-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 8px;
  color: var(--gold-light);
  font-weight: 950;
}

.feature-card p,
.operation-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.learning-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1fr);
  gap: 46px;
  align-items: center;
}

.learning-flow {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.learning-flow li {
  display: grid;
  grid-template-columns: 156px 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.032);
  padding: 18px;
}

.learning-flow strong {
  color: var(--gold-light);
  font-size: 18px;
}

.learning-flow span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.evidence-section {
  display: grid;
  grid-template-columns: minmax(410px, 0.85fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.report-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
}

.report-panel > * {
  position: relative;
}

.report-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 16px;
}

.report-header strong {
  color: var(--ok);
}

.report-score {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin: 28px 0;
}

.report-score strong {
  color: var(--gold-light);
  font-size: 74px;
  line-height: 1;
}

.report-lines {
  display: grid;
  gap: 17px;
}

.report-lines span {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.report-lines span::after {
  display: block;
  width: var(--value);
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  content: "";
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--gold-light);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

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

.operation-item {
  min-height: 210px;
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1fr);
  gap: 30px;
  align-items: center;
  overflow: hidden;
  margin-top: 56px;
  margin-bottom: 78px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.014)),
    var(--panel-strong);
  padding: 34px;
}

.final-cta > * {
  position: relative;
}

.final-cta h2 {
  max-width: 820px;
  margin-bottom: 12px;
  font-size: 40px;
}

.final-cta p {
  margin-bottom: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
  color: var(--text);
  padding: 12px 13px;
}

.contact-form input,
.contact-form select {
  min-height: 46px;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid rgba(255, 224, 138, 0.28);
  outline-offset: 2px;
}

.contact-form-wide,
.contact-form-actions {
  grid-column: 1 / -1;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.contact-form-actions p {
  min-width: min(100%, 280px);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.contact-form-actions p[data-state="success"] {
  color: var(--ok);
}

.contact-form-actions p[data-state="error"] {
  color: var(--danger);
}

.contact-form button:disabled {
  cursor: not-allowed;
  opacity: 0.64;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line-soft);
  padding: 26px 0 34px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 8px;
}

.legal-header {
  padding-top: 16px;
}

.legal-page {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0;
}

.legal-hero {
  margin-bottom: 28px;
}

.legal-hero h1 {
  font-size: 62px;
}

.legal-card {
  margin-top: 16px;
  padding: 24px;
}

.legal-card h2 {
  font-size: 26px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.legal-card a {
  color: var(--gold-light);
}

.reveal {
  transform: translateY(18px);
  opacity: 0;
  transition:
    transform 560ms ease,
    opacity 560ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.delay-1 {
  transition-delay: 100ms;
}

.delay-2 {
  transition-delay: 180ms;
}

.delay-3 {
  transition-delay: 260ms;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .learning-section,
  .evidence-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
    padding-top: 24px;
    min-height: auto;
  }

  h1 {
    font-size: 66px;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr) 180px;
  }

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

@media (max-width: 760px) {
  .site-header,
  .section-shell,
  .site-footer,
  .legal-page {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    position: relative;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero {
    gap: 0;
  }

  .header-cta {
    justify-self: start;
  }

  h1 {
    margin-bottom: 18px;
    font-size: 46px;
    line-height: 1;
  }

  h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .hero-lead,
  .section-heading p,
  .learning-copy p,
  .evidence-copy p,
  .final-cta p,
  .legal-hero p {
    font-size: 17px;
  }

  .product-line {
    margin-bottom: 12px;
  }

  .hero-lead {
    line-height: 1.55;
  }

  .hero-actions,
  .site-footer,
  .chat-status {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions {
    gap: 8px;
    margin: 20px 0;
  }

  .button {
    width: 100%;
  }

  .proof-strip,
  .feature-rail,
  .operation-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    gap: 8px;
  }

  .proof-strip div {
    padding: 10px 12px;
  }

  .proof-strip dt {
    margin-bottom: 4px;
  }

  .chat-preview {
    min-height: 500px;
  }

  .learning-flow li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .report-lines span {
    grid-template-columns: 1fr;
  }

  .report-score {
    display: block;
  }

  .final-cta {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .final-cta h2 {
    font-size: 30px;
  }

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

  .legal-hero h1 {
    font-size: 44px;
  }
}

@media (max-width: 460px) {
  .brand {
    align-items: flex-start;
  }

  .main-nav a {
    padding: 10px 9px;
  }

  h1 {
    font-size: 42px;
  }

  .chat-body {
    padding: 14px;
  }

  .bubble {
    max-width: 100%;
  }
}
