:root {
  /* Brand tokens (aullafy-brandbook) */
  --blue-deep: #1547ff;
  --blue-light: #5a7cff;
  --purple-ai: #7b5cff;
  --white: #ffffff;
  --ink: #111827;
  --ink-soft: #5b6474;
  --gray-bg: #f5f7fb;
  --line: #e4e8f1;
  --danger: #d6415a;
  --danger-ink: #b4152e;

  /* Neutral tints derived from brand */
  --ink-mute: #8b93a7;
  --blue-wash: rgba(21, 71, 255, 0.07);
  --card: #ffffff;

  --display: "General Sans", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;

  --shadow-soft: 0 1px 2px rgba(17, 24, 39, 0.04), 0 18px 40px rgba(17, 24, 39, 0.05);
  --radius: 14px;
  --radius-sm: 10px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--gray-bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px max(24px, calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(245, 247, 251, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 132px;
  height: auto;
}

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

.nav-links a {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 140ms ease, background 140ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--white);
  color: var(--ink);
  outline: none;
}

/* ---------- Layout containers ---------- */
.hero,
.entity-section,
.problem-band,
.flow-section,
.beta-scope-section,
.audience-section,
.faq-section,
.capture-section {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 56px;
  align-items: center;
  padding: 96px 0 84px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.6rem, 5.4vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.secondary-action,
.submit-button,
.admin-panel button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.primary-action,
.submit-button {
  background: var(--ink);
  color: var(--white);
}

.primary-action:hover,
.primary-action:focus-visible,
.submit-button:hover,
.submit-button:focus-visible {
  background: var(--blue-deep);
  outline: none;
}

.secondary-action,
.admin-panel button {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.secondary-action:hover,
.secondary-action:focus-visible,
.admin-panel button:hover,
.admin-panel button:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
  outline: none;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

/* ---------- Product preview ---------- */
.product-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.preview-header {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 20px 22px 16px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--blue-deep);
  box-shadow: 0 0 0 4px var(--blue-wash);
}

.student-strip {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 0 22px 20px;
}

.student-strip img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.student-strip p {
  margin: 0 0 2px;
  color: var(--ink-mute);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.student-strip strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.15;
}

.student-strip > span {
  grid-column: 1 / -1;
  width: fit-content;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--blue-wash);
  color: var(--blue-deep);
  font-size: 0.86rem;
  font-weight: 500;
}

.context-panel,
.lesson-output {
  border-top: 1px solid var(--line);
  padding: 20px 22px;
}

.panel-label {
  margin: 0 0 12px;
  color: var(--ink-mute);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.context-grid span {
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  background: var(--gray-bg);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.25;
}

.lesson-output h3 {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.1;
}

.lesson-output ol {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.4;
}

/* ---------- Section headings ---------- */
.section-heading {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading.narrow {
  max-width: 720px;
}

.section-heading h2,
.capture-copy h2,
.thank-you h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.04;
}

.section-heading p:not(.eyebrow),
.capture-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.5;
}

/* ---------- Entity section ---------- */
.entity-section {
  padding: 8px 0 72px;
}

.entity-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: 40px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.entity-card h2 {
  max-width: 680px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 600;
  line-height: 1.08;
}

.entity-card p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
}

.entity-facts {
  display: grid;
  gap: 20px;
  margin: 0;
  align-content: start;
}

.entity-facts div {
  padding: 0;
}

.entity-facts dt {
  margin-bottom: 6px;
  color: var(--ink-mute);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.entity-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.3;
}

/* ---------- Problem band ---------- */
.problem-band {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

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

.problem-list article {
  min-height: 168px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.problem-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--ink-mute);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
}

.problem-list p {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.45;
}

/* ---------- Flow ---------- */
.flow-section {
  padding: 80px 0;
}

.flow-steps {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 8px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.flow-steps li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.flow-steps span {
  color: var(--blue-deep);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
}

.flow-steps h3 {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.1;
}

.flow-steps p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.5;
}

/* ---------- Beta scope ---------- */
.beta-scope-section {
  padding: 8px 0 80px;
}

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

.scope-grid article,
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.scope-grid article {
  min-height: 224px;
  padding: 26px;
}

.scope-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--gray-bg);
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scope-grid h3,
.faq-grid h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.12;
}

.scope-grid p,
.faq-grid p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.5;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.before-after div {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.before-after div:last-child {
  border-color: var(--blue-light);
  background: var(--blue-wash);
}

.before-after p {
  margin: 0 0 10px;
  color: var(--ink-mute);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.before-after div:last-child p {
  color: var(--blue-deep);
}

.before-after strong {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.18;
}

/* ---------- Audience ---------- */
.audience-section {
  padding: 8px 0 80px;
}

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

.audience-grid article,
.lead-form,
.launch-card,
.thank-you,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.audience-grid article {
  min-height: 176px;
  padding: 28px;
}

.audience-grid h3 {
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1.1;
}

.audience-grid p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.5;
}

/* ---------- FAQ ---------- */
.faq-section {
  padding: 8px 0 80px;
}

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

.faq-grid article {
  padding: 28px;
}

/* ---------- Capture ---------- */
.capture-section {
  padding: 80px 0 96px;
  border-top: 1px solid var(--line);
}

.capture-copy {
  display: grid;
  gap: 16px;
  max-width: 780px;
  margin-bottom: 36px;
}

.capture-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.capture-notes span {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

.capture-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.lead-form {
  display: grid;
  gap: 20px;
  padding: 32px;
}

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

.field,
.consent-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

input {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 108px;
  padding: 13px 14px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--ink-mute);
}

input:focus,
textarea:focus {
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 3px var(--blue-wash);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"],
.brand-select.is-invalid .select-trigger {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(214, 65, 90, 0.12);
}

.field-label {
  color: var(--ink);
}

.field-hint,
.field-error {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
}

.field-hint {
  color: var(--ink-mute);
}

.field-error {
  min-height: 1em;
  color: var(--danger-ink);
}

/* ---------- Custom select ---------- */
.custom-select-field {
  position: relative;
}

.brand-select {
  position: relative;
}

.select-trigger {
  display: grid;
  width: 100%;
  min-height: 48px;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 10px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.select-trigger:hover,
.select-trigger:focus-visible,
.brand-select.is-open .select-trigger {
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 3px var(--blue-wash);
  outline: none;
}

.select-value {
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select-value.is-placeholder {
  color: var(--ink-mute);
}

.select-mark {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--gray-bg);
}

.select-mark::before,
.select-mark::after {
  position: absolute;
  top: 11px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink-soft);
  content: "";
  transition: transform 160ms ease;
}

.select-mark::before {
  left: 6px;
  transform: rotate(45deg);
}

.select-mark::after {
  right: 6px;
  transform: rotate(-45deg);
}

.brand-select.is-open .select-mark::before {
  transform: rotate(-45deg);
}

.brand-select.is-open .select-mark::after {
  transform: rotate(45deg);
}

.select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  display: grid;
  width: min(420px, calc(100vw - 44px));
  max-height: 340px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.select-menu[hidden] {
  display: none;
}

.wide .select-menu,
.pain-menu {
  width: min(640px, calc(100vw - 44px));
}

.select-menu button {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.select-menu button:hover,
.select-menu button:focus-visible,
.select-menu button[aria-selected="true"] {
  background: var(--gray-bg);
  outline: none;
}

.select-menu button[aria-selected="true"] {
  box-shadow: inset 3px 0 0 var(--blue-deep);
}

.select-menu strong {
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1.15;
}

.select-menu span {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.3;
}

/* ---------- Consent ---------- */
.consent-field {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.4;
}

.consent-field input {
  position: relative;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 6px;
  appearance: none;
  accent-color: var(--blue-deep);
  cursor: pointer;
}

.consent-field input:checked {
  border-color: var(--blue-deep);
  background: var(--blue-deep);
}

.consent-field input:checked::after {
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  content: "";
  transform: rotate(40deg);
}

.consent-field .field-error {
  grid-column: 2;
}

.submit-button {
  width: 100%;
  border: 0;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 500;
}

.form-status[data-state="error"] {
  color: var(--danger-ink);
}

.form-status[data-state="success"] {
  color: var(--blue-deep);
}

/* ---------- Launch card ---------- */
.launch-card {
  position: sticky;
  top: 96px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px;
  background: var(--gray-bg);
}

.launch-logo {
  display: block;
  width: min(150px, 68%);
  height: auto;
}

.launch-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.launch-card strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.15;
}

/* ---------- Thank you / admin ---------- */
.thank-you {
  margin-top: 24px;
  padding: 36px;
  background: var(--blue-wash);
  border-color: var(--blue-light);
}

.thank-you p:not(.eyebrow) {
  max-width: 600px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.5;
}

.thank-you p[data-state="error"] {
  color: var(--danger-ink);
}

.thank-you p[data-state="success"] {
  color: var(--blue-deep);
}

.admin-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  padding: 18px;
}

.admin-panel[hidden] {
  display: none;
}

.admin-panel p {
  margin: 0 auto 0 0;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 36px max(24px, calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer img {
  width: 120px;
  height: auto;
}

.site-footer p {
  margin: 0;
  color: var(--ink-mute);
  font-weight: 400;
}

/* ---------- Thank-you modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(6px);
}

.modal-overlay[hidden] {
  display: none;
}

.modal-card {
  width: min(440px, 100%);
  padding: 40px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 30px 60px rgba(17, 24, 39, 0.28);
  text-align: center;
  animation: modal-in 200ms ease;
}

.modal-badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: var(--blue-wash);
  color: var(--blue-deep);
  font-size: 1.5rem;
  font-weight: 700;
}

.modal-card .eyebrow {
  margin-bottom: 10px;
}

.modal-card h2 {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
}

.modal-card p:not(.eyebrow) {
  max-width: 360px;
  margin: 14px auto 0;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.55;
}

.modal-close {
  width: 100%;
  margin-top: 28px;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal-card {
    animation: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 68px;
  }

  .entity-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-preview {
    max-width: 640px;
  }

  .problem-list,
  .audience-grid,
  .faq-grid,
  .capture-layout {
    grid-template-columns: 1fr;
  }

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

  .launch-card {
    position: static;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .site-header {
    padding: 12px 16px;
    gap: 10px;
  }

  .brand img {
    width: 108px;
  }

  .nav-links {
    gap: 0;
    overflow: hidden;
  }

  .nav-links a {
    padding: 7px 8px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .hero,
  .entity-section,
  .problem-band,
  .flow-section,
  .beta-scope-section,
  .audience-section,
  .faq-section,
  .capture-section {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .hero {
    gap: 32px;
    padding: 48px 0 52px;
  }

  .entity-card {
    padding: 28px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-preview {
    width: 100%;
  }

  .context-grid,
  .form-grid,
  .scope-grid,
  .before-after,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .flow-steps li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    padding: 26px 0;
  }

  .lead-form {
    padding: 22px;
  }

  .capture-section {
    padding: 56px 0 68px;
  }

  .select-menu,
  .wide .select-menu,
  .pain-menu {
    width: calc(100vw - 32px);
    max-height: 320px;
  }
}

@media (max-width: 430px) {
  .brand img {
    width: 100px;
  }

  .nav-links a {
    font-size: 0.74rem;
  }

  .preview-header,
  .student-strip,
  .context-panel,
  .lesson-output {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
