/* =========================================================================
   Saxfine /zh/ 官网
   版式参考 HarpMaster 落地页：72rem 内容宽、大标题、白卡网格、手机壳 mockup；
   主色换成 Saxfine 翡翠绿（#10a67c），金色只作点缀。
   ========================================================================= */

:root {
  --primary: #10a67c;
  --primary-ink: #0a7f5f;
  --primary-soft: #e7f6f0;
  --gold: #d89a2b;
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-2: #f4f4f5;
  --text: #18181b;
  --muted: #71717a;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --btn-bg: #0a7f5f;
  --btn-ink: #ffffff;
  --shadow-card: 0 12px 30px rgba(24, 24, 27, 0.08);
  --shadow-phone: 0 24px 60px rgba(24, 24, 27, 0.2), 0 2px 8px rgba(24, 24, 27, 0.1);
  --radius: 1rem;
  --radius-sm: 0.75rem;
  --wrap: 72rem;
  --font: "Inter", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

html[data-theme="dark"] {
  --primary: #3ddcae;
  --primary-ink: #4fe0b6;
  --primary-soft: rgba(61, 220, 174, 0.14);
  --gold: #f0b74a;
  --bg: #0a0a0a;
  --surface: #18181b;
  --surface-2: #212124;
  --text: #fafafa;
  --muted: #a1a1aa;
  --border: #27272a;
  --border-strong: #3f3f46;
  --btn-bg: #3ddcae;
  --btn-ink: #04231b;
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.4);
  --shadow-phone: 0 24px 60px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--primary);
  color: #fff;
}

img,
svg { display: block; }

a { color: inherit; }

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 4rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
h3 { font-size: 1.25rem; line-height: 1.35; }
h4 { font-size: 0.75rem; }

p { margin: 0; }

strong { font-weight: 650; }

code {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
  background: var(--surface-2);
  border-radius: 6px;
  padding: 1px 6px;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--btn-bg);
  color: var(--btn-ink);
  padding: 0.7rem 1rem;
  border-radius: 0.6rem;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- 基础排版 ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 6rem;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 2.75rem;
}

.section-head h2 { margin-top: 0.75rem; }

.section-sub {
  margin-top: 1rem;
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--primary-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.fineprint {
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--muted);
}
.fineprint a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fineprint a:hover { color: var(--text); }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }

.btn-solid {
  background: var(--btn-bg);
  color: var(--btn-ink);
  box-shadow: 0 8px 20px rgba(10, 127, 95, 0.22);
}
.btn-solid:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(10, 127, 95, 0.26);
}
html[data-theme="dark"] .btn-solid { box-shadow: 0 8px 22px rgba(61, 220, 174, 0.18); }

.btn-quiet {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-quiet:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.btn-sm {
  padding: 0.55rem 0.9rem;
  font-size: 0.875rem;
  border-radius: 0.6rem;
}

.btn[aria-disabled="true"] {
  cursor: default;
  color: var(--muted);
  border-color: var(--border);
  background: var(--surface-2);
  box-shadow: none;
  transform: none;
}

/* ---------- 顶栏 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 250, 250, 0.86);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}
html[data-theme="dark"] .site-header { background: rgba(10, 10, 10, 0.82); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex: none;
}
.brand-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(10, 127, 95, 0.2);
}
.brand-name {
  font-size: 1.0625rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 0.6rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s;
}
.theme-toggle:hover { background: var(--surface-2); color: var(--text); }
.theme-toggle svg { width: 1.25rem; height: 1.25rem; }
.theme-toggle .ic-sun,
.theme-toggle .ic-moon,
.theme-toggle .ic-auto { display: none; }
html[data-theme="light"]:not([data-theme-pref]) .theme-toggle .ic-sun { display: block; }
html[data-theme="dark"]:not([data-theme-pref]) .theme-toggle .ic-moon { display: block; }
html[data-theme-pref="auto"] .theme-toggle .ic-auto { display: block; }

.menu-btn {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.35rem;
  border: 0;
  border-radius: 0.6rem;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.menu-btn svg { width: 1.35rem; height: 1.35rem; }
.menu-btn:hover { background: var(--surface-2); }

.mobile-menu {
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-menu nav {
  display: grid;
  gap: 0.25rem;
  padding-block: 0.75rem 1rem;
}
.mobile-menu a:not(.btn) {
  padding: 0.7rem 0.25rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:not(.btn):hover { color: var(--text); }
.mobile-menu .btn { margin-top: 0.75rem; }

/* ---------- 首屏 ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 4rem;
  padding-block: 4.5rem 6.5rem;
}

.hero-copy h1 {
  margin-top: 0.25rem;
  text-wrap: balance;
}

.lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1.1875rem;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--muted);
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-points li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--primary);
  flex: none;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1rem;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -6% -2%;
  z-index: -1;
  background:
    radial-gradient(closest-side, rgba(16, 166, 124, 0.16), transparent 72%),
    radial-gradient(closest-side at 70% 75%, rgba(216, 154, 43, 0.12), transparent 70%);
  filter: blur(6px);
}

/* 手机壳 */
.phone {
  width: min(280px, 100%);
  padding: 8px;
  background: #18181b;
  border-radius: 40px;
  box-shadow: var(--shadow-phone);
}
.phone-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  border-radius: 32px;
  background: var(--surface);
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-phone {
  width: min(292px, 100%);
  transform: rotate(-1.2deg);
}

.hero-chip {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 0.15rem;
  padding: 0.65rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  box-shadow: var(--shadow-card);
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--muted);
  animation: float 6s ease-in-out infinite;
}
.hero-chip strong {
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 650;
}
.hero-chip-a { top: 14%; left: -2%; }
.hero-chip-b { right: -2%; bottom: 17%; animation-delay: -3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* 首屏入场 */
.hero-copy > * {
  animation: rise-in 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.hero-copy > :nth-child(4) { animation-delay: 0.18s; }
.hero-copy > :nth-child(5) { animation-delay: 0.24s; }
.hero-visual { animation: rise-in 0.9s 0.1s cubic-bezier(0.2, 0.7, 0.3, 1) both; }

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

/* ---------- 功能卡 ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 0.9rem;
}
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p {
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--muted);
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1.1rem;
  color: var(--primary-ink);
  font-size: 0.875rem;
  font-weight: 600;
}
.more i {
  font-style: normal;
  transition: transform 0.2s ease;
}
.feature-card:hover .more i { transform: translateX(4px); }

/* ---------- 手机截图排布 ---------- */

.phone-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
  justify-items: center;
}

.shot {
  margin: 0;
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 1rem;
}
.shot figcaption {
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ---------- 练习模式 ---------- */

.mode-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr);
  gap: 3.5rem;
  align-items: center;
}

.mode-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}
.mode-list li {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
.mode-list li:first-child { padding-top: 0; }
.mode-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.mode-list strong {
  font-size: 0.9375rem;
  font-weight: 650;
  color: var(--text);
}
.mode-list span {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}

.mode-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  justify-items: center;
}
.mode-shots .phone { width: min(220px, 100%); border-radius: 32px; padding: 6px; }
.mode-shots .phone-screen { border-radius: 26px; }
.mode-shots figcaption { font-size: 0.75rem; }

/* ---------- 左右分栏 ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}
.split-copy h2 { margin-top: 0.75rem; }

.split-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  justify-items: center;
}
.split-shots .phone { width: min(230px, 100%); }
.split-shots figcaption { font-size: 0.75rem; }
.split-shots.single { grid-template-columns: minmax(0, 1fr); }
.split-shots.single .phone { width: min(260px, 100%); }

.split.reverse .split-copy { order: 2; }
.split.reverse .split-shots { order: 1; }

.check-list {
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  max-width: 32rem;
}
.check-list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-ink);
  font-size: 0.65rem;
  font-weight: 700;
}

/* ---------- 教师版色带 ---------- */

.teacher-band {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.teacher-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
  padding-block: 6rem;
}
.teacher-inner .split-copy h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
.teacher-shots { justify-items: center; }

/* ---------- 下载 ---------- */

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.download-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}
.download-card h3 { font-size: 1.0625rem; }
.download-card p {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}
.download-card .btn { align-self: flex-start; margin-top: 0.35rem; }

.end-tag {
  align-self: flex-start;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-ink);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.download-fineprint { margin-top: 1.5rem; }

/* ---------- FAQ ---------- */

.faq { max-width: 56rem; }

.faq details {
  border-bottom: 1px solid var(--border);
}
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--muted);
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  padding: 0 2rem 1.25rem 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* ---------- 末屏 ---------- */

.final-cta {
  text-align: center;
  padding-block: 6rem 7rem;
}
.final-cta .section-sub { margin-inline: auto; }
.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.final-cta .fineprint { margin-top: 1.1rem; }

/* ---------- 页脚 ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand .brand { margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.8125rem; line-height: 1.7; }
.footer-brand .version { margin-top: 0.35rem; font-size: 0.75rem; }

.footer-grid h4 {
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.footer-grid ul a {
  color: var(--muted);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 0.18s;
}
.footer-grid ul a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
}

/* ---------- 滚动显现 ---------- */
/* 只有 JS 可用时才隐藏，避免脚本失败后正文永久不可见。
   隐藏选择器用 :where() 降权，确保 .is-in 一定能覆盖（含 .faq details）。 */
.js :where(
  .section-head,
  .feature-card,
  .shot,
  .mode-list,
  .split-copy > *,
  .download-card,
  .faq details,
  .final-cta > *
) {
  opacity: 0;
  transform: translateY(16px);
}
.js .is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.65s cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 响应式 ---------- */

@media (max-width: 1100px) {
  .hero-chip { display: none; }
  .hero { gap: 3rem; }
  .hero-phone { transform: none; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; }

  .hero {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding-block: 3.5rem 5rem;
    text-align: left;
  }
  .hero-visual { order: 2; }
  .hero-phone { width: min(280px, 78vw); }

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

  .mode-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .mode-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
  .mode-list li { grid-template-columns: 4.75rem minmax(0, 1fr); }

  .split,
  .teacher-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .split.reverse .split-copy,
  .split.reverse .split-shots { order: 0; }

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

@media (max-width: 640px) {
  .wrap { padding-inline: 1.25rem; }
  .section { padding-block: 4.5rem; }
  .section-head { margin-bottom: 2rem; }
  .section-sub { font-size: 1rem; }

  .hero { padding-block: 2.5rem 4rem; }
  .lead { font-size: 1.0625rem; }
  .hero-actions .btn { width: 100%; }

  .feature-grid { grid-template-columns: 1fr; gap: 1rem; }
  .feature-card { padding: 1.35rem; }

  .phone-row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    margin-inline: -1.25rem;
    padding-inline: 1.25rem;
    -webkit-overflow-scrolling: touch;
  }
  .phone-row .shot {
    flex: 0 0 68vw;
    scroll-snap-align: center;
  }
  .phone-row .phone { width: 100%; }

  .mode-list { grid-template-columns: 1fr; }
  .mode-shots {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    margin-inline: -1.25rem;
    padding-inline: 1.25rem;
    -webkit-overflow-scrolling: touch;
  }
  .mode-shots .shot {
    flex: 0 0 58vw;
    scroll-snap-align: center;
  }
  .mode-shots .phone { width: 100%; }

  .split-shots .phone { width: 100%; border-radius: 30px; }
  .split-shots .phone-screen { border-radius: 24px; }

  .teacher-inner { padding-block: 4.5rem; }

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

  .final-cta { padding-block: 4.5rem 5rem; }
  .final-actions .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 360px) {
  .nav-cta { display: none; }
  .phone-row .shot { flex-basis: 76vw; }
  .mode-shots .shot { flex-basis: 66vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js :where(
    .section-head,
    .feature-card,
    .shot,
    .mode-list,
    .split-copy > *,
    .download-card,
    .faq details,
    .final-cta > *
  ) { opacity: 1; transform: none; }
}
