:root {
  --navy-950: #061524;
  --navy-900: #081a30;
  --navy-800: #0f2a4a;
  --navy-700: #15324f;
  --navy-600: #1c3e61;
  --accent: #c9a227;
  --accent-hi: #deb949;
  --cream: #f5f1e8;
  --paper: #efe9da;
  --paper-muted: #9db1c6;
  --paper-faint: #6e839b;
  --ink: #0f2a4a;
  --ink-muted: #5a6b7e;
  --line: rgba(201, 162, 39, 0.2);
  --line-soft: rgba(255, 255, 255, 0.08);
  --ink-line: rgba(15, 42, 74, 0.13);
  --shadow: 0 36px 80px -38px rgba(0, 0, 0, 0.78);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--paper);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--navy-900);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

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

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

.container--narrow {
  width: min(100% - 40px, 1100px);
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: rgba(8, 26, 48, 0.72);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.nav__inner {
  min-height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: fit-content;
}

.brand__mark {
  width: 36px;
  height: 36px;
  color: var(--accent);
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  color: var(--paper);
  font-family: "Spectral", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.brand__tagline {
  color: var(--accent);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  margin-top: 4px;
  text-transform: uppercase;
}

.brand--ink .brand__mark {
  width: 28px;
  height: 28px;
}

.brand--ink .brand__name {
  color: var(--ink);
  font-size: 18px;
}

.chat-card__header .brand__mark {
  width: 28px;
  height: 28px;
}

.footer .brand__mark {
  width: 30px;
  height: 30px;
}

.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 32px);
}

.nav__links a,
.footer a {
  color: var(--paper-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.18s ease;
}

.nav__links a:hover,
.footer a:hover {
  color: var(--paper);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 13px;
}

.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-switch button {
  min-width: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--paper-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 7px 10px;
}

.lang-switch button.is-active {
  background: var(--accent);
  color: var(--navy-900);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 750;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.button--primary {
  background: var(--accent);
  color: var(--navy-900);
}

.button--primary:hover {
  background: var(--accent-hi);
}

.button--dark {
  background: var(--navy-800);
  color: var(--paper);
}

.button--dark:hover {
  background: var(--navy-700);
}

.icon-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.icon-button span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--paper);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.icon-button span:nth-child(1) {
  transform: translateY(-6px);
}

.icon-button span:nth-child(3) {
  transform: translateY(6px);
}

.icon-button.is-active span:nth-child(1) {
  transform: rotate(45deg);
}

.icon-button.is-active span:nth-child(2) {
  opacity: 0;
}

.icon-button.is-active span:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 100px;
  background:
    radial-gradient(1100px 620px at 80% 6%, rgba(28, 62, 97, 0.6), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
}

.hero__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
  pointer-events: none;
}

.map-lines {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  stroke-opacity: 0.22;
}

.map-dash {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  stroke-dasharray: 5 7;
  stroke-opacity: 0.5;
}

.map-dash path {
  animation: inju-dash 6s linear infinite;
}

.map-dots circle {
  fill: var(--accent);
  animation: inju-pulse 6s ease-in-out infinite;
}

.map-dots circle:nth-child(odd) {
  fill: var(--paper);
  opacity: 0.58;
}

.map-labels {
  fill: var(--paper-muted);
  opacity: 0.42;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 26px;
}

.eyebrow span:first-child {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.16);
}

.eyebrow span:last-child,
.section-kicker {
  color: var(--paper-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker {
  display: block;
  color: var(--accent);
  margin-bottom: 16px;
}

.section--paper .section-kicker {
  color: #a6841b;
}

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

h1,
.section-head h2,
.waitlist-section h2 {
  font-family: "Spectral", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--paper);
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.04;
}

.lead {
  max-width: 560px;
  color: var(--paper-muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.62;
  margin-bottom: 30px;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
}

.inline-form input,
.chat-form input,
.search-input input {
  min-width: 0;
  color: var(--paper);
}

.inline-form input {
  flex: 1 1 240px;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: 0;
  background: rgba(255, 255, 255, 0.055);
  padding: 0 16px;
  font-size: 15px;
}

.inline-form input:focus,
.chat-form:focus-within,
.search-input:focus-within {
  border-color: var(--accent);
}

.note {
  color: var(--paper-faint);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 16px 0 0;
}

.note.is-success {
  color: var(--accent);
}

.note.is-error {
  color: #ffb4a8;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.case-preview {
  width: min(100%, 440px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  box-shadow: var(--shadow);
  padding: 24px;
  animation: inju-drift 9s ease-in-out infinite;
}

.case-preview__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.case-preview__top > span {
  color: var(--paper-faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-preview__top strong {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--accent);
  padding: 4px 9px;
  font-size: 12px;
}

.case-preview__top strong span {
  color: var(--paper-muted);
  font-weight: 600;
}

.case-preview h2 {
  color: var(--paper);
  font-family: "Spectral", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.28;
  margin-bottom: 20px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(201, 162, 39, 0.25));
}

.timeline__item {
  position: relative;
}

.timeline__item > span {
  position: absolute;
  left: -26px;
  top: 3px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--navy-700);
}

.timeline__item--active > span {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.18);
}

.timeline small {
  display: block;
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.timeline strong {
  display: block;
  color: var(--paper);
  font-size: 15px;
}

.timeline p {
  color: var(--paper-faint);
  font-size: 12.5px;
  margin: 2px 0 0;
}

.stats {
  background: var(--navy-800);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 36px 0;
}

.stats strong {
  display: block;
  color: var(--accent);
  font-family: "Spectral", Georgia, serif;
  font-size: 38px;
  line-height: 1;
}

.stats span {
  display: block;
  color: var(--paper-muted);
  font-size: 14px;
  margin-top: 7px;
}

.section {
  padding: clamp(78px, 9vw, 128px) 0;
}

.section--paper {
  background: var(--cream);
  color: var(--ink);
}

.section--navy {
  background: var(--navy-800);
  color: var(--paper);
}

.section--dark {
  background: var(--navy-900);
  color: var(--paper);
  border-top: 1px solid var(--line-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  color: inherit;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.08;
  margin-bottom: 16px;
}

.section-head p,
.waitlist-section p {
  color: var(--paper-muted);
  font-size: 17px;
  line-height: 1.6;
}

.section--paper .section-head p,
.section--paper .section-note {
  color: var(--ink-muted);
}

.block-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  border-radius: 16px;
  background: var(--ink-line);
}

.block-grid article,
.steps article,
.audience-panel article {
  background: #fff;
  padding: 26px 24px;
}

.block-grid span,
.steps span {
  display: block;
  color: var(--accent);
  font-family: "Spectral", Georgia, serif;
  font-size: 24px;
  font-weight: 650;
  line-height: 1;
  margin-bottom: 13px;
}

.block-grid h3,
.audience-panel h3 {
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 7px;
}

.block-grid p,
.audience-panel p {
  color: var(--ink-muted);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

.section-note {
  font-size: 13.5px;
  margin: 18px 0 0;
}

.search-panel,
.case-card,
.chat-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--navy-700);
}

.search-panel {
  padding: 22px;
  margin-bottom: 24px;
}

.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-input {
  display: flex;
  flex: 1 1 320px;
  min-width: 0;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0 15px;
}

.search-input svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.search-input circle,
.search-input path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.search-input input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 15px 0;
  font-size: 15.5px;
}

.quick-row,
.chip-row,
.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-row {
  align-items: center;
  margin-top: 16px;
}

.quick-row span,
.results-head span,
.chat-disclaimer {
  color: var(--paper-faint);
  font-size: 12.5px;
}

.quick-row button,
.suggestions button {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper-muted);
  padding: 7px 13px;
  font-size: 13px;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.quick-row button:hover,
.suggestions button:hover,
.quick-row button.is-active,
.suggestions button.is-active {
  border-color: var(--accent);
  color: var(--paper);
}

.results-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.results-head span:first-child {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-results {
  display: grid;
  gap: 16px;
}

.case-card {
  padding: 22px;
}

.case-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.case-card__category {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--accent);
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 11px;
}

.case-card h3 {
  color: var(--paper);
  font-family: "Spectral", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 8px;
}

.case-card__meta {
  color: var(--paper-faint);
  font-size: 13.5px;
  margin: 0;
}

.case-card__score {
  flex: none;
  text-align: right;
}

.case-card__score strong {
  display: block;
  color: var(--accent);
  font-family: "Spectral", Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.case-card__score span {
  color: var(--paper-faint);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.instance-grid div,
.case-blocks article {
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  padding: 13px 14px;
}

.instance-grid span,
.case-blocks h4 {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.instance-grid strong {
  display: block;
  color: var(--paper);
  font-size: 14px;
  line-height: 1.3;
}

.instance-grid p {
  color: var(--paper-faint);
  font-size: 12px;
  margin: 5px 0 0;
}

.ghost-button {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--accent);
  padding: 9px 15px;
  font-size: 13.5px;
  font-weight: 650;
}

.ghost-button:hover {
  background: rgba(201, 162, 39, 0.1);
}

.case-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 11px;
  border-top: 1px solid var(--line-soft);
  margin-top: 18px;
  padding-top: 18px;
}

.case-blocks__title {
  grid-column: 1 / -1;
  color: var(--paper-muted);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 3px;
}

.case-blocks h4 {
  margin: 0 0 5px;
  letter-spacing: 0;
  text-transform: none;
  font-size: 11.5px;
}

.case-blocks p {
  color: var(--paper-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.chat-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(360px, 1fr);
  gap: clamp(36px, 4vw, 60px);
  align-items: start;
}

.section-head--sticky {
  position: sticky;
  top: 96px;
  margin-bottom: 0;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list article {
  display: flex;
  gap: 14px;
}

.feature-list article > span {
  width: 24px;
  height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 800;
}

.feature-list h3 {
  color: var(--paper);
  font-size: 15.5px;
  margin: 0 0 3px;
}

.feature-list p {
  color: var(--paper-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.chat-card {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.chat-card__header {
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025);
  padding: 16px 20px;
}

.chat-card__header .brand__mark {
  width: 28px;
  height: 28px;
}

.chat-card__header strong {
  display: block;
  color: var(--paper);
  font-size: 14.5px;
  margin-bottom: 2px;
}

.chat-card__header span:not(.brand__mark) {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-card__header i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ecf8e;
}

.chat-card__header em {
  color: var(--paper-faint);
  font-size: 12px;
  font-style: normal;
}

.chat-card__messages {
  height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.message {
  max-width: 92%;
  align-self: flex-start;
}

.message--user {
  align-self: flex-end;
}

.message__bubble {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 13px 15px;
}

.message--user .message__bubble {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--navy-900);
}

.message__text {
  white-space: pre-line;
  color: inherit;
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

.message__cites {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.message__cites span {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--accent);
  padding: 4px 9px;
  font-size: 11.5px;
  font-weight: 650;
}

.message__note {
  display: flex;
  gap: 6px;
  color: var(--paper-faint);
  font-size: 12px;
  margin: 10px 0 0;
}

.typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 1px 0;
}

.typing__pearl {
  position: relative;
  width: 22px;
  height: 22px;
  display: inline-block;
  flex: none;
}

.typing__pearl svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: inju-orbit 3.6s linear infinite;
  transform-origin: 50% 50%;
}

.typing__pearl i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #ffffff, #efe4cf 45%, #cbb085 100%);
  transform: translate(-50%, -50%);
  animation: inju-shimmer 1.6s ease-in-out infinite;
}

.chat-card__footer {
  border-top: 1px solid var(--line-soft);
  padding: 14px 16px;
}

.suggestions {
  margin-bottom: 12px;
}

.suggestions button {
  text-align: left;
  font-size: 12.5px;
}

.chat-form {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0 6px 0 15px;
}

.chat-form input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 13px 0;
  font-size: 14.5px;
}

.chat-form button {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
}

.chat-form button:hover {
  background: var(--accent-hi);
}

.chat-form svg {
  width: 17px;
  height: 17px;
}

.chat-form path {
  fill: var(--navy-900);
}

.chat-disclaimer {
  grid-column: 2;
  text-align: center;
  margin: -48px 0 0;
}

.calc-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 24px;
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  background: #fff;
  padding: clamp(20px, 3vw, 32px);
}

.calc-panel__controls h3 {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 11px;
}

.calc-panel__controls h3:not(:first-child) {
  margin-top: 24px;
}

.control-stack {
  display: grid;
  gap: 8px;
}

.control-stack button,
.chip-row button {
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-muted);
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 650;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.control-stack button {
  border-radius: 11px;
  text-align: left;
  padding: 13px 15px;
  font-size: 14.5px;
}

.control-stack button:hover,
.chip-row button:hover,
.control-stack button.is-active,
.chip-row button.is-active {
  border-color: var(--accent);
  background: rgba(201, 162, 39, 0.1);
  color: #8a6d14;
}

.calc-output {
  min-width: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: var(--paper);
  padding: 28px;
}

.calc-output > span {
  display: block;
  color: var(--paper-faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.calc-output__range {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.calc-output__range strong {
  color: var(--accent);
  font-family: "Spectral", Georgia, serif;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1;
}

.calc-output__range em {
  color: var(--paper-faint);
  font-style: normal;
  font-size: 22px;
}

.calc-output p {
  color: var(--paper-muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.calc-output p strong {
  color: var(--paper);
  font-size: 14px;
}

.range-bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin: 14px 0 6px;
}

.range-bar span {
  position: absolute;
  inset: 0 auto 0 30%;
  width: 45%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
}

.range-bar i {
  position: absolute;
  top: -4px;
  left: 52%;
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--paper);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  color: var(--paper-faint);
  font-size: 11px;
  margin-bottom: 20px;
}

.basis {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  padding: 13px 14px;
}

.basis span {
  color: var(--accent);
  font-weight: 800;
}

.basis strong {
  color: var(--paper-muted);
  font-size: 13px;
  font-weight: 500;
}

.calc-output small {
  display: block;
  color: var(--paper-faint);
  font-size: 11.5px;
  line-height: 1.5;
  margin-top: 14px;
}

.opinion-doc {
  overflow: hidden;
  width: min(100%, 760px);
  margin: 0 auto;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7);
}

.opinion-doc > header,
.opinion-doc > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px clamp(22px, 4vw, 44px);
}

.opinion-doc > header {
  border-bottom: 2px solid var(--accent);
}

.opinion-doc > header > div:last-child {
  text-align: right;
}

.opinion-doc > header strong {
  display: block;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.opinion-doc > header span {
  display: block;
  color: var(--ink-muted);
  font-size: 12px;
  margin-top: 2px;
}

.opinion-doc__body {
  padding: clamp(24px, 4vw, 44px);
}

.opinion-doc__body section {
  margin-bottom: 26px;
}

.opinion-doc h3 {
  color: var(--ink);
  font-family: "Spectral", Georgia, serif;
  font-size: 18px;
  font-weight: 650;
  margin-bottom: 9px;
}

.opinion-doc p {
  color: var(--ink-muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 0;
}

.legal-tags,
.instance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-tags span {
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 7px;
  background: rgba(201, 162, 39, 0.16);
  color: #8a6d14;
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 650;
}

.instance-row div {
  flex: 1 1 150px;
  border: 1px solid var(--ink-line);
  border-radius: 10px;
  padding: 12px 14px;
}

.instance-row span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.instance-row strong {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
  margin-top: 5px;
}

.chance {
  display: flex;
  align-items: center;
  gap: 14px;
}

.chance span {
  position: relative;
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: var(--ink-line);
}

.chance i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 72%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
}

.chance strong {
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
}

.recommendation {
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: rgba(201, 162, 39, 0.1);
  padding: 16px 18px;
}

.recommendation h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.opinion-doc > footer {
  border-top: 1px solid var(--ink-line);
  background: rgba(15, 42, 74, 0.03);
}

.opinion-doc > footer span {
  max-width: 390px;
  color: var(--ink-muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.lawyer-filters {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.lawyer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.lawyer-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  background: #fff;
  padding: 22px;
}

.lawyer-card > div {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}

.lawyer-card > div > span {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  box-shadow: 0 0 0 2px var(--accent);
  color: var(--accent);
  font-family: "Spectral", Georgia, serif;
  font-size: 19px;
  font-weight: 650;
}

.lawyer-card h3 {
  color: var(--ink);
  font-size: 16px;
  margin: 0 0 3px;
}

.lawyer-card div p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.lawyer-card em {
  color: var(--ink-muted);
  font-size: 13px;
  font-style: normal;
}

.lawyer-card strong {
  color: var(--accent);
  font-size: 12px;
}

.lawyer-card > p {
  color: var(--ink-muted);
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.lawyer-card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.lawyer-card footer span {
  color: var(--ink-muted);
  font-size: 13px;
}

.lawyer-card footer a {
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 750;
}

.empty-state {
  display: none;
  color: var(--ink-muted);
  text-align: center;
  padding: 40px 0 0;
  margin: 0;
}

.steps {
  border-color: var(--line-soft);
  background: var(--line-soft);
}

.steps article {
  background: var(--navy-800);
}

.steps span {
  font-size: 34px;
}

.steps h3 {
  color: var(--paper);
  font-size: 17px;
  margin-bottom: 8px;
}

.steps p {
  color: var(--paper-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--ink-line);
  margin-bottom: 34px;
}

.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink-muted);
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 750;
  margin-bottom: -1px;
}

.tabs button.is-active {
  border-bottom-color: var(--accent);
  color: var(--ink);
}

.audience-panel {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.audience-panel.is-active {
  display: grid;
}

.audience-panel article {
  border: 1px solid var(--ink-line);
  border-radius: 14px;
}

.audience-panel h3 {
  font-family: "Spectral", Georgia, serif;
  font-size: 18px;
  font-weight: 650;
}

.waitlist-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  text-align: center;
}

.waitlist-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 50% 0%, rgba(201, 162, 39, 0.14), transparent 62%);
  pointer-events: none;
}

.waitlist-section .container {
  position: relative;
}

.waitlist-section h2 {
  color: var(--paper);
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.06;
  margin-bottom: 18px;
}

.waitlist-section p {
  max-width: 540px;
  margin: 0 auto 32px;
}

.waitlist-section .inline-form {
  margin: 0 auto;
  max-width: 480px;
}

.footer {
  background: var(--navy-900);
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 40px;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 44px;
}

.footer__brand {
  max-width: 360px;
  flex: 1 1 300px;
}

.footer__brand p {
  color: var(--paper-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 0 0;
}

.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 6vw, 72px);
}

.footer__cols div {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer h3 {
  color: var(--paper-faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.footer__disc {
  max-width: 760px;
  border-top: 1px solid var(--line-soft);
  color: var(--paper-faint);
  padding-top: 24px;
  font-size: 12.5px;
  line-height: 1.6;
  margin-bottom: 18px;
}

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

.footer__bottom span {
  color: var(--paper-faint);
  font-size: 13px;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes inju-pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.4);
  }
}

@keyframes inju-dash {
  to {
    stroke-dashoffset: -240;
  }
}

@keyframes inju-drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes inju-blink {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}

@keyframes inju-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes inju-shimmer {
  0%,
  100% {
    box-shadow: inset -1px -1px 2px rgba(120, 95, 55, 0.45), 0 0 0 0 rgba(222, 185, 73, 0);
  }
  50% {
    box-shadow: inset -1px -1px 2px rgba(120, 95, 55, 0.45), 0 0 11px 2px rgba(222, 185, 73, 0.6);
  }
}

@media (max-width: 980px) {
  .nav__inner {
    grid-template-columns: auto auto;
  }

  .nav__toggle {
    display: inline-flex;
    justify-self: end;
    position: relative;
  }

  .nav__links,
  .nav__actions {
    display: none;
  }

  .nav__links.is-open,
  .nav__actions.is-open {
    display: flex;
    grid-column: 1 / -1;
  }

  .nav__links.is-open {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line-soft);
    padding-top: 10px;
  }

  .nav__links.is-open a {
    padding: 12px 0;
  }

  .nav__actions.is-open {
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero__grid,
  .chat-layout,
  .calc-panel {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    justify-content: flex-start;
  }

  .section-head--sticky {
    position: static;
  }

  .chat-disclaimer {
    grid-column: auto;
    margin: -22px 0 0;
  }
}

@media (max-width: 760px) {
  .container,
  .container--narrow {
    width: min(100% - 32px, 1200px);
  }

  .nav__inner {
    min-height: 64px;
  }

  .nav .brand__mark {
    width: 32px;
    height: 32px;
  }

  .nav .brand__name {
    font-size: 20px;
  }

  .nav .brand__tagline {
    font-size: 7.5px;
    letter-spacing: 0.28em;
  }

  .nav__cta {
    display: none;
  }

  .hero {
    padding: 104px 0 54px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .lead {
    font-size: 16px;
  }

  .inline-form,
  .search-form {
    display: grid;
  }

  .inline-form .button,
  .search-form .button {
    width: 100%;
  }

  .case-preview {
    max-width: 360px;
    padding: 20px;
  }

  .hero__visual {
    display: none;
  }

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

  .results-head,
  .case-card__top,
  .opinion-doc > header,
  .opinion-doc > footer,
  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-card__score {
    text-align: left;
  }

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

  .chat-card__messages {
    height: 340px;
  }

  .opinion-doc > header > div:last-child {
    text-align: left;
  }

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

  .chance span {
    width: 100%;
    flex: none;
  }

  .chance strong {
    white-space: normal;
  }

  .footer__cols {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .hero {
    padding-top: 96px;
  }

  .eyebrow {
    align-items: flex-start;
    border-radius: 12px;
  }

  .case-preview__top {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .section {
    padding: 68px 0;
  }

  .calc-output {
    padding: 22px;
  }

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

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