@charset "UTF-8";

:root {
  --bg: #f6f4ed;
  --surface: #fcfbf7;
  --surface-muted: #efede3;
  --header-bg: rgba(246, 244, 237, 0.84);
  --ink: #1e2620;
  --muted: #6c7469;
  --subtle: #949b8f;
  --accent: #2c4537;
  --accent-hover: #21362a;
  --accent-soft: #e4ebe2;
  --line: #dfdfd3;
  --line-strong: #c9cab9;
  --shadow: 0 28px 80px rgba(24, 34, 27, 0.09), 0 4px 18px rgba(24, 34, 27, 0.04);
  --shadow-sm: 0 6px 20px rgba(24, 34, 27, 0.05);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --serif: "Instrument Serif", "Noto Serif SC", "Songti SC", Georgia, serif;
  --sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

[data-theme="dark"] {
  --bg: #111613;
  --surface: #18201b;
  --surface-muted: #1f2923;
  --header-bg: rgba(17, 22, 19, 0.84);
  --ink: #f1f0e8;
  --muted: #9aa499;
  --subtle: #687368;
  --accent: #8eb093;
  --accent-hover: #a3c2a8;
  --accent-soft: rgba(142, 176, 147, 0.14);
  --line: #26312a;
  --line-strong: #35443a;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.52), 0 6px 22px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.28);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* First-version navigation */
.top-ribbon {
  border-bottom: 1px solid var(--line);
  background: var(--bg-subtle);
  font-size: 12px;
  color: var(--ink-secondary);
  padding: 8px 24px;
}
.top-ribbon-inner {
  max-width: var(--grid-max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.ribbon-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #3d8c57;
  box-shadow: 0 0 0 0 rgba(61, 140, 87, 0.6); animation: pulse-ring 2.2s infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(61, 140, 87, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(61, 140, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 140, 87, 0); }
}
.ribbon-links { display: flex; align-items: center; gap: 18px; font-size: 11.5px; }
.ribbon-links a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-secondary); transition: color 0.2s; }
.ribbon-links a:hover { color: var(--ink); }
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: var(--surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--grid-max); margin: 0 auto; height: 70px; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 40px; height: 42px; border: 1.5px solid var(--ink); border-radius: 6px;
  display: grid; place-items: center; font-family: var(--serif); font-size: 21px;
  background: var(--bg-elevated); color: var(--ink);
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.brand:hover .brand-mark { transform: translateY(-1px); background: var(--forest-soft); }
.brand-text { display: flex; flex-direction: column; }
.brand-title { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: 0.08em; line-height: 1.1; }
.brand-sub { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.24em; color: var(--ink-muted); margin-top: 2px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 7px 13px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500;
  color: var(--ink-secondary); transition: color 0.2s, background-color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); background: var(--bg-subtle); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  display: inline-flex; align-items: center; background: var(--bg-subtle);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px;
}
.theme-btn {
  border: 0; background: transparent; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink-muted); transition: background-color 0.2s, color 0.2s;
}
.theme-btn.active { background: var(--bg-elevated); color: var(--ink); box-shadow: var(--shadow-sm); }
.theme-btn svg { width: 14px; height: 14px; }

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Hero Section - Centered */
.hero {
  padding: 84px 0 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 28px;
}

.version-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #47895c;
}

/* Smooth Character-by-Character Centered Typewriter Headline */
.hero-title {
  font-family: var(--serif);
  font-size: clamp(44px, 6.2vw, 76px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin: 0 auto 18px;
  min-height: 1.16em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.type-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  transition:
    opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.type-char.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.type-caret {
  display: inline-block;
  width: 2px;
  height: 0.78em;
  background: var(--accent);
  margin-left: 6px;
  border-radius: 2px;
  vertical-align: middle;
  animation: caret-blink 1.05s ease-in-out infinite;
  transition: opacity 0.4s ease;
}

.type-caret.done {
  opacity: 0;
}

@keyframes caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

.hero-sub {
  margin: 0 auto 32px;
  max-width: 520px;
  font-size: 16.5px;
  color: var(--muted);
  font-weight: 400;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-sub.ready {
  opacity: 1;
  transform: translateY(0);
}

/* Quick Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.08s, transform 0.6s ease 0.08s;
}

.hero-actions.ready {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1.5px);
  border-color: var(--muted);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--accent);
  color: #faf9f3;
  border-color: var(--accent);
}

[data-theme="dark"] .btn-primary {
  color: #111613;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn svg {
  width: 15px;
  height: 15px;
}

/* Demo Showcase Stage */
.showcase {
  padding: 20px 0 96px;
}

.showcase-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.tab-pill {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13px;
  transition: all 0.2s ease;
}

.tab-pill:hover {
  color: var(--ink);
  background: var(--surface-muted);
}

.tab-pill.active {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  font-weight: 500;
}

.stage-wrap {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
}

.browser-window {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.browser-bar {
  height: 42px;
  padding: 0 18px;
  background: var(--surface-muted);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.browser-dots {
  display: flex;
  gap: 7px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.browser-dots span:nth-child(1) { background: #d88979; }
.browser-dots span:nth-child(2) { background: #dbb978; }
.browser-dots span:nth-child(3) { background: #7fa67d; }

.browser-title {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}

.browser-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-step {
  border: 1px solid var(--line);
  background: var(--surface);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}

.icon-step:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.browser-viewport {
  background: var(--surface-muted);
  display: grid;
  place-items: center;
  min-height: 440px;
  cursor: zoom-in;
  overflow: hidden;
}

.browser-viewport.mobile-mode {
  padding: 28px;
}

.browser-viewport img {
  width: 100%;
  height: auto;
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.browser-viewport.mobile-mode img {
  max-width: 320px;
  border-radius: 20px;
  border: 4px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.stage-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
}

/* Floating Paper Cat Companion */
.cat-corner {
  position: absolute;
  right: -22px;
  bottom: -18px;
  width: 148px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 10px 12px 8px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.cat-corner:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.cat-corner.nod {
  animation: cat-nod 0.6s ease;
}

@keyframes cat-nod {
  35% { transform: translateY(-5px) rotate(3deg); }
  70% { transform: translateY(1px) rotate(-2deg); }
}

.cat-svg-box {
  width: 112px;
  height: 104px;
}

.cat-svg-box svg {
  width: 100%;
  height: 100%;
}

.cat-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

/* Minimal Feature Highlights (3 columns) */
.features {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature-item:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.feature-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--subtle);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 12px;
}

.feature-item h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
}

.feature-item p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* Minimal Quick Deploy Section */
.deploy {
  padding: 72px 0 96px;
  border-top: 1px solid var(--line);
}

.deploy-box {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.deploy-box h2 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  margin: 0 0 8px;
}

.deploy-box p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14.5px;
}

.code-card {
  background: #151c17;
  color: #e6ece6;
  border: 1px solid #2a372e;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.code-header {
  height: 40px;
  padding: 0 14px;
  background: #1c251f;
  border-bottom: 1px solid #2a372e;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.code-tabs {
  display: flex;
  gap: 6px;
}

.code-tab {
  border: 0;
  background: transparent;
  color: #8fa092;
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 5px 11px;
  border-radius: 6px;
}

.code-tab.active {
  background: #2b3b30;
  color: #f4f3eb;
}

.copy-btn {
  border: 1px solid #35473b;
  background: #233027;
  color: #dce5dc;
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 11px;
  transition: background-color 0.2s;
}

.copy-btn:hover {
  background: #314437;
}

.code-pre {
  margin: 0;
  padding: 20px 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  overflow-x: auto;
  color: #dce5dc;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  font-size: 12.5px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--ink);
}

/* Lightbox */
.lightbox {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 0;
  max-width: min(1200px, 94vw);
  width: 100%;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(14, 19, 15, 0.72);
  backdrop-filter: blur(5px);
}

.lightbox-bar {
  padding: 12px 18px;
  background: var(--surface-muted);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lightbox-body {
  padding: 18px;
  display: grid;
  place-items: center;
  max-height: 82vh;
  overflow: auto;
}

.lightbox-body img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 8px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 10px);
  background: var(--accent);
  color: #faf9f3;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}

[data-theme="dark"] .toast {
  color: #111613;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .cat-corner {
    position: static;
    margin: 16px auto 0;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding: 56px 0 28px;
  }
  .browser-viewport {
    min-height: 240px;
  }
}

/* Shared tokens for the restored navigation. */
:root { --grid-max:1320px; --bg-elevated:#fcfbf7; --bg-subtle:#eeeadd; --ink-secondary:#4a554c; --ink-muted:#737b70; --forest-soft:#e3ebe2; }
[data-theme="dark"] { --bg-elevated:#161f19; --bg-subtle:#1b261f; --ink-secondary:#b9c2b8; --ink-muted:#828d82; --forest-soft:rgba(136,171,142,.14); }
.site-header { background:var(--header-bg); }
.header-inner .brand { flex-shrink:0; }
.header-actions .btn-sm { height:34px; padding:7px 13px; border-radius:6px; font-size:12px; white-space:nowrap; }
.main-nav a { white-space:nowrap; }
.pulse-dot { flex-shrink:0; }
.ribbon-links { flex-wrap:wrap; }
.hero { padding-top:72px; }
.hero-school { display:flex; align-items:center; justify-content:center; gap:9px; color:var(--accent); font-size:13px; letter-spacing:.06em; margin:0 0 28px; }
.school-dot { width:6px; height:6px; border-radius:50%; background:currentColor; }
.type-caret.done { animation:none; opacity:0; }
section[id], main[id] { scroll-margin-top:94px; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.content-section { padding:78px 0; border-top:1px solid var(--line); }
.section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:40px; margin-bottom:32px; }
.section-kicker { display:block; font-family:var(--mono); font-size:10px; letter-spacing:.17em; color:var(--muted); margin-bottom:12px; }
.content-section h2 { font-family:var(--serif); font-weight:500; font-size:clamp(29px,3.3vw,39px); line-height:1.3; margin:0; }
.section-heading>p { max-width:330px; color:var(--muted); font-size:14px; margin:0 0 3px; }
.features.content-section { padding:78px 0; }
.features-grid { gap:0; border-top:1px solid var(--line); }
.feature-item { background:transparent; border:0; border-bottom:1px solid var(--line); border-radius:0; padding:28px 24px 28px 0; box-shadow:none; }
.feature-item:nth-child(3n+2),.feature-item:nth-child(3n+3) { padding-left:24px; border-left:1px solid var(--line); }
.feature-item:hover { transform:none; }
.feature-item h3 { font-size:21px; }
.feature-item p { font-size:13px; max-width:270px; }
.feature-num { margin-bottom:14px; }
.sync-panel { padding:24px 32px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.sync-controls { display:flex; gap:8px; flex-wrap:wrap; }
.sync-tab { background:transparent; border:1px solid transparent; border-radius:6px; color:var(--muted); padding:7px 12px; font-size:12px; transition:background .2s,color .2s; }
.sync-tab.active { background:var(--accent-soft); color:var(--accent); border-color:var(--line); }
.sync-flow { display:grid; grid-template-columns:1fr .65fr 1fr .65fr 1fr; align-items:center; padding:32px 36px 28px; }
.flow-node { display:flex; flex-direction:column; align-items:center; text-align:center; gap:5px; }
.flow-icon { width:42px; height:42px; display:grid; place-items:center; background:var(--surface-muted); border:1px solid var(--line); border-radius:10px; font-size:24px; margin-bottom:6px; }
.flow-node-main .flow-icon { color:var(--accent); background:var(--accent-soft); font-family:var(--serif); }
.flow-node strong { font-weight:500; font-size:14px; }
.flow-node small { font-size:11px; color:var(--muted); }
.flow-line { height:1px; background:var(--line-strong); margin-top:-42px; position:relative; overflow:hidden; }
.flow-line span { position:absolute; height:1px; width:30%; background:var(--accent); animation:flow-travel 2.8s ease-in-out infinite; }
.flow-line:nth-of-type(4) span { animation-delay:.7s; }
@keyframes flow-travel { from { transform:translateX(-110%); } to { transform:translateX(450%); } }
.sync-note { border-top:1px solid var(--line); padding-top:18px; margin:0; text-align:center; color:var(--muted); font-size:12px; }
.compatibility-grid { display:grid; grid-template-columns:1fr 1.2fr; gap:96px; }
.school-overview h2 { font-size:clamp(32px,3.6vw,44px); }
.school-english { font-family:var(--mono); font-size:9px!important; letter-spacing:.09em; margin:18px 0 26px!important; }
.school-overview p { font-size:14px; color:var(--muted); max-width:360px; margin:18px 0; }
.school-overview .compatibility-note { font-size:12px; border-left:2px solid var(--line-strong); padding-left:14px; }
.compatibility-details>div { padding:22px 0; border-bottom:1px solid var(--line); }
.compatibility-details>div:first-child { padding-top:0; }
.compatibility-details>div:last-child { border-bottom:0; padding-bottom:0; }
.compatibility-details h3 { font-size:16px; font-weight:500; margin:0 0 8px; }
.compatibility-details p { font-size:13px; color:var(--muted); margin:0; max-width:440px; }
.support-tags { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.support-tags span { font-size:10px; color:var(--muted); padding:3px 8px; border:1px solid var(--line); border-radius:4px; }
.deploy { padding:78px 0; }
.deploy-box { max-width:860px; }
.deploy-box h2 { font-size:clamp(29px,3.3vw,39px); }
.deploy-box>p { margin:12px 0 26px; }
.deploy-steps { display:grid; grid-template-columns:repeat(3,1fr); list-style:none; padding:0; margin:28px 0; gap:24px; text-align:left; }
.deploy-steps li>span { font-family:var(--mono); color:var(--subtle); font-size:10px; display:block; margin-bottom:8px; }
.deploy-steps strong { font-weight:500; font-size:14px; }
.deploy-steps p { font-size:12px; line-height:1.7; color:var(--muted); margin:6px 0 0; }
.text-link { font-size:12px; color:var(--accent); border-bottom:1px solid var(--line-strong); padding-bottom:4px; }
.faq-layout { display:grid; grid-template-columns:1fr 1.8fr; gap:72px; }
.release-link { display:block; font-size:12px; color:var(--muted); margin-top:26px; line-height:1.9; }
.release-link>span { font-family:var(--mono); color:var(--accent); padding-right:6px; }
.release-link small { font-size:11px; }
.faq-list details { border-bottom:1px solid var(--line); }
.faq-list summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 0; cursor:pointer; font-size:14px; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary span { font-size:20px; color:var(--muted); font-weight:300; transition:transform .2s; }
.faq-list details[open] summary span { transform:rotate(45deg); }
.faq-list details p { font-size:13px; color:var(--muted); margin:0 30px 22px 0; line-height:1.8; }
@media(min-width:901px) { .features-grid { grid-template-columns:repeat(3,1fr); } }
@media(max-width:1200px) { .main-nav { gap:0; } .main-nav a { font-size:12px; padding:7px 9px; } .header-inner { gap:12px; } .header-actions .btn:not(.btn-primary) { display:none; } }
@media(max-width:980px) { .header-inner { height:auto; min-height:70px; flex-wrap:wrap; padding-top:14px; padding-bottom:10px; gap:10px; } .main-nav { order:3; width:100%; overflow:auto; padding:2px 0; } .main-nav a { flex-shrink:0; padding:7px 13px; } .compatibility-grid { gap:48px; } section[id] { scroll-margin-top:135px; } }
@media(max-width:900px) { .features-grid { grid-template-columns:repeat(2,1fr); } .feature-item:nth-child(n) { padding:24px 16px 24px 0; border-left:0; } .feature-item:nth-child(2n) { padding-left:20px; border-left:1px solid var(--line); } }
@media(max-width:640px) { .container,.header-inner { padding-left:20px; padding-right:20px; } .top-ribbon { padding:10px 20px; } .top-ribbon-inner { gap:8px; } .ribbon-badge { font-size:9px; gap:8px; line-height:1.7; } .ribbon-links { font-size:9px; gap:6px 14px; } .header-actions { gap:8px; } .header-actions .btn-primary { display:none; } .brand-title { font-size:18px; } .brand-mark { width:34px; height:38px; } .hero { padding-top:46px; } .hero-school { font-size:11px; } .hero-title { font-size:clamp(28px,7.6vw,44px); flex-wrap:nowrap; letter-spacing:0; } .hero-sub { font-size:14px; max-width:320px; } .hero-actions { gap:8px; } .hero-actions .btn { padding:0 16px; height:40px; font-size:12px; } .showcase { padding-bottom:56px; } .showcase-tabs { gap:2px; } .tab-pill { font-size:11px; padding:6px 10px; } .content-section,.features.content-section,.deploy { padding:52px 0; } .section-heading { display:block; margin-bottom:24px; } .section-heading>p { margin-top:14px; font-size:13px; } .sync-panel { padding:16px; } .sync-controls { gap:2px; } .sync-tab { padding:6px 9px; font-size:11px; } .sync-flow { padding:28px 0 24px; grid-template-columns:1fr .22fr 1fr .22fr 1fr; } .flow-node strong { font-size:12px; } .flow-node small { font-size:9px; } .flow-icon { width:36px; height:36px; font-size:21px; } .sync-note { font-size:11px; text-align:left; } .feature-item h3 { font-size:18px; } .feature-item p { font-size:12px; } .compatibility-grid,.faq-layout { grid-template-columns:1fr; gap:28px; } .school-overview h2 br { display:none; } .school-english { margin:12px 0 20px!important; } .deploy-steps { grid-template-columns:1fr; gap:18px; } .deploy-steps li { display:grid; grid-template-columns:26px 1fr; column-gap:8px; } .deploy-steps li>span { grid-row:span 2; padding-top:3px; } .deploy-steps li p { grid-column:2; margin-top:4px; } .code-header { height:auto; padding:10px; gap:8px; align-items:flex-start; } .code-tabs { flex-wrap:wrap; gap:2px; } .code-tab { font-size:10px; padding:5px 7px; } .copy-btn { white-space:nowrap; } .code-pre { font-size:11px; padding:16px; } .faq-list summary { font-size:13px; } .footer-links { flex-wrap:wrap; gap:12px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none!important; transition:none!important; } }

.main-nav { scrollbar-width:none; }
.main-nav::-webkit-scrollbar { display:none; }
