:root {
  --ink: #061a46;
  --muted: #5f7189;
  --paper: #f8fbff;
  --soft: #edf8fb;
  --line: #d4e6ef;
  --green: #061a46;
  --blue: #064ba6;
  --teal: #009aa8;
  --cyan: #16c2cf;
  --mint: #e6f8fb;
  --coral: #008fa6;
  --amber: #16c2cf;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(6, 26, 70, 0.13);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, var(--paper) 520px, #ffffff 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

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

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(212, 230, 239, 0.94);
  backdrop-filter: blur(14px);
}

.site-header::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.logo-brand {
  min-width: 0;
}

.brand-logo {
  width: auto;
  height: 50px;
  max-width: min(246px, 54vw);
  object-fit: contain;
}

.site-header .brand-logo {
  mix-blend-mode: multiply;
}

.brand strong {
  display: block;
  font-size: 17px;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  margin-top: 3px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 800;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #263b5c;
  font-size: 13px;
  font-weight: 700;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  background: var(--mint);
  color: var(--teal);
}

.primary-nav .nav-cta {
  margin-left: 8px;
  color: var(--white);
  background: var(--coral);
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta.is-active {
  color: var(--white);
  background: #007287;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--green);
}

.page {
  display: none;
}

.page.is-active {
  display: block;
}

.hero {
  position: relative;
  min-height: calc(86svh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 17, 54, 0.97) 0%, rgba(3, 17, 54, 0.8) 42%, rgba(3, 17, 54, 0.22) 78%),
    linear-gradient(0deg, rgba(3, 17, 54, 0.74), rgba(0, 154, 168, 0.12) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 70px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #20d1db;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 760px;
  font-size: 74px;
}

h2 {
  font-size: 34px;
}

h3 {
  font-size: 20px;
}

.hero-lede {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.22;
}

.hero-copy {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal) 48%, var(--cyan));
  box-shadow: 0 14px 28px rgba(0, 143, 166, 0.28);
}

.button.primary:hover {
  background: linear-gradient(135deg, #053987, #007287 52%, #0eb1bd);
}

.button.secondary {
  color: var(--teal);
  background: var(--white);
  border-color: var(--line);
}

.button.secondary:hover {
  box-shadow: var(--shadow);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(22, 194, 207, 0.58);
  background: rgba(6, 75, 166, 0.12);
}

.button.full {
  width: 100%;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(22, 194, 207, 0.32);
  border-radius: 8px;
  background: rgba(0, 154, 168, 0.12);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
}

.band,
.section {
  padding: 72px 0;
}

.intro-band {
  background:
    linear-gradient(135deg, #061a46 0%, #09285f 62%, #073b63 100%);
  color: var(--white);
}

.intro-band .eyebrow {
  color: #20d1db;
}

.split,
.feature-layout,
.form-layout,
.provider-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: start;
}

.split p,
.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card,
.benefit-grid article,
.aside-panel,
.form-panel,
.stat-card,
.record-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(6, 26, 70, 0.06);
}

.step-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 24px;
}

.step-card::before,
.benefit-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.step-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--teal);
  background: var(--mint);
  font-weight: 900;
}

.step-card h3 {
  margin-bottom: 12px;
}

.step-card p,
.benefit-grid span,
.signal-list span,
.aside-panel p,
.fine-print,
.legal-copy p {
  color: var(--muted);
}

.feature-band {
  background: #eff8fb;
}

.feature-layout h2 {
  max-width: 680px;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 26px;
}

.section-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.signal-list {
  display: grid;
  gap: 12px;
}

.signal-list div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-left: 5px solid var(--cyan);
  border-radius: 8px;
  background: var(--white);
}

.signal-list strong {
  font-size: 17px;
}

.partner-proof-section {
  background: #ffffff;
}

.partner-proof-grid,
.about-grid,
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 36px;
  align-items: start;
}

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-list div,
.partner-brief {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f3fbfd);
  box-shadow: 0 8px 24px rgba(6, 26, 70, 0.06);
}

.proof-list strong,
.partner-brief strong {
  color: var(--teal);
  font-size: 18px;
}

.proof-list span,
.partner-brief span,
.about-copy p,
.contact-band p {
  color: var(--muted);
}

.partner-brief {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  align-content: start;
}

.partner-brief .button {
  margin-top: 10px;
}

.about-copy {
  max-width: 760px;
}

.about-copy p {
  font-size: 18px;
}

.role-grid .model-card {
  min-height: 260px;
}

.team-section {
  padding-top: 0;
}

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

.team-card {
  min-height: 250px;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(6, 26, 70, 0.06);
}

.team-card span {
  width: fit-content;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--teal);
  background: var(--mint);
  font-size: 13px;
  font-weight: 900;
}

.team-card h3 {
  color: var(--green);
}

.team-card p {
  margin: 0;
  color: var(--muted);
}

.founder-card {
  color: var(--white);
  background: linear-gradient(135deg, #061a46, #064ba6 62%, #008fa6);
}

.founder-card span {
  color: #061a46;
  background: #dff9fc;
}

.founder-card h3,
.founder-card p {
  color: var(--white);
}

.caution-card .model-number {
  color: #0d2f62;
  background: #dff3f7;
}

.contact-band {
  align-items: center;
}

.page-hero {
  background:
    linear-gradient(135deg, #061a46 0%, #0a2a63 72%, #064b6b 100%);
  color: var(--white);
}

.page-hero.compact {
  padding: 80px 0 68px;
}

.page-hero h1 {
  font-size: 52px;
}

.page-hero p {
  max-width: 850px;
  margin-top: 18px;
}

.form-layout.wide {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: 32px;
  align-items: start;
}

.form-panel {
  padding: 26px;
}

.form-panel h2,
.aside-panel h2 {
  margin-bottom: 14px;
}

.form-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

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

label,
fieldset {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  color: #263b5c;
  font-size: 14px;
  font-weight: 800;
}

fieldset {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

legend {
  padding: 0 8px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #c4d9e5;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  font-weight: 500;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 154, 168, 0.22);
  border-color: var(--teal);
}

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

.check-grid label,
.inline-options label,
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-weight: 700;
}

.check-grid input,
.inline-options input,
.check-row input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
}

.inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.required-consent {
  padding: 14px;
  border: 1px solid #b7e8ee;
  border-radius: 8px;
  background: #f0fbfd;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--teal);
  font-weight: 800;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -2px 0 18px;
}

.prompt-chips button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal);
  background: var(--mint);
  font-weight: 800;
}

.prompt-chips button:hover {
  border-color: var(--cyan);
  background: #d9f7fb;
}

.ai-output-panel {
  display: grid;
  gap: 16px;
  position: sticky;
  top: calc(var(--header-height) + 18px);
}

.ai-output {
  max-height: 680px;
  overflow: auto;
}

.ai-response-section {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 154, 168, 0.18);
}

.ai-response-section:first-of-type {
  border-top: 0;
}

.ai-response-section b {
  color: var(--green);
}

.source-list {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(6, 26, 70, 0.06);
}

.source-list strong {
  color: var(--green);
}

.source-list a {
  color: var(--teal);
  font-weight: 800;
}

.aside-panel {
  padding: 24px;
}

.aside-panel.sticky {
  position: sticky;
  top: calc(var(--header-height) + 18px);
}

.plain-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--soft);
  font-weight: 800;
}

.mini-report {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 8px;
  color: var(--teal);
  background: var(--mint);
}

.mini-report span {
  color: #355a78;
}

.fine-print {
  font-size: 13px;
}

.muted-section {
  background: var(--soft);
}

.revenue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  gap: 32px;
  align-items: start;
}

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

.model-card {
  position: relative;
  min-height: 250px;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(6, 26, 70, 0.06);
}

.model-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.model-card h3 {
  color: var(--green);
}

.model-card p,
.model-card span {
  color: var(--muted);
}

.model-card strong {
  color: var(--teal);
  font-size: 18px;
}

.offerings-grid .model-card {
  min-height: 440px;
}

.offer-list {
  display: grid;
  gap: 9px;
  margin: 2px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.offer-list li {
  padding-left: 2px;
}

.model-number {
  width: 44px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--teal);
  background: var(--mint);
  font-weight: 900;
}

.offerings-grid .model-number {
  width: auto;
  min-width: 64px;
  padding: 0 10px;
}

.anchor-card {
  min-height: auto;
  background: linear-gradient(180deg, #ffffff, #f3fbfd);
}

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

.education-grid div {
  display: grid;
  gap: 8px;
  min-height: 144px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(6, 26, 70, 0.06);
}

.education-grid strong {
  color: var(--teal);
}

.education-grid span {
  color: var(--muted);
}

.unit-economics {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 32px;
  align-items: start;
}

.unit-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(6, 26, 70, 0.06);
}

.unit-table div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 58px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.unit-table div:last-child {
  border-bottom: 0;
}

.unit-table span {
  color: var(--muted);
  font-weight: 800;
}

.unit-table strong {
  color: var(--green);
  font-size: 20px;
}

.unit-table .total-row {
  background: linear-gradient(90deg, var(--green), #073b63);
}

.unit-table .total-row span,
.unit-table .total-row strong {
  color: var(--white);
}

.revenue-note {
  grid-column: 2;
  margin: -16px 0 0;
}

.notice {
  padding: 16px;
  border-radius: 8px;
  background: #f0fbfd;
  color: var(--teal);
  font-weight: 800;
}

.provider-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
}

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

.benefit-grid article {
  position: relative;
  min-height: 144px;
  overflow: hidden;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 20px;
}

.benefit-grid strong {
  color: var(--teal);
}

.admin-hero {
  background:
    linear-gradient(135deg, #061a46 0%, #0a2a63 70%, #064b6b 100%);
}

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

.stat-card {
  padding: 20px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--teal);
  font-size: 34px;
  line-height: 1;
}

.admin-tools,
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.admin-actions .button {
  min-height: 40px;
  padding: 0 12px;
  font-size: 13px;
}

.text-button {
  min-height: 44px;
  border: 0;
  background: transparent;
  font-weight: 900;
}

.text-button.danger {
  color: #b42332;
}

.admin-tabs {
  margin-top: 34px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.admin-tabs button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
}

.admin-tabs button.is-active {
  color: var(--white);
  background: var(--teal);
}

.admin-panel {
  margin-top: 18px;
}

.record-list {
  display: grid;
  gap: 14px;
}

.record-card {
  padding: 18px;
}

.record-card header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.record-card h3 {
  font-size: 19px;
}

.record-card time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.record-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.record-meta span,
.tag {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 8px;
  color: var(--teal);
  background: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.summary-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  background: #f8faff;
  color: #2d4868;
}

.empty-state {
  padding: 28px;
  border: 1px dashed #adc9da;
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  text-align: center;
  font-weight: 800;
}

.legal-copy {
  max-width: 860px;
}

.legal-copy h2 {
  margin: 34px 0 10px;
  font-size: 26px;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(135deg, #061a46 0%, #061f52 72%, #052f4f 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 44px;
}

.footer-brand .brand-mark {
  background: var(--teal);
}

.footer-brand .brand-logo {
  height: 58px;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--white);
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.68);
}

.footer-compliance {
  max-width: 860px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chad-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

.chad-widget > * {
  pointer-events: auto;
}

.chad-launcher {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(22, 194, 207, 0.36);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, #061a46, #064ba6 58%, #009aa8);
  box-shadow: 0 18px 42px rgba(6, 26, 70, 0.24);
}

.chad-launcher strong,
.chad-launcher small {
  display: block;
  text-align: left;
}

.chad-launcher small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.chad-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 8px;
  color: var(--ink);
  background: #dff9fc;
  font-weight: 950;
}

.chad-mark.small {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.chad-panel[hidden],
.chad-gate[hidden] {
  display: none;
}

.chad-panel {
  width: min(calc(100vw - 40px), 430px);
  max-height: min(760px, calc(100svh - 112px));
  display: grid;
  grid-template-rows: auto auto auto minmax(180px, 1fr) auto auto;
  overflow: hidden;
  border: 1px solid rgba(22, 194, 207, 0.34);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 26px 70px rgba(6, 26, 70, 0.28);
}

.chad-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  color: var(--white);
  background: linear-gradient(135deg, #061a46, #064ba6 62%, #009aa8);
}

.chad-header > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chad-header strong,
.chad-header small {
  display: block;
}

.chad-header small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.chad-close {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.chad-notice,
.chad-meter {
  padding: 10px 14px;
  color: #355a78;
  background: #f0fbfd;
  font-size: 12px;
  font-weight: 800;
}

.chad-meter {
  color: var(--teal);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.chad-messages {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding: 14px;
  background: #f8fbff;
}

.chad-message {
  display: grid;
  gap: 5px;
  max-width: 94%;
}

.chad-message > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.chad-message > div {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: #263b5c;
  font-size: 13px;
  line-height: 1.42;
}

.chad-message.is-user {
  justify-self: end;
}

.chad-message.is-user > span {
  text-align: right;
}

.chad-message.is-user > div {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, #064ba6, #009aa8);
}

.chad-message h4 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
}

.chad-message.is-user h4 {
  color: var(--white);
}

.chad-message p,
.chad-message ul {
  margin: 0;
}

.chad-message ul {
  display: grid;
  gap: 5px;
  padding-left: 18px;
}

.chad-next-step {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 8px;
  color: #0d2f62;
  background: #e8f8fb;
}

.chad-next-step strong {
  color: var(--teal);
}

.chad-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chad-sources a,
.chad-prompts button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #b7e8ee;
  border-radius: 8px;
  color: var(--teal);
  background: #f0fbfd;
  font-size: 11px;
  font-weight: 900;
}

.chad-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.chad-question-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.chad-question-form textarea {
  min-height: 48px;
  max-height: 104px;
  margin: 0;
  font-size: 13px;
}

.chad-question-form textarea:disabled {
  color: var(--muted);
  background: #eef4f8;
}

.chad-question-form .button {
  min-height: 48px;
  padding: 0 16px;
}

.chad-gate {
  max-height: 336px;
  overflow: auto;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.chad-gate > strong {
  color: var(--ink);
  font-size: 16px;
}

.chad-gate > p {
  margin: 6px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.chad-lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.chad-lead-form label {
  gap: 5px;
  margin-bottom: 10px;
  font-size: 12px;
}

.chad-lead-form input,
.chad-lead-form select {
  min-height: 40px;
  padding: 8px 10px;
  font-size: 13px;
}

.chad-lead-form .check-row {
  font-size: 12px;
  font-weight: 750;
}

.chad-lead-form .button.full {
  min-height: 44px;
  margin-top: 2px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    padding: 12px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 12px 20px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    justify-content: flex-start;
  }

  .primary-nav .nav-cta {
    margin-left: 0;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 30px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 78px 0 62px;
  }

  .hero-media img {
    object-position: 66% center;
  }

  .split,
  .feature-layout,
  .revenue-layout,
  .unit-economics,
  .ai-layout,
  .form-layout,
  .form-layout.wide,
  .provider-grid,
  .partner-proof-grid,
  .about-grid,
  .contact-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .model-grid,
  .education-grid,
  .team-grid,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .revenue-note {
    grid-column: auto;
  }

  .aside-panel.sticky {
    position: static;
  }

  .ai-output-panel {
    position: static;
  }

  .partner-brief {
    position: static;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    height: 44px;
    max-width: min(190px, 54vw);
  }

  .brand small {
    display: none;
  }

  .hero-content {
    padding: 62px 0 50px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 17, 54, 0.98), rgba(3, 17, 54, 0.82)),
      linear-gradient(0deg, rgba(3, 17, 54, 0.66), rgba(0, 154, 168, 0.16));
  }

  h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .hero-lede {
    font-size: 23px;
  }

  .hero-copy,
  .split p,
  .page-hero p {
    font-size: 16px;
  }

  .band,
  .section {
    padding: 54px 0;
  }

  .page-hero.compact {
    padding: 58px 0 50px;
  }

  .process-grid,
  .model-grid,
  .education-grid,
  .team-grid,
  .stat-grid,
  .benefit-grid,
  .form-grid.two,
  .check-grid,
  .record-meta {
    grid-template-columns: 1fr;
  }

  .form-panel,
  .aside-panel,
  .model-card,
  .step-card {
    padding: 20px;
  }

  .unit-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .admin-tabs button {
    padding: 0 10px;
  }

  .record-card header {
    display: grid;
  }

  .record-card time {
    white-space: normal;
  }

  .chad-widget {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .chad-launcher {
    justify-self: end;
    max-width: 100%;
  }

  .chad-panel {
    width: 100%;
    max-height: calc(100svh - 82px);
  }

  .chad-question-form,
  .chad-lead-grid {
    grid-template-columns: 1fr;
  }

  .chad-question-form .button {
    width: 100%;
  }
}
