:root {
  color-scheme: light;
  --ink: #24212d;
  --muted: #6e6878;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #e6e1ea;
  --violet: #5b4b8a;
  --violet-dark: #40336c;
  --violet-pale: #eee9fb;
  --coral: #d5685c;
  --coral-pale: #fae9e5;
  --teal: #247c73;
  --teal-pale: #e1f3ef;
  --gold: #9c6a15;
  --gold-pale: #f8efd9;
  --shadow: 0 18px 50px rgba(44, 36, 62, 0.09);
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
.button {
  font: inherit;
}

img,
video {
  display: block;
  width: 100%;
  height: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: #fff;
  background: var(--violet-dark);
  border-radius: 8px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(91, 75, 138, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  width: max-content;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--violet);
  border-radius: 11px;
  place-items: center;
}

.site-header nav {
  display: flex;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 650;
}

.site-header nav a,
.text-link,
footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.site-header > .button {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  font-weight: 750;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #f2ad66;
  outline-offset: 3px;
}

.button-small {
  min-height: 40px;
  padding: 8px 17px;
  color: var(--violet-dark);
  background: var(--violet-pale);
}

.button-primary {
  color: #fff;
  background: var(--violet);
  box-shadow: 0 12px 28px rgba(91, 75, 138, 0.25);
}

.button-primary:hover {
  background: var(--violet-dark);
}

.button-secondary {
  color: var(--violet-dark);
  background: #fff;
  border-color: rgba(91, 75, 138, 0.28);
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 70px;
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  min-height: 680px;
  margin: 0 auto;
  padding: 90px 0 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
h4 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.7rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.5vw, 3.8rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

h4 {
  font-size: 1.45rem;
}

.kicker {
  max-width: 610px;
  margin-bottom: 30px;
  color: #4d4758;
  font-size: clamp(1.16rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  gap: 22px;
  align-items: center;
}

.text-link {
  color: var(--violet-dark);
  font-weight: 730;
}

.quiet {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-demo {
  position: relative;
  overflow: hidden;
  padding: 0 0 32px;
  background: #fff;
  border: 1px solid rgba(91, 75, 138, 0.14);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.hero-demo::before {
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  background: var(--coral-pale);
  border-radius: 50%;
  content: "";
  opacity: 0.8;
}

.demo-bar {
  display: flex;
  gap: 7px;
  padding: 15px 18px;
  background: #f4f1f6;
}

.demo-bar span {
  width: 9px;
  height: 9px;
  background: #c8c1ce;
  border-radius: 50%;
}

.chat-row {
  position: relative;
  z-index: 1;
  margin: 26px 28px 0;
  padding: 18px 20px;
  border-radius: 18px;
}

.chat-row p {
  margin: 0;
}

.chat-row-you {
  margin-left: 86px;
  background: var(--violet-pale);
}

.chat-row-ai {
  margin-right: 58px;
  background: #f6f5f1;
}

.chat-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-note {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  align-items: center;
  width: max-content;
  max-width: calc(100% - 56px);
  margin: 24px 28px 0;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 700;
}

.demo-note span {
  display: grid;
  flex: 0 0 26px;
  height: 26px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  place-items: center;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 60px;
  background: var(--ink);
  border-radius: var(--radius);
}

.quick-card {
  position: relative;
  padding: 34px;
  color: #fff;
  text-decoration: none;
}

.quick-card + .quick-card {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.quick-card::after {
  position: absolute;
  right: 28px;
  bottom: 26px;
  color: #bcb4c7;
  font-size: 1.35rem;
  content: "\2192";
  transition: transform 160ms ease;
}

.quick-card:hover::after {
  transform: translateX(5px);
}

.quick-card h2 {
  margin: 28px 0 10px;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.quick-card p {
  max-width: 260px;
  margin: 0;
  color: #d8d3dc;
  font-size: 0.92rem;
}

.quick-number {
  color: #c2b8df;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 55px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading-wide {
  max-width: 850px;
}

.flow-section {
  padding-bottom: 80px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow li {
  position: relative;
  min-width: 0;
  padding: 28px 22px 24px;
  border-top: 1px solid var(--line);
}

.flow li::after {
  position: absolute;
  top: -5px;
  right: -4px;
  z-index: 1;
  width: 9px;
  height: 9px;
  background: var(--violet);
  border-radius: 50%;
  content: "";
}

.flow li:last-child::after {
  display: none;
}

.flow span,
.flow strong,
.flow small {
  display: block;
}

.flow span {
  margin-bottom: 26px;
  color: var(--violet);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 750;
}

.flow strong {
  margin-bottom: 6px;
}

.flow small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.spaces-section {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  background: #f0edf3;
}

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

.space-card {
  min-width: 0;
  padding: 34px;
  background: var(--surface);
  border-radius: var(--radius);
}

.space-card h3 {
  font-size: 1.65rem;
}

.space-card > p:not(.space-label) {
  color: #5a5361;
}

.space-card ul {
  margin: 28px 0 0;
  padding: 22px 0 0 20px;
  border-top: 1px solid var(--line);
  color: #4d4756;
}

.space-card li + li {
  margin-top: 7px;
}

.space-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 36px;
  color: #fff;
  border-radius: 15px;
  font-weight: 800;
  place-items: center;
}

.space-private .space-icon {
  background: var(--violet);
}

.space-family .space-icon {
  background: var(--coral);
}

.space-plane .space-icon {
  background: var(--teal);
}

.space-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.setup-section {
  padding-bottom: 70px;
}

.setup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.setup-grid article {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.setup-grid h3 {
  margin-top: 26px;
  font-size: 1.55rem;
}

.setup-grid p {
  margin: 0;
  color: var(--muted);
}

.setup-state {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.setup-ready {
  color: #175c55;
  background: var(--teal-pale);
}

.setup-once {
  color: #7c5514;
  background: var(--gold-pale);
}

.lessons-section {
  padding-bottom: 70px;
}

.progress-card {
  position: sticky;
  top: 80px;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr minmax(180px, 0.65fr);
  gap: 26px;
  align-items: center;
  margin-bottom: 36px;
  padding: 18px 22px;
  background: rgba(36, 33, 45, 0.96);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(36, 33, 45, 0.2);
  backdrop-filter: blur(12px);
}

.progress-card p,
.progress-count {
  margin: 0;
  font-size: 0.82rem;
}

.progress-count strong {
  font-size: 1.05rem;
}

.progress-card p {
  color: #cfc9d6;
}

.progress-track {
  overflow: hidden;
  height: 8px;
  background: #4c4656;
  border-radius: 99px;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: #a99cdf;
  border-radius: inherit;
  transition: width 220ms ease;
}

.lesson-list {
  display: grid;
  gap: 26px;
}

.lesson-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 12px 35px rgba(47, 38, 62, 0.045);
}

.lesson-card:nth-child(even) .lesson-copy {
  order: 2;
}

.lesson-card:nth-child(even) .media-card,
.lesson-card:nth-child(even) .power-card {
  order: 1;
}

.lesson-copy {
  padding: 44px;
}

.lesson-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lesson-meta > span:not(.privacy-chip) + span:not(.privacy-chip)::before {
  margin-right: 8px;
  content: "\00b7";
}

.privacy-chip {
  padding: 5px 10px;
  border-radius: 99px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.privacy-now {
  color: #5b5661;
  background: #eeecef;
}

.privacy-private {
  color: var(--violet-dark);
  background: var(--violet-pale);
}

.privacy-family {
  color: #894138;
  background: var(--coral-pale);
}

.lesson-copy > p {
  color: #5f5867;
}

.prompt-box {
  margin: 28px 0 18px;
  padding: 18px;
  background: #f6f4f8;
  border-left: 4px solid var(--violet);
  border-radius: 0 14px 14px 0;
}

.prompt-box p {
  margin-bottom: 14px;
  color: #38323f;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86rem;
  line-height: 1.55;
}

.prompt-box button {
  padding: 7px 11px;
  color: var(--violet-dark);
  background: #fff;
  border: 1px solid #dcd5e5;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 750;
  cursor: pointer;
}

.expected {
  font-size: 0.86rem;
}

.mini-steps {
  margin: 24px 0;
  padding-left: 24px;
  color: #5f5867;
  font-size: 0.88rem;
}

.mini-steps li + li {
  margin-top: 8px;
}

.complete-button {
  margin-top: 12px;
  padding: 11px 16px;
  color: var(--teal);
  background: transparent;
  border: 1px solid rgba(36, 124, 115, 0.4);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 760;
  cursor: pointer;
}

.complete-button[aria-pressed="true"] {
  color: #fff;
  background: var(--teal);
}

.media-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  padding: 22px;
  background: #ece8ef;
}

.media-card img,
.media-card video {
  flex: 1;
  min-height: 320px;
  object-fit: cover;
  background: #ddd7e2;
  border-radius: 18px;
}

.media-card video {
  max-height: 480px;
}

.media-card figcaption {
  padding: 18px 4px 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.power-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 48px;
  color: #fff;
  background: var(--violet-dark);
}

.power-card .eyebrow {
  color: #c5b9eb;
}

.power-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 14px 0 28px;
  padding: 0;
  list-style: none;
}

.power-card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.power-card > p:last-child {
  margin: 0;
  color: #d6cfe6;
  font-size: 0.9rem;
}

.plane-section {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  background: var(--teal-pale);
}

.plane-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.plane-compare article {
  padding: 38px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(36, 124, 115, 0.18);
  border-radius: var(--radius);
}

.plane-compare h3 {
  margin-top: 24px;
}

.plane-compare p {
  color: #4a655f;
}

.plane-tag {
  padding: 6px 10px;
  color: #175c55;
  background: #d2ece6;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.example {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(36, 124, 115, 0.18);
  font-size: 0.88rem;
}

.plane-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
}

.plane-actions p {
  margin: 0;
  color: #4a655f;
  font-size: 0.85rem;
}

.plane-lab-section {
  padding-bottom: 90px;
}

.lab-rule {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
  padding: 28px 32px;
  color: #fff;
  background: var(--ink);
  border-radius: 18px;
}

.lab-rule strong {
  padding: 7px 12px;
  color: var(--ink);
  background: #fff;
  border-radius: 99px;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.lab-rule p {
  margin: 0;
  color: #ddd8e1;
}

.lab-stage,
.troubleshooting {
  margin-top: 24px;
  padding: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lab-stage-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.lab-stage-heading > span {
  display: block;
  margin-bottom: 12px;
  color: var(--violet);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lab-stage-heading h3 {
  margin-bottom: 12px;
}

.lab-stage-heading p {
  margin: 0;
  color: var(--muted);
}

.activation-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activation-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 22px;
  background: #f7f5f8;
  border-radius: 15px;
}

.activation-list li > span {
  display: grid;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--violet);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  place-items: center;
}

.activation-list strong {
  display: block;
  margin-bottom: 5px;
}

.activation-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.lab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.token-note {
  margin: 24px 0 0;
  padding: 18px 20px;
  color: #704c12;
  background: var(--gold-pale);
  border-radius: 12px;
  font-size: 0.86rem;
}

.check-grid,
.decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.check-grid article {
  padding: 26px;
  background: var(--teal-pale);
  border: 1px solid rgba(36, 124, 115, 0.16);
  border-radius: 16px;
}

.check-grid p {
  margin: 22px 0 18px;
  color: #354e49;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.84rem;
}

.check-grid button {
  padding: 8px 12px;
  color: #175c55;
  background: #fff;
  border: 1px solid rgba(36, 124, 115, 0.28);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 760;
  cursor: pointer;
}

.lab-stage > .expected {
  margin: 20px 0 0;
  color: #7c5514;
}

.decision-card {
  padding: 28px;
  background: #f8f7f4;
  border: 2px solid transparent;
  border-radius: 18px;
  transition: border-color 160ms ease, background 160ms ease;
}

.decision-card.is-correct {
  background: var(--teal-pale);
  border-color: rgba(36, 124, 115, 0.42);
}

.decision-card.is-trying {
  background: var(--coral-pale);
  border-color: rgba(213, 104, 92, 0.32);
}

.decision-number {
  margin-bottom: 20px;
  color: var(--violet);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 800;
}

.decision-card h4 {
  min-height: 3.2em;
  margin-bottom: 24px;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.choice-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-buttons button {
  flex: 1 1 140px;
  min-height: 44px;
  padding: 9px 12px;
  color: var(--violet-dark);
  background: #fff;
  border: 1px solid #dcd5e5;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 750;
  cursor: pointer;
}

.choice-buttons button[aria-pressed="true"] {
  color: #fff;
  background: var(--violet);
  border-color: var(--violet);
}

.choice-feedback {
  min-height: 3em;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.decision-card.is-correct .choice-feedback {
  color: #175c55;
  font-weight: 700;
}

.decision-card.is-trying .choice-feedback {
  color: #7b3a33;
}

.explain-card {
  margin-top: 18px;
  padding: 22px 24px;
  color: var(--violet-dark);
  background: var(--violet-pale);
  border-radius: 14px;
}

.explain-card p {
  margin: 6px 0 0;
  color: #564a73;
}

.practice-stage {
  color: #fff;
  background: var(--violet-dark);
  border-color: var(--violet-dark);
}

.practice-stage .lab-stage-heading > span {
  color: #c5b9eb;
}

.practice-stage .lab-stage-heading p {
  color: #d8d1e4;
}

.practice-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.practice-checks li {
  position: relative;
  padding: 17px 18px 17px 48px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 12px;
}

.practice-checks li::before {
  position: absolute;
  top: 16px;
  left: 18px;
  content: "\2713";
  color: #c5b9eb;
  font-weight: 800;
}

.troubleshooting details {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.troubleshooting summary {
  font-weight: 760;
  cursor: pointer;
}

.troubleshooting details p {
  max-width: 780px;
  margin: 13px 0 0;
  color: var(--muted);
}

.safety-section {
  padding-bottom: 90px;
}

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

.safety-grid article {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.safety-grid span {
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 800;
}

.safety-grid h3 {
  margin: 30px 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}

.safety-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.faq-section {
  padding-top: 80px;
  border-top: 1px solid var(--line);
}

.faq-list {
  max-width: 860px;
}

.faq-list details {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  font-size: 1.05rem;
  font-weight: 760;
  cursor: pointer;
}

.faq-list p {
  max-width: 700px;
  margin: 16px 0 0;
  color: var(--muted);
}

.final-cta {
  width: min(var(--max), calc(100% - 48px));
  margin: 30px auto 90px;
  padding: 70px;
  color: #fff;
  text-align: center;
  background: var(--ink);
  border-radius: 30px;
}

.final-cta .eyebrow {
  color: #c5b9eb;
}

.final-cta h2 {
  margin-bottom: 16px;
}

.final-cta p:not(.eyebrow) {
  color: #d4ced8;
}

.button-wide {
  width: min(100%, 460px);
  margin-top: 20px;
}

footer {
  display: flex;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 50px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

footer p {
  margin: 0;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  padding: 11px 15px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 70px;
  }

  .hero-demo {
    max-width: 660px;
  }

  .space-grid,
  .setup-grid,
  .activation-list,
  .check-grid,
  .decision-grid,
  .practice-checks,
  .safety-grid {
    grid-template-columns: 1fr 1fr;
  }

  .space-card:last-child,
  .safety-grid article:last-child {
    grid-column: 1 / -1;
  }

  .lesson-card {
    grid-template-columns: 1fr;
  }

  .lesson-card:nth-child(even) .lesson-copy,
  .lesson-card:nth-child(even) .media-card,
  .lesson-card:nth-child(even) .power-card {
    order: initial;
  }

  .media-card img,
  .media-card video {
    min-height: 360px;
  }
}

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

  .site-header {
    padding: 11px 18px;
  }

  .brand > span:last-child {
    display: none;
  }

  .button-small {
    min-height: 38px;
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .hero,
  .quick-grid,
  .section,
  .final-cta,
  footer {
    width: min(100% - 32px, var(--max));
  }

  .hero {
    min-height: 0;
    padding: 62px 0 54px;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.5rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .text-link {
    padding: 4px 2px;
  }

  .hero-demo {
    transform: none;
  }

  .chat-row {
    margin-right: 18px;
    margin-left: 18px;
    padding: 15px;
  }

  .chat-row-you {
    margin-left: 54px;
  }

  .chat-row-ai {
    margin-right: 42px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }

  .quick-card + .quick-card {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .section {
    padding: 78px 0;
  }

  .spaces-section,
  .plane-section {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

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

  .flow li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0 10px;
    padding: 22px 0;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .flow li::after {
    top: auto;
    right: auto;
    bottom: -4px;
    left: -5px;
  }

  .flow span {
    grid-row: 1 / 3;
    margin: 0;
    padding-left: 15px;
  }

  .space-grid,
  .setup-grid,
  .plane-compare,
  .activation-list,
  .check-grid,
  .decision-grid,
  .practice-checks,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .lab-rule {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px;
  }

  .lab-rule strong {
    width: max-content;
  }

  .lab-stage,
  .troubleshooting {
    padding: 30px 22px;
  }

  .activation-list li {
    padding: 18px;
  }

  .decision-card h4 {
    min-height: 0;
  }

  .space-card:last-child,
  .safety-grid article:last-child {
    grid-column: auto;
  }

  .progress-card {
    top: 68px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lesson-copy {
    padding: 30px 24px;
  }

  .media-card {
    padding: 14px;
  }

  .media-card img,
  .media-card video {
    min-height: 230px;
  }

  .power-card {
    padding: 38px 26px;
  }

  .power-card ul {
    grid-template-columns: 1fr;
  }

  .plane-actions,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta {
    padding: 50px 24px;
  }

  footer {
    gap: 16px;
  }
}

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