/* RepetitorEdu landing (ADR-029) – the approved Instagram poster style: navy, blue, yellow,
   pastel blocks, Noto Serif + Inter, highlighter marks. Phone first. */
:root {
  --navy: #14296a;
  --navy-2: #1d3683;
  --blue: #3170e3;
  --blue-l: #7aa7ff;
  --yellow: #ffd84d;
  --yellow-soft: #ffe68a;
  --ink: #14296a;
  --muted: #4a5675;
  --on-navy: #c9d3f0;
  --paper: #f7f8fc;
  --white: #ffffff;
  --line: rgba(20, 41, 106, 0.12);
  --red: #c8431b;
  --sky: #e3f1ff;
  --sky-ink: #1d4fa8;
  --mint: #dff6ea;
  --mint-ink: #17714a;
  --peach: #ffe9df;
  --peach-ink: #a8441c;
  --lilac: #ece8ff;
  --lilac-ink: #5a3fc0;
  --lemon: #fff0b0;
  --lemon-ink: #7a5a00;
  --serif: 'Noto Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow: 0 24px 60px -20px rgba(20, 41, 106, 0.35);
  --shadow-sm: 0 10px 28px -12px rgba(20, 41, 106, 0.3);
  --radius: 28px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
html,
body {
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p {
  margin: 0;
}
.i {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}
.wrap {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}
.narrow {
  width: min(820px, 100% - 32px);
}
.center {
  display: flex;
  justify-content: center;
  text-align: center;
}
mark {
  background: linear-gradient(transparent 58%, var(--yellow) 58%);
  color: inherit;
  padding: 0 0.08em;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 12px;
}
.skip:focus {
  left: 16px;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Notebook paper – the app's "Dəftər" look: grid + red margin line. */
.notebook {
  background-color: var(--paper);
  background-image:
    linear-gradient(
      90deg,
      transparent 0 calc(var(--margin, 28px) - 1px),
      rgba(232, 120, 120, 0.45) calc(var(--margin, 28px) - 1px) calc(var(--margin, 28px) + 1px),
      transparent calc(var(--margin, 28px) + 1px)
    ),
    linear-gradient(rgba(20, 41, 106, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 41, 106, 0.055) 1px, transparent 1px);
  background-size:
    100% 100%,
    28px 28px,
    28px 28px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn .arr {
  transition: transform 0.2s ease;
}
.btn:hover .arr {
  transform: translateX(4px);
}
.btn-lg {
  min-height: 58px;
  padding: 14px 28px;
  font-size: 17px;
}
.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-navy .arr {
  color: var(--yellow);
}
.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 12px 30px -12px rgba(255, 216, 77, 0.8);
}
.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.logo img {
  height: 38px;
  width: auto;
}
.nav {
  display: none;
  gap: 26px;
  margin-inline: auto;
  font-weight: 600;
  font-size: 15px;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
}
.nav a:hover {
  color: var(--navy);
}
.header-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-cta {
  display: none;
}
.langs {
  display: inline-flex;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.langs a {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--muted);
}
.langs a[aria-current='page'] {
  background: var(--navy);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 56px;
  --margin: 16px;
}
.circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.c1 {
  width: 520px;
  height: 520px;
  right: -200px;
  top: -160px;
  background: var(--yellow-soft);
  opacity: 0.55;
  animation: breathe 9s ease-in-out infinite;
}
.c2 {
  width: 340px;
  height: 340px;
  left: -180px;
  bottom: -140px;
  background: var(--lilac);
  animation: breathe 11s ease-in-out infinite reverse;
}
.hero-in {
  position: relative;
  display: grid;
  gap: 40px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 14px;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.hero-title {
  margin-top: 20px;
  font-family: var(--serif);
  line-height: 0.98;
  font-size: clamp(52px, 13vw, 104px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.hero-title .accent,
.feature h3 .accent,
.final h2 .accent {
  display: block;
}
.hero-title .accent {
  font-size: 0.56em;
  color: var(--blue);
  margin-top: 12px;
  letter-spacing: -0.02em;
}
.lead {
  margin-top: 20px;
  font-size: 18px;
  color: var(--muted);
  max-width: 34em;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.cta-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 430px;
}
.browser {
  margin: 0;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e2e6f0;
}
.browser-bar i:first-child {
  background: #ff8f7a;
}
.browser-bar i:nth-child(2) {
  background: var(--yellow);
}
.browser-bar i:nth-child(3) {
  background: #7ad3a2;
}
.browser-bar span {
  margin-left: 10px;
  font-size: 11px;
  color: var(--muted);
  background: var(--white);
  border-radius: 999px;
  padding: 2px 12px;
  border: 1px solid var(--line);
}
.hero-visual .browser {
  width: 88%;
  margin-left: auto;
  transform: rotate(1.5deg);
}
.phone {
  margin: 0;
  background: var(--navy);
  padding: 9px;
  border-radius: 36px;
  box-shadow: var(--shadow);
}
.phone img {
  border-radius: 28px;
}
.hero-phone {
  position: absolute;
  width: 46%;
  max-width: 250px;
  left: 0;
  top: 70px;
  transform: rotate(-6deg);
  animation: float 7s ease-in-out infinite;
}
.sticker {
  position: absolute;
  right: 2%;
  bottom: 4px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  padding: 14px;
  transform: rotate(-12deg);
  box-shadow: var(--shadow-sm);
  border: 3px dashed rgba(20, 41, 106, 0.25);
}
.note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 18px;
  padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  line-height: 1.3;
  max-width: 230px;
}
.note b {
  display: block;
  font-size: 14px;
}
.note small {
  color: var(--muted);
  font-size: 12px;
}
.note-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex: none;
}
.note.tone-mint .note-ic {
  background: var(--mint);
  color: var(--mint-ink);
}
.note.tone-peach .note-ic {
  background: var(--peach);
  color: var(--peach-ink);
}
.note.tone-lilac .note-ic {
  background: var(--lilac);
  color: var(--lilac-ink);
}
.note-1 {
  right: 0;
  top: 54%;
  transform: rotate(2deg);
  animation: pop 0.7s 0.4s both cubic-bezier(0.2, 1.3, 0.4, 1);
}
.note-2 {
  left: 40%;
  bottom: -12px;
  transform: rotate(-2deg);
  animation: pop 0.7s 0.9s both cubic-bezier(0.2, 1.3, 0.4, 1);
}
.note-3 {
  display: none;
}

/* Strike band */
.strike-band {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.strike-lead {
  color: var(--on-navy);
  font-size: 18px;
  max-width: 30em;
  margin-inline: auto;
}
.strike-words {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(36px, 9vw, 84px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.strike-words s {
  text-decoration: none;
  position: relative;
  display: inline-block;
  margin: 0 0.12em;
}
.strike-words s::after {
  content: '';
  position: absolute;
  left: -4%;
  right: -4%;
  top: 54%;
  height: 0.12em;
  border-radius: 99px;
  background: var(--yellow);
  transform: scaleX(0) rotate(-3deg);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.strike-words.is-in s::after {
  transform: scaleX(1) rotate(-3deg);
}
.strike-words.is-in s:nth-child(1)::after {
  transition-delay: 0.3s;
}
.strike-words.is-in s:nth-child(2)::after {
  transition-delay: 0.8s;
}
.strike-words.is-in s:nth-child(3)::after {
  transition-delay: 1.3s;
}
.strike-answer {
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(34px, 8vw, 72px);
  color: var(--yellow);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
html.js .strike-answer.reveal {
  transition-delay: 1.6s;
}

/* Marquee */
.marquee {
  background: var(--yellow);
  color: var(--navy);
  overflow: hidden;
  transform: rotate(-1.5deg);
  margin: -14px 0 0;
  padding: 14px 0;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
}
.marquee-track .i {
  color: var(--blue);
}

/* Sections */
.section {
  padding: 72px 0;
}
.section-title {
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.03em;
}
.section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 36em;
  margin: 18px auto 0;
  font-size: 18px;
}

/* Feature posters */
.feature {
  position: relative;
  display: grid;
  gap: 28px;
  margin-top: 40px;
  padding: 32px 22px 36px;
  border-radius: 36px;
  overflow: hidden;
}
.feature + .feature {
  margin-top: 28px;
}
.tone-yellow {
  --bg: var(--yellow);
  --accent: var(--navy);
  --tile: rgba(255, 255, 255, 0.55);
  --blob: #ffe68a;
}
.tone-peach {
  --bg: var(--peach);
  --accent: var(--red);
  --tile: var(--white);
  --blob: #ffd6c4;
}
.tone-lilac {
  --bg: var(--lilac);
  --accent: var(--lilac-ink);
  --tile: var(--white);
  --blob: #ddd5ff;
}
.tone-sky {
  --bg: var(--sky);
  --accent: var(--sky-ink);
  --tile: var(--white);
  --blob: #c9e2ff;
}
.tone-mint {
  --bg: var(--mint);
  --accent: var(--mint-ink);
  --tile: var(--white);
  --blob: #c4ecd7;
}
.feature {
  background: var(--bg);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tile);
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
  border-radius: 999px;
  padding: 7px 14px;
}
.feature h3 {
  margin-top: 18px;
  font-size: clamp(38px, 9.5vw, 66px);
  font-weight: 900;
  letter-spacing: -0.035em;
}
.feature h3 .accent {
  color: var(--accent);
  font-size: 0.78em;
  margin-top: 6px;
}
.tone-yellow h3 .accent {
  background: linear-gradient(transparent 60%, rgba(255, 255, 255, 0.85) 60%);
  display: inline;
}
.tone-yellow h3 span:first-child {
  display: block;
}
.feature-lead {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink);
  opacity: 0.86;
  max-width: 32em;
}
.chips {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--tile);
  border-radius: 999px;
  padding: 7px 14px 7px 10px;
  font-weight: 700;
  font-size: 14px;
}
.chips .i {
  color: var(--accent);
}
.feature-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
}
.blob {
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  max-width: 440px;
  border-radius: 50%;
  background: var(--blob);
  animation: breathe 10s ease-in-out infinite;
}
.feature-visual > :not(.blob) {
  position: relative;
}
.feature-visual .phone {
  width: min(250px, 66%);
}
.tilt-r {
  transform: rotate(6deg);
}
.feature-visual .browser {
  width: 100%;
}
.feature-visual .phone.mini {
  position: absolute;
  width: min(150px, 34%);
  right: -2%;
  bottom: -16px;
  border-radius: 26px;
  padding: 6px;
  transform: rotate(7deg);
}
.feature-visual .phone.mini img {
  border-radius: 20px;
}

/* Drawn UI cards */
.ui-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.exam-card {
  width: min(380px, 100%);
  overflow: hidden;
  transform: rotate(-2deg);
}
.exam-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.timer {
  font-family: ui-monospace, 'Consolas', monospace;
  font-size: 19px;
}
.saved {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--mint-ink);
  font-weight: 600;
}
.exam-body {
  position: relative;
  padding: 18px;
}
.watermark {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: space-around;
  justify-items: center;
  transform: rotate(-24deg);
  color: rgba(20, 41, 106, 0.075);
  font-weight: 700;
  font-size: 14px;
  pointer-events: none;
  white-space: nowrap;
}
.q-num {
  font-weight: 800;
  color: var(--blue);
  font-size: 13px;
}
.q-text {
  margin-top: 8px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
}
.options {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}
.options li {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 8px 12px;
  font-family: var(--serif);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.7);
}
.options li span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
}
.options li.is-correct {
  border-color: var(--mint-ink);
  background: var(--mint);
}
.options li.is-correct span {
  background: var(--mint-ink);
  border-color: var(--mint-ink);
  color: var(--white);
}
.exam-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--peach);
  color: var(--peach-ink);
  font-size: 13px;
}
.pdf-stage {
  display: grid;
  gap: 14px;
  justify-items: center;
  width: min(420px, 100%);
}
.pdf-doc {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 22px;
  width: 70%;
  transform: rotate(-3deg);
  color: var(--red);
  font-size: 13px;
}
.pdf-doc .i {
  width: 34px;
  height: 34px;
}
.pdf-doc b {
  color: var(--ink);
}
.lines {
  display: grid;
  gap: 6px;
  width: 100%;
}
.lines i {
  height: 7px;
  border-radius: 9px;
  background: #e8ebf4;
}
.lines i:nth-child(2n) {
  width: 72%;
}
.pdf-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lilac-ink);
  color: var(--white);
  transform: rotate(90deg);
}
.pdf-list {
  display: grid;
  gap: 8px;
  width: 100%;
}
.found {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: center;
  font-weight: 800;
  color: var(--lilac-ink);
  font-size: 14px;
}
.pdf-q {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 14px;
}
.pdf-q:nth-child(odd) {
  transform: rotate(0.8deg);
}
.pdf-q:nth-child(even) {
  transform: rotate(-0.8deg);
}
.pdf-q .n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--lilac);
  color: var(--lilac-ink);
  font-size: 13px;
}
.pdf-q .ok {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--mint-ink);
  background: var(--mint);
  border-radius: 999px;
  padding: 4px 9px;
}
.parent-card {
  width: min(360px, 100%);
  padding: 20px;
  display: grid;
  gap: 16px;
  transform: rotate(2deg);
}
.pc-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pc-head small,
.pc-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--sky-ink);
  font-weight: 800;
}
.pc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.big {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 900;
}
.trend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--mint-ink);
  background: var(--mint);
  border-radius: 999px;
  padding: 5px 10px;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 70px;
  padding: 0 4px;
  border-bottom: 1.5px solid var(--line);
}
.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 0 0;
  background: var(--sky);
}
.bars i:last-child {
  background: var(--blue);
}
.pc-row.pay {
  background: var(--paper);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
}
.pc-row.pay span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.paid {
  color: var(--mint-ink);
}

/* How */
.how {
  --margin: 16px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 44px 0 36px;
  display: grid;
  gap: 18px;
}
.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 24px 24px 92px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.step-n {
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--yellow);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 28px;
  transform: rotate(-6deg);
}
.step:nth-child(2) .step-n {
  background: var(--lilac);
  color: var(--lilac-ink);
  transform: rotate(5deg);
}
.step:nth-child(3) .step-n {
  background: var(--mint);
  color: var(--mint-ink);
}
.step h3 {
  font-size: 24px;
}
.step p {
  margin-top: 8px;
  color: var(--muted);
}

/* Plans */
.plan-grid {
  display: grid;
  gap: 18px;
  margin-top: 40px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 32px;
  padding: 30px 26px 26px;
  box-shadow: var(--shadow-sm);
}
.plan h3 {
  font-size: 36px;
  font-weight: 900;
}
.plan-tag {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 600;
}
.plan-period {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 16px;
  background: var(--paper);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: grid;
  gap: 12px;
}
.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600;
  line-height: 1.4;
}
.plan li .i {
  margin-top: 2px;
  color: var(--mint-ink);
  background: var(--mint);
  border-radius: 50%;
  padding: 3px;
  width: 22px;
  height: 22px;
}
.plan-actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
  text-align: center;
}
.plan-price {
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
  text-underline-offset: 4px;
  padding: 6px;
}
.plan-hot {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow);
}
.plan-hot .plan-tag {
  color: var(--on-navy);
}
.plan-hot .plan-period {
  background: rgba(255, 255, 255, 0.1);
}
.plan-hot li .i {
  color: var(--navy);
  background: var(--yellow);
}
.plan-hot .plan-price {
  color: var(--yellow);
}
.plan-badge {
  position: absolute;
  top: -15px;
  right: 22px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  font-size: 13px;
  border-radius: 999px;
  padding: 6px 14px;
  transform: rotate(3deg);
  box-shadow: var(--shadow-sm);
}
.plan-common {
  margin-top: 26px;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
}
.perks {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}
.perk {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 22px;
}
.perk > .i {
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 14px;
  background: var(--white);
  color: var(--accent);
}
.perk.tone-yellow > .i {
  color: var(--navy);
}
.perk b {
  font-family: var(--serif);
  font-size: 22px;
}
.perk p {
  margin-top: 4px;
}

/* Extras */
.extras {
  background: var(--paper);
}
.extra-grid {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}
.extra {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
}
.extra-ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--sky);
  color: var(--sky-ink);
}
.extra:nth-child(2) .extra-ic {
  background: var(--lemon);
  color: var(--lemon-ink);
}
.extra:nth-child(3) .extra-ic {
  background: var(--mint);
  color: var(--mint-ink);
}
.extra:nth-child(4) .extra-ic {
  background: var(--peach);
  color: var(--peach-ink);
}
.extra-ic .i {
  width: 26px;
  height: 26px;
}
.extra h3 {
  margin-top: 16px;
  font-size: 22px;
}
.extra p {
  margin-top: 6px;
  color: var(--muted);
}

/* FAQ */
.faq .section-title {
  margin-bottom: 32px;
}
.qa {
  border-bottom: 1.5px solid var(--line);
}
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 2px;
  font-weight: 800;
  font-size: 18px;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary .i {
  transition: transform 0.25s ease;
  color: var(--blue);
}
.qa[open] summary .i {
  transform: rotate(180deg);
}
.qa p {
  padding: 0 2px 22px;
  color: var(--muted);
  max-width: 44em;
}

/* Final CTA */
.final {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: 84px 0 96px;
  text-align: center;
}
.c3 {
  width: 460px;
  height: 460px;
  left: -200px;
  top: -200px;
  background: var(--navy-2);
}
.c4 {
  width: 380px;
  height: 380px;
  right: -160px;
  bottom: -200px;
  background: rgba(49, 112, 227, 0.35);
  animation: breathe 9s ease-in-out infinite;
}
.final-in {
  position: relative;
}
.final-logo {
  width: 230px;
  margin: 0 auto 30px;
}
.final h2 {
  font-size: clamp(46px, 11vw, 96px);
  font-weight: 900;
  letter-spacing: -0.035em;
}
.final h2 .accent {
  color: var(--yellow);
  margin-top: 6px;
}
.final p {
  margin-top: 22px;
  color: var(--on-navy);
  font-size: 19px;
}
.final .cta-row {
  margin-top: 34px;
}
.pulse {
  animation: pulse 2.4s ease-in-out infinite;
}

/* Footer */
.footer {
  padding: 40px 0 110px;
  border-top: 1px solid var(--line);
}
.footer-in {
  display: grid;
  gap: 24px;
}
.footer img {
  height: 42px;
  width: auto;
}
.footer-in p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
}
.footer-links > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
}
.copy {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

/* Floating CTA on phones */
.float-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 34px -10px rgba(20, 41, 106, 0.5);
  transform: translateY(160%);
  transition: transform 0.35s ease;
}
.float-cta.is-on {
  transform: none;
}

/* Reveal on scroll (only with JS; without it everything is visible). */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1);
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}
@keyframes breathe {
  0%,
  100% {
    scale: 1;
  }
  50% {
    scale: 1.06;
  }
}
@keyframes pop {
  from {
    opacity: 0;
    translate: 0 18px;
    scale: 0.9;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 216, 77, 0.55);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(255, 216, 77, 0);
  }
}

/* Tablet */
@media (min-width: 720px) {
  .notebook {
    --margin: 48px;
  }
  .hero {
    padding: 56px 0 80px;
  }
  .header-cta {
    display: inline-flex;
  }
  .note-3 {
    display: flex;
    left: 2%;
    top: 0;
    transform: rotate(-3deg);
    animation: pop 0.7s 1.4s both cubic-bezier(0.2, 1.3, 0.4, 1);
  }
  .hero-visual {
    min-height: 520px;
  }
  .hero-phone {
    top: 90px;
  }
  .sticker {
    width: 132px;
    height: 132px;
    font-size: 16px;
  }
  .feature {
    padding: 48px;
  }
  .steps,
  .perks {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  .extra-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-in {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .footer {
    padding-bottom: 40px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
  .hero-in {
    grid-template-columns: 1.02fr 1fr;
    align-items: center;
    gap: 48px;
  }
  .hero-visual {
    min-height: 560px;
  }
  .hero-visual .browser {
    width: 100%;
    margin-top: 40px;
  }
  .feature {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    padding: 64px;
  }
  .feature.flip .feature-text {
    order: 2;
  }
  .feature-visual {
    min-height: 440px;
  }
  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
  .plan-hot {
    transform: translateY(-14px);
  }
  .extra-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .float-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
  .strike-words s::after {
    transform: scaleX(1) rotate(-3deg);
  }
}

/* Parent card bars (heights here, not inline – the CSP forbids inline styles). */
.bars i:nth-child(1) {
  --h: 45%;
}
.bars i:nth-child(2) {
  --h: 60%;
}
.bars i:nth-child(3) {
  --h: 55%;
}
.bars i:nth-child(4) {
  --h: 72%;
}
.bars i:nth-child(5) {
  --h: 85%;
}

/* Phones: a calmer hero picture – phone in front, one card, the sticker on top. */
@media (max-width: 719px) {
  .hero-visual {
    min-height: 470px;
  }
  .hero-visual .browser {
    width: 82%;
    margin-top: 28px;
  }
  .hero-phone {
    left: 2%;
    top: 96px;
    width: 52%;
  }
  .sticker {
    top: -6px;
    right: -4px;
    bottom: auto;
    width: 100px;
    height: 100px;
    font-size: 13px;
    z-index: 2;
  }
  .note-1 {
    top: auto;
    bottom: 40px;
    right: 0;
    z-index: 2;
  }
  .note-2 {
    display: none;
  }
}

/* ───────── Mobile menu (a <details>, works without JS) ───────── */
.menu summary {
  list-style: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary .i {
  width: 22px;
  height: 22px;
}
.menu .menu-close,
.menu[open] .menu-open {
  display: none;
}
.menu[open] .menu-close {
  display: block;
}
.menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  padding: 8px 16px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(20, 41, 106, 0.35);
  animation: drop 0.25s ease-out;
}
.menu-panel a:not(.btn) {
  padding: 15px 4px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.menu-panel .btn {
  margin-top: 16px;
}
@media (min-width: 1024px) {
  .menu {
    display: none;
  }
}

/* The keyword heading (SEO) keeps the look of the small kicker pill. */
h1.kicker {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: normal;
}

/* ───────── Animations ───────── */

/* Reading progress along the top edge. */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
  transform-origin: 0 50%;
  transform: scaleX(var(--scroll, 0));
  pointer-events: none;
}

/* First screen: text rises in one line after another, the highlighter draws itself. */
.intro {
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}
.intro-2 {
  animation-delay: 0.1s;
}
.intro-3 {
  animation-delay: 0.22s;
}
.intro-4 {
  animation-delay: 0.34s;
}
.intro-5 {
  animation-delay: 0.46s;
}
mark {
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.hero-title mark {
  animation: ink 0.9s 0.55s cubic-bezier(0.6, 0, 0.2, 1) both;
}
html.js .section-title.reveal mark {
  background-size: 0% 100%;
  transition: background-size 0.9s 0.35s cubic-bezier(0.6, 0, 0.2, 1);
}
html.js .section-title.reveal.is-in mark {
  background-size: 100% 100%;
}

/* First screen picture: pieces fly in, then follow the mouse a little (main.js). */
.hero-visual .layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.hero-visual .layer:first-child {
  position: relative;
  inset: auto;
}
.hero-visual .layer > * {
  pointer-events: auto;
}
.hero-visual .layer:first-child {
  animation: fly-in 1s 0.25s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}
.layer-phone {
  animation: fly-up 1.1s 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.05) both;
}
.layer-sticker {
  animation: pop-in 0.7s 1.2s cubic-bezier(0.2, 1.5, 0.4, 1) both;
}
.sticker {
  animation: wobble 6s 2s ease-in-out infinite;
}

/* Buttons: a light sweeps across the main call to action now and then. */
.shine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.shine::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  animation: shine 5s 1.8s ease-in-out infinite;
}

/* Feature blocks: the picture slides up, chips follow one by one. */
.blob {
  animation: morph 14s ease-in-out infinite;
}
html.js .feature.reveal .feature-visual > :not(.blob) {
  opacity: 0;
  translate: 0 46px;
  transition:
    opacity 0.8s 0.2s ease,
    translate 1s 0.2s cubic-bezier(0.2, 0.8, 0.3, 1);
}
html.js .feature.reveal.is-in .feature-visual > :not(.blob) {
  opacity: 1;
  translate: 0 0;
}
html.js .feature.reveal .feature-visual > .phone.mini {
  transition-delay: 0.55s;
}
html.js .feature.reveal .chips li {
  opacity: 0;
  translate: 0 12px;
  transition:
    opacity 0.5s ease,
    translate 0.5s cubic-bezier(0.2, 0.8, 0.3, 1);
}
html.js .feature.reveal.is-in .chips li {
  opacity: 1;
  translate: 0 0;
}
.chips li:nth-child(1) {
  transition-delay: 0.45s;
}
.chips li:nth-child(2) {
  transition-delay: 0.55s;
}
.chips li:nth-child(3) {
  transition-delay: 0.65s;
}
.chips li:nth-child(4) {
  transition-delay: 0.75s;
}

/* Exam card: the right option turns green, then "left the exam" slides in. */
.exam-card .options li,
.exam-card .options li span {
  transition:
    background-color 0.4s 1.3s ease,
    border-color 0.4s 1.3s ease,
    color 0.4s 1.3s ease;
}
html.js .feature:not(.is-in) .exam-card .options li.is-correct {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
}
html.js .feature:not(.is-in) .exam-card .options li.is-correct span {
  background: transparent;
  border-color: var(--line);
  color: inherit;
}
.exam-alert {
  transition:
    translate 0.5s 2.1s cubic-bezier(0.2, 0.9, 0.3, 1.1),
    opacity 0.5s 2.1s ease;
}
html.js .feature:not(.is-in) .exam-alert {
  translate: 0 100%;
  opacity: 0;
}

/* PDF card: questions come out of the PDF one by one and get approved. */
.pdf-doc {
  animation: bob 5s ease-in-out infinite;
}
.pdf-q,
.found {
  transition:
    opacity 0.5s ease,
    translate 0.6s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.pdf-q .ok {
  transition: scale 0.35s cubic-bezier(0.2, 1.6, 0.4, 1);
}
html.js .feature:not(.is-in) .found,
html.js .feature:not(.is-in) .pdf-q {
  opacity: 0;
  translate: 28px 0;
}
html.js .feature:not(.is-in) .pdf-q .ok {
  scale: 0;
}
.found {
  transition-delay: 0.6s;
}
.pdf-q:nth-child(2) {
  transition-delay: 0.8s;
}
.pdf-q:nth-child(3) {
  transition-delay: 1s;
}
.pdf-q:nth-child(4) {
  transition-delay: 1.2s;
}
.pdf-q:nth-child(2) .ok {
  transition-delay: 1.4s;
}
.pdf-q:nth-child(3) .ok {
  transition-delay: 1.6s;
}
.pdf-q:nth-child(4) .ok {
  transition-delay: 1.8s;
}

/* Parent card: the score bars grow, "paid" pops. */
.bars i {
  transition: height 0.9s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.bars i:nth-child(2) {
  transition-delay: 0.1s;
}
.bars i:nth-child(3) {
  transition-delay: 0.2s;
}
.bars i:nth-child(4) {
  transition-delay: 0.3s;
}
.bars i:nth-child(5) {
  transition-delay: 0.4s;
}
html.js .feature:not(.is-in) .bars i {
  height: 0;
}
.paid {
  transition: scale 0.4s 1.1s cubic-bezier(0.2, 1.6, 0.4, 1);
}
html.js .feature:not(.is-in) .paid {
  scale: 0;
}

/* Panel: the small phone floats beside the computer. */
.feature-visual .phone.mini img {
  animation: none;
}
.feature-visual .phone.mini {
  animation: bob 6s 1s ease-in-out infinite;
}

/* Lists come in one after another (main.js sets --d). */
html.js .reveal {
  transition-delay: var(--d, 0s);
}
html.js .step.reveal .step-n {
  scale: 0.3;
  opacity: 0;
  transition:
    scale 0.5s calc(var(--d, 0s) + 0.25s) cubic-bezier(0.2, 1.6, 0.4, 1),
    opacity 0.3s calc(var(--d, 0s) + 0.25s) ease;
}
html.js .step.reveal.is-in .step-n {
  scale: 1;
  opacity: 1;
}

/* Hover life on cards. */
.plan,
.extra,
.step {
  transition:
    translate 0.25s ease,
    box-shadow 0.25s ease;
}
.plan:hover,
.extra:hover,
.step:hover {
  translate: 0 -6px;
  box-shadow: var(--shadow);
}
.extra:hover .extra-ic {
  animation: wiggle 0.5s ease;
}
html.js .plan.reveal,
html.js .extra.reveal,
html.js .step.reveal {
  transition:
    opacity 0.7s var(--d, 0s) ease,
    transform 0.7s var(--d, 0s) cubic-bezier(0.2, 0.8, 0.3, 1),
    translate 0.25s ease,
    box-shadow 0.25s ease;
}

/* Final call to action: the circles drift slowly. */
.c3 {
  animation: drift 16s ease-in-out infinite;
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 26px;
  }
}
@keyframes ink {
  from {
    background-size: 0% 100%;
  }
}
@keyframes fly-in {
  from {
    opacity: 0;
    translate: 60px 30px;
  }
}
@keyframes fly-up {
  from {
    opacity: 0;
    translate: 0 120px;
  }
}
@keyframes pop-in {
  from {
    opacity: 0;
    scale: 0.3;
  }
}
@keyframes wobble {
  0%,
  100% {
    rotate: 0deg;
  }
  50% {
    rotate: 10deg;
  }
}
@keyframes shine {
  0% {
    left: -60%;
  }
  25%,
  100% {
    left: 130%;
  }
}
@keyframes morph {
  0%,
  100% {
    border-radius: 50%;
  }
  33% {
    border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
  }
  66% {
    border-radius: 44% 56% 46% 54% / 55% 44% 56% 45%;
  }
}
@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}
@keyframes wiggle {
  25% {
    rotate: -10deg;
  }
  75% {
    rotate: 8deg;
  }
}
@keyframes drift {
  50% {
    translate: 40px 30px;
  }
}
@keyframes drop {
  from {
    opacity: 0;
    translate: 0 -8px;
  }
}
