:root {
  --ink: #14223b;
  --ink-soft: #43506a;
  --paper: #fffaf0;
  --paper-deep: #f5ecd9;
  --blue: #315bcb;
  --blue-dark: #203b91;
  --blue-pale: #eaf0ff;
  --orange: #f18a32;
  --lime: #c9f05b;
  --gold: #f3c653;
  --line: #d9d2c4;
  --white: #fff;
  --shadow: 0 24px 70px rgba(20, 34, 59, 0.13);
  --radius: 28px;
  --font-display: "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button,
select {
  font: inherit;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 18px;
  top: 12px;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 56px));
  min-height: 92px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(20, 34, 59, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand strong {
  font-weight: 800;
}
.brand small {
  display: block;
  margin-top: -2px;
  color: #727988;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand-mark {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #18233a;
  box-shadow: 4px 4px 0 var(--ink);
}
.brand-mark img {
  position: absolute;
  top: -1px;
  left: -67px;
  width: 130px;
  max-width: none;
  height: auto;
}

.site-header nav,
footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-language select {
  width: 76px;
  min-height: 28px;
  padding: 0 24px 0 8px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}
.site-header nav > a,
footer nav > a {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.site-header nav > a:not(.nav-login):hover,
footer nav > a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.nav-login {
  padding: 9px 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}
.nav-login:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}

.hero {
  position: relative;
  display: block;
  width: min(1240px, calc(100% - 56px));
  min-height: 610px;
  margin: 0 auto;
  padding: 64px 0 36px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: none;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow span {
  display: inline-block;
  margin-right: 8px;
  padding: 5px 9px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  letter-spacing: 0.08em;
}
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
}
h2 {
  color: var(--blue-dark);
}
h1 {
  max-width: 1180px;
  margin: 0;
  font-size: clamp(56px, 8.5vw, 112px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.92;
  text-wrap: balance;
}
h1 > span {
  display: block;
}
h1 em {
  position: relative;
  color: var(--blue);
  font-style: normal;
  white-space: nowrap;
}
h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: -2%;
  bottom: -0.08em;
  height: 0.09em;
  border-radius: 999px;
  background: var(--orange);
  transform: rotate(-2deg);
}
.hero-learning-choice {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin: -12px 0 26px;
}
.hero-learning-choice .eyebrow {
  flex: 0 0 auto;
  margin: 0 0 5px;
}
.hero-learning-choice label {
  display: grid;
  gap: 4px;
  min-width: 150px;
  color: #5d6880;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-learning-choice select {
  min-height: 34px;
  padding: 0 30px 0 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
}
.hero-lead {
  max-width: 55ch;
  margin: 46px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 54px;
  padding: 14px 22px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.button:hover {
  transform: translate(-2px, -2px);
}
.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
}
.button-primary:hover {
  box-shadow: 8px 8px 0 var(--ink);
}
.button-ghost {
  border-color: transparent;
  color: var(--ink-soft);
}
.button-ghost:hover {
  background: var(--paper-deep);
}
.hero-professor {
  position: absolute;
  z-index: 3;
  top: 250px;
  right: clamp(230px, 24vw, 320px);
  width: min(500px, 42vw);
  min-height: 0;
  aspect-ratio: 3 / 2;
  pointer-events: none;
}
.hero-professor::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 6%;
  bottom: 7%;
  width: 44%;
  height: 10%;
  border-radius: 50%;
  background: rgba(20, 34, 59, 0.14);
  filter: blur(24px);
  transform: skewX(-10deg);
}
.hero-professor img {
  position: static;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 24px rgba(20, 34, 59, 0.18));
}
.hero-scroll {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(20, 34, 59, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  transform: translateX(-50%);
  animation: hero-nudge 1.8s ease-in-out infinite;
}
.hero-scroll:hover {
  background: var(--lime);
}
@keyframes hero-nudge {
  50% {
    transform: translate(-50%, 4px);
  }
}

.section-pad {
  padding: clamp(80px, 10vw, 140px) max(28px, calc((100vw - 1180px) / 2));
}
.section-heading {
  max-width: 820px;
}
.section-heading h2,
.demo-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}
.section-heading > p:last-child,
.demo-copy > p:not(.eyebrow) {
  max-width: 60ch;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.install-card h2,
.landing-faq h2,
.landing-family h2 {
  margin: 0;
  font-size: clamp(34px, 4.3vw, 58px);
  letter-spacing: -0.05em;
  line-height: 1.04;
}
.verb-demo {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
  border-block: 1px solid #d7e0f2;
  background: #f2f6ff;
}
.verb-demo > *,
.install-card > *,
.landing-faq > *,
.landing-family-grid > *,
.final-cta > * {
  min-width: 0;
}
.demo-card {
  border: 2px solid var(--ink);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 12px 12px 0 var(--orange);
  transform: rotate(-1deg);
}
.demo-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  color: #6d7586;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.demo-content {
  display: grid;
  gap: 34px;
  padding: clamp(26px, 5vw, 54px);
}
.demo-prompt {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.05em;
}
.demo-hint {
  margin: 8px 0 0;
  color: var(--ink-soft);
}
.demo-answer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: #f0f7df;
  font-size: 19px;
}
.demo-answer span {
  color: #737c8d;
}
.demo-answer strong {
  margin-right: auto;
  font-family: var(--font-display);
  font-size: 26px;
}
.demo-answer i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-style: normal;
  font-weight: 900;
}
.demo-copy ul {
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}
.demo-copy li {
  margin: 13px 0;
  color: var(--ink-soft);
}

.landing-deep {
  background: #f7f8f4;
}
.install-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(280px, 1fr) minmax(
      190px,
      auto
    );
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  padding: clamp(22px, 3.4vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(49, 91, 203, 0.25);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(243, 198, 83, 0.35),
      transparent 32%
    ),
    linear-gradient(135deg, rgba(49, 91, 203, 0.16), rgba(234, 240, 255, 0.8)),
    #f8fbff;
  box-shadow: 0 24px 58px rgba(20, 34, 59, 0.11);
}
.install-card::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -28px;
  width: 96px;
  height: 96px;
  border: 14px solid rgba(49, 91, 203, 0.12);
  border-radius: 28px;
  transform: rotate(12deg);
  pointer-events: none;
}
.install-media {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: linear-gradient(145deg, #101a30, #315bcb);
  box-shadow: 0 18px 38px rgba(20, 34, 59, 0.22);
}
.install-art-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.install-art {
  width: 100%;
  height: 178px;
  object-fit: cover;
  object-position: center top;
}
.install-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.install-copy .eyebrow {
  margin-bottom: 5px;
}
.install-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}
.platforms span {
  padding: 7px 11px;
  border: 1px solid #cdd5dd;
  border-radius: 999px;
  background: #f1f5f8;
  color: #41576a;
  font-size: 11px;
  font-weight: 800;
}
.install-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 11px;
  justify-items: end;
  align-content: center;
}
.install-actions .button {
  width: 100%;
}
.install-hint {
  max-width: 260px;
  margin: 0;
  color: #66758a;
  font-size: 12px !important;
  line-height: 1.5;
  text-align: right;
}
.install-card.is-installed .install-art-button,
.install-card.is-installed #installButton {
  cursor: default;
  opacity: 0.65;
}

.landing-faq {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 48px 80px;
  margin-top: clamp(80px, 9vw, 130px);
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.landing-faq-heading > p:last-child,
.landing-family-head > p:last-child {
  margin: 20px 0 0;
  color: var(--ink-soft);
}
.landing-faq details {
  margin-bottom: 12px;
  padding: 20px 24px;
  border: 1px solid #d9dedb;
  border-radius: 14px;
  background: var(--white);
}
.landing-faq details[open] {
  border-color: #d7b561;
  background: #fffaf0;
}
.landing-faq summary {
  position: relative;
  padding-right: 32px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}
.landing-faq summary::-webkit-details-marker {
  display: none;
}
.landing-faq summary::after {
  content: "+";
  position: absolute;
  top: -5px;
  right: 0;
  color: var(--blue);
  font-size: 28px;
}
.landing-faq details[open] summary::after {
  content: "−";
}
.landing-faq details p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.landing-family {
  margin-top: clamp(80px, 9vw, 130px);
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.family-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}
.landing-family-head {
  max-width: 700px;
}
.family-controls {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
.family-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}
.family-controls button:not([aria-disabled="true"]):hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}
.family-controls button[aria-disabled="true"] {
  opacity: 0.5;
  box-shadow: none;
  cursor: default;
}
.landing-family-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 24px;
  scroll-padding-inline: 4px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: #9aaedf transparent;
}
.family-card {
  display: flex;
  flex: 0 0 min(350px, calc((100% - 32px) / 3));
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 16px 16px 26px;
  border: 1px solid #dbe2e8;
  border-radius: 20px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(37, 66, 99, 0.08);
  scroll-snap-align: start;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.family-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(37, 66, 99, 0.14);
}
.family-card h3 {
  margin: 0 6px 10px;
  font-size: 24px;
  letter-spacing: -0.04em;
}
.family-card > p {
  margin: 0 6px 22px;
  color: #536579;
  font-size: 14px;
}
.family-card > strong {
  margin: auto 6px 0;
  color: var(--blue);
  font-size: 12px;
}
.family-play {
  position: relative;
  height: 220px;
  margin: -16px -16px 24px;
  overflow: hidden;
  border-bottom: 1px solid #d9e4ec;
}
.family-play-vokabel {
  background: #0f493e;
}
.family-play-vokabel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}
.family-play-articles {
  background: linear-gradient(135deg, #e7f4ff, #d2e6fa);
}
.family-play-context {
  background: linear-gradient(135deg, #f7f5ed, #e8edf4);
}
.family-play-coach {
  background: linear-gradient(135deg, #e4f3ff, #bfdbf6);
}
.family-mascot {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 53%;
  height: 95%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 4px 4px rgba(37, 66, 99, 0.08));
  transition: transform 0.3s;
}
.article-token {
  position: absolute;
  top: 30px;
  width: 49px;
  padding: 9px 0;
  border-radius: 12px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 4px 0 rgba(36, 67, 103, 0.08);
}
.token-der {
  right: 112px;
  background: #afdcff;
  color: #21496a;
  transform: rotate(-8deg);
}
.token-die {
  right: 60px;
  background: #ffbac7;
  color: #6f293e;
  transform: translateY(-5px);
}
.token-das {
  right: 8px;
  background: #d9c5ff;
  color: #4f337c;
  transform: rotate(8deg);
}
.article-word {
  position: absolute;
  top: 120px;
  right: 14px;
  padding: 12px 14px;
  border: 1px solid #aac3dc;
  border-radius: 12px;
  background: #fff;
  color: #274b6e;
  font-size: 17px;
  white-space: nowrap;
}
.article-word > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: inherit;
  background: #ffbac7;
  color: #6f293e;
  opacity: 0;
  transition: opacity 0.25s ease;
  font-weight: 800;
}
.context-line {
  position: relative;
  display: block;
  padding-left: 48%;
  padding-right: 12px;
  color: #294559;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.55;
}
.family-context .family-mascot + .context-line {
  margin-top: 44px;
}
.context-line b {
  padding: 2px 5px;
  border-radius: 5px;
  background: #ffe6a4;
  color: #584322;
}
.context-note {
  position: absolute;
  right: 12px;
  bottom: 24px;
  max-width: 49%;
  padding: 6px;
  border: 1px solid #cbd7e2;
  border-radius: 8px;
  background: #fff;
  color: #3c5972;
  font-size: 10px;
}
.family-coach-logo {
  position: absolute;
  top: 30px;
  left: 20px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(39, 86, 135, 0.13);
}
.coach-bubble,
.coach-reply {
  position: absolute;
  right: 20px;
  padding: 10px 14px;
  border-radius: 18px 18px 18px 4px;
  font-family: var(--font-display);
  font-weight: 800;
}
.coach-bubble {
  top: 38px;
  background: #fff;
  color: #214b76;
  font-size: 22px;
}
.coach-reply {
  top: 105px;
  right: 15px;
  border-radius: 18px 18px 4px 18px;
  background: #286293;
  color: #fff;
  font-size: 14px;
}
.coach-wave {
  position: absolute;
  bottom: 25px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 30px;
}
.coach-wave i {
  width: 5px;
  height: 12px;
  border-radius: 8px;
  background: #397fb7;
  animation: family-wave 1.5s ease-in-out infinite;
}
.coach-wave i:nth-child(2n) {
  height: 24px;
  animation-delay: -0.4s;
}
.coach-wave i:nth-child(3n) {
  height: 30px;
  animation-delay: -0.8s;
}
.family-card:is(:hover, :focus-visible) .family-mascot {
  transform: translateY(-4px);
}
.family-card:is(:hover, :focus-visible) .family-play-vokabel img {
  transform: scale(1.025);
}
.family-card:is(:hover, :focus-visible) .article-word > span {
  opacity: 1;
}
@keyframes family-wave {
  50% {
    transform: scaleY(0.45);
  }
}

.final-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: end;
  background: var(--blue);
  color: var(--white);
}
.final-cta .eyebrow {
  color: var(--lime);
}
.final-cta > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.button-light {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}
.final-cta > div:last-child p {
  max-width: 38ch;
  margin: 22px 0 0;
  color: #d9e1ff;
  font-size: 13px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 150px;
  padding: 38px max(28px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid #43516a;
}
.footer-brand {
  color: var(--white);
}
.footer-brand small {
  color: #9da9bc;
}
.footer-signature {
  color: #9da9bc;
  font-size: 12px;
}
.footer-signature a {
  color: var(--white);
  font-weight: 800;
  text-underline-offset: 4px;
}

@media (max-width: 1050px) {
  .hero-professor {
    top: 245px;
    right: clamp(130px, 22vw, 240px);
    width: min(460px, 44vw);
  }
}

@media (max-width: 980px) {
  .install-card {
    grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  }
  .install-actions {
    grid-column: 1 / -1;
    justify-items: stretch;
  }
  .install-hint {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 820px) {
  .site-header {
    width: min(100% - 36px, 1240px);
  }
  .site-header nav > a:not(.nav-login, .nav-conjugator) {
    display: none;
  }
  .hero {
    width: min(100% - 36px, 720px);
    min-height: 0;
    padding: 60px 0 72px;
  }
  .hero-copy {
    position: static;
    max-width: 680px;
  }
  .hero h1 {
    margin-bottom: clamp(145px, 20vw, 165px);
  }
  .hero-lead {
    margin-top: 22px;
  }
  .hero-professor {
    position: absolute;
    top: clamp(165px, 24vw, 190px);
    right: 18px;
    width: min(340px, 50vw);
    min-height: 0;
    aspect-ratio: 3 / 2;
    margin: 0;
  }
  .hero-professor::after {
    right: 8%;
    bottom: 5%;
    width: 42%;
  }
  .hero-professor img {
    top: 0;
    left: 0;
    width: 100%;
    transform: none;
  }
  .verb-demo {
    grid-template-columns: 1fr;
  }
  .demo-card {
    order: 2;
  }
  .final-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .install-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }
  .install-media {
    width: min(100%, 430px);
  }
  .install-art {
    height: 200px;
  }
  .landing-faq {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  footer {
    flex-wrap: wrap;
  }
  .footer-signature {
    order: 3;
    flex-basis: 100%;
  }
}

@media (max-width: 590px) {
  .site-header {
    min-height: 76px;
  }
  .brand small {
    display: none;
  }
  .site-header .brand {
    font-size: 17px;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
  }
  .site-header nav {
    gap: 8px;
  }
  .site-header nav:has(.nav-conjugator) {
    display: grid;
    grid-template-columns: auto auto;
    justify-items: end;
    padding-block: 8px;
  }
  .site-header nav > .nav-conjugator {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .header-language select {
    width: 80px;
    min-height: 28px;
    padding: 0 24px 0 8px;
    font-size: 12px;
  }
  .nav-login {
    padding: 8px 9px;
    font-size: 10px !important;
  }
  .hero {
    width: min(100% - 28px, 560px);
    padding: 46px 0 72px;
  }
  h1 {
    font-size: clamp(43px, 14vw, 64px);
  }
  .hero-lead {
    font-size: 16px;
  }
  .hero-learning-choice {
    gap: 8px;
    margin-bottom: 20px;
  }
  .hero-learning-choice label {
    min-width: 0;
    flex: 0 0 145px;
  }
  .hero-learning-choice select {
    width: 100%;
    min-height: 36px;
    padding-left: 9px;
  }
  .hero h1 {
    margin-bottom: 100px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-professor {
    top: 190px;
    right: 0;
    width: min(200px, 58vw);
  }
  .section-pad {
    padding: 76px 20px;
  }
  .section-heading h2,
  .demo-copy h2,
  .final-cta h2 {
    font-size: 39px;
  }
  .family-heading-row {
    align-items: flex-start;
  }
  .family-controls button {
    width: 40px;
    height: 40px;
  }
  .family-card {
    flex-basis: min(320px, 86vw);
  }
  .family-play {
    height: 200px;
  }
  .demo-card {
    width: 100%;
    transform: none;
  }
  .demo-copy {
    width: 100%;
    min-width: 0;
  }
  .demo-topline {
    flex-direction: column;
    gap: 4px;
  }
  footer {
    padding: 34px 20px;
  }
  footer nav {
    gap: 15px;
  }
}

@media (max-width: 430px) {
  .site-header .brand > span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .nav-login:hover {
    transform: none;
    box-shadow: 3px 3px 0 var(--ink);
  }
  .button:hover {
    transform: none;
  }
  .button-primary:hover {
    box-shadow: 5px 5px 0 var(--ink);
  }
  .family-card {
    transition: none;
  }
  .family-card:hover {
    transform: none;
  }
  .family-play * {
    animation: none !important;
    transition: none !important;
  }
  .hero-scroll {
    animation: none;
  }
}
