:root {
  --bg: #f5f5f2;
  --surface: #ffffff;
  --surface-soft: #eceee9;
  --surface-warm: #f3eadb;
  --ink: #0f1115;
  --muted: #525965;
  --subtle: #6e7582;
  --line: rgba(15, 17, 21, 0.1);
  --line-strong: rgba(15, 17, 21, 0.18);
  --amber: #b45309;
  --accent: #d97706;
  --green: #15803d;
  --green-soft: #e7f4eb;
  --shadow-sm: 0 1px 2px rgba(15, 17, 21, 0.04), 0 4px 12px rgba(15, 17, 21, 0.04);
  --shadow-md: 0 4px 10px rgba(15, 17, 21, 0.04), 0 18px 38px rgba(15, 17, 21, 0.07);
  --font-serif: "Source Serif 4", "Charter", "Georgia", "Times New Roman", serif;
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

html,
body {
  margin: 0;
  overflow-x: clip;
}

body {
  line-height: 1.6;
  background:
    radial-gradient(920px 520px at 84% 0%, rgba(255, 255, 255, 0.85), transparent 62%),
    radial-gradient(640px 420px at 8% 14%, rgba(217, 119, 6, 0.05), transparent 60%),
    var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
summary:focus-visible,
iframe:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}

.shell {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

.skip {
  position: absolute;
  top: -72px;
  left: 20px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  z-index: 120;
  border-radius: 10px;
}

.skip:focus {
  top: 16px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 12px;
  z-index: 80;
  width: calc(100% - 32px);
  max-width: 1140px;
  height: 64px;
  margin-top: 14px;
  margin-bottom: 10px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 17, 21, 0.08);
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.header.is-scrolled {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(15, 17, 21, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-tile {
  display: block;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  transition: transform 0.25s ease;
}

.brand:hover .brand-tile {
  transform: rotate(-3deg) scale(1.03);
}

.brand-tile svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-name {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

/* ---------- Buttons & Links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button.dark {
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(15, 17, 21, 0.14);
}

.button.dark:hover {
  background: #232730;
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 17, 21, 0.2);
}

.button.small {
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 14px;
  gap: 8px;
}

.glass-button {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.glass-button:hover {
  background: #fff;
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1.5px solid rgba(15, 17, 21, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.arrow-ne,
.arrow-right,
.arrow-down {
  display: inline-block;
  transition: transform 0.2s ease;
}

a:hover .arrow-ne {
  transform: translate(2px, -2px);
}

a:hover .arrow-right {
  transform: translateX(3px);
}

a:hover .arrow-down {
  transform: translateY(2px);
}

/* ---------- Eyebrows ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  line-height: 1.4;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.14);
  flex-shrink: 0;
}

.dot.amber {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px;
  padding-top: 18px;
  padding-bottom: 52px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
  padding-top: 24px;
  padding-bottom: 12px;
}

h1 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 18px 0 22px;
}

.accent-word {
  color: var(--amber);
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.underline-scribble {
  position: absolute;
  left: -2%;
  bottom: -6px;
  width: 104%;
  height: 16px;
  overflow: visible;
  pointer-events: none;
}

.underline-scribble path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.underline-scribble .line-main {
  stroke: var(--accent);
  stroke-width: 4.5;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw-underline 0.8s 0.22s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.underline-scribble .line-echo {
  stroke: rgba(217, 119, 6, 0.45);
  stroke-width: 2.5;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw-underline 0.7s 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes draw-underline {
  to {
    stroke-dashoffset: 0;
  }
}

.intro {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.hero-checks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.hero-checks svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

.student-note {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 32px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.note-icon {
  color: var(--accent);
  font-size: 15px;
  line-height: 1;
}

.student-note p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.student-note strong {
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Demo Area ---------- */
.demo-area {
  position: relative;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-margin-top: 96px;
}

.demo-heading {
  margin-bottom: 12px;
}

.demo-halo {
  position: absolute;
  z-index: -1;
  top: 28px;
  width: 480px;
  max-width: 100%;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(217, 119, 6, 0.14) 0%, rgba(255, 255, 255, 0.65) 48%, transparent 72%);
  pointer-events: none;
}

.demo-area iframe {
  display: block;
  width: 100%;
  max-width: 410px;
  height: 704px;
  border: 0;
  background: transparent;
}

.demo-caption {
  margin: 10px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.demo-caption span {
  color: var(--amber);
  margin-right: 4px;
}

/* ---------- Principles Strip ---------- */
.principles {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--subtle);
  white-space: nowrap;
}

.principles-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.principles p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.separator {
  color: var(--line-strong);
  font-size: 16px;
}

/* ---------- Sections ---------- */
.section {
  padding-top: 96px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

h2 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-size: clamp(1.95rem, 3.3vw, 2.75rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 12px 0 0;
}

.section-head > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 38ch;
}

/* ---------- Feature Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 20px;
}

.feature {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.feature-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.number {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--subtle);
}

.feature-symbol {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--ink);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.feature-symbol svg {
  width: 19px;
  height: 19px;
}

.feature:hover .feature-symbol {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.feature h3 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-size: 24px;
  line-height: 1.24;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0 0 12px;
}

.feature p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* Folder stack micro-visual */
.folder-stack {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding-top: 24px;
}

.folder-stack > div {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.folder-stack > div:nth-child(2) {
  margin-left: 10px;
}

.folder-stack > div:nth-child(3) {
  margin-left: 20px;
}

.feature:hover .folder-stack > div {
  border-color: rgba(217, 119, 6, 0.35);
  background: #fffcf7;
}

.feature:hover .folder-stack > div:nth-child(1) {
  transform: translateX(4px);
}

.feature:hover .folder-stack > div:nth-child(2) {
  transform: translateX(7px);
}

.feature:hover .folder-stack > div:nth-child(3) {
  transform: translateX(10px);
}

.folder-stack > div > span:last-child {
  margin-left: auto;
  color: var(--subtle);
}

.folder-icon {
  color: var(--accent);
  font-size: 14px;
}

/* Reading micro-visual */
.reading-visual {
  margin-top: auto;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid #eadbc5;
  background: linear-gradient(135deg, #fdf6eb, #faf8f4);
}

.reading-visual > span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.reading-visual strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 6px 0 12px;
}

.progress {
  height: 6px;
  background: #e9decd;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress i {
  display: block;
  height: 100%;
  width: 68%;
  background: var(--accent);
  border-radius: 99px;
  transform-origin: left center;
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-reveal .feature:not(.is-visible) .progress i {
  width: 12%;
}

.reading-visual small {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* Download micro-visual */
.download-visual {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f3f8f4;
  border: 1px solid #d4e7d8;
  border-radius: 14px;
  padding: 16px;
}

.dl-check {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 16px;
  font-weight: 800;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.feature:hover .dl-check {
  transform: scale(1.08);
  background: #d5eedc;
}

.download-visual strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.download-visual small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- Trust Panel ---------- */
.trust-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 56px;
  border-radius: 26px;
  border: 1px solid var(--line);
  padding: 48px;
  background: var(--surface-soft);
}

.trust-intro > p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin: 18px 0 24px;
  max-width: 38ch;
}

.code-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.code-tag > span {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.trust-items {
  display: grid;
  gap: 24px;
}

.trust-items article {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 17, 21, 0.06);
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.trust-items article:hover {
  background: var(--surface);
  border-color: var(--line);
  transform: translateY(-2px);
}

.trust-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}

.trust-icon svg {
  width: 20px;
  height: 20px;
}

.trust-items h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}

.trust-items p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ---------- Community & Leaderboard ---------- */
.community {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.community-copy > p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 44ch;
  margin: 18px 0 12px;
}

.community-copy > .contribution-detail {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--subtle);
  margin: 0 0 26px;
}

.leaderboard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.leaderboard-title {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.contributor-glyph {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fbf3e6;
  color: var(--amber);
  font-size: 20px;
  flex-shrink: 0;
}

.leaderboard-title h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 2px;
}

.leaderboard-title p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.leaderboard-columns {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--subtle);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.leaderboard ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.leaderboard li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.rank {
  font-size: 14px;
  font-weight: 800;
  color: var(--subtle);
  font-variant-numeric: tabular-nums;
}

.leaderboard strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.leaderboard small {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 2px;
}

.points {
  margin-left: auto;
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
}

.leaderboard-note {
  font-size: 13.5px;
  color: var(--muted);
  margin: 14px 0 0;
}

.points-rules {
  margin-top: 10px;
}

.points-rules summary {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding: 10px 24px 8px 0;
}

.points-rules summary::after {
  font-size: 18px;
  top: 7px;
}

.points-rules p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 4px 0 4px;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.faq-makers {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 34ch;
}

.faq-makers strong {
  color: var(--ink);
  font-weight: 700;
}

.questions details {
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease;
}

.questions details:first-child {
  border-top: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  padding: 20px 32px 20px 0;
  position: relative;
  transition: color 0.2s ease;
}

summary:hover {
  color: var(--amber);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 17px;
  color: var(--muted);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

details[open] summary::after {
  content: "−";
  color: var(--ink);
}

.questions p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.68;
  margin: 0 28px 22px 0;
}

.questions a,
.policy a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(15, 17, 21, 0.3);
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.questions a:hover,
.policy a:hover {
  color: var(--amber);
  text-decoration-color: var(--amber);
}

/* ---------- Download Card ---------- */
.download-section {
  padding-top: 96px;
  padding-bottom: 84px;
}

.download-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: linear-gradient(135deg, #f3e9d8 0%, #efe9df 100%);
  border: 1px solid #e2d5be;
  border-radius: 26px;
  padding: 52px;
  box-shadow: var(--shadow-sm);
}

.download-copy {
  max-width: 540px;
}

.download-card h2 {
  font-size: clamp(2.1rem, 3.8vw, 2.9rem);
  line-height: 1.12;
}

.download-card p {
  font-size: 16.5px;
  line-height: 1.65;
  color: #574e42;
  margin: 18px 0 28px;
}

.download-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.release-status {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #6a5b45;
}

.download-decoration {
  width: 168px;
  height: 168px;
  flex-shrink: 0;
  border-radius: 38px;
  transform: rotate(-10deg);
  box-shadow: 16px 22px 36px rgba(15, 17, 21, 0.14);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.download-card:hover .download-decoration {
  transform: rotate(-5deg) translateY(-4px);
}

.download-decoration svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 44px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer .brand-tile {
  width: 32px;
  height: 32px;
}

.footer .brand-name {
  font-size: 16px;
}

.footer-brand p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer .footer-small {
  margin: 0;
  text-align: right;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--subtle);
}

/* ---------- Privacy Policy Page ---------- */
.policy {
  max-width: 780px;
  padding-top: 44px;
  padding-bottom: 88px;
}

.policy h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.2vw, 3.1rem);
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
}

.policy-lead {
  font-size: 18px;
  line-height: 1.68;
  color: var(--ink);
  margin: 0 0 32px;
}

.policy h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: -0.015em;
  margin-top: 36px;
  margin-bottom: 10px;
}

.policy p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 16px;
}

/* ---------- Scroll Reveal ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .header nav {
    gap: 20px;
  }

  .hero {
    gap: 28px;
  }

  .demo-area iframe {
    width: 376px;
    height: 672px;
  }

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

  .feature.wide {
    grid-column: 1 / -1;
  }

  .trust-panel {
    gap: 36px;
    padding: 36px;
  }

  .community,
  .faq {
    gap: 36px;
  }
}

@media (max-width: 780px) {
  .shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header {
    top: 8px;
    width: calc(100% - 24px);
    height: 58px;
    padding: 0 14px;
    margin-top: 10px;
    border-radius: 14px;
  }

  .header nav {
    display: none;
  }

  .brand-tile {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 15.5px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 16px;
    padding-bottom: 40px;
    gap: 32px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .intro {
    font-size: 16.5px;
  }

  .demo-area iframe {
    width: 100%;
    max-width: 410px;
    height: 704px;
  }

  .principles {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .section {
    padding-top: 72px;
  }

  .section-head {
    display: block;
    margin-bottom: 28px;
  }

  .section-head > p {
    margin-top: 14px;
  }

  .feature-grid,
  .trust-panel,
  .community,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature {
    padding: 24px;
  }

  .trust-panel {
    padding: 26px 22px;
    gap: 28px;
  }

  .download-section {
    padding-top: 72px;
    padding-bottom: 56px;
  }

  .download-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }

  .download-decoration {
    display: none;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer .footer-small {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: clamp(2.05rem, 8.2vw, 2.45rem);
  }

  h2 {
    font-size: clamp(1.65rem, 6.5vw, 2rem);
  }

  .intro {
    font-size: 16px;
  }

  .student-note {
    border-radius: 14px;
    max-width: 100%;
  }

  .demo-area iframe {
    height: 672px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .underline-scribble path {
    stroke-dashoffset: 0 !important;
  }

  .js-reveal [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
