/*
  TeachCopilot landing page.
  Design read: direct-response sales landing for course creators and operators,
  with a bold blue, gold, and white palette, larger type, larger product
  screens, and playful doodle texture behind the page.
  Dials: VARIANCE 7, MOTION 4, DENSITY 5.
*/

:root {
  --font-sans: "Avenir Next", "SF Pro Display", "Segoe UI", Arial, sans-serif;
  --font-display: "Arial Black", "Avenir Next", "SF Pro Display", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --bg: #f7f7f2;
  --paper: #fffef8;
  --paper-strong: #ffffff;
  --paper-warm: #fff3cf;
  --sky: #edf5ff;
  --sky-strong: #d7e8ff;
  --navy: #123d77;
  --navy-strong: #0b2d5c;
  --navy-soft: #24528f;
  --gold: #f2bd33;
  --gold-strong: #e4ab13;
  --ink: #1f2633;
  --muted: #556071;
  --muted-soft: #708093;
  --line: rgba(18, 61, 119, 0.15);
  --line-strong: rgba(18, 61, 119, 0.28);
  --shadow: 0 22px 60px rgba(18, 61, 119, 0.12);
  --shadow-strong: 0 34px 90px rgba(18, 61, 119, 0.18);
  --radius-lg: 26px;
  --radius: 18px;
  --radius-sm: 12px;

  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.6;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.88)),
    linear-gradient(180deg, #f7fbff 0%, #fffef8 28%, #f6f7f2 100%);
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../images/stickman-doodles-bg.png") center top / 1800px auto repeat-y;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
}

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

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

.wrap {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

code,
.mono {
  font-family: var(--font-mono);
}

.aurora {
  display: none;
}

.nav,
main,
.site-footer,
.floating-cta {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 61, 119, 0.08);
}

.nav__pill {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--navy-strong);
}

.nav__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  background: linear-gradient(180deg, #fffef7, #ffe9a5);
  border: 1px solid rgba(242, 189, 51, 0.55);
  box-shadow: 0 8px 16px rgba(18, 61, 119, 0.08);
}

.nav__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav__links {
  display: none;
  gap: 26px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
}

.nav__links a:hover {
  color: var(--navy-strong);
}

.nav__spacer {
  flex: 1;
}

@media (min-width: 940px) {
  .nav__links {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #14458a, #0b2d5c);
  box-shadow: 0 16px 30px rgba(11, 45, 92, 0.22);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(11, 45, 92, 0.26);
}

.btn--ghost {
  color: var(--navy-strong);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(18, 61, 119, 0.18);
}

.btn--ghost:hover {
  background: #fff;
  border-color: rgba(18, 61, 119, 0.32);
}

.btn--sm {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(18, 61, 119, 0.22);
  outline-offset: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(242, 189, 51, 0.18);
  color: var(--navy-strong);
  border: 1px solid rgba(242, 189, 51, 0.5);
  padding: 6px 14px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero {
  padding: 42px 0 34px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero__copy {
  position: relative;
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(242, 189, 51, 0.16);
  border: 1px solid rgba(242, 189, 51, 0.58);
  color: var(--navy-strong);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.45;
}

.hero h1 {
  margin: 0 0 22px;
  max-width: 9ch;
  font-size: clamp(3.75rem, 7vw, 6.35rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  color: var(--navy-strong);
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--gold-strong);
}

.hero p.sub {
  margin: 0 0 28px;
  max-width: 38ch;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-strong);
  font-weight: 900;
  font-size: 15px;
}

.text-link:hover {
  color: var(--navy);
}

.hero__visual {
  position: relative;
  padding: 28px 16px 118px 46px;
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
  will-change: transform;
}

.tilt-surface,
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.hero__depth {
  position: absolute;
  pointer-events: none;
  border-radius: 34px;
}

.hero__depth--back {
  inset: 4% 4% 16% 16%;
  background:
    linear-gradient(145deg, rgba(18, 61, 119, 0.14), rgba(18, 61, 119, 0.02)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.28));
  border: 1px solid rgba(18, 61, 119, 0.12);
  transform: translate3d(22px, -10px, -80px) rotateY(-13deg) rotateX(9deg);
  box-shadow: var(--shadow);
}

.hero__depth--mid {
  top: 3%;
  right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.2) 58%, rgba(242, 189, 51, 0.2));
  border: 1px solid rgba(242, 189, 51, 0.4);
  transform: translate3d(0, 0, 58px) rotateX(14deg) rotateY(-12deg);
}

.hero__workspace {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 8px solid rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-strong);
  transform: translateZ(10px);
}

.hero__product {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(82%, 680px);
  border-radius: 24px;
  overflow: hidden;
  transform: translate3d(0, 0, 52px) rotate(-1.4deg);
  box-shadow: 0 28px 68px rgba(11, 45, 92, 0.24);
  z-index: 3;
}

.hero__brand-chip {
  position: absolute;
  top: 0;
  right: 2%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 61, 119, 0.14);
  box-shadow: 0 24px 56px rgba(18, 61, 119, 0.16);
  backdrop-filter: blur(8px);
  transform: translate3d(0, 0, 68px) rotateY(-8deg) rotateX(7deg);
  z-index: 4;
}

.hero__brand-chip-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf8, #ffe7a0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 12px 24px rgba(18, 61, 119, 0.12);
}

.hero__brand-chip-mark img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.hero__brand-chip-copy {
  display: grid;
  gap: 3px;
}

.hero__brand-chip-copy span {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.hero__brand-chip-copy strong {
  color: var(--navy-strong);
  font-size: 14px;
}

.trust-strip {
  padding: 0 0 28px;
}

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

.hero__trust span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #174888, #11396f);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(17, 57, 111, 0.22);
  font-size: 15px;
  font-weight: 800;
}

.hero__trust svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: #ffe39a;
}

.hero__offer code,
.price-anchor__coupon code,
.license-panel__purchase code,
.cta-block__offer code {
  color: #ffe39a;
  font-weight: 900;
}

section {
  padding: 74px 0;
}

section.tight {
  padding: 48px 0;
}

.section__head {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.section__head.left {
  margin: 0 0 34px;
  text-align: left;
}

.section__head h2 {
  margin: 0 0 12px;
  font-size: clamp(2.5rem, 4.2vw, 4.15rem);
  line-height: 0.97;
  letter-spacing: -0.05em;
  color: var(--navy-strong);
  text-transform: uppercase;
}

.section__head p {
  margin: 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.quickstart {
  background:
    linear-gradient(180deg, rgba(215, 232, 255, 0.7), rgba(255, 255, 255, 0.9)),
    var(--sky);
  border-top: 1px solid rgba(18, 61, 119, 0.08);
  border-bottom: 1px solid rgba(18, 61, 119, 0.08);
}

.quickstart__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.quickstart__copy h2 {
  margin: 0 0 14px;
  max-width: 9ch;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--navy-strong);
  text-transform: uppercase;
}

.quickstart__copy p {
  margin: 0 0 18px;
  max-width: 33ch;
  font-size: 1.06rem;
  color: var(--muted);
}

.terminal {
  width: 100%;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: #102645;
  box-shadow: 0 30px 70px rgba(11, 45, 92, 0.22);
}

.terminal__tabs {
  display: flex;
  gap: 6px;
  padding: 14px 14px 0;
  flex-wrap: wrap;
}

.terminal__tab {
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 10px 16px;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
}

.terminal__tab.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.terminal__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.07);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal__dots {
  display: flex;
  gap: 6px;
}

.terminal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.terminal__copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-mono);
  cursor: pointer;
}

.terminal__copy:hover {
  color: #fff;
}

.terminal__copy svg {
  width: 14px;
  height: 14px;
}

.terminal__body {
  display: none;
  padding: 22px 24px 28px;
}

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

.terminal__body pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.9;
  color: #d5e2f6;
}

.terminal__hint {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f4f8ff;
  font-size: 14px;
  line-height: 1.6;
}

.terminal__hint code {
  color: #ffe39a;
  font-weight: 900;
}

.terminal__body .prompt {
  color: #9bc4ff;
}

.terminal__body .comment {
  color: rgba(213, 226, 246, 0.62);
}

.problem-section .narrative {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 28px;
  align-items: start;
}

.narrative__copy {
  padding: 36px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(18, 61, 119, 0.12);
  box-shadow: var(--shadow);
}

.narrative__copy h2 {
  margin: 0 0 16px;
  font-size: clamp(2.45rem, 4vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--navy-strong);
}

.narrative__copy p {
  margin: 0 0 14px;
  font-size: 1.08rem;
  color: var(--muted);
}

.narrative__copy p:last-child {
  margin-bottom: 0;
}

.price-anchor {
  padding: 28px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff7de, #fffef8);
  border: 1px solid rgba(242, 189, 51, 0.5);
  box-shadow: 0 26px 54px rgba(228, 171, 19, 0.14);
}

.price-anchor__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 14px;
}

.price-anchor__row + .price-anchor__row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(18, 61, 119, 0.22);
}

.price-anchor__label {
  color: var(--muted);
  font-weight: 700;
}

.price-anchor__old {
  font-weight: 800;
  color: #9c3b2b;
  text-decoration: line-through;
}

.price-anchor__new {
  color: var(--navy-strong);
  font-size: 18px;
  font-weight: 900;
}

.price-anchor__coupon,
.price-anchor__note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.price-anchor .btn {
  margin-top: 18px;
  width: 100%;
}

.cap-ledger {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 20px;
}

.cap-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border-radius: 26px;
  border: 1px solid rgba(18, 61, 119, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cap-card--wide {
  grid-row: span 2;
}

.cap-card--accent {
  background: linear-gradient(180deg, rgba(242, 189, 51, 0.16), rgba(255, 255, 255, 0.96));
}

.cap-card__icon,
.trust-panel__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff3c9, #ffe39a);
  color: var(--navy-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.cap-card__icon svg,
.trust-panel__icon svg,
.feature-row__icon {
  width: 26px;
  height: 26px;
}

.cap-card h3,
.trust-panel h3 {
  margin: 0 0 6px;
  font-size: 1.55rem;
  line-height: 1.05;
  color: var(--navy-strong);
}

.cap-card p,
.trust-panel li,
.showcase__caption p,
.stack-note,
.faq-item p,
.cta-block p {
  color: var(--muted);
  font-size: 1rem;
}

.cap-card img {
  width: calc(100% + 8px);
  margin-top: 4px;
  border-radius: 22px;
  border: 6px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 44px rgba(18, 61, 119, 0.14);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
  padding: 32px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 61, 119, 0.12);
  box-shadow: var(--shadow);
}

.feature-row + .feature-row {
  margin-top: 24px;
}

.feature-row--reverse > :first-child {
  order: 2;
}

.feature-row--reverse > :last-child {
  order: 1;
}

.feature-row--statement {
  background: linear-gradient(180deg, rgba(215, 232, 255, 0.64), rgba(255, 255, 255, 0.94));
}

.feature-row h2 {
  margin: 12px 0 12px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--navy-strong);
  text-transform: uppercase;
}

.feature-row p {
  margin: 0 0 12px;
  font-size: 1.04rem;
  color: var(--muted);
}

.feature-row ul,
.stack-list,
.license-grid,
.trust-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-row li,
.stack-list li,
.license-grid li,
.trust-panel li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feature-row li + li,
.trust-panel li + li,
.stack-list li + li,
.license-grid li + li {
  margin-top: 10px;
}

.feature-row li svg,
.stack-list li svg,
.license-grid li svg,
.trust-panel li svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 4px;
  color: var(--gold-strong);
}

.window,
.feature-row__visual {
  overflow: hidden;
  border-radius: 26px;
  background: #12304f;
  box-shadow: 0 28px 68px rgba(11, 45, 92, 0.2);
}

.window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.window img,
.feature-row__visual img {
  width: 100%;
}

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

.stack-list li {
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 61, 119, 0.1);
  box-shadow: 0 14px 36px rgba(18, 61, 119, 0.08);
}

.stack-note {
  margin: 18px 0 0;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(242, 189, 51, 0.12);
  border: 1px solid rgba(242, 189, 51, 0.36);
}

#license {
  background: linear-gradient(180deg, rgba(15, 51, 99, 0.96), rgba(11, 45, 92, 0.96));
}

#license .section__head h2,
#license .section__head p,
#license .section__head .eyebrow {
  color: #fff;
}

#license .section__head .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.license-panel {
  padding: 32px;
  border-radius: 30px;
  background: linear-gradient(180deg, #fff8de, #fffef8);
  border: 1px solid rgba(242, 189, 51, 0.46);
  box-shadow: 0 34px 80px rgba(4, 23, 48, 0.28);
}

.license-panel__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.license-panel__price {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.95;
  font-weight: 900;
  color: var(--navy-strong);
}

.license-panel__price span {
  display: block;
  margin-top: 10px;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--muted);
}

.license-panel__purchase {
  text-align: right;
}

.license-panel__purchase p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--muted);
}

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

.license-grid li {
  padding: 18px 18px 0;
  color: var(--navy-strong);
  font-weight: 700;
}

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

.trust-panel {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 61, 119, 0.12);
  box-shadow: var(--shadow);
}

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

.showcase__item {
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 61, 119, 0.12);
  box-shadow: var(--shadow);
}

.showcase__caption {
  padding: 18px 8px 4px;
}

.showcase__caption h4 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: var(--navy-strong);
}

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

.faq-item {
  padding: 4px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 61, 119, 0.12);
  box-shadow: 0 14px 32px rgba(18, 61, 119, 0.08);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--navy-strong);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 18px;
}

.cta-block {
  padding: 44px 36px;
  text-align: center;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(242, 189, 51, 0.14), rgba(255, 255, 255, 0.98)),
    rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(242, 189, 51, 0.4);
  box-shadow: 0 28px 60px rgba(228, 171, 19, 0.14);
}

.cta-block h2 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--navy-strong);
  text-transform: uppercase;
}

.cta-block p {
  max-width: 46ch;
  margin: 0 auto 12px;
}

.cta-block__offer {
  font-weight: 800;
  color: var(--navy-strong);
}

.cta-cluster {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.site-footer {
  padding: 28px 0 54px;
}

.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(18, 61, 119, 0.1);
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy-strong);
}

.footer__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 700;
  color: var(--muted);
}

.footer__links a:hover {
  color: var(--navy-strong);
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #14458a, #0b2d5c);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(11, 45, 92, 0.28);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero__inner,
  .quickstart__grid,
  .problem-section .narrative,
  .feature-row,
  .cap-ledger,
  .trust-grid,
  .showcase,
  .license-grid {
    grid-template-columns: 1fr;
  }

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

  .license-panel__top {
    grid-template-columns: 1fr;
  }

  .license-panel__purchase {
    text-align: left;
  }

  .feature-row--reverse > :first-child,
  .feature-row--reverse > :last-child {
    order: initial;
  }
}

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

  .hero__visual {
    padding: 10px 6px 98px 8px;
  }

  .hero__brand-chip {
    top: 8px;
    right: 0;
  }
}

@media (max-width: 640px) {
  .wrap,
  .nav__pill {
    width: min(100% - 20px, 1280px);
  }

  .nav__pill {
    min-height: 64px;
  }

  .nav .btn--ghost {
    display: none;
  }

  .hero h1,
  .section__head h2,
  .quickstart__copy h2,
  .feature-row h2,
  .narrative__copy h2,
  .cta-block h2 {
    max-width: none;
  }

  .hero__visual {
    padding: 0 0 88px;
  }

  .hero__product {
    width: 92%;
    left: 4%;
  }

  .hero__depth--mid {
    width: 108px;
    height: 108px;
  }

  .hero__brand-chip {
    position: relative;
    top: auto;
    right: auto;
    margin: 18px 0 0 auto;
    transform: none;
    max-width: 92%;
  }

  .feature-row,
  .narrative__copy,
  .trust-panel,
  .license-panel,
  .cta-block,
  .showcase__item,
  .faq-item {
    padding-left: 18px;
    padding-right: 18px;
  }

  .stack-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background:
      linear-gradient(180deg, rgba(10, 20, 36, 0.92), rgba(10, 20, 36, 0.95)),
      #0c1522;
    color: #eef4ff;
  }

  body::before {
    opacity: 0.1;
    filter: invert(1) hue-rotate(180deg);
  }
}
