:root {
  color-scheme: dark;
  --bg: #03060b;
  --bg-2: #07101b;
  --surface: rgba(9, 17, 30, 0.78);
  --surface-2: rgba(12, 24, 42, 0.92);
  --surface-3: rgba(18, 33, 56, 0.78);
  --text: #f8fbff;
  --muted: #a8b7cc;
  --muted-2: #72839b;
  --line: rgba(171, 207, 255, 0.16);
  --line-strong: rgba(63, 163, 255, 0.42);
  --primary: #0b8cff;
  --primary-2: #37d5ff;
  --success: #33e6a1;
  --warning: #ffd166;
  --danger: #ff5a7d;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.3);
  --glow: 0 0 0 1px rgba(55, 213, 255, 0.16), 0 22px 60px rgba(11, 140, 255, 0.28);
  --radius: 8px;
  --max: 1160px;
  --header-h: 74px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f2f7ff;
  --bg-2: #ffffff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-2: rgba(255, 255, 255, 0.96);
  --surface-3: rgba(232, 242, 255, 0.88);
  --text: #0d1728;
  --muted: #52657d;
  --muted-2: #75859a;
  --line: rgba(19, 67, 130, 0.14);
  --line-strong: rgba(11, 140, 255, 0.34);
  --primary: #056fe8;
  --primary-2: #0aa8d7;
  --success: #0f9f6e;
  --warning: #ad7410;
  --danger: #ca3158;
  --shadow: 0 28px 80px rgba(24, 72, 132, 0.16);
  --shadow-soft: 0 16px 46px rgba(24, 72, 132, 0.12);
  --glow: 0 0 0 1px rgba(5, 111, 232, 0.12), 0 20px 52px rgba(5, 111, 232, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(120deg, rgba(11, 140, 255, 0.18), transparent 36%),
    linear-gradient(245deg, rgba(55, 213, 255, 0.1), transparent 32%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 48%, var(--bg));
  color: var(--text);
  transition: background 260ms ease, color 260ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(171, 207, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(171, 207, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 62%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(11, 140, 255, 0.28), transparent 46%),
    linear-gradient(90deg, transparent, rgba(55, 213, 255, 0.05), transparent);
}

:root[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(20, 67, 125, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 67, 125, 0.05) 1px, transparent 1px);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(20px);
}

.nav {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 18px rgba(11, 140, 255, 0.42));
}

.brand span {
  font-size: 1.04rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.93rem;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle,
.menu-toggle {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.theme-toggle {
  padding: 0 12px;
  font-size: 0.84rem;
  font-weight: 800;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  gap: 4px;
}

.menu-toggle i {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.theme-toggle:hover,
.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.mobile-menu {
  padding: 12px 0 18px;
  border-top: 1px solid var(--line);
}

.mobile-menu a {
  display: block;
  padding: 13px 0;
  color: var(--muted);
}

.mobile-menu a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent),
    linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #ffffff;
  box-shadow: var(--glow);
  font-weight: 900;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 58px rgba(11, 140, 255, 0.34);
}

.button.secondary {
  border-color: var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    var(--surface);
  color: var(--text);
  box-shadow: none;
}

.button.block {
  width: 100%;
}

.telegram-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 35;
  min-height: 50px;
  border-radius: 999px;
}

section {
  padding: 58px 0;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-premium {
  min-height: min(760px, calc(88vh - var(--header-h)));
  display: grid;
  align-items: center;
  padding: 32px 0 38px;
}

.hero-premium::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(55, 213, 255, 0.42), transparent);
}

.hero-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-badge {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.hero-badge span,
.timer-label span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--warning);
  box-shadow: 0 0 20px color-mix(in srgb, var(--warning) 55%, transparent);
}

.eyebrow {
  color: var(--primary-2);
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 780px;
  font-size: clamp(2.65rem, 5.5vw, 4.55rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.72rem, 4.2vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.04rem;
  line-height: 1.28;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.03rem, 2vw, 1.2rem);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
}

.hero-proof span {
  min-height: 68px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-proof b {
  display: block;
  margin-bottom: 4px;
  color: var(--primary-2);
  font-size: 0.98rem;
}

.hero-stage {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 462px;
}

.phone-card {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 28%),
    color-mix(in srgb, var(--surface-2) 96%, transparent);
  box-shadow: var(--shadow), var(--glow);
  transform: perspective(1100px) rotateY(-8deg) rotateX(3deg);
}

.phone-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  pointer-events: none;
}

.phone-top {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding-bottom: 14px;
  color: var(--muted);
}

.back-mark {
  width: 18px;
  height: 18px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.phone-top img {
  width: 34px;
  height: 34px;
}

.phone-top strong,
.phone-top small {
  display: block;
}

.phone-top strong {
  color: var(--text);
}

.phone-top i {
  width: 4px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(var(--muted), var(--muted)) center / 4px 4px repeat-y;
}

.chat-bubble {
  width: max-content;
  max-width: 78%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface-3) 92%, transparent);
}

.chat-bubble strong,
.chat-bubble span {
  display: block;
}

.chat-bubble span,
.materials-list small,
.materials-list em {
  color: var(--muted);
  font-size: 0.83rem;
}

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

.subject-chips span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  color: var(--text);
  font-size: 0.83rem;
  text-align: center;
}

.subject-chips span:first-child {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(11, 140, 255, 0.28);
}

.materials-list {
  display: grid;
  gap: 8px;
}

.materials-list div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
}

.materials-list b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 42px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff5347, #ff8a47);
  color: #ffffff;
  font-size: 0.72rem;
}

.materials-list strong,
.materials-list small {
  display: block;
}

.phone-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.phone-nav span {
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.phone-nav span:first-child {
  color: var(--primary-2);
}

.hero-sidecards {
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 1;
  display: none;
  width: 124px;
  transform: translateY(-50%);
  gap: 14px;
}

.hero-sidecards div {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 18%, transparent), transparent),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero-sidecards strong,
.hero-sidecards span {
  display: block;
}

.hero-sidecards strong {
  margin-bottom: 7px;
}

.hero-sidecards span {
  color: var(--muted);
  font-size: 0.82rem;
}

.timer {
  padding: 0;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 68%, transparent);
}

.timer-wrap {
  display: grid;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-inline: 1px solid var(--line);
}

.timer-label {
  display: flex;
  align-items: center;
  gap: 14px;
}

.timer-label h2 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.timer-item {
  padding: 14px 10px;
  background: color-mix(in srgb, var(--surface-2) 94%, transparent);
  text-align: center;
}

.timer-item strong {
  display: block;
  font-size: clamp(1.55rem, 6vw, 2.4rem);
  line-height: 1;
}

.timer-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
  line-height: 1.68;
}

.row-head {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.text-link {
  color: var(--primary-2);
  font-weight: 900;
  white-space: nowrap;
}

.grid-3,
.subjects-grid,
.steps-grid,
.reviews-grid,
.contact-grid,
.lead-layout {
  display: grid;
  gap: 14px;
}

.feature-card,
.subject-card,
.step,
.review,
.faq-item,
.contact-card,
.form-card,
.content-panel,
.hero-panel,
.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), transparent 36%),
    var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.feature-card,
.subject-card,
.step,
.review,
.contact-card,
.form-card {
  padding: 20px;
}

.feature-card,
.subject-card,
.step,
.review {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.subject-card:hover,
.step:hover,
.review:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft), 0 0 34px rgba(11, 140, 255, 0.16);
}

.feature-card b,
.subject-card b,
.step b,
.review span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  margin-bottom: 16px;
  padding: 0 8px;
  border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--primary) 16%, transparent);
  color: var(--primary-2);
  box-shadow: 0 0 22px rgba(11, 140, 255, 0.16);
}

.subject-card b {
  font-size: 1.15rem;
}

.feature-card p,
.subject-card p,
.step p,
.review p,
.contact-card p {
  color: var(--muted);
  line-height: 1.62;
}

.subject-card {
  min-height: 168px;
  display: flex;
  flex-direction: column;
}

.subject-card h2,
.subject-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.subject-card p {
  margin-bottom: 0;
}

.subject-card .linkline {
  margin-top: auto;
  padding-top: 18px;
  color: var(--primary-2);
  font-weight: 900;
}

.premium-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.answers-section {
  padding-bottom: 42px;
}

.answers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 14%, transparent), transparent 42%),
    var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.answers-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface-2) 82%, transparent);
  color: var(--text);
  font-weight: 800;
}

.answers-list span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--primary-2);
  box-shadow: 0 0 16px color-mix(in srgb, var(--primary-2) 60%, transparent);
}

.premium-steps {
  position: relative;
}

.step {
  min-height: 182px;
}

.review span {
  border-radius: 999px;
}

.final-section {
  padding-bottom: 72px;
}

.final-grid {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

.faq-block {
  min-width: 0;
}

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

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.faq-item button span {
  color: var(--primary-2);
  font-size: 1.25rem;
  font-weight: 900;
}

.faq-panel {
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.66;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 26px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 20%, transparent), transparent 42%),
    linear-gradient(260deg, color-mix(in srgb, var(--primary-2) 14%, transparent), transparent 38%),
    var(--surface-2);
}

.cta-band p {
  color: var(--muted);
  line-height: 1.62;
}

.form-card {
  margin-top: 18px;
  box-shadow: none;
}

.form-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface-2) 84%, transparent);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-card textarea {
  resize: vertical;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--success);
  font-size: 0.92rem;
}

.page-hero {
  padding: 52px 0 34px;
}

.page-hero .lead {
  max-width: 840px;
}

.hero-panel {
  overflow: hidden;
  padding: 8px;
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.content-panel {
  padding: 24px;
  color: var(--muted);
  line-height: 1.72;
}

.content-panel h2,
.content-panel h3 {
  color: var(--text);
}

.contact-card .button {
  margin-top: 12px;
}

.site-footer {
  padding: 34px 0 88px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: color-mix(in srgb, var(--bg) 52%, transparent);
}

.footer-grid {
  display: grid;
  gap: 18px;
}

.site-footer p {
  margin-bottom: 0;
}

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

.footer-links a:hover {
  color: var(--text);
}

@media (min-width: 620px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .premium-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .grid-3,
  .steps-grid,
  .reviews-grid,
  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lead-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 760px) {
  .timer-wrap {
    grid-template-columns: 0.82fr 1.18fr;
  }

  .subjects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .hero-sidecards {
    display: grid;
  }

  .phone-card {
    margin-left: 12px;
  }

  .subjects-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .premium-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .final-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (max-width: 939px) {
  .hero-stage {
    min-height: auto;
  }

  .phone-card {
    transform: none;
  }

  .row-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .nav-actions .button {
    display: none;
  }

  .hero-premium {
    min-height: auto;
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .subject-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .materials-list div {
    grid-template-columns: auto 1fr;
  }

  .materials-list em {
    grid-column: 2;
  }

  .timer-wrap {
    padding-inline: 0;
    border-inline: 0;
  }

  .timer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .telegram-float {
    display: none;
  }
}

@media (max-width: 420px) {
  .phone-card {
    padding: 14px;
    border-radius: 22px;
  }

  .subject-chips {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: reveal 680ms ease both;
  }

  .phone-card {
    animation: floatSoft 7s ease-in-out infinite;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: perspective(1100px) rotateY(-8deg) rotateX(3deg) translateY(0);
  }
  50% {
    transform: perspective(1100px) rotateY(-8deg) rotateX(3deg) translateY(-8px);
  }
}

@media (max-width: 939px), (prefers-reduced-motion: reduce) {
  .phone-card {
    animation: none;
  }
}
