:root {
  color: #1d1d1f;
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --surface: #f5f5f7;
  --line: #d2d2d7;
  --teal: #0f766e;
  --purple: #8f00ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #ffffff;
  color: var(--text);
  font-size: 17px;
  line-height: 1.47059;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 200;
  padding: 8px 14px;
  border-radius: 8px;
  background: #1d1d1f;
  color: white;
  transform: translateY(-160%);
}

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

.global-header {
  position: relative;
  z-index: 100;
  height: 44px;
  background: rgba(250, 250, 252, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
}

.global-nav {
  display: flex;
  width: min(100% - 32px, 1024px);
  height: 44px;
  align-items: center;
  gap: 30px;
  margin-inline: auto;
  font-size: 12px;
}

.global-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand-symbol {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px 7px 7px 2px;
  background: #1d1d1f;
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.global-links {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 38px);
}

.global-nav a {
  opacity: 0.82;
  transition: opacity 160ms ease;
}

.global-nav a:hover {
  opacity: 1;
}

.nav-action {
  color: var(--blue);
  font-weight: 550;
}

.project-ribbon {
  display: grid;
  min-height: 52px;
  place-items: center;
  padding: 10px 20px;
  background: #ffffff;
  text-align: center;
}

.project-ribbon p {
  margin: 0;
  font-size: 14px;
}

.project-ribbon a,
.arrow-link {
  color: var(--blue);
}

.project-ribbon a:hover,
.arrow-link:hover {
  text-decoration: underline;
}

.project-ribbon span,
.arrow-link span {
  display: inline-block;
  margin-left: 2px;
  text-decoration: none;
}

.product-hero {
  position: relative;
  display: flex;
  min-height: 690px;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  margin-bottom: 12px;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: min(100% - 32px, 940px);
  margin-inline: auto;
  padding-top: 54px;
}

.product-name {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: 0.009em;
  line-height: 1.16667;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.04em;
}

h1,
.product-hero h2,
.support-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(48px, 5.6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
}

.hero-subtitle {
  margin: 16px 0 0;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.009em;
  line-height: 1.16667;
}

.hero-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 22px;
}

.pill-button,
button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 980px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  font-size: 17px;
  font-weight: 400;
  padding: 10px 21px;
  transition: background 160ms ease;
}

.pill-button:hover,
button:hover {
  background: var(--blue-hover);
}

.arrow-link {
  font-size: 19px;
}

.pill-button:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.35);
  outline-offset: 3px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.hero-primary {
  min-height: 760px;
  background:
    radial-gradient(circle at 50% 85%, rgba(88, 178, 255, 0.26), transparent 34%),
    linear-gradient(180deg, #f2f8ff 0%, #eaf5ff 42%, #dcedff 100%);
}

.hero-primary h1 {
  color: #0b1e3b;
}

.device-stage {
  position: absolute;
  bottom: -174px;
  left: 50%;
  width: 900px;
  height: 550px;
  transform: translateX(-50%);
}

.phone {
  position: absolute;
  width: 278px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 48px;
  background: #111827;
  box-shadow: 0 45px 90px rgba(21, 42, 74, 0.28);
}

.phone::before {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 4;
  width: 83px;
  height: 20px;
  border-radius: 999px;
  background: #111827;
  content: "";
  transform: translateX(-50%);
}

.phone-left {
  top: 88px;
  left: 100px;
  transform: rotate(-8deg) scale(0.93);
}

.phone-center {
  z-index: 3;
  top: 0;
  left: 311px;
}

.phone-right {
  top: 88px;
  right: 100px;
  transform: rotate(8deg) scale(0.93);
}

.phone-screen {
  overflow: hidden;
  min-height: 530px;
  padding: 41px 18px 19px;
  border-radius: 40px;
  background: #f8fafc;
  text-align: left;
}

.phone-screen-blue {
  background: linear-gradient(180deg, #e9f3ff, #f7fbff);
}

.phone-screen-warm {
  background: linear-gradient(180deg, #fff6ed, #fffdfb);
}

.mini-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 19px;
  color: #1d1d1f;
  font-size: 8px;
  font-weight: 700;
}

.app-bar {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 10px;
}

.app-bar > span:last-child {
  color: #86868b;
}

.app-mark {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px 8px 8px 3px;
  background: #0f766e;
  color: white;
  font-weight: 800;
}

.lesson-progress {
  height: 4px;
  margin: 17px 0;
  overflow: hidden;
  border-radius: 99px;
  background: #e5e7eb;
}

.lesson-progress i {
  display: block;
  width: 66%;
  height: 100%;
  border-radius: inherit;
  background: #0f766e;
}

.learning-card {
  min-height: 330px;
  padding: 24px 15px;
  border-radius: 24px;
  background: white;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.level-label {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 99px;
  background: #e5f5f2;
  color: #0f766e;
  font-size: 8px;
  font-weight: 700;
}

.turkish-word {
  margin: 34px 0 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.transcription {
  margin-bottom: 19px;
  color: #86868b;
  font-size: 10px;
}

.word-rule {
  display: block;
  width: 38px;
  height: 1px;
  margin: 0 auto 17px;
  background: #d2d2d7;
}

.translation {
  margin-bottom: 27px;
  color: #0f766e;
  font-size: 19px;
  font-weight: 650;
}

.sentence {
  margin-bottom: 2px;
  font-size: 11px;
}

.sentence-translation {
  color: #86868b;
  font-size: 9px;
}

.learning-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
  font-size: 10px;
  text-align: center;
}

.learning-actions span,
.learning-actions strong {
  padding: 10px 4px;
  border-radius: 11px;
}

.learning-actions span {
  background: #fff0e5;
  color: #c2410c;
}

.learning-actions strong {
  background: #0f766e;
  color: white;
}

.mini-title {
  margin-bottom: 22px;
  font-size: 18px;
  font-weight: 650;
  text-align: center;
}

.week-chart {
  display: flex;
  height: 155px;
  align-items: end;
  justify-content: center;
  gap: 8px;
  padding: 19px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.week-chart i {
  width: 15px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #3b82f6, #60a5fa);
}

.mini-stat {
  display: grid;
  margin-top: 22px;
  padding: 22px;
  border-radius: 22px;
  background: white;
  text-align: center;
}

.mini-stat strong {
  color: #2563eb;
  font-size: 39px;
  letter-spacing: -0.05em;
}

.mini-stat span {
  color: #86868b;
  font-size: 10px;
}

.daily-ring {
  display: grid;
  width: 154px;
  height: 154px;
  align-content: center;
  justify-content: center;
  margin: 0 auto 23px;
  border: 14px solid #fed7aa;
  border-top-color: #f97316;
  border-right-color: #f97316;
  border-radius: 50%;
  text-align: center;
  transform: rotate(-30deg);
}

.daily-ring strong,
.daily-ring span {
  transform: rotate(30deg);
}

.daily-ring strong {
  font-size: 36px;
  line-height: 1;
}

.daily-ring span {
  color: #86868b;
  font-size: 10px;
}

.plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: white;
  font-size: 11px;
}

.hero-levels {
  min-height: 730px;
  background:
    radial-gradient(circle at 50% 105%, rgba(0, 113, 227, 0.12), transparent 38%),
    #f5f5f7;
}

.dark-copy {
  color: #1d1d1f;
}

.levels-stage {
  position: relative;
  display: flex;
  width: min(100% - 30px, 920px);
  align-items: end;
  justify-content: center;
  gap: 18px;
  margin-top: 48px;
}

.level-card {
  position: relative;
  display: flex;
  width: 275px;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  overflow: hidden;
  border-radius: 34px;
  color: white;
  box-shadow: 0 28px 65px rgba(28, 45, 79, 0.17);
  text-align: left;
}

.level-card::after {
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 180px;
  height: 180px;
  border: 34px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.level-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.level-card div > span {
  font-size: 26px;
  font-weight: 700;
}

.level-card small {
  opacity: 0.75;
}

.level-card > strong {
  position: relative;
  z-index: 2;
  margin-top: auto;
  font-size: 72px;
  letter-spacing: -0.06em;
  line-height: 1;
}

.level-card p {
  position: relative;
  z-index: 2;
  margin: 4px 0 0;
  font-size: 14px;
}

.level-card-a1 {
  min-height: 274px;
  background: linear-gradient(145deg, #14b8a6, #0f766e);
}

.level-card-a2 {
  min-height: 326px;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
}

.level-card-b1 {
  min-height: 360px;
  background: linear-gradient(145deg, #a855f7, #7e22ce);
}

.hero-review {
  min-height: 780px;
  background:
    radial-gradient(circle at 50% 76%, rgba(74, 146, 255, 0.2), transparent 32%),
    linear-gradient(180deg, #080b12, #121b2c);
  color: #f5f5f7;
}

.light-copy .product-name,
.light-copy h2,
.light-copy .hero-subtitle {
  color: #f5f5f7;
}

.pill-button-light {
  background: #f5f5f7;
  color: #1d1d1f;
}

.pill-button-light:hover {
  background: #ffffff;
}

.review-visual {
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 620px;
  height: 430px;
  transform: translateX(-50%);
}

.review-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(96, 165, 250, 0.34);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 230px;
  height: 230px;
}

.orbit-two {
  width: 390px;
  height: 310px;
}

.orbit-three {
  width: 590px;
  height: 410px;
}

.review-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 168px;
  height: 168px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #65b6ff, #1666d4 54%, #0c3477);
  box-shadow: 0 0 85px rgba(59, 130, 246, 0.42);
  text-align: center;
  transform: translate(-50%, -50%);
}

.review-core span {
  font-size: 32px;
  font-weight: 650;
}

.review-core small {
  color: rgba(255, 255, 255, 0.68);
}

.word-chip {
  position: absolute;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  backdrop-filter: blur(14px);
}

.chip-one { top: 46px; left: 72px; }
.chip-two { top: 88px; right: 35px; }
.chip-three { bottom: 110px; left: 12px; }
.chip-four { right: 44px; bottom: 54px; }
.chip-five { top: 4px; left: 50%; transform: translateX(-50%); }

.tile-section {
  padding: 0 12px 12px;
}

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

.feature-tile {
  position: relative;
  display: flex;
  min-height: 610px;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 50px 40px 0;
  background: #f5f5f7;
  text-align: center;
}

.tile-copy {
  position: relative;
  z-index: 4;
  width: min(100%, 520px);
}

.tile-copy h3 {
  margin: 0;
  font-size: clamp(36px, 3.5vw, 48px);
  font-weight: 650;
  line-height: 1.08;
}

.tile-copy p {
  max-width: 465px;
  margin: 12px auto 0;
  font-size: 18px;
  line-height: 1.35;
}

.tile-copy .arrow-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 17px;
}

.tile-tests {
  background: linear-gradient(180deg, #f7f7f9 0%, #e9eef5 100%);
}

.quiz-card {
  position: absolute;
  bottom: -28px;
  left: 50%;
  display: grid;
  width: min(82%, 465px);
  gap: 10px;
  padding: 28px;
  border-radius: 30px 30px 0 0;
  background: white;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
  text-align: left;
  transform: translateX(-50%);
}

.quiz-counter {
  color: #86868b;
  font-size: 12px;
}

.quiz-card p {
  margin-bottom: 16px;
  font-size: 24px;
  text-align: center;
}

.quiz-card > span:not(.quiz-counter) {
  padding: 14px 17px;
  border: 1px solid #d2d2d7;
  border-radius: 13px;
  font-size: 14px;
}

.quiz-card .quiz-answer {
  border-color: #0f766e;
  background: #e7f6f2;
  color: #0f766e;
  font-weight: 650;
}

.tile-progress {
  background:
    radial-gradient(circle at 50% 80%, rgba(52, 211, 153, 0.18), transparent 33%),
    linear-gradient(180deg, #07131e, #0b2a31);
  color: white;
}

.progress-dashboard {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(84%, 500px);
  padding: 30px 30px 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.progress-number {
  display: grid;
  margin-bottom: 30px;
}

.progress-number strong {
  font-size: 72px;
  letter-spacing: -0.06em;
  line-height: 1;
}

.progress-number span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.progress-bars {
  display: grid;
  height: 160px;
  grid-template-columns: repeat(7, 1fr);
  gap: 9px;
  align-items: end;
}

.progress-bars i {
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, #5eead4, #0d9488);
}

.progress-bars i:nth-child(1) { height: 40%; }
.progress-bars i:nth-child(2) { height: 63%; }
.progress-bars i:nth-child(3) { height: 52%; }
.progress-bars i:nth-child(4) { height: 78%; }
.progress-bars i:nth-child(5) { height: 69%; }
.progress-bars i:nth-child(6) { height: 92%; }
.progress-bars i:nth-child(7) { height: 82%; }

.progress-labels {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 9px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.tile-content {
  background: linear-gradient(180deg, #fff9ef, #f4e9d7);
}

.editorial-stack {
  position: absolute;
  bottom: -54px;
  left: 50%;
  width: min(82%, 460px);
  height: 340px;
  transform: translateX(-50%);
}

.editorial-card {
  position: absolute;
  left: 50%;
  display: grid;
  width: 84%;
  min-height: 210px;
  align-content: center;
  padding: 25px;
  border: 1px solid rgba(71, 47, 28, 0.1);
  border-radius: 26px;
  background: white;
  box-shadow: 0 23px 55px rgba(85, 58, 32, 0.13);
  transform: translateX(-50%);
}

.editorial-card > span:not(.approved-mark),
.editorial-card > strong {
  font-size: 36px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.editorial-card > small {
  color: #86868b;
}

.back-card {
  top: 0;
  opacity: 0.45;
  transform: translateX(-50%) rotate(-7deg);
}

.middle-card {
  top: 38px;
  opacity: 0.75;
  transform: translateX(-50%) rotate(6deg);
}

.front-card {
  top: 80px;
  z-index: 2;
}

.approved-mark {
  justify-self: center;
  margin-bottom: 20px;
  padding: 5px 9px;
  border-radius: 99px;
  background: #dcfce7;
  color: #15803d;
  font-size: 10px;
  font-weight: 650;
}

.front-card p {
  margin: 22px 0 0;
  font-size: 13px;
}

.tile-sync {
  background:
    radial-gradient(circle at 50% 80%, rgba(147, 197, 253, 0.24), transparent 28%),
    linear-gradient(180deg, #101b39, #273a69);
  color: white;
}

.sync-visual {
  position: absolute;
  bottom: 35px;
  left: 50%;
  display: grid;
  width: 420px;
  height: 320px;
  place-items: center;
  transform: translateX(-50%);
}

.sync-visual::before,
.sync-visual::after {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.sync-visual::after {
  width: 190px;
  height: 190px;
}

.sync-cloud {
  position: relative;
  z-index: 2;
  display: grid;
  width: 105px;
  height: 105px;
  place-items: center;
  border-radius: 34px 34px 34px 12px;
  background: linear-gradient(145deg, #60a5fa, #2563eb);
  box-shadow: 0 0 65px rgba(59, 130, 246, 0.48);
  font-size: 42px;
  font-weight: 700;
}

.sync-dot {
  position: absolute;
  z-index: 3;
  width: 16px;
  height: 16px;
  border: 3px solid #273a69;
  border-radius: 50%;
  background: #93c5fd;
}

.dot-one { top: 55px; left: 85px; }
.dot-two { top: 100px; right: 56px; }
.dot-three { bottom: 82px; left: 57px; }

.sync-status {
  position: absolute;
  right: 25px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(15px);
  font-size: 12px;
}

.sync-status span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: #34d399;
  color: #063c2f;
}

.support-section,
.contact-section {
  margin-bottom: 12px;
  padding: 100px 24px;
  overflow: hidden;
}

.support-section {
  background:
    radial-gradient(circle at 85% 5%, rgba(143, 0, 255, 0.07), transparent 27%),
    #f5f5f7;
}

.support-inner,
.contact-inner,
.footer-inner {
  width: min(100%, 980px);
  margin-inline: auto;
}

.support-copy {
  max-width: 860px;
  margin: 0 auto 60px;
  text-align: center;
}

.support-copy .product-name {
  color: #7e22ce;
}

.support-copy h2,
.contact-copy h2 {
  font-size: clamp(42px, 5vw, 64px);
}

.support-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.support-logos a {
  display: grid;
  min-height: 255px;
  place-items: center;
  padding: 35px;
  border-radius: 28px;
  background: white;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.05);
  transition: transform 180ms ease;
}

.support-logos a:hover {
  transform: scale(1.012);
}

.support-logos a:first-child img {
  width: min(320px, 90%);
}

.support-logos a:last-child img {
  width: min(245px, 75%);
  max-height: 185px;
}

.support-statement {
  margin: 28px 0 0;
  padding: 25px 28px;
  border-radius: 18px;
  background: #ffffff;
  color: #3a3a3c;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

.contact-section {
  background: linear-gradient(180deg, #e9f6ff, #f5fbff);
}

.contact-inner {
  max-width: 820px;
  text-align: center;
}

.contact-copy .product-name {
  color: var(--blue);
}

.contact-copy > p {
  max-width: 520px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 21px;
}

.contact-email {
  display: inline-flex;
  margin-top: 28px;
}

.muted {
  color: var(--muted);
}

.site-footer {
  padding: 25px 24px 22px;
  background: #f5f5f7;
  color: #6e6e73;
  font-size: 12px;
}

.footer-note {
  margin-bottom: 18px;
  line-height: 1.45;
}

.footer-rule {
  height: 1px;
  background: #d2d2d7;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 45px;
  padding: 22px 0;
}

.footer-columns div {
  display: grid;
  align-content: start;
  gap: 7px;
}

.footer-columns strong {
  margin-bottom: 2px;
  color: #1d1d1f;
}

.footer-columns a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 17px;
}

/* Shared legal and password reset pages */
.page-header {
  padding: 30px clamp(20px, 6vw, 96px) 74px;
  background: linear-gradient(180deg, #f5f5f7, #ffffff);
}

.page-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 65px;
}

.page-header nav strong {
  margin-right: auto;
  color: var(--text);
  font-size: 18px;
}

.page-header nav a {
  color: var(--blue);
  font-size: 14px;
}

.page-header h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.05;
}

.page-header p {
  color: var(--muted);
}

.page-main {
  width: min(960px, calc(100% - 40px));
  margin: -38px auto 80px;
  padding: 0;
}

.legal-document,
.auth-card {
  width: 100%;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid #e5e5e7;
  border-radius: 28px;
  background: white;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.auth-card {
  max-width: 560px;
  margin-inline: auto;
}

.auth-card form {
  display: grid;
  gap: 12px;
}

.auth-card label {
  margin: 5px 0 0;
  font-size: 13px;
  font-weight: 600;
}

.auth-card input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #c7c7cc;
  border-radius: 12px;
  background: white;
  color: var(--text);
}

.legal-body {
  line-height: 1.75;
}

.legal-body h3 {
  margin: 32px 0 10px;
  font-size: clamp(1.12rem, 2vw, 1.3rem);
  line-height: 1.35;
}

.legal-body p {
  margin: 0 0 14px;
}

.legal-body ul {
  margin: 0 0 18px;
  padding-left: 24px;
}

.legal-body li + li {
  margin-top: 7px;
}

.legal-contact {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #e5e5e7;
}

.legal-contact a {
  color: #0066cc;
  font-weight: 600;
}

@media (max-width: 900px) {
  .global-links {
    gap: 20px;
  }

  .device-stage {
    transform: translateX(-50%) scale(0.88);
    transform-origin: bottom center;
  }

  .levels-stage {
    transform: scale(0.9);
    transform-origin: bottom center;
  }

  .tile-copy h3 {
    font-size: 38px;
  }

  .contact-inner {
    gap: 40px;
  }
}

@media (max-width: 720px) {
  .global-nav {
    gap: 14px;
  }

  .global-links {
    display: none;
  }

  .nav-action {
    margin-left: auto;
  }

  .project-ribbon p {
    max-width: 460px;
    font-size: 13px;
  }

  .product-hero {
    min-height: 650px;
  }

  .hero-primary {
    min-height: 730px;
  }

  .hero-copy {
    padding-top: 45px;
  }

  h1,
  .product-hero h2 {
    font-size: 50px;
  }

  .hero-subtitle {
    font-size: 21px;
  }

  .device-stage {
    bottom: -170px;
    transform: translateX(-50%) scale(0.75);
  }

  .phone-left {
    left: 76px;
  }

  .phone-right {
    right: 76px;
  }

  .hero-levels {
    min-height: 700px;
  }

  .levels-stage {
    width: 760px;
    margin-top: 25px;
    transform: scale(0.75);
  }

  .hero-review {
    min-height: 690px;
  }

  .review-visual {
    bottom: -45px;
    transform: translateX(-50%) scale(0.82);
  }

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

  .feature-tile {
    min-height: 600px;
  }

  .support-logos,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .support-logos a {
    min-height: 225px;
  }

  .contact-copy {
    text-align: center;
  }

  .contact-copy > p:last-child {
    margin-inline: auto;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

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

  .project-ribbon {
    min-height: 66px;
  }

  .product-hero {
    margin-bottom: 10px;
  }

  .hero-copy {
    width: min(100% - 24px, 940px);
    padding-top: 40px;
  }

  .product-name {
    font-size: 20px;
  }

  h1,
  .product-hero h2 {
    font-size: 43px;
  }

  .hero-subtitle {
    margin-top: 11px;
    font-size: 19px;
  }

  .hero-links {
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
  }

  .pill-button {
    min-height: 40px;
    padding: 8px 17px;
    font-size: 15px;
  }

  .arrow-link {
    font-size: 16px;
  }

  .hero-primary {
    min-height: 670px;
  }

  .device-stage {
    bottom: -180px;
    transform: translateX(-50%) scale(0.62);
  }

  .phone-left {
    left: 43px;
  }

  .phone-right {
    right: 43px;
  }

  .hero-levels {
    min-height: 675px;
  }

  .levels-stage {
    margin-top: 15px;
    transform: scale(0.59);
  }

  .hero-review {
    min-height: 670px;
  }

  .review-visual {
    bottom: -60px;
    transform: translateX(-50%) scale(0.64);
  }

  .tile-section {
    padding: 0 10px 10px;
  }

  .tile-grid {
    gap: 10px;
  }

  .feature-tile {
    min-height: 560px;
    padding: 43px 20px 0;
  }

  .tile-copy h3 {
    font-size: 36px;
  }

  .tile-copy p {
    font-size: 17px;
  }

  .quiz-card,
  .progress-dashboard,
  .editorial-stack {
    width: 90%;
  }

  .sync-visual {
    transform: translateX(-50%) scale(0.82);
  }

  .support-section,
  .contact-section {
    margin-bottom: 10px;
    padding: 74px 16px;
  }

  .support-copy {
    margin-bottom: 40px;
  }

  .support-copy h2,
  .contact-copy h2 {
    font-size: 41px;
  }

  .support-logos a {
    min-height: 195px;
    padding: 28px;
  }

  .support-logos a:last-child img {
    max-height: 155px;
  }

  .support-statement {
    padding: 20px;
    font-size: 13px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .page-header {
    padding-inline: 20px;
  }

  .page-header nav {
    margin-bottom: 48px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
