/* entaura.ai site styles: light theme. Home-only rules live in home.css. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --soft: #f7f7f5;
  --card: #f3f3f1;
  --line: #e8e8e5;
  --line-strong: #d6d6d2;
  --text: #0b0b0b;
  --body: #565656;
  --faint: #8c8c88;
  --ask: #1f9c86;
  --ask-tint: #e2f6f1;
  --insight: #3567d8;
  --insight-tint: #e6eeff;
  --watch: #8457d4;
  --watch-tint: #f0e9ff;
  --peach: #e9795b;
  --peach-tint: #fff0ea;
  --display: "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: #cfe0ff; color: var(--text); }
:focus-visible { outline: 2px solid var(--insight); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--text); }

.container { width: min(1200px, calc(100% - 48px)); margin: auto; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Second heading lines used to be gradient text; they are now a quiet grey. */
.gradient-text { color: var(--faint); }

/* Product word in an outlined pill, like "entaura (ask)": same colour as the text around it. */
.product-tag {
  display: inline-block; padding: 0 .42em; border-radius: 999px;
  border: max(1.5px, .07em) solid currentColor;
  line-height: 1.15; font-weight: inherit; color: inherit;
}

/* ---------- Gradient orb ---------- */

.orb {
  position: relative;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  background: #dfe9ff;
  box-shadow: inset 0 -12px 30px rgba(255, 255, 255, .55), inset 0 10px 24px rgba(40, 60, 120, .08);
}
.orb::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: -1;
  background: conic-gradient(from 210deg, #8fb4f7, #8fdce6, #bfe8a8, #f7dc9a, #f8bca8, #e9b0dc, #c3a6f3, #8fb4f7);
  filter: blur(var(--orb-blur, 14px));
  animation: orb-spin 18s linear infinite;
}
/* entaura.ai's variation: logo colours, plus a faint halo line inside the rim. */
.orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle, transparent 69%, rgba(255, 255, 255, .9) 71.5%, transparent 74%);
}
/* Small orbs need a tighter blur or their colours wash out to grey. */
.orb.small { --orb-blur: 3px; }
.orb.small::after { background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 38%); }
.orb.ask::before { background: conic-gradient(from 200deg, #8fb4f7, #8fdce6, #a9d8fb, #8fb4f7); }
.orb.insight::before { background: conic-gradient(from 200deg, #8fdce6, #bfe8a8, #f7dc9a, #8fdce6); }
.orb.watch::before { background: conic-gradient(from 200deg, #f8bca8, #e9b0dc, #c3a6f3, #f8bca8); }
/* The original pastel sphere, kept for the home hero. */
.orb.classic::before { background: conic-gradient(from 210deg, #9cc8ff, #a8eadf, #d6c2ff, #ffc9b8, #ffe6a8, #9cc8ff); }
.orb.classic::after { background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 42%); }
@keyframes orb-spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: auto; height: 38px; }
.navlinks { display: flex; gap: 30px; align-items: center; color: var(--body); font-size: 14px; font-weight: 500; }
.navlinks a:hover, .footer a:hover { color: var(--text); }
.menu-button { display: none; background: none; border: 0; color: var(--text); font-size: 22px; cursor: pointer; }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; padding: 10px 0; }
.nav-dropdown-trigger span { margin-left: 4px; color: var(--faint); }
.nav-dropdown-trigger:hover { color: var(--text); }
.nav-mega {
  position: absolute;
  z-index: 30;
  top: 42px;
  left: 50%;
  width: 320px;
  padding: 8px;
  transform: translate(-50%, 8px);
  opacity: 0;
  visibility: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px -20px rgba(20, 20, 40, .18);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-dropdown:hover .nav-mega, .nav-dropdown:focus-within .nav-mega, .nav-dropdown.open .nav-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-mega a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; }
.nav-mega a:hover, .nav-mega a:focus { background: var(--soft); }
.nav-mega .orb { flex: none; width: 32px; height: 32px; }
.nav-mega strong, .nav-mega small { display: block; }
.nav-mega strong { color: var(--text); font-size: 14px; font-weight: 600; }
.nav-mega small { margin-top: 2px; color: var(--body); font-size: 12.5px; }
.solutions-dropdown .nav-mega { display: none !important; }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.button.primary { background: var(--text); border-color: var(--text); color: #fff; }
.button.primary:hover { background: #2b2b2b; }
.button.ghost:hover { background: var(--soft); border-color: var(--faint); }
.navcta { padding: 9px 18px; font-size: 13.5px; }

/* ---------- Sections ---------- */

.section { padding: 120px 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -.04em; margin: 16px 0 0; }
.section-head p { color: var(--body); font-size: 18px; max-width: 640px; margin: 20px 0 0; }
.info-band { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.info-band .container { padding: 96px 0; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 96px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(60% 80% at 85% 10%, #eef3ff, transparent 70%), radial-gradient(40% 60% at 10% 100%, #f1fbf8, transparent 70%);
}
.page-hero h1 { font-size: clamp(50px, 7.4vw, 96px); letter-spacing: -.05em; line-height: .98; max-width: 900px; margin: 22px 0 26px; }
.page-hero p { font-size: 20px; color: var(--body); max-width: 680px; margin: 0; }
.solutions-hero { background: radial-gradient(55% 80% at 90% 0%, #f2ecff, transparent 70%), radial-gradient(45% 60% at 0% 100%, #eaf3ff, transparent 70%); }

/* ---------- Product pages ---------- */

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.detail-grid h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.04em; margin: 16px 0 22px; }
.detail-grid p { color: var(--body); font-size: 17px; }

.examples { padding-top: 0; }
.example-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.example-card { padding: 28px; border-radius: 22px; background: var(--card); }
.example-card b { display: block; font-family: var(--mono); font-weight: 500; color: var(--faint); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.example-card p { margin: 0; color: var(--text); font-family: var(--display); font-size: 20px; line-height: 1.4; letter-spacing: -.01em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.step b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--faint); letter-spacing: .08em; }
.step h3 { font-size: 22px; letter-spacing: -.02em; margin: 18px 0 8px; }
.step p { font-size: 15px; color: var(--body); margin: 0; }

.ask-source-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ask-source-grid span { display: flex; align-items: center; gap: 10px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--text); font-size: 15px; }

.contact-strip { padding: 110px 0; text-align: center; background: var(--soft); border-top: 1px solid var(--line); }
.contact-strip h2 { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -.04em; line-height: 1.05; margin: 0 0 16px; }
.contact-strip p { color: var(--body); font-size: 18px; margin: 0 auto 30px; max-width: 600px; }

/* Diagrams */
.connector-diagram, .knowledge-diagram, .analytics-diagram {
  position: relative;
  min-height: 420px;
  padding: 28px;
  border-radius: 28px;
  background: radial-gradient(60% 50% at 50% 55%, #eef4ff, transparent 75%), var(--card);
  overflow: hidden;
}
.diagram-heading h3 { margin: 12px 0 6px; font-size: 26px; line-height: 1.1; letter-spacing: -.03em; }
.diagram-heading p { margin: 0; color: var(--body); font-size: 14px; }
.diagram-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 14px; min-height: 230px; margin-top: 18px; }
.diagram-stage::before, .diagram-stage::after { content: ""; position: absolute; z-index: 0; top: 50%; width: 24%; border-top: 1px dashed var(--line-strong); }
.diagram-stage::before { left: 24%; }
.diagram-stage::after { right: 24%; }
.connector-column { z-index: 1; display: grid; gap: 10px; }
.connector-column.left { justify-items: end; }
.connector-column.right { justify-items: start; }
.tool-chip { display: flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; padding: 7px 12px 7px 7px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); font-size: 12px; }
.tool-chip i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--ask-tint); color: var(--ask); font-size: 9px; font-style: normal; font-weight: 700; }
.tool-chip.storage i { background: var(--insight-tint); color: var(--insight); }
.tool-chip.marketing i, .tool-chip.engineering i { background: var(--peach-tint); color: var(--peach); }
.tool-chip.sales i { background: var(--watch-tint); color: var(--watch); }
.diagram-core, .knowledge-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  width: 126px;
  height: 126px;
  margin: auto;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .6), 0 20px 40px -20px rgba(40, 70, 140, .35);
  text-align: center;
}
.diagram-core img, .knowledge-core img { width: 42px; height: 27px; object-fit: contain; margin-bottom: 4px; }
.diagram-core strong, .knowledge-core strong { font-family: var(--display); font-size: 14px; font-weight: 600; line-height: 1.05; }
.diagram-core small { display: block; margin-top: 4px; color: var(--faint); font-size: 9px; }
.diagram-foot { display: flex; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-strong); color: var(--body); font-size: 11px; }
.diagram-foot b { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--ask); }
.knowledge-flow { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; min-height: 260px; margin-top: 16px; }
.knowledge-node, .knowledge-answer { padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); font-size: 13px; z-index: 1; }
.knowledge-node:nth-child(2) { justify-self: end; }
.knowledge-node:nth-child(3) { grid-column: 1 / -1; justify-self: center; }
.knowledge-core { grid-column: 1 / -1; grid-row: 2; width: 112px; height: 112px; }
.knowledge-answer { grid-column: 1 / -1; justify-self: center; background: var(--ask-tint); border-color: #bfe8de; color: #146e5e; }
.knowledge-flow::before { content: ""; position: absolute; left: 50%; top: 27px; bottom: 48px; border-left: 1px dashed var(--line-strong); }
.analytics-window { margin-top: 24px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.analytics-top { display: flex; justify-content: space-between; color: var(--body); font-size: 12px; }
.analytics-top b { color: var(--insight); font-weight: 600; font-size: 12px; }
.analytics-kpis { display: flex; gap: 22px; margin: 20px 0; }
.analytics-kpis span { color: var(--faint); font-size: 11px; }
.analytics-kpis strong { display: block; color: var(--text); font-family: var(--display); font-weight: 500; font-size: 20px; margin-top: 3px; }
.analytics-bars { height: 145px; display: flex; align-items: end; gap: 8px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.analytics-bars i { flex: 1; height: 32%; border-radius: 6px 6px 2px 2px; background: #9cc0ff; animation: bar-rise .8s ease both; transform-origin: bottom; }
.analytics-bars i:nth-child(2) { height: 48%; animation-delay: .08s; }
.analytics-bars i:nth-child(3) { height: 41%; animation-delay: .16s; }
.analytics-bars i:nth-child(4) { height: 66%; animation-delay: .24s; }
.analytics-bars i:nth-child(5) { height: 57%; animation-delay: .32s; }
.analytics-bars i:nth-child(6) { height: 76%; animation-delay: .4s; }
.analytics-bars i:nth-child(7) { height: 93%; animation-delay: .48s; background: var(--insight); }
@keyframes bar-rise { from { transform: scaleY(0); } }
.analytics-labels { display: flex; justify-content: space-between; padding-top: 8px; color: var(--faint); font-size: 10px; }

/* ---------- Solutions ---------- */

.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.problem-card { padding: 30px; border-radius: 22px; background: var(--card); }
.problem-card span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; font-size: 18px; color: var(--text); }
.problem-card h3 { margin: 22px 0 8px; font-size: 22px; letter-spacing: -.02em; }
.problem-card p { color: var(--body); font-size: 15px; margin: 0; }

.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industry-card { min-height: 180px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: border-color .2s, background .2s; }
.industry-card:hover { background: var(--soft); border-color: var(--line-strong); }
.industry-card h3 { font-size: 19px; letter-spacing: -.02em; margin: 0 0 10px; }
.industry-card p { color: var(--body); font-size: 14px; margin: 0; }

.solution-detail { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.solution-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.solution-detail-grid article { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.solution-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--card); font-size: 18px; }
.solution-detail-grid h3 { font-size: 26px; letter-spacing: -.03em; margin: 22px 0 10px; }
.solution-detail-grid p { color: var(--body); font-size: 15px; }
.solution-detail-grid p strong { color: var(--text); font-weight: 600; }
.solution-detail-grid ul { padding: 0; list-style: none; font-size: 14px; }
.solution-detail-grid li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.solution-detail-grid li::before { content: "✓"; color: var(--ask); margin-right: 10px; font-weight: 700; }
.solution-detail-grid a { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 14px; border-bottom: 1px solid currentColor; }

/* ---------- Contact ---------- */

.contact-section { padding: 120px 0; }
.contact-heading { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.contact-heading h2 { font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -.045em; margin: 16px 0; }
.contact-heading p { color: var(--body); font-size: 18px; }
.contact-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; max-width: 1060px; margin: auto; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; min-width: 0; }
.contact-form label { display: grid; gap: 8px; color: var(--text); font-size: 13px; font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  outline: 0;
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--text); box-shadow: 0 0 0 3px rgba(11, 11, 11, .06); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form .button { justify-self: start; }
.contact-office { padding: 30px; border-radius: 24px; background: var(--card); min-width: 0; }
.contact-office h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.03em; margin: 14px 0; }
.contact-office p { color: var(--body); font-size: 14.5px; line-height: 1.65; }
.contact-office p strong { color: var(--text); }
.contact-office a { color: var(--text); font-weight: 500; border-bottom: 1px solid var(--line-strong); }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--soft); }
.footer-inner { display: flex; align-items: flex-start; gap: 48px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; font-size: 14px; color: var(--body); margin-left: auto; }
.legal { width: 100%; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12.5px; }

/* ---------- Responsive ---------- */

@media (max-width: 850px) {
  .navlinks { display: none; }
  .navlinks.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 12px 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .navlinks.open > a { padding: 10px 0; }
  .navlinks.open .nav-dropdown { display: block; width: 100%; }
  .navlinks.open .nav-dropdown-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 0; text-align: left; }
  .nav-mega { position: static; width: auto; display: none; transform: none; opacity: 1; visibility: visible; box-shadow: none; }
  .navlinks.open .nav-dropdown.open .nav-mega { display: block; transform: none; margin: 0 0 8px; background: var(--soft); border: 0; }
  .menu-button { display: block; }
  .navcta { display: none; }

  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .example-list, .industry-grid, .problem-grid, .ask-source-grid { grid-template-columns: 1fr 1fr; }
  .steps, .solution-detail-grid, .contact-layout { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: auto; }
  .connector-diagram, .knowledge-diagram, .analytics-diagram { min-height: 0; }
  .diagram-stage { gap: 6px; }
  .diagram-core { width: 100px; height: 100px; }
  .footer-links { margin-left: 0; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 32px, 1200px); }
  .section { padding: 80px 0; }
  .info-band .container { padding: 72px 0; }
  .page-hero { padding: 80px 0 64px; }
  .page-hero h1 { font-size: clamp(42px, 12vw, 64px); }
  .page-hero p { font-size: 17px; }
  .example-list, .industry-grid, .problem-grid, .ask-source-grid { grid-template-columns: 1fr; }
  .contact-section { padding: 80px 0; }
  .contact-form, .contact-office { padding: 22px; }
  .diagram-stage { grid-template-columns: 1fr; gap: 10px; min-height: 0; }
  .diagram-stage::before, .diagram-stage::after { display: none; }
  .connector-column.left, .connector-column.right { justify-items: center; }
  .diagram-core { grid-row: 1; grid-column: 1; }
  .connector-column.left { grid-row: 2; }
  .connector-column.right { grid-row: 3; }
  .diagram-foot { flex-direction: column; }
  .knowledge-flow { grid-template-columns: 1fr; }
  .knowledge-node, .knowledge-node:nth-child(2), .knowledge-node:nth-child(3), .knowledge-answer { grid-column: 1; justify-self: center; }
  .knowledge-core { grid-row: 4; }
  .analytics-bars { height: 110px; }
  .footer-inner { flex-direction: column; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb::before, .analytics-bars i { animation: none; }
}
/* Home page. Every rule is scoped to .home; shared tokens come from styles.css. */

.home .tone-ask { --tone: var(--ask); --tint: var(--ask-tint); }
.home .tone-insight { --tone: var(--insight); --tint: var(--insight-tint); }
.home .tone-watch { --tone: var(--watch); --tint: var(--watch-tint); }

/* ---------- Shared ---------- */

.home .h-section { padding: 128px 0; position: relative; }
.home .h-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home .h-head { max-width: 780px; margin-bottom: 56px; }
.home .h-head h2 {
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1.04;
  letter-spacing: -.045em;
  margin: 16px 0 0;
  text-wrap: balance;
}
.home .h-head h2 .muted, .home .h-head h2 .gradient-text { color: var(--faint); }
.home .h-head p { color: var(--body); font-size: 18px; max-width: 620px; margin: 22px 0 0; }
.home .h-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.home .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease var(--delay, 0ms), transform .7s ease var(--delay, 0ms); }
.home .reveal.in { opacity: 1; transform: none; }

.home pre { margin: 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; color: #3a3a3a; white-space: pre-wrap; }
.home .chip-label {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--tone, var(--text)); background: var(--tint, var(--card)); padding: 3px 8px; border-radius: 6px;
}

/* ---------- Hero ---------- */

.home .h-hero { position: relative; overflow: hidden; padding: 104px 0 112px; text-align: center; }
.home .h-hero-grid { position: relative; z-index: 1; display: grid; justify-items: center; gap: 64px; }
.home .h-hero-copy { display: grid; justify-items: center; max-width: 900px; }
.home .h-pill {
  display: inline-flex; align-items: center;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  /* Fine grain over a slowly drifting band of logo colours; the grain layer stays put. */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 140px 140px,
    linear-gradient(100deg, #2550cf, #1f93b4, #d9735e, #8a55d6, #2550cf) 0 0 / 300% 100%;
  background-blend-mode: overlay, normal;
  box-shadow: 0 6px 20px -12px rgba(37, 80, 207, .6);
  font-size: 13px; font-weight: 500; letter-spacing: .01em; color: #fff;
  animation: h-pill-in .6s cubic-bezier(.2, .7, .2, 1) both, h-pill-drift 14s linear infinite;
}
@keyframes h-pill-in { from { opacity: 0; transform: translateY(6px) scale(.97); } }
@keyframes h-pill-drift { to { background-position: 0 0, -300% 0; } }
.home .h-pill-text { display: grid; }
.home .h-pill-text > * { grid-area: 1 / 1; white-space: nowrap; }
.home .h-pill-ghost { visibility: hidden; }
.home .h-pill-caret { display: inline-block; width: 1.5px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #fff; animation: hc-blink 1s steps(1) infinite; }
.home .h-pill-caret.is-done { animation: hc-blink 1s steps(1) 3, h-caret-out .3s 3s forwards; }
@keyframes h-caret-out { to { opacity: 0; } }
.home .h-hero h1 {
  font-size: clamp(48px, 7.2vw, 100px);
  line-height: .98;
  letter-spacing: -.055em;
  margin: 28px 0 26px;
  text-wrap: balance;
}
.home .h-hero h1 .gradient-text { color: var(--faint); }
.home .h-hero-copy > p { color: var(--body); font-size: 19px; line-height: 1.6; max-width: 640px; margin: 0 0 36px; }
.home .h-hero .h-actions { justify-content: center; }
.home .h-trio { display: flex; align-items: center; gap: 14px; margin-top: 36px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.home .h-trio span { display: inline-flex; gap: 14px; align-items: center; }
.home .h-trio span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tone); }
.home .h-trio b { font-weight: 400; color: var(--line-strong); }

.home .h-stage { position: relative; width: 100%; max-width: 920px; }
.home .h-stage > .orb { position: absolute; z-index: 0; width: 560px; height: 560px; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .55; filter: blur(30px); }

/* Console */
.home .h-console {
  position: relative; z-index: 1;
  text-align: left;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 30px 80px -40px rgba(30, 50, 110, .35);
  overflow: hidden;
}
.home .hc-bar { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.home .hc-dots { display: flex; gap: 6px; }
.home .hc-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.home .hc-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--card); }
.home .hc-tabs button {
  position: relative; overflow: hidden;
  border: 0; background: none; color: var(--body); cursor: pointer;
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 500;
}
.home .hc-tabs button:hover { color: var(--text); }
.home .hc-tabs button.active { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.home .hc-progress { position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--tone); transform-origin: left; animation: hc-progress linear forwards; }
@keyframes hc-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.home .hc-caption { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }

.home .hc-body { padding: 26px 28px 30px; min-height: 390px; display: flex; flex-direction: column; gap: 20px; }
.home .hc-prompt, .home .hc-reply { display: flex; gap: 14px; align-items: flex-start; }
.home .hc-prompt { flex-direction: row-reverse; }
.home .hc-avatar {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 600; color: var(--body); background: var(--card);
}
.home .hc-avatar.mark { object-fit: contain; padding: 6px; background: #fff; border: 1px solid var(--line); }
.home .hc-prompt p {
  margin: 0; padding: 11px 16px; border-radius: 18px 18px 4px 18px;
  background: var(--text); color: #fff; font-size: 15px; min-height: 44px; max-width: 80%;
}
.home .hc-caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #fff; animation: hc-blink 1s steps(1) infinite; }
@keyframes hc-blink { 50% { opacity: 0; } }
.home .hc-thinking { display: flex; align-items: center; gap: 5px; padding: 8px 0; color: var(--faint); font-size: 13px; }
.home .hc-thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: hc-dot 1s ease-in-out infinite; }
.home .hc-thinking i:nth-child(2) { animation-delay: .15s; }
.home .hc-thinking i:nth-child(3) { animation-delay: .3s; }
.home .hc-thinking span { margin-left: 8px; }
@keyframes hc-dot { 50% { opacity: .3; transform: translateY(-3px); } }

.home .hc-result { flex: 1; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.home .hc-result > * { animation: hc-rise .5s ease both; }
.home .hc-result > :nth-child(2) { animation-delay: .15s; }
.home .hc-result > :nth-child(3) { animation-delay: .3s; }
@keyframes hc-rise { from { opacity: 0; transform: translateY(8px); } }

.home .hc-answer { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }
.home .hc-evidence { display: grid; gap: 8px; }
.home .hc-evidence span {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 12.5px; color: #3a3a3a;
}
.home .hc-evidence b, .home .sp-card header b, .home .aa-sources b {
  font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--tone, var(--ask)); background: var(--tint, var(--ask-tint)); padding: 3px 8px; border-radius: 6px;
}
.home .hc-meter { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--body); }
.home .hc-meter i { flex: 1; height: 6px; border-radius: 9px; background: var(--card); overflow: hidden; }
.home .hc-meter em { display: block; height: 100%; border-radius: inherit; background: var(--ask); transform-origin: left; animation: hc-fill 1.1s .4s ease both; }
@keyframes hc-fill { from { transform: scaleX(0); } }
.home .hc-meter strong { color: var(--text); font-weight: 600; font-size: 14px; }

.home .hc-chart, .home .sp-chart {
  position: relative; display: flex; align-items: flex-end; gap: 14px;
  height: 150px; padding: 0 4px 22px; border-bottom: 1px solid var(--line);
}
.home .hc-chart > div, .home .sp-chart > div { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; }
.home .hc-chart i, .home .sp-chart i { width: 100%; border-radius: 8px 8px 3px 3px; background: #b9d1ff; animation: hc-grow .9s ease both; transform-origin: bottom; }
.home .hc-chart .over i, .home .sp-chart .over i { background: #ffb59f; }
.home .hc-chart small, .home .sp-chart small { position: absolute; bottom: -21px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--faint); }
@keyframes hc-grow { from { transform: scaleY(0); } }
.home .hc-cap { position: absolute; left: 0; right: 0; border-top: 1.5px dashed var(--peach); z-index: 1; margin-bottom: 22px; }
.home .hc-cap small { position: absolute; right: 0; top: -19px; font-size: 11px; color: var(--peach); font-weight: 500; }
.home .hc-sql { padding: 12px 14px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.home .hc-finding { margin: 0; font-size: 14.5px; color: var(--text); }

.home .hc-rules { display: grid; gap: 8px; }
.home .hc-rules div { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); font-size: 14px; }
.home .hc-rules small { width: 48px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--watch); }
.home .hc-alert, .home .sp-msg {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 12px 30px -18px rgba(70, 40, 140, .35);
}
.home .hc-alert img, .home .sp-msg img { width: 30px; height: 30px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); padding: 4px; }
.home .hc-alert div, .home .sp-msg div { display: grid; gap: 2px; font-size: 13.5px; color: var(--body); }
.home .hc-alert small, .home .sp-msg small { color: var(--faint); font-size: 11.5px; }
.home .hc-alert strong, .home .sp-msg strong { color: var(--text); font-weight: 600; font-size: 14.5px; }

/* ---------- Logo marquee ---------- */

.home .h-logos { padding: 40px 0 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home .h-logos > p { margin: 0 auto 24px; text-align: center; color: var(--body); font-size: 14px; }
.home .h-logos strong { color: var(--text); font-weight: 600; }
.home .h-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.home .h-marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.home .h-marquee:hover .h-marquee-track { animation-play-state: paused; }
.home .h-marquee ul { display: flex; gap: 40px; margin: 0; padding: 0 20px; list-style: none; }
.home .h-marquee li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: #6f6f6b; white-space: nowrap; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.home .h-marquee li:hover { filter: none; opacity: 1; }
.home .h-marquee img { width: 26px; height: 26px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Vision ---------- */

.home .h-vision-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.home .h-vision-steps li { position: relative; overflow: hidden; padding: 32px; min-height: 260px; border-radius: 28px; background: var(--card); display: flex; flex-direction: column; }
.home .h-vision-steps span { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.home .h-vision-steps h3 { margin: auto 0 10px; padding-top: 48px; font-size: 26px; letter-spacing: -.03em; line-height: 1.15; }
.home .h-vision-steps p { margin: 0; color: var(--body); font-size: 15px; }
.home .h-vision-steps .orb { position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; opacity: .9; }

/* ---------- Product showcase ---------- */

.home .h-showcase { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.home .h-showcase-nav { display: grid; gap: 8px; position: sticky; top: 92px; }
.home .sn-item { border-radius: 22px; border: 1px solid var(--line); background: #fff; transition: background .25s, border-color .25s; }
.home .sn-item button { width: 100%; text-align: left; background: none; border: 0; color: inherit; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; gap: 14px; }
.home .sn-item button .orb { flex: none; width: 36px; height: 36px; }
.home .sn-item button > span:last-child { display: grid; gap: 2px; }
.home .sn-item.active { background: var(--soft); border-color: var(--line-strong); }
.home .sn-item:not(.active):hover { background: var(--soft); }
.home .sn-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.home .sn-item strong { font-family: var(--display); font-weight: 500; font-size: 21px; letter-spacing: -.02em; }
.home .sn-detail { padding: 0 22px 22px; animation: hc-rise .4s ease both; }
.home .sn-detail p { margin: 0 0 14px; color: var(--body); font-size: 15px; }
.home .sn-detail ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.home .sn-detail li { position: relative; padding-left: 24px; font-size: 14px; color: var(--text); }
.home .sn-detail li::before { content: "✓"; position: absolute; left: 0; color: var(--tone); font-weight: 700; }

.home .h-showcase-stage { position: relative; border-radius: 32px; padding: 30px; background: var(--card); }
.home .stage-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.home .stage-head h3 { margin: 0; font-size: 28px; letter-spacing: -.035em; }
.home .stage-head a { font-size: 14px; font-weight: 600; white-space: nowrap; border-bottom: 1px solid currentColor; }
.home .stage-body { animation: hc-rise .45s ease both; }

.home .sp-card { border-radius: 20px; background: #fff; border: 1px solid var(--line); padding: 18px; }
.home .sp-card header { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--body); margin-bottom: 14px; }

.home .sp-ask { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.home .sp-ask dl { margin: 0; display: grid; gap: 2px; }
.home .sp-ask dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 10px; font-size: 14px; }
.home .sp-ask dt { color: var(--faint); }
.home .sp-ask dd { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--text); }
.home .sp-ask .hit { background: var(--ask-tint); }
.home .sp-doc { margin: 0; font-size: 15px; line-height: 1.75; color: var(--body); font-family: Georgia, "Times New Roman", serif; }
.home .sp-doc small { display: block; font-family: var(--sans); font-weight: 600; color: var(--text); margin-bottom: 6px; font-size: 13px; }
.home .sp-doc mark { background: var(--ask-tint); color: var(--text); padding: 1px 3px; border-radius: 4px; box-shadow: inset 0 -2px 0 #8fd9c8; }
.home .sp-verdict {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 18px; font-size: 15px; color: var(--text);
  background: #fff; border: 1px solid var(--line);
}
.home .sp-verdict strong { margin-left: auto; font-family: var(--display); font-weight: 500; font-size: 24px; }
.home .sp-badge { flex: none; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #a2391c; background: var(--peach-tint); }

.home .sp-insight { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.home .sp-chart-card { grid-row: span 2; }
.home .sp-insight > :last-child { grid-column: 1 / -1; }
.home .sp-chart { height: 230px; margin-top: 24px; }
.home .sp-insight table { width: 100%; border-collapse: collapse; font-size: 14px; }
.home .sp-insight td { padding: 9px 4px; border-top: 1px solid var(--line); color: var(--text); }
.home .sp-insight tr:first-child td { border-top: 0; }
.home .sp-insight td:nth-child(2) { font-family: var(--mono); font-size: 13px; }
.home .sp-insight .bad { color: #b6472a; text-align: right; }
.home .sp-insight .ok { color: var(--ask); text-align: right; }
.home .sp-steps { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--text); }
.home .sp-steps li::marker { color: var(--faint); }

.home .sp-recipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.home .sp-recipe header { font-family: var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.home .sp-recipe ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.home .sp-recipe li { padding: 9px 12px; border-radius: 10px; font-size: 14px; color: var(--faint); }
.home .sp-recipe li.on { color: var(--text); background: var(--watch-tint); font-weight: 500; }
.home .sp-recipe li.on::before { content: "● "; color: var(--watch); }
.home .sp-feed { display: grid; gap: 10px; margin-top: 14px; }

/* ---------- Answer anatomy ---------- */

.home .aa-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.home .aa-card {
  border-radius: 28px; padding: 24px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 80px -50px rgba(30, 50, 110, .4);
  display: grid; gap: 16px;
}
.home .aa-marker {
  flex: none; display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  font-family: var(--mono); font-size: 11px; font-weight: 500; color: #fff; background: var(--text);
}
.home .aa-q { display: flex; gap: 12px; padding: 16px; border-radius: 16px; background: var(--watch-tint); }
.home .aa-q small { font-family: var(--mono); color: var(--watch); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.home .aa-q p { margin: 4px 0 10px; font-size: 15px; }
.home .aa-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.home .aa-chips span { padding: 5px 12px; border-radius: 999px; border: 1px solid #d9cdf5; background: #fff; font-size: 13px; color: var(--body); }
.home .aa-chips .on { border-color: var(--text); background: var(--text); color: #fff; }
.home .aa-answer { display: grid; gap: 12px; }
.home .aa-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; }
.home .aa-row p { margin: 0; font-size: 16px; line-height: 1.6; }
.home .aa-score { display: grid; grid-template-columns: auto auto; gap: 0 8px; align-items: baseline; padding: 10px 14px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.home .aa-score .aa-marker { grid-column: 1 / -1; margin-bottom: 6px; }
.home .aa-score b { font-family: var(--display); font-weight: 500; font-size: 18px; }
.home .aa-score small { color: var(--faint); font-size: 12px; }
.home .aa-block { display: flex; gap: 12px; align-items: flex-start; }
.home .aa-block > :last-child { flex: 1; min-width: 0; }
.home .aa-sources { display: grid; gap: 6px; }
.home .aa-sources span { display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 12.5px; color: #3a3a3a; padding: 9px 10px; border-radius: 10px; background: var(--soft); }
.home .aa-reason { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; color: var(--text); }
.home .aa-block pre { padding: 12px 14px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.home .aa-list { list-style: none; margin: 0; padding: 0; display: grid; }
.home .aa-list li { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-strong); }
.home .aa-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.home .aa-list strong { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -.02em; }
.home .aa-list p { margin: 4px 0 0; color: var(--body); font-size: 15px; }

/* ---------- Platform flow ---------- */

.home .fl-shell { border-radius: 32px; border: 1px solid var(--line); background: #fff; padding: 22px 28px 0; }
.home .fl-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.home .fl-pills { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--card); }
.home .fl-pills button { border: 0; background: none; cursor: pointer; padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--body); }
.home .fl-pills button:hover { color: var(--text); }
.home .fl-pills button.active { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.home .fl-pills button.active::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--tone); vertical-align: 1px; }

.home .fl-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr 1fr 1fr; gap: 56px; align-items: center; padding: 36px 0; }
.home .fl-svg { position: absolute; left: 0; top: 0; z-index: 0; overflow: visible; pointer-events: none; }
.home .fl-link { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 3 4; }
.home .fl-link.live { stroke: var(--tone); stroke-width: 1.5; stroke-dasharray: none; opacity: .75; }
.home .fl-link.live.drawing { stroke-dasharray: 1; stroke-dashoffset: 1; animation: fl-draw .9s ease forwards; }
@keyframes fl-draw { to { stroke-dashoffset: 0; } }
.home .fl-dot {
  position: absolute; left: 0; top: 0; z-index: 2;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--tone); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone) 22%, transparent);
  offset-rotate: 0deg;
  animation: fl-travel 1.1s cubic-bezier(.5, 0, .3, 1) forwards;
}
@keyframes fl-travel { from { offset-distance: 0%; opacity: 0; } 15% { opacity: 1; } 90% { opacity: 1; } to { offset-distance: 100%; opacity: 0; } }

.home .fl-col { position: relative; z-index: 1; display: grid; gap: 8px; }
.home .fl-label { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.home .fl-node {
  position: relative; padding: 12px 14px; border-radius: 14px; background: var(--card); font-size: 14px; color: var(--text);
  border: 1px solid transparent; transition: opacity .4s, background .4s, border-color .4s, box-shadow .4s;
}
.home .fl-node.is-dim { opacity: .5; }
.home .fl-node.is-active, .home .fl-node.is-done { background: #fff; border-color: var(--line-strong); }
.home .fl-node.is-active { border-color: var(--text); box-shadow: 0 10px 30px -18px rgba(20, 30, 70, .45); }
.home .fl-product { display: flex; align-items: center; gap: 12px; background: #fff; border-color: var(--line); }
.home .fl-product .orb { width: 28px; height: 28px; flex: none; }
.home .fl-product span { display: grid; gap: 1px; min-width: 0; }
.home .fl-product strong { font-family: var(--display); font-weight: 500; font-size: 16px; }
.home .fl-product small { color: var(--faint); font-size: 12px; }
.home .fl-product.is-active small, .home .fl-product.is-done small { color: var(--tone); font-family: var(--mono); font-size: 11.5px; animation: hc-rise .4s ease both; }
.home .fl-channel { display: flex; align-items: center; gap: 10px; }
.home .fl-channel img { width: 18px; height: 18px; object-fit: contain; }
.home .fl-toast {
  position: absolute; z-index: 3; right: 10px; top: -14px;
  padding: 4px 10px; border-radius: 999px; background: var(--text); color: #fff;
  font-style: normal; font-size: 11.5px; white-space: nowrap;
  animation: fl-pop .45s cubic-bezier(.3, 1.4, .5, 1) both;
}
@keyframes fl-pop { from { opacity: 0; transform: translateY(6px) scale(.9); } }

.home .fl-core {
  justify-items: center; text-align: center; gap: 8px;
  padding: 30px 18px; border-radius: 28px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 70px -45px rgba(30, 50, 110, .45);
  transition: box-shadow .4s, border-color .4s;
}
.home .fl-core > .orb { width: 84px; height: 84px; margin-bottom: 4px; transition: transform .6s; }
.home .fl-core strong { font-family: var(--display); font-weight: 500; font-size: 18px; margin-bottom: 6px; }
.home .fl-core span { width: 100%; font-size: 13px; color: var(--body); padding: 8px 10px; border-radius: 10px; background: var(--soft); border: 1px solid transparent; }
.home .fl-core.is-active { border-color: var(--text); }
.home .fl-core.is-active > .orb { animation: fl-pulse 1.3s ease-in-out infinite; }
.home .fl-core.is-active span { animation: fl-chip 2.4s ease both; animation-delay: calc(var(--i) * .45s); }
.home .fl-core.is-done span { background: #fff; border-color: var(--line); color: var(--text); }
@keyframes fl-pulse { 50% { transform: scale(1.08); } }
@keyframes fl-chip { 0%, 100% { background: var(--soft); } 15%, 60% { background: #fff; border-color: var(--text); color: var(--text); } }

.home .fl-steps { list-style: none; margin: 0 -28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.home .fl-steps li + li { border-left: 1px solid var(--line); }
.home .fl-steps button { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 0 22px 20px; display: grid; gap: 4px; color: inherit; }
.home .fl-steps i { display: block; height: 2px; margin: 0 -22px 14px; background: transparent; overflow: hidden; }
.home .fl-steps li.done i, .home .fl-steps li.active i { background: var(--line); }
.home .fl-steps li.done i { background: var(--text); }
.home .fl-steps b { display: block; height: 100%; background: var(--text); transform-origin: left; animation: hc-progress linear forwards; }
.home .fl-steps span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.home .fl-steps small { font-size: 14px; color: var(--faint); }
.home .fl-steps li.active span, .home .fl-steps li.active small { color: var(--text); }
.home .fl-steps li.done small { color: var(--body); }

/* ---------- Use cases ---------- */

.home .uc-tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 999px; background: var(--card); margin-bottom: 24px; }
.home .uc-tabs button { border: 0; background: none; color: var(--body); padding: 9px 20px; border-radius: 999px; cursor: pointer; font-weight: 500; font-size: 14px; }
.home .uc-tabs button:hover { color: var(--text); }
.home .uc-tabs button.active { background: var(--text); color: #fff; }
.home .uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.home .uc-card { padding: 28px; border-radius: 24px; min-height: 200px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; animation: hc-rise .45s ease both; }
.home .uc-card:nth-child(2) { animation-delay: .06s; }
.home .uc-card:nth-child(3) { animation-delay: .12s; }
.home .uc-card > span { align-self: flex-start; }
.home .uc-card p { margin: auto 0 0; padding-top: 28px; font-family: var(--display); font-size: 21px; line-height: 1.35; color: var(--text); letter-spacing: -.015em; }

/* ---------- CTA ---------- */

.home .h-cta {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 24px; padding: 96px 32px; border-radius: 36px; text-align: center;
  background: var(--card);
}
.home .h-cta > .orb { position: absolute; z-index: -1; width: 520px; height: 520px; left: 50%; top: 115%; transform: translate(-50%, -50%); opacity: .85; filter: blur(8px); }
.home .h-cta h2 { font-size: clamp(36px, 5vw, 66px); letter-spacing: -.05em; line-height: 1.02; margin: 16px auto; max-width: 820px; }
.home .h-cta p { color: var(--body); font-size: 18px; margin: 0 auto 32px; max-width: 560px; }
.home .h-cta .h-actions { justify-content: center; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .home .h-showcase { grid-template-columns: 1fr; }
  .home .h-showcase-nav { position: static; grid-template-columns: repeat(3, 1fr); }
  .home .sn-detail { display: none; }
  .home .aa-grid { grid-template-columns: 1fr; }
  .home .fl-grid { grid-template-columns: 1fr; gap: 44px; }
  .home .fl-col:not(.fl-core) { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .home .fl-col .fl-label { grid-column: 1 / -1; }
  /* Stacked layout: curves would cut across cards, so link columns simply. */
  .home .fl-svg, .home .fl-dot { display: none; }
  .home .fl-col:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -36px; width: 1px; height: 28px; background: var(--tone); opacity: .6; }
  .home .fl-product.is-active, .home .fl-product.is-done, .home .fl-channel.is-active, .home .fl-channel.is-done { grid-column: 1 / -1; }
  .home .fl-steps { grid-template-columns: repeat(2, 1fr); }
  .home .fl-steps li:nth-child(3) { border-left: 0; }
  .home .fl-steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .home .fl-steps li:nth-child(n+3) i { margin-top: -1px; }
}

@media (max-width: 760px) {
  .home .h-section { padding: 84px 0; }
  .home .h-hero { padding: 64px 0 72px; }
  .home .h-hero-grid { gap: 44px; }
  .home .h-hero-copy > p { font-size: 17px; }
  .home .h-stage > .orb { width: 340px; height: 340px; }
  .home .hc-bar { padding: 12px; }
  .home .hc-dots, .home .hc-caption { display: none; }
  .home .hc-body { padding: 18px; min-height: 420px; }
  .home .hc-prompt p { max-width: 100%; }
  .home .h-vision-steps, .home .uc-grid { grid-template-columns: 1fr; }
  .home .h-vision-steps li { min-height: 0; }
  .home .h-showcase-nav { grid-template-columns: 1fr; }
  .home .sn-item button { padding: 14px 16px; }
  .home .sn-item strong { font-size: 18px; }
  .home .h-showcase-stage { padding: 16px; border-radius: 24px; }
  .home .stage-head { flex-direction: column; gap: 8px; }
  .home .sp-ask, .home .sp-insight, .home .sp-recipe { grid-template-columns: 1fr; }
  .home .sp-chart-card { grid-row: auto; }
  .home .sp-verdict { flex-wrap: wrap; }
  .home .aa-row { grid-template-columns: 1fr; }
  .home .aa-score { justify-self: start; }
  .home .h-cta { padding: 64px 20px 120px; border-radius: 28px; }
  .home .uc-tabs { border-radius: 20px; }
  .home .fl-shell { padding: 16px 16px 0; border-radius: 24px; }
  .home .fl-bar { flex-wrap: wrap; }
  .home .fl-steps { margin: 0 -16px; }
  .home .fl-steps button { padding: 0 14px 16px; }
  .home .fl-steps i { margin: 0 -14px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .home .h-pill-caret { display: none; }
  .home .h-pill, .home .h-marquee-track, .home .fl-core.is-active > .orb, .home .fl-core.is-active span { animation: none; }
  .home .reveal { opacity: 1; transform: none; transition: none; }
  .home .hc-result > *, .home .stage-body, .home .uc-card, .home .sn-detail, .home .hc-chart i, .home .sp-chart i, .home .hc-meter em { animation: none; }
}
/* Try page: live entaura ask demo chat. Scoped to .try; tokens from styles.css. */

.try { padding-bottom: 96px; overflow-x: clip; }

.try-hero { padding: 72px 0 40px; text-align: center; display: grid; justify-items: center; }
.try-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--body);
}
.try-pill .orb { width: 18px; height: 18px; }
.try-hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1; letter-spacing: -.05em; margin: 24px 0 18px; text-wrap: balance; max-width: 900px; }
.try-hero p { margin: 0; color: var(--body); font-size: 18px; max-width: 620px; }

/* Chat card */
.try-chat {
  position: relative; isolation: isolate;
  max-width: 920px; margin: 0 auto;
  display: flex; flex-direction: column;
  height: min(760px, calc(100vh - 120px)); min-height: 560px;
  border-radius: 28px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 30px 80px -40px rgba(30, 50, 110, .35);
}
.try-glow { position: absolute; z-index: -1; width: 520px; height: 520px; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .45; filter: blur(40px); pointer-events: none; }

.tc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.tc-title { display: flex; align-items: center; gap: 10px; }
.tc-title img { width: 34px; height: 24px; object-fit: contain; }
.tc-title strong { font-family: var(--display); font-weight: 500; font-size: 17px; }
.tc-status { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; padding: 3px 10px; border-radius: 999px; background: var(--card); font-family: var(--mono); font-size: 11px; color: var(--body); }
.tc-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.tc-status.live i { background: var(--ask); box-shadow: 0 0 0 3px var(--ask-tint); }
.tc-status.connecting i { background: #e0a83a; animation: tc-blink 1s ease-in-out infinite; }
.tc-status.offline i { background: var(--peach); }
@keyframes tc-blink { 50% { opacity: .3; } }
.tc-new { border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 500; cursor: pointer; }
.tc-new:hover { background: var(--soft); }

.tc-log { flex: 1; overflow-y: auto; padding: 28px 28px 12px; display: flex; flex-direction: column; gap: 22px; scroll-behavior: smooth; }

/* Empty state */
.tc-empty { margin: auto 0; text-align: center; }
.tc-empty h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; margin: 0 0 6px; }
.tc-empty > p { color: var(--body); margin: 0 0 28px; }
.tc-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.tc-group { display: grid; gap: 8px; align-content: start; }
.tc-qs { display: grid; gap: 8px; }
.tc-group > span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin: 0 0 2px 4px; }
.tc-group button, .tc-chips button, .tc-followups button {
  text-align: left; cursor: pointer; font: inherit; color: var(--text);
  border: 1px solid var(--line); background: var(--soft); border-radius: 14px;
  padding: 11px 14px; font-size: 14px; line-height: 1.4;
  transition: background .2s, border-color .2s, transform .2s;
}
.tc-group button:hover, .tc-chips button:hover, .tc-followups button:hover { background: #fff; border-color: var(--text); }

/* Messages */
.tc-row { display: flex; gap: 12px; align-items: flex-start; animation: tc-rise .35s ease both; }
@keyframes tc-rise { from { opacity: 0; transform: translateY(6px); } }
.tc-row.user { justify-content: flex-end; }
.tc-bubble { margin: 0; max-width: 78%; padding: 11px 16px; border-radius: 18px 18px 4px 18px; background: var(--text); color: #fff; font-size: 15px; white-space: pre-wrap; }
.tc-avatar { flex: none; width: 32px; height: 32px; border-radius: 50%; object-fit: contain; padding: 6px; background: #fff; border: 1px solid var(--line); }
.tc-answer { flex: 1; min-width: 0; display: grid; gap: 12px; }
.tc-md { font-size: 15.5px; line-height: 1.65; color: var(--text); }
.tc-md > :first-child { margin-top: 0; }
.tc-md > :last-child { margin-bottom: 0; }
.tc-md p { margin: 0 0 10px; }
.tc-md h4 { font-family: var(--display); font-weight: 500; font-size: 17px; margin: 14px 0 6px; }
.tc-md ul, .tc-md ol { margin: 0 0 10px; padding-left: 22px; }
.tc-md li { margin: 3px 0; }
.tc-md code { font-family: var(--mono); font-size: 13px; padding: 1px 6px; border-radius: 6px; background: var(--card); }
.tc-table { overflow-x: auto; margin: 4px 0 12px; border: 1px solid var(--line); border-radius: 12px; }
.tc-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tc-table th, .tc-table td { padding: 9px 12px; text-align: left; border-top: 1px solid var(--line); }
.tc-table th { border-top: 0; background: var(--soft); font-weight: 600; }
.tc-caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--text); animation: tc-blink 1s steps(1) infinite; }
.tc-thinking { display: flex; align-items: center; gap: 5px; padding: 7px 0; color: var(--faint); font-size: 13.5px; }
.tc-thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: tc-dot 1s ease-in-out infinite; }
.tc-thinking i:nth-child(2) { animation-delay: .15s; }
.tc-thinking i:nth-child(3) { animation-delay: .3s; }
.tc-thinking span { margin-left: 8px; }
@keyframes tc-dot { 50% { opacity: .3; transform: translateY(-3px); } }
.tc-error { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--peach-tint); color: #8a3b24; font-size: 14.5px; }
.tc-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tc-sources span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-right: 4px; }
.tc-sources em { font-style: normal; font-family: var(--mono); font-size: 12px; padding: 4px 9px; border-radius: 8px; background: var(--ask-tint); color: #146e5e; }
.tc-followups { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-followups button { background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13.5px; }
.tc-followups button span { color: var(--faint); margin-left: 2px; }
.tc-recover { display: flex; align-items: center; gap: 14px; padding-left: 44px; }
.tc-link { font-size: 14px; font-weight: 500; border-bottom: 1px solid currentColor; }

/* Composer */
.tc-foot { padding: 12px 20px 16px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .92); border-radius: 0 0 28px 28px; }
.tc-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.tc-chips::-webkit-scrollbar { display: none; }
.tc-chips button { flex: none; border-radius: 999px; padding: 7px 14px; font-size: 13px; white-space: nowrap; }
.tc-chips button:disabled { opacity: .5; cursor: default; }
.tc-composer {
  display: flex; align-items: flex-end; gap: 10px;
  padding: 8px 8px 8px 20px; border-radius: 26px;
  border: 1px solid var(--line-strong); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.tc-composer:focus-within { border-color: var(--text); box-shadow: 0 0 0 4px rgba(11, 11, 11, .06); }
.tc-composer textarea {
  flex: 1; min-width: 0; resize: none; border: 0; outline: 0; background: none;
  font: inherit; font-size: 15.5px; line-height: 24px; padding: 8px 0; color: var(--text);
  max-height: 140px;
}
.tc-composer textarea::placeholder { color: var(--faint); }
.tc-send {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--text); color: #fff; cursor: pointer; transition: background .2s, transform .2s;
}
.tc-send:hover:not(:disabled) { transform: scale(1.05); }
.tc-send:disabled { background: var(--line-strong); cursor: default; }
.tc-hint { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 12px; color: var(--faint); }
.tc-hint button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 11px; font-size: 12px; color: var(--body); cursor: pointer; }
.tc-hint button.on { background: var(--text); border-color: var(--text); color: #fff; }

@media (max-width: 760px) {
  .try { padding-bottom: 32px; }
  .try-hero { padding: 48px 0 28px; }
  .try-hero p { font-size: 16px; }
  .try-chat { height: calc(100vh - 92px); min-height: 520px; border-radius: 22px; }
  .tc-head { padding: 12px 14px; }
  .tc-log { padding: 20px 14px 10px; }
  .tc-groups { display: flex; flex-direction: column; }
  .tc-qs { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px 2px; }
  .tc-qs::-webkit-scrollbar { display: none; }
  .tc-qs button { flex: none; width: 240px; }
  .tc-bubble { max-width: 88%; }
  .tc-foot { padding: 10px 12px 12px; border-radius: 0 0 22px 22px; }
  .tc-hint span { display: none; }
  .tc-recover { padding-left: 0; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .tc-row, .tc-thinking i, .tc-caret, .tc-status.connecting i { animation: none; }
}
