:root {
  --primary: #2557d6;
  --primary-dark: #153a93;
  --teal: #0f766e;
  --amber: #a16207;
  --ink: #111827;
  --muted: #667085;
  --quiet: #98a2b3;
  --on-dark-muted: #d9e6ee;
  --line: #dde5f0;
  --line-strong: #c8d4e4;
  --paper: #ffffff;
  --page: #f6f8fb;
  --mist: #eef4fa;
  --mist-cool: #edf7f5;
  --dark: #102331;
  --dark-2: #0d1823;
  --dark-3: #142536;
  --cyan: #67e8f9;
  --primary-rgb: 37, 87, 214;
  --teal-rgb: 15, 118, 110;
  --dark-rgb: 16, 35, 49;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--dark);
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.content-wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 0 36px;
  border-bottom: 1px solid rgba(221, 229, 240, 0.88);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 17px;
  font-weight: 900;
}

.brand img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  flex: 0 0 36px;
  border-radius: 8px;
  object-fit: cover;
}

.nav {
  justify-content: center;
  gap: 8px;
  scrollbar-width: none;
}

.mobile-menu {
  display: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a,
.footer a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.nav a {
  padding: 9px 12px;
}

.nav a:hover,
.nav a.active,
.footer a:hover {
  color: var(--primary);
  background: rgba(37, 87, 214, 0.08);
}

.nav-action,
.primary-link,
.secondary-link,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 900;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.nav-action,
.primary-link {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 14px 32px rgba(var(--primary-rgb), 0.25);
}

.nav-action {
  padding: 0 17px;
  white-space: nowrap;
}

.mobile-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(37, 87, 214, 0.18);
  border-radius: 8px;
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 168px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.14);
}

.mobile-menu-panel a {
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.mobile-menu-panel a:hover {
  color: var(--primary);
  background: rgba(37, 87, 214, 0.08);
}

.primary-link,
.secondary-link {
  padding: 0 24px;
}

.secondary-link {
  color: var(--primary-dark);
  border: 1px solid rgba(37, 87, 214, 0.22);
  background: #fff;
}

.nav-action:hover,
.primary-link:hover,
.secondary-link:hover,
.download-button:hover {
  transform: translateY(-1px);
}

.hero-minimal {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 22%, rgba(var(--teal-rgb), 0.32), transparent 32%),
    radial-gradient(circle at 22% 12%, rgba(var(--primary-rgb), 0.34), transparent 28%),
    linear-gradient(108deg, var(--dark-2), var(--dark-3) 58%, var(--dark));
}

.hero-minimal::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: linear-gradient(180deg, rgba(246, 248, 251, 0), var(--page));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  gap: 64px;
  align-items: center;
  min-height: 620px;
  padding: 58px 0 64px;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.hero-minimal .eyebrow,
.flow-band .eyebrow {
  color: var(--cyan);
}

.hero-copy h1 {
  max-width: 650px;
  margin: 12px 0 16px;
  font-size: 66px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 560px;
  margin: 0;
  color: #d9e6ee;
  font-size: 21px;
  font-weight: 760;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 999px;
  color: #dff8fb;
  background: rgba(255, 255, 255, 0.055);
  font-size: 12px;
  font-weight: 900;
}

.phone-stage {
  position: relative;
  min-height: 540px;
}

.phone {
  position: absolute;
  overflow: hidden;
  border: 10px solid #0b1220;
  border-radius: 34px;
  background: #f8fafc;
  box-shadow: 0 42px 92px rgba(0, 0, 0, 0.38);
}

.phone-main {
  top: 0;
  right: 46px;
  width: 292px;
  height: 552px;
  transform: rotate(4deg);
}

.phone-top {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 2;
  width: 82px;
  height: 7px;
  border-radius: 999px;
  background: #182030;
  transform: translateX(-50%);
}

.app-screen {
  height: 100%;
  padding: 44px 18px 18px;
}

.app-bar,
.board-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.app-bar b,
.board-head b {
  color: var(--primary);
}

.today-focus,
.progress-card,
.task-list span,
.preview-card,
.ui-board,
.scene-card,
.download-card,
.status-list p,
.faq-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.today-focus {
  margin-top: 18px;
  padding: 18px;
}

.today-focus small,
.progress-card span,
.preview-card span,
.board-focus small,
.board-package .rule-card span,
.board-subjective span,
.platform {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.today-focus strong,
.board-focus strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.18;
}

.today-focus p,
.board-focus p,
.board-subjective p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.progress-card {
  margin-top: 14px;
  padding: 14px;
}

.progress-card b {
  display: block;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.1;
}

.progress-card i {
  display: block;
  width: 63%;
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--teal);
}

.task-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.task-list span {
  display: block;
  padding: 13px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.preview-card {
  position: absolute;
  width: 220px;
  padding: 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.preview-card b {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.22;
}

.preview-card-left {
  left: 26px;
  bottom: 86px;
  transform: rotate(-4deg);
}

.preview-card-right {
  right: 0;
  bottom: 22px;
  transform: rotate(3deg);
}

.scene-section,
.rhythm-section,
.proof-section,
.evidence-section,
.feature-showcase,
.download-page,
.release-note,
.faq-section,
.download-status-page,
.legal-section {
  padding: 68px 0;
}

.scene-section,
.rhythm-section {
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.88), var(--page) 36%, #fff 100%);
}

.section-title {
  margin-bottom: 30px;
}

.section-title.centered {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-title h2,
.flow-band h2,
.showcase-copy h2,
.release-note h2,
.download-card h2,
.faq-list h2 {
  margin: 8px 0 0;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: 0;
}

.scene-grid,
.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

.scene-card,
.rhythm-card {
  position: relative;
  padding: 22px;
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.06);
}

.rhythm-card {
  display: grid;
  min-height: 248px;
  align-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #fff, #f8fbff);
}

.rhythm-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.86), rgba(var(--teal-rgb), 0.78));
}

.step-number {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  font-size: 12px;
  font-weight: 900;
}

.rhythm-meta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--teal);
  background: #d8f4ee;
  font-size: 12px;
  font-weight: 900;
}

.scene-card h3,
.rhythm-card h3 {
  margin: 0 0 8px;
  font-size: 25px;
  line-height: 1.22;
}

.scene-card p,
.rhythm-card p,
.showcase-copy p,
.release-note p,
.status-list span,
.faq-list p,
.download-card p {
  margin: 0;
  color: var(--muted);
}

.proof-section {
  background: #fff;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch;
}

.proof-copy,
.proof-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-copy {
  padding: 28px;
  background:
    radial-gradient(circle at 88% 8%, rgba(var(--teal-rgb), 0.16), transparent 32%),
    linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 24px 62px rgba(15, 23, 42, 0.065);
}

.proof-copy h2 {
  max-width: 480px;
  margin: 10px 0 12px;
  font-size: 46px;
  line-height: 1.1;
}

.proof-copy p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 720;
  line-height: 1.6;
}

.proof-case {
  margin-top: 24px;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(var(--teal-rgb), 0.32), transparent 34%),
    linear-gradient(135deg, var(--dark-2), var(--dark));
}

.proof-case-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--on-dark-muted);
  font-size: 12px;
  font-weight: 900;
}

.proof-case-head b {
  color: var(--cyan);
}

.proof-case ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.proof-case li {
  display: grid;
  grid-template-columns: 58px 98px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.proof-case li span,
.proof-case li b,
.proof-case li em {
  font-style: normal;
}

.proof-case li span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.proof-case li b {
  color: #fff;
  font-size: 14px;
}

.proof-case li em {
  color: rgba(217, 230, 238, 0.78);
  font-size: 13px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.proof-grid article {
  min-height: 210px;
  padding: 22px;
  background:
    linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.045);
}

.proof-grid span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.proof-grid b {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.22;
}

.proof-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.scene-visual {
  position: relative;
  height: 168px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.scene-plan span,
.scene-plan b,
.scene-plan i,
.scene-package span,
.scene-package b,
.scene-package i,
.scene-practice span,
.scene-practice b,
.scene-writing span {
  position: absolute;
  display: block;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.scene-plan span {
  top: 22px;
  left: 22px;
  width: 64%;
  height: 58px;
}

.scene-plan b {
  top: 94px;
  left: 22px;
  width: 40%;
  height: 34px;
}

.scene-plan i {
  right: 22px;
  bottom: 24px;
  width: 42%;
  height: 42px;
  background: var(--primary);
}

.scene-package span {
  top: 24px;
  left: 22px;
  right: 22px;
  height: 12px;
  border-radius: 999px;
  background: #e8eefc;
}

.scene-package b {
  top: 54px;
  left: 22px;
  width: 74%;
  height: 72px;
  border: 1px solid rgba(var(--teal-rgb), 0.22);
  background: #f2fbf8;
}

.scene-package i {
  right: 22px;
  bottom: 24px;
  width: 48%;
  height: 34px;
  background: var(--teal);
}

.scene-practice span {
  left: 22px;
  right: 22px;
  height: 38px;
}

.scene-practice span:first-child {
  top: 32px;
}

.scene-practice span:nth-child(2) {
  top: 84px;
  border: 1px solid rgba(37, 87, 214, 0.36);
  background: #eef4ff;
}

.scene-practice b {
  left: 22px;
  bottom: 24px;
  width: 58%;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
}

.scene-writing b {
  position: absolute;
  top: 28px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 10px solid #fff4d6;
  border-top-color: var(--amber);
  border-radius: 999px;
  color: var(--amber);
  font-size: 25px;
}

.scene-writing span {
  right: 24px;
  width: 48%;
  height: 34px;
}

.scene-writing span:nth-of-type(1) {
  top: 36px;
}

.scene-writing span:nth-of-type(2) {
  top: 86px;
}

.flow-band {
  padding: 58px 0;
  color: #fff;
  background: var(--dark);
}

.trust-strip {
  padding: 0 0 68px;
  background: #fff;
}

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

.trust-grid p {
  min-height: 116px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.045);
}

.trust-grid b,
.trust-grid span {
  display: block;
}

.trust-grid b {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.trust-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.flow-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.flow-band h2 {
  margin: 0;
  font-size: 34px;
}

.page-hero {
  padding: 86px 0;
  background:
    linear-gradient(135deg, rgba(238, 244, 250, 0.92), rgba(237, 247, 245, 0.58)),
    var(--mist);
}

.page-hero.compact {
  padding: 78px 0;
}

.release-hero {
  border-bottom: 1px solid rgba(200, 212, 228, 0.66);
}

.release-hero h1 {
  max-width: 660px;
}

.release-hero p {
  max-width: 650px;
}

.feature-hero-grid,
.showcase-row,
.note-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: center;
}

.feature-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(200, 212, 228, 0.66);
  background:
    radial-gradient(circle at 84% 16%, rgba(var(--teal-rgb), 0.16), transparent 28%),
    radial-gradient(circle at 6% 20%, rgba(var(--primary-rgb), 0.12), transparent 28%),
    linear-gradient(135deg, var(--page), var(--mist) 56%, var(--mist-cool));
}

.feature-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -120px;
  width: 52%;
  height: 220px;
  border-radius: 999px 0 0 0;
  background: rgba(var(--dark-rgb), 0.08);
  pointer-events: none;
}

.feature-hero .feature-hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
}

.feature-hero-copy p {
  max-width: 540px;
  margin: 18px 0 0;
}

.feature-hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 318px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 8%, rgba(var(--teal-rgb), 0.35), transparent 34%),
    linear-gradient(135deg, var(--dark-2), var(--dark-3) 58%, var(--dark));
  box-shadow: 0 34px 86px rgba(15, 23, 42, 0.22);
}

.feature-hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -40px -54px 32%;
  height: 112px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--on-dark-muted, #d9e6ee);
  font-size: 12px;
  font-weight: 900;
}

.panel-head b {
  color: var(--cyan);
}

.panel-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.18);
}

.panel-card-strong {
  margin-top: 26px;
  padding: 22px;
}

.panel-card span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.panel-card strong {
  display: block;
  margin-top: 8px;
  font-size: 27px;
  line-height: 1.18;
}

.panel-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.panel-route {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 14px;
}

.panel-route span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #eef6ff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.panel-route i,
.panel-route em,
.panel-route b,
.panel-route small {
  display: block;
  font-style: normal;
}

.panel-route i {
  color: var(--cyan);
  font-size: 12px;
}

.panel-route em {
  text-align: right;
}

.panel-route b {
  color: #eef6ff;
  font-size: 13px;
  line-height: 1.1;
}

.panel-route small {
  margin-top: 3px;
  color: rgba(217, 230, 238, 0.72);
  font-size: 11px;
  line-height: 1.1;
}

.page-hero h1 {
  max-width: 720px;
  margin: 10px 0 0;
  font-size: 56px;
  line-height: 1.08;
}

.page-hero p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 21px;
  font-weight: 760;
  line-height: 1.55;
}

.feature-showcase {
  background:
    linear-gradient(180deg, var(--page), #fff 100%);
}

.evidence-section {
  background: #fff;
}

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

.evidence-grid article,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.045);
}

.evidence-grid article {
  min-height: 282px;
  padding: 22px;
}

.evidence-grid span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.evidence-grid h3 {
  margin: 10px 0 14px;
  font-size: 25px;
  line-height: 1.22;
}

.evidence-grid ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-grid li,
.rewrite-block p {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 15px;
  font-weight: 720;
}

.evidence-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 680;
  line-height: 1.65;
}

.rewrite-block {
  display: grid;
  gap: 10px;
}

.rewrite-block b,
.rewrite-block em {
  display: block;
  font-style: normal;
}

.rewrite-block b {
  margin-bottom: 4px;
  color: var(--ink);
}

.legal-hero h1 {
  max-width: 760px;
}

.legal-card {
  display: grid;
  gap: 4px;
  max-width: 820px;
  padding: 26px;
}

.legal-card article {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.legal-card article:last-child {
  border-bottom: 0;
}

.legal-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.22;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 660;
  line-height: 1.72;
}

.feature-showcase.alt {
  background:
    linear-gradient(180deg, #fff, var(--mist) 190%);
}

.showcase-copy h2 {
  font-size: 50px;
}

.showcase-copy p {
  max-width: 430px;
  font-size: 19px;
  font-weight: 720;
  line-height: 1.6;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-row span,
.question-type {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--teal);
  background: #d8f4ee;
  font-size: 12px;
  font-weight: 900;
}

.ui-board {
  padding: 28px;
  box-shadow: 0 26px 68px rgba(15, 23, 42, 0.075);
}

.board-focus,
.rule-card {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(37, 87, 214, 0.2);
  border-radius: 8px;
  background: #fff;
}

.board-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.board-actions span {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
}

.board-actions span + span {
  color: var(--primary);
  border: 1px solid rgba(37, 87, 214, 0.25);
  background: #fff;
}

.text-lines {
  display: grid;
  gap: 12px;
}

.text-lines i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: #e8eefc;
}

.text-lines i:nth-child(1) {
  width: 88%;
}

.text-lines i:nth-child(2) {
  width: 70%;
}

.text-lines i:nth-child(3) {
  width: 52%;
}

.rule-card b,
.board-subjective b {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
}

.board-practice strong {
  display: block;
  margin: 18px 0;
  font-size: 22px;
  line-height: 1.35;
}

.answer-stack {
  display: grid;
  gap: 10px;
}

.answer-stack span {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 850;
}

.answer-stack .selected {
  color: var(--primary-dark);
  border-color: rgba(37, 87, 214, 0.34);
  background: #eef4ff;
}

.board-subjective {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 22px;
  align-items: center;
}

.score-ring {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border: 10px solid #fff4d6;
  border-top-color: var(--amber);
  border-radius: 999px;
  color: var(--amber);
  font-size: 30px;
  font-weight: 900;
}

.download-page {
  padding-top: 56px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.download-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.06);
}

.download-card h2 {
  font-size: 30px;
}

.download-button {
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 14px;
  color: #fff;
  background: var(--primary);
}

.download-card[data-platform-card="ios"] .download-button {
  background: var(--teal);
}

.download-button small {
  margin-top: 2px;
  opacity: 0.76;
}

.download-button.is-disabled {
  cursor: not-allowed;
  color: #526179;
  border: 1px solid var(--line);
  background: #eef2f7;
  box-shadow: none;
}

.download-card[data-platform-card="ios"] .download-button.is-disabled {
  color: #526179;
  background: #eef2f7;
}

.download-button.is-disabled:hover {
  transform: none;
}

.download-button.is-preview {
  background:
    linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.download-card[data-platform-card="ios"] .download-button.is-preview {
  background:
    linear-gradient(135deg, var(--teal), #115e59);
}

.download-card.is-ready {
  border-color: rgba(15, 118, 110, 0.34);
}

.download-status-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 12px;
  margin-top: 24px;
}

.download-status-mini a {
  display: grid;
  gap: 2px;
  min-height: 70px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
}

.download-status-mini b {
  color: var(--ink);
  font-size: 17px;
}

.download-status-mini span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.download-status-page {
  min-height: calc(100svh - 132px);
  background:
    radial-gradient(circle at 82% 14%, rgba(var(--teal-rgb), 0.16), transparent 28%),
    linear-gradient(135deg, var(--page), var(--mist));
}

.status-hero-card {
  max-width: 780px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 76px rgba(15, 23, 42, 0.09);
}

.status-hero-card.ios {
  border-color: rgba(var(--teal-rgb), 0.25);
}

.status-hero-card h1 {
  margin: 10px 0 12px;
  font-size: 50px;
  line-height: 1.08;
}

.status-hero-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  font-weight: 720;
  line-height: 1.6;
}

.status-checklist {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.status-checklist p {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  max-width: none;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  font-size: 15px;
}

.status-checklist b {
  color: var(--ink);
}

.status-checklist span {
  color: var(--muted);
  font-weight: 700;
}

.release-note {
  background: #fff;
}

.status-list {
  display: grid;
  gap: 12px;
}

.status-list p {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  margin: 0;
  padding: 16px;
}

.status-list b {
  color: var(--ink);
}

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

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.boundary-grid article {
  min-height: 174px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.045);
}

.boundary-grid span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.boundary-grid b {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.22;
}

.boundary-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.faq-list article {
  padding: 24px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.045);
}

.faq-list h2 {
  font-size: 24px;
}

.faq-list p {
  font-size: 17px;
}

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer p {
  margin: 4px 0 0;
  color: var(--muted);
}

.footer nav {
  flex-wrap: wrap;
  gap: 8px;
}

.footer a {
  padding: 8px 10px;
}

a:focus-visible {
  outline: 3px solid rgba(37, 87, 214, 0.35);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
    min-height: 112px;
    padding: 0 20px;
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .hero-grid,
  .feature-hero-grid,
  .showcase-row,
  .note-grid,
  .proof-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-grid {
    gap: 36px;
    padding-top: 52px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 50px;
  }

  .phone-stage {
    min-height: 500px;
  }

  .feature-hero-panel {
    min-height: 286px;
  }

  .phone-main {
    right: 50%;
    transform: translateX(50%) rotate(3deg);
  }

  .scene-grid,
  .rhythm-grid,
  .trust-grid,
  .download-grid,
  .proof-grid,
  .evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .feature-showcase.alt .ui-board {
    order: 2;
  }
}

@media (max-width: 680px) {
  .content-wrap {
    width: min(100% - 28px, var(--max));
  }

  .topbar {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    min-height: 64px;
    padding: 0 14px;
  }

  .brand span {
    display: inline;
    font-size: 16px;
  }

  .nav {
    display: none;
  }

  .nav-action {
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .hero-grid {
    min-height: auto;
    gap: 26px;
    padding: 42px 0 44px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 36px;
  }

  .feature-hero-panel {
    min-height: 248px;
    padding: 20px;
  }

  .panel-card-strong {
    margin-top: 18px;
    padding: 18px;
  }

  .panel-card strong {
    font-size: 22px;
  }

  .panel-route span {
    min-height: 44px;
    font-size: 12px;
  }

  .hero-copy p,
  .page-hero p,
  .showcase-copy p {
    font-size: 16px;
  }

  .hero-actions,
  .flow-inner,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .hero-actions .primary-link,
  .hero-actions .secondary-link {
    flex: 1 1 0;
    width: auto;
    padding: 0 12px;
  }

  .hero-proof {
    gap: 8px;
  }

  .hero-proof span {
    min-height: 26px;
    padding: 0 9px;
    font-size: 11px;
  }

  .phone-stage {
    min-height: 286px;
  }

  .phone-main {
    width: 150px;
    height: 284px;
    top: -14px;
    border-width: 7px;
  }

  .app-screen {
    padding: 31px 10px 10px;
  }

  .today-focus {
    margin-top: 9px;
    padding: 10px;
  }

  .today-focus strong {
    font-size: 15px;
  }

  .task-list {
    display: none;
  }

  .today-focus p {
    margin-top: 5px;
    font-size: 11px;
  }

  .progress-card b {
    font-size: 18px;
  }

  .progress-card {
    margin-top: 8px;
    padding: 9px;
  }

  .progress-card i {
    height: 6px;
    margin-top: 6px;
  }

  .preview-card {
    display: none;
  }

  .scene-section,
  .rhythm-section,
  .proof-section,
  .evidence-section,
  .feature-showcase,
  .download-page,
  .release-note,
  .faq-section,
  .download-status-page,
  .legal-section {
    padding: 48px 0;
  }

  .trust-strip {
    padding-bottom: 48px;
  }

  .trust-grid,
  .rhythm-grid,
  .proof-grid,
  .evidence-grid,
  .boundary-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2,
  .flow-band h2,
  .showcase-copy h2,
  .release-note h2,
  .proof-copy h2,
  .status-hero-card h1 {
    font-size: 31px;
  }

  .scene-card,
  .rhythm-card {
    min-height: auto;
  }

  .rhythm-card {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    padding: 18px;
  }

  .rhythm-card .step-number {
    grid-row: auto;
    width: fit-content;
  }

  .rhythm-card h3,
  .rhythm-card p,
  .rhythm-meta {
    grid-column: auto;
  }

  .rhythm-meta {
    order: 4;
    margin-top: 4px;
  }

  .rhythm-card::after {
    display: none;
  }

  .showcase-row {
    gap: 28px;
  }

  .ui-board,
  .download-card,
  .faq-list article,
  .proof-copy,
  .proof-grid article,
  .status-hero-card,
  .evidence-grid article,
  .legal-card {
    padding: 20px;
  }

  .download-page {
    padding-top: 30px;
  }

  .download-card {
    min-height: 248px;
  }

  .download-status-mini {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .download-status-mini a {
    min-height: 62px;
    padding: 12px;
  }

  .proof-case li,
  .status-checklist p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .board-subjective {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .page-hero.compact {
    padding: 54px 0;
  }

  .release-hero.page-hero.compact {
    padding: 46px 0 42px;
  }

  .status-list p {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .hero-copy h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .section-title h2,
  .flow-band h2,
  .showcase-copy h2,
  .release-note h2 {
    font-size: 28px;
  }

  .phone-stage {
    min-height: 248px;
  }

  .phone-main {
    width: 132px;
    height: 250px;
    top: -14px;
  }
}

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

  .nav-action,
  .primary-link,
  .secondary-link,
  .download-button {
    transition: none;
  }

  .nav-action:hover,
  .primary-link:hover,
  .secondary-link:hover,
  .download-button:hover {
    transform: none;
  }
}
