:root {
  --lime: #b7e34b;
  --lime-strong: #9bd400;
  --purple: #7568e8;
  --blue: #3d85c6;
  --orange: #f59e42;
  --red: #e4574f;
  --ink: #171a1f;
  --muted: #5f6570;
  --cream: #f6f2e8;
  --paper: #fffdf7;
  --line: #ded8cc;
  --shadow: 0 22px 54px rgba(23, 26, 31, 0.12);
  --soft-shadow: 0 12px 28px rgba(23, 26, 31, 0.09);
  --radius: 8px;
  --max: 1480px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
#how-it-works {
  scroll-margin-top: 118px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(183, 227, 75, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(117, 104, 232, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  font-family: Inter, Manrope, Arial, Helvetica, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 242, 232, 0.82));
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

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

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

.hidden {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 48px, var(--max));
  min-height: 96px;
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(255, 253, 247, 0.84);
  border-bottom: 1px solid rgba(222, 216, 204, 0.7);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  color: var(--ink);
  place-items: center;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-family: "Arial Narrow", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.brand-title strong {
  color: var(--lime-strong);
}

.brand-tagline {
  color: var(--purple);
  font-size: clamp(0.72rem, 1.3vw, 1.02rem);
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
  font-weight: 800;
}

.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.98rem;
  text-decoration: none;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 14px 18px;
  color: #fff !important;
  background: var(--purple);
  border-radius: var(--radius);
  box-shadow: 0 10px 18px rgba(117, 104, 232, 0.22);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(290px, 0.86fr) minmax(210px, 0.5fr) minmax(430px, 1.14fr);
  gap: clamp(20px, 3vw, 42px);
  align-items: center;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: clamp(20px, 3.2vw, 42px) 0 32px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  align-self: center;
  padding-bottom: 0;
}

.hero-copy h1 {
  max-width: 740px;
  margin: 0;
  font-family: "Arial Narrow", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(3rem, 5.8vw, 4.95rem);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 650px;
  margin: 28px 0 0;
  color: #282c32;
  font-size: clamp(1.08rem, 1.45vw, 1.36rem);
  line-height: 1.72;
}

.hero-copy .approved-pitch {
  max-width: 680px;
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  border-radius: var(--radius);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

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

.button-primary {
  color: #091005;
  background: var(--lime);
  box-shadow: 0 14px 24px rgba(155, 212, 0, 0.24);
}

.button-primary:hover {
  background: #c8f15a;
}

.button-secondary {
  color: var(--purple);
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid var(--purple);
}

.button-dark {
  color: #fff;
  background: #8091aa;
  box-shadow: 0 12px 22px rgba(128, 145, 170, 0.22);
}

.button-dark.is-ready {
  background: var(--ink);
}

.al-hero {
  align-self: center;
  margin: 0;
}

.al-hero img {
  width: min(100%, 330px);
  margin: 0 auto;
  border-radius: 0;
  filter: drop-shadow(0 18px 24px rgba(23, 26, 31, 0.14));
  mix-blend-mode: multiply;
}

.challenge-card {
  align-self: center;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 253, 247, 0.94);
  border: 1px solid #d6d0c4;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.challenge-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.challenge-heading > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.challenge-title-stack {
  display: grid;
  gap: 5px;
}

.challenge-kicker {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.challenge-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  color: var(--purple);
  place-items: center;
}

.challenge-icon svg {
  width: 100%;
  height: 100%;
}

.challenge-card h2 {
  margin: 0;
  font-family: "Arial Narrow", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 0.9;
}

.challenge-heading p {
  max-width: 340px;
  margin: 6px 0 0;
  color: #2f343b;
  font-size: 1.02rem;
  line-height: 1.35;
}

.challenge-heading strong:first-of-type {
  color: var(--blue);
  text-transform: uppercase;
}

.challenge-heading strong:last-of-type {
  color: var(--purple);
  text-transform: uppercase;
}

.scale-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 16px;
  color: var(--blue);
  font-weight: 950;
  text-transform: uppercase;
}

.scale-labels::before {
  flex: 1 1 auto;
  order: 2;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 999px;
}

.scale-labels span:first-child {
  order: 1;
}

.scale-labels span:last-child {
  order: 3;
  color: var(--purple);
}

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

.rank-item {
  min-width: 0;
}

.rank-chip {
  position: relative;
  container-type: inline-size;
  display: grid;
  gap: 8px;
  width: 100%;
  min-height: 106px;
  padding: 16px 10px 12px;
  color: var(--ink);
  cursor: grab;
  background: #fff;
  border: 1px solid #ddd8ce;
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.rank-chip:active {
  cursor: grabbing;
}

.rank-chip.is-dragging {
  opacity: 0.42;
}

.rank-chip.is-over {
  outline: 3px solid rgba(117, 104, 232, 0.28);
}

.drag-grip {
  display: inline-grid;
  width: 100%;
  color: #b6b0a4;
  place-items: center;
}

.drag-grip svg {
  width: 26px;
  height: 14px;
}

.word-label {
  display: block;
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.72rem, 8.8cqw, 1.1rem);
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
}

@supports not (font-size: 1cqw) {
  .word-label {
    font-size: clamp(0.72rem, 0.9vw, 1.04rem);
  }
}

.rank-controls {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.icon-button {
  display: inline-grid;
  width: 30px;
  height: 30px;
  color: #3028b8;
  cursor: pointer;
  background: #f4f1ff;
  border: 1px solid rgba(117, 104, 232, 0.22);
  border-radius: 50%;
  place-items: center;
}

.icon-button svg {
  width: 16px;
  height: 16px;
}

.icon-button:disabled {
  color: #b6b0a4;
  cursor: not-allowed;
  background: #f5f2ec;
}

.challenge-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: #1767a9;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.text-button svg {
  width: 24px;
  height: 24px;
  color: var(--ink);
}

.challenge-result {
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  color: #252a31;
  background: #f4f8ec;
  border: 1px solid rgba(155, 212, 0, 0.4);
  border-radius: var(--radius);
  line-height: 1.55;
}

.challenge-result.is-visible {
  display: block;
}

.challenge-result strong {
  color: #4c3ed5;
}

.meet-al-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  width: min(100% - 48px, 1040px);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 82px) 0;
  border-bottom: 1px solid var(--line);
}

.meet-al-section h2 {
  max-width: 650px;
  margin: 12px 0 0;
  font-family: "Arial Narrow", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: 0;
}

.meet-al-section p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.7;
}

.al-note {
  display: grid;
  gap: 10px;
  padding: 22px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--lime);
  transform: rotate(-2deg);
}

.al-note span {
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.al-note strong {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 0.9;
}

.al-note small {
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.35;
}

.format-section,
.app-section,
.newsletter-section,
.site-footer {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.format-section {
  padding: 42px 0 84px;
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-intro h2,
.app-copy h2,
.newsletter-section h2 {
  margin: 0;
  font-family: "Arial Narrow", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(2.3rem, 4.6vw, 4.3rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.section-intro p,
.app-copy p,
.newsletter-section p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

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

.format-card {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 340px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.format-card-header {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
}

.format-card-header:focus-visible {
  outline: 3px solid rgba(117, 104, 232, 0.24);
  outline-offset: 5px;
}

.format-card-header:hover .format-icon,
.format-card-header:focus-visible .format-icon {
  transform: translateY(-1px);
}

.format-card h3 {
  margin: 8px 0;
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
  line-height: 1.1;
}

.format-card p {
  margin: 0;
  color: #3b4149;
  line-height: 1.48;
}

.format-icon {
  display: inline-grid;
  width: 86px;
  height: 86px;
  color: var(--ink);
  place-items: center;
  transition: transform 160ms ease;
}

.format-icon svg {
  width: 100%;
  height: 100%;
}

.lab-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 26, 31, 0.15);
  border-radius: 999px;
}

.lab-play {
  display: grid;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 26, 31, 0.12);
}

.lab-question {
  min-height: 44px;
  color: var(--ink) !important;
  font-weight: 950;
  line-height: 1.35 !important;
}

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

.lab-option {
  display: inline-grid;
  min-width: 0;
  min-height: 46px;
  padding: 8px 10px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 26, 31, 0.17);
  border-radius: var(--radius);
  place-items: center;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.lab-option:hover,
.lab-option:focus-visible {
  border-color: var(--ink);
  outline: 0;
  transform: translateY(-1px);
}

.lab-option.is-selected {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.lab-result {
  display: none;
  min-height: 92px;
  padding: 14px;
  color: #2c3138;
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid rgba(23, 26, 31, 0.12);
  border-radius: var(--radius);
  line-height: 1.55;
}

.lab-result.is-visible {
  display: block;
}

.lab-result strong {
  color: var(--purple);
}

.lime-card {
  background: linear-gradient(135deg, rgba(183, 227, 75, 0.18), rgba(255, 255, 255, 0.9));
}

.blue-card {
  background: linear-gradient(135deg, rgba(61, 133, 198, 0.13), rgba(255, 255, 255, 0.9));
}

.purple-card {
  background: linear-gradient(135deg, rgba(117, 104, 232, 0.14), rgba(255, 255, 255, 0.9));
}

.app-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(26px, 5vw, 78px);
  align-items: center;
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.app-copy p {
  margin-top: 22px;
}

.app-interest {
  width: max-content;
  margin-top: 28px;
}

.step-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 32px;
}

.step-row span {
  display: grid;
  min-height: 52px;
  padding: 0 12px;
  font-size: 0.94rem;
  font-weight: 950;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  place-items: center;
}

.product-preview {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(240px, 1fr);
  gap: 22px;
  align-items: center;
}

.phone-frame {
  padding: 18px;
  background: var(--ink);
  border: 6px solid #0d0f12;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.phone-frame h3 {
  margin: 28px 0 18px;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.15;
}

.phone-status,
.phone-scale {
  display: flex;
  justify-content: space-between;
  color: #d9d5ff;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.phone-frame button {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  color: #fff;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  background: #282c32;
  border: 1px solid #454a52;
  border-radius: var(--radius);
}

.phone-frame button:nth-of-type(2) {
  border-color: var(--lime);
  box-shadow: inset 5px 0 0 var(--lime);
}

.phone-answer {
  margin-top: 18px;
  padding: 14px;
  color: var(--ink);
  font-weight: 950;
  text-align: center;
  background: var(--lime);
  border-radius: var(--radius);
}

.explanation-panel {
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.panel-label {
  display: block;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.explanation-panel h3 {
  margin: 12px 0;
  font-size: clamp(1.6rem, 2.7vw, 2.3rem);
  line-height: 1.05;
}

.explanation-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.newsletter-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: 86px 0;
}

.newsletter-section p {
  margin-top: 22px;
}

.newsletter-form {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.newsletter-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 950;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.newsletter-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  background: #fffdf7;
  border: 2px solid #d7d0c3;
  border-radius: var(--radius);
}

.newsletter-form input:focus {
  border-color: var(--purple);
  outline: 3px solid rgba(117, 104, 232, 0.18);
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0 !important;
  color: #38610a !important;
  font-weight: 850;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 42px;
  color: #fff;
  background: var(--purple);
  box-shadow: 0 0 0 100vmax var(--purple);
  clip-path: inset(0 -100vmax);
}

.footer-brand .brand-title strong {
  color: var(--lime);
}

.footer-brand,
.site-footer p,
.footer-brand .brand-tagline {
  color: #fff;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  font-weight: 800;
  line-height: 1.5;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 16px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 950;
  text-decoration: none;
  background: rgba(23, 26, 31, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: rgba(23, 26, 31, 0.36);
  transform: translateY(-1px);
}

.social-links a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}

.social-links svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
  opacity: 0.88;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.thanks-page {
  display: grid;
  align-content: center;
  gap: 34px;
  width: min(100% - 48px, 860px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0;
}

.thanks-panel {
  padding: clamp(28px, 6vw, 54px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.thanks-panel h1 {
  max-width: 760px;
  margin: 14px 0 0;
  font-family: "Arial Narrow", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: 0;
}

.thanks-panel p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.thanks-panel .button {
  margin-top: 32px;
}

.legal-page {
  align-content: start;
  max-width: 920px;
}

.legal-page .thanks-panel h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.legal-page .thanks-panel h2 {
  margin: 30px 0 0;
  color: var(--purple);
  font-size: 1.15rem;
}

.legal-page .thanks-panel ul {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.legal-page .thanks-panel a {
  color: var(--purple);
  font-weight: 850;
}

@media (max-width: 1300px) {
  .site-header {
    width: min(100% - 32px, var(--max));
  }

  .hero-section {
    grid-template-columns: minmax(280px, 0.9fr) minmax(390px, 1.1fr);
    width: min(100% - 32px, var(--max));
    min-height: 0;
    padding-top: 40px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .al-hero {
    display: none;
  }

  .challenge-card {
    align-self: start;
  }

  .format-section,
  .app-section,
  .newsletter-section,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }

  .meet-al-section {
    width: min(100% - 32px, 1040px);
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 78px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(360px, calc(100vw - 32px));
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--soft-shadow);
  }

  .site-nav.is-open {
    display: grid;
    align-items: stretch;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-section,
  .app-section,
  .newsletter-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    gap: 28px;
    padding-bottom: 44px;
  }

  .challenge-card {
    width: 100%;
  }

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

  .section-intro {
    display: grid;
  }

  .product-preview {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    max-width: 360px;
  }

  .site-footer {
    display: grid;
  }

  .footer-meta {
    justify-items: start;
  }

  .social-links {
    justify-content: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  section[id],
  #how-it-works {
    scroll-margin-top: 90px;
  }

  .site-header {
    width: min(100% - 24px, var(--max));
  }

  .brand {
    gap: 10px;
  }

  .brand-title {
    font-size: clamp(1.28rem, 7vw, 2rem);
  }

  .brand-tagline {
    max-width: none;
    font-size: 0.64rem;
    white-space: nowrap;
  }

  .hero-section,
  .meet-al-section,
  .format-section,
  .app-section,
  .newsletter-section,
  .site-footer,
  .thanks-page {
    width: min(100% - 24px, var(--max));
  }

  .hero-copy h1 {
    font-size: clamp(3.1rem, 15vw, 4.8rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .challenge-card {
    padding: 18px;
    border-radius: 16px;
  }

  .challenge-heading {
    display: grid;
  }

  .challenge-heading p {
    max-width: none;
  }

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

  .rank-chip {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    min-height: 66px;
    padding: 12px;
  }

  .drag-grip {
    width: 28px;
  }

  .word-label {
    text-align: left;
  }

  .app-interest {
    width: 100%;
  }

  .challenge-actions,
  .form-row {
    display: grid;
  }

  .text-button {
    justify-content: center;
  }

  .format-card {
    padding: 18px;
  }

  .meet-al-section {
    grid-template-columns: 1fr;
  }

  .format-card-header {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .format-icon {
    width: 64px;
    height: 64px;
  }

  .lab-options {
    grid-template-columns: 1fr;
  }

  .step-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-form {
    padding: 20px;
  }

  .social-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .social-links a {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
    width: 100%;
  }
}

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