:root {
  --ink: #0b1821;
  --ink-soft: #142631;
  --paper: #f2f4ef;
  --paper-bright: #fbfcf8;
  --lime: #e8ff5a;
  --blue: #4a6fff;
  --cyan: #56dfcf;
  --muted: #64727b;
  --line: rgba(11, 24, 33, 0.14);
  --line-dark: rgba(255, 255, 255, 0.15);
  --shadow: 0 34px 90px rgba(4, 14, 20, 0.22);
  --max: 1420px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--lime);
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 800;
}
.skip-link:focus { top: 16px; }

.sale-banner {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  height: 38px;
  color: var(--ink);
  background: var(--lime);
  border-bottom: 1px solid rgba(11,24,33,.22);
}
.sale-banner a {
  width: min(calc(100% - 64px), var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .72rem;
}
.sale-banner strong { font-weight: 900; letter-spacing: .03em; text-transform: uppercase; }
.sale-banner span:not(.sale-banner-status) { color: rgba(11,24,33,.65); }
.sale-banner b { margin-left: 5px; font-size: .92rem; transition: transform .2s ease; }
.sale-banner a:hover b, .sale-banner a:focus-visible b { transform: translateX(4px); }
.sale-banner-status { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgba(11,24,33,.1); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 64px), var(--max));
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  border-bottom: 1px solid var(--line-dark);
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.02rem; font-weight: 850; letter-spacing: -0.02em; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 8px;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 900;
}
.main-nav { display: flex; align-items: center; gap: 34px; color: rgba(255,255,255,.72); font-size: .91rem; }
.main-nav a, .header-cta { transition: color .2s ease, background .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: white; }
.header-cta { border: 1px solid rgba(255,255,255,.32); padding: 11px 17px; border-radius: 7px; font-size: .88rem; font-weight: 750; }
.header-cta:hover, .header-cta:focus-visible { background: white; color: var(--ink); }

.hero {
  min-height: 890px;
  color: white;
  background:
    radial-gradient(circle at 84% 11%, rgba(74,111,255,.34), transparent 26%),
    radial-gradient(circle at 17% 86%, rgba(86,223,207,.1), transparent 24%),
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px),
    var(--ink);
  background-size: auto, auto, 50px 50px, 50px 50px, auto;
  padding: 186px max(32px, calc((100vw - var(--max)) / 2)) 84px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(600px, 1.12fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  overflow: hidden;
}

.hero-copy { align-self: center; max-width: 640px; }
.eyebrow, .section-index { margin: 0 0 24px; font-size: .75rem; font-weight: 850; letter-spacing: .16em; }
.eyebrow { color: var(--lime); display: flex; align-items: center; gap: 12px; }
.eyebrow span { display: block; width: 42px; height: 1px; background: var(--lime); }
.hero h1 { margin: 0; font-size: clamp(3.7rem, 6vw, 6.4rem); line-height: .92; letter-spacing: -.072em; font-weight: 760; }
.hero h1 em { color: var(--lime); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-lead { max-width: 600px; margin: 34px 0 38px; color: rgba(255,255,255,.68); font-size: clamp(1.08rem, 1.3vw, 1.26rem); line-height: 1.7; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); padding-top: 25px; gap: 22px; }
.trust-row strong, .trust-row span { display: block; }
.trust-row strong { font-size: .78rem; color: white; margin-bottom: 4px; }
.trust-row span { font-size: .7rem; color: rgba(255,255,255,.48); }

.demo-shell {
  position: relative;
  color: var(--ink);
  background: var(--paper-bright);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.demo-shell::before { content: ""; position: absolute; inset: 0; pointer-events: none; border: 7px solid rgba(255,255,255,.04); border-radius: inherit; }
.demo-topbar { height: 48px; padding: 0 20px; background: #12242f; color: rgba(255,255,255,.55); display: flex; align-items: center; justify-content: space-between; font-size: .64rem; letter-spacing: .1em; font-weight: 850; }
.demo-topbar > div { display: flex; align-items: center; gap: 8px; color: white; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(86,223,207,.12); }
.question-panel { padding: 26px 28px 24px; background: #e7ebe6; border-bottom: 1px solid var(--line); }
.question-panel label { display: block; margin-bottom: 10px; font-size: .7rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.question-panel textarea { width: 100%; resize: none; border: 0; outline: 0; padding: 0; background: transparent; color: var(--ink); font-size: clamp(1.05rem, 1.3vw, 1.24rem); line-height: 1.45; font-weight: 680; }
.prompt-actions { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-top: 18px; }
.prompt-examples { display: flex; flex-wrap: wrap; gap: 7px; }
.example-chip { border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); padding: 7px 10px; font-size: .68rem; font-weight: 760; }
.example-chip:hover, .example-chip:focus-visible, .example-chip.active { color: var(--ink); border-color: var(--ink); background: white; }
.analyze-button { flex: 0 0 auto; border: 0; border-radius: 7px; padding: 12px 16px; background: var(--ink); color: white; font-size: .76rem; font-weight: 800; }
.analyze-button span { color: var(--lime); margin-left: 8px; }
.analyze-button.loading span { display: inline-block; animation: spin .7s linear infinite; }

.answer-card { padding: 26px 28px 24px; transition: opacity .2s ease, transform .2s ease; }
.answer-card.updating { opacity: .35; transform: translateY(4px); }
.answer-status { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 17px; color: var(--muted); font-size: .65rem; font-weight: 750; }
.status-badge { background: rgba(74,111,255,.1); color: #2d53d5; border: 1px solid rgba(74,111,255,.18); padding: 6px 9px; border-radius: 4px; letter-spacing: .08em; }
.answer-card h2 { margin: 0 0 12px; max-width: 650px; font-size: clamp(1.35rem, 1.7vw, 1.8rem); line-height: 1.16; letter-spacing: -.03em; }
.answer-card > p { margin: 0; color: #53616a; font-size: .9rem; line-height: 1.62; }
.source-card { margin-top: 20px; padding: 15px; display: grid; grid-template-columns: 40px 1fr auto; gap: 13px; align-items: center; border: 1px solid rgba(74,111,255,.2); background: rgba(74,111,255,.055); border-radius: 8px; }
.source-card:hover, .source-card:focus-visible { border-color: var(--blue); }
.source-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 6px; background: var(--blue); color: white; font-family: Georgia, serif; font-size: 1.25rem; }
.source-card small, .source-card strong, .source-card em { display: block; }
.source-card small { color: #5064a5; font-size: .57rem; font-weight: 850; letter-spacing: .12em; }
.source-card strong { margin: 2px 0; font-size: .8rem; }
.source-card em { color: var(--muted); font-size: .66rem; font-style: normal; }
.source-card b { color: var(--blue); }
.next-step { margin-top: 16px; padding: 15px 0 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.next-step small, .next-step strong { display: block; }
.next-step small { font-size: .57rem; color: var(--muted); font-weight: 850; letter-spacing: .12em; }
.next-step strong { margin-top: 2px; font-size: .8rem; }
.next-step button { border: 0; border-radius: 6px; background: var(--lime); color: var(--ink); padding: 10px 14px; font-size: .7rem; font-weight: 850; }
.next-step button span { margin-left: 8px; }
.demo-disclaimer { margin: 0; padding: 12px 28px 14px; color: #778187; background: #eef0ec; border-top: 1px solid var(--line); font-size: .62rem; }

.flow-section, .areas-section, .trust-section, .business-section, .partner-section, .site-footer { padding-left: max(32px, calc((100vw - var(--max)) / 2)); padding-right: max(32px, calc((100vw - var(--max)) / 2)); }
.flow-section { padding-top: 120px; padding-bottom: 130px; }
.section-heading { display: grid; grid-template-columns: 180px minmax(300px, 720px) minmax(260px, 410px); gap: 40px; align-items: start; margin-bottom: 58px; }
.section-index { color: var(--blue); padding-top: 9px; }
.section-heading h2, .trust-copy h2, .business-intro h2, .partner-section h2 { margin: 0; font-size: clamp(2.6rem, 4.6vw, 5rem); line-height: .99; letter-spacing: -.06em; }
.section-heading > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.flow-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.flow-grid li { min-height: 292px; padding: 22px; position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow-grid li > span { color: var(--muted); font-size: .67rem; font-weight: 850; }
.step-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 40px 0 30px; border: 1px solid var(--ink); border-radius: 50%; font-family: Georgia, serif; font-size: 1.2rem; }
.flow-grid li:nth-child(2) .step-icon { background: var(--lime); border-color: var(--lime); }
.flow-grid h3 { margin: 0 0 8px; font-size: 1.08rem; }
.flow-grid p { margin: 0; color: var(--muted); font-size: .88rem; }

.areas-section { color: white; background: var(--ink); padding-top: 120px; padding-bottom: 130px; }
.section-heading.light .section-index { color: var(--lime); }
.section-heading.light > p:last-child { color: rgba(255,255,255,.58); }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.area-card { min-height: 470px; display: flex; flex-direction: column; padding: 30px; background: #132631; border: 1px solid var(--line-dark); border-radius: 10px; }
.area-primary { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.area-number { align-self: flex-end; color: rgba(255,255,255,.35); font-size: 2.5rem; font-weight: 300; }
.area-primary .area-number { color: rgba(11,24,33,.28); }
.area-card > p { margin: 40px 0 14px; color: var(--cyan); font-size: .7rem; font-weight: 850; letter-spacing: .12em; }
.area-primary > p { color: #344200; }
.area-card h3 { margin: 0; font-size: clamp(1.65rem, 2.5vw, 2.35rem); line-height: 1.05; letter-spacing: -.04em; }
.area-card ul { list-style: none; margin: 28px 0; padding: 0; }
.area-card li { padding: 10px 0; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,.67); font-size: .85rem; }
.area-primary li { border-color: rgba(11,24,33,.15); color: rgba(11,24,33,.75); }
.area-tag { margin-top: auto; align-self: flex-start; padding: 6px 8px; border: 1px solid currentColor; border-radius: 4px; font-size: .62rem; font-weight: 850; letter-spacing: .08em; }

.trust-section { padding-top: 130px; padding-bottom: 140px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 8vw, 130px); align-items: center; }
.trust-visual { position: relative; aspect-ratio: 1; min-height: 520px; border: 1px solid var(--line); border-radius: 50%; background: radial-gradient(circle, rgba(74,111,255,.12) 0 13%, transparent 14%), linear-gradient(rgba(11,24,33,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(11,24,33,.04) 1px, transparent 1px); background-size: auto, 32px 32px, 32px 32px; display: grid; place-items: center; }
.trust-core { z-index: 2; width: 168px; height: 168px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue); color: white; box-shadow: 0 20px 60px rgba(74,111,255,.32); }
.trust-core span { font-family: Georgia, serif; font-size: 2.6rem; line-height: 1; }
.trust-core strong { margin-top: 6px; font-size: .78rem; letter-spacing: .12em; }
.trust-core small { color: rgba(255,255,255,.66); }
.orbit { position: absolute; border: 1px dashed rgba(11,24,33,.19); border-radius: 50%; }
.orbit-one { inset: 19%; }
.orbit-two { inset: 6%; }
.satellite { position: absolute; padding: 9px 12px; background: var(--paper-bright); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 10px 26px rgba(11,24,33,.08); font-size: .72rem; font-weight: 750; }
.satellite b { color: var(--blue); margin-right: 7px; }
.sat-one { top: 17%; left: 4%; }
.sat-two { top: 16%; right: 1%; }
.sat-three { bottom: 11%; left: 30%; }
.trust-copy .section-index { margin-bottom: 20px; }
.trust-copy > p:nth-of-type(2) { margin: 28px 0 34px; color: var(--muted); font-size: 1.06rem; line-height: 1.72; }
.trust-list { border-top: 1px solid var(--line); }
.trust-list > div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.trust-list span { color: var(--blue); font-size: .7rem; font-weight: 850; }
.trust-list p { margin: 0; color: var(--muted); font-size: .86rem; }
.trust-list strong { display: block; color: var(--ink); margin-bottom: 3px; }

.business-section { color: white; background: var(--blue); padding-top: 108px; padding-bottom: 110px; }
.business-intro { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: start; }
.business-intro .section-index { color: var(--lime); }
.business-intro h2 { max-width: 1050px; }
.business-line { margin-top: 70px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 18px; align-items: center; }
.business-line > div { min-height: 124px; padding: 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; }
.business-line span, .business-line strong, .business-line small { display: block; }
.business-line span { color: var(--lime); font-size: .65rem; font-weight: 850; }
.business-line strong { margin: 20px 0 4px; font-size: .95rem; }
.business-line small { color: rgba(255,255,255,.63); }
.business-line i { color: var(--lime); font-style: normal; font-size: 1.4rem; }

.partner-section { padding-top: 120px; padding-bottom: 130px; display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(60px, 10vw, 150px); align-items: end; }
.partner-section .section-index { margin-bottom: 20px; }
.partner-copy p { margin: 0 0 30px; color: var(--muted); font-size: 1.06rem; line-height: 1.72; }
.partner-copy a { display: inline-flex; gap: 24px; align-items: center; padding: 16px 20px; border-radius: 7px; background: var(--ink); color: white; font-weight: 800; font-size: .9rem; }
.partner-copy a span { color: var(--lime); }

.site-footer { min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 26px; background: var(--ink); color: rgba(255,255,255,.58); font-size: .72rem; }
.footer-brand { color: white; }
.footer-brand .brand-mark { width: 32px; height: 32px; font-size: 1.08rem; }
.site-footer > a:last-child:hover { color: white; }

dialog { width: min(520px, calc(100% - 32px)); padding: 34px; border: 0; border-radius: 12px; color: var(--ink); background: var(--paper-bright); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(4,14,20,.72); backdrop-filter: blur(6px); }
dialog h2 { margin: 0 0 16px; font-size: 2rem; line-height: 1.05; letter-spacing: -.04em; }
dialog > p:not(.section-index) { color: var(--muted); }
.dialog-close { position: absolute; right: 16px; top: 12px; border: 0; background: transparent; font-size: 1.6rem; }
.dialog-confirm { margin-top: 12px; border: 0; border-radius: 6px; background: var(--ink); color: white; padding: 12px 18px; font-weight: 800; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-copy { max-width: 820px; }
  .hero h1 { max-width: 800px; }
  .demo-shell { width: min(100%, 820px); }
  .section-heading { grid-template-columns: 130px 1fr; }
  .section-heading > p:last-child { grid-column: 2; max-width: 620px; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .business-intro { grid-template-columns: 130px 1fr; }
}

@media (max-width: 860px) {
  .sale-banner a { width: calc(100% - 36px); }
  .site-header { width: calc(100% - 36px); }
  .main-nav { display: none; }
  .hero { padding-left: 22px; padding-right: 22px; }
  .hero h1 { font-size: clamp(3.2rem, 13vw, 5rem); }
  .areas-grid { grid-template-columns: 1fr; }
  .area-card { min-height: 410px; }
  .trust-section { grid-template-columns: 1fr; }
  .trust-visual { order: 2; min-height: 0; }
  .business-line { grid-template-columns: 1fr; }
  .business-line i { transform: rotate(90deg); justify-self: center; }
  .partner-section { grid-template-columns: 1fr; align-items: start; }
  .site-footer { flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; }
}

@media (max-width: 620px) {
  .sale-banner { height: 42px; }
  .sale-banner a { width: calc(100% - 28px); justify-content: flex-start; }
  .sale-banner span:not(.sale-banner-status) { display: none; }
  .sale-banner b { margin-left: auto; }
  .header-cta { display: none; }
  .site-header { top: 42px; height: 72px; }
  .hero { padding-top: 148px; padding-bottom: 60px; gap: 46px; }
  .hero h1 { letter-spacing: -.065em; }
  .hero-lead { margin-bottom: 0; }
  .trust-row { display: none; }
  .question-panel, .answer-card { padding-left: 18px; padding-right: 18px; }
  .prompt-actions { align-items: stretch; flex-direction: column; }
  .analyze-button { width: 100%; }
  .answer-status { align-items: flex-start; flex-direction: column; }
  .source-card { grid-template-columns: 36px 1fr; }
  .source-card b { display: none; }
  .next-step { align-items: flex-start; flex-direction: column; }
  .next-step button { width: 100%; }
  .demo-disclaimer { padding-left: 18px; padding-right: 18px; }
  .flow-section, .areas-section, .trust-section, .business-section, .partner-section, .site-footer { padding-left: 20px; padding-right: 20px; }
  .flow-section, .areas-section, .trust-section, .partner-section { padding-top: 88px; padding-bottom: 90px; }
  .section-heading, .business-intro { display: block; }
  .section-heading h2, .trust-copy h2, .business-intro h2, .partner-section h2 { font-size: clamp(2.45rem, 13vw, 3.7rem); }
  .section-heading > p:last-child { margin-top: 24px; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-grid li { min-height: 250px; }
  .trust-visual { min-height: 350px; }
  .satellite { font-size: .59rem; }
  .sat-one { top: 11%; }
  .sat-two { top: 17%; }
  .sat-three { left: 22%; }
  .trust-core { width: 134px; height: 134px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

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