/* 归序清单官网 — 继承 App 品牌令牌 */

:root {
  --paper: #faf7f2;
  --paper-deep: #f0ebe3;
  --card: #ffffff;
  --border: #ece7dd;
  --ink: #23291f;
  --muted: #6e7468;
  --disabled: #a8ad9f;
  --sage: #5e8c61;
  --sage-deep: #4a734d;
  --sage-tint: #e7f0e4;
  --sage-field: #d8e6d4;
  --amber: #e0a23c;
  --amber-tint: #fbf1dd;
  --brick: #c0533b;
  --cat-work: #e3efff;
  --cat-work-fg: #3e6fb0;
  --cat-study: #e7f0e4;
  --cat-study-fg: #5e8c61;
  --cat-life: #fbf1dd;
  --cat-life-fg: #b07a1e;
  --cat-sport: #fce2e4;
  --cat-sport-fg: #c0533b;

  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-phone: 42px;

  --shadow-phone: 0 28px 64px rgba(35, 41, 31, 0.18), 0 8px 20px rgba(35, 41, 31, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 8px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

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

.nav a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--sage);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem !important;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-cta:hover {
  background: var(--sage-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.mobile-nav a {
  padding: 12px 4px;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-nav:not([hidden]) {
  display: flex;
}

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s;
}

.btn:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 10px 24px rgba(94, 140, 97, 0.28);
}

.btn-primary:hover {
  background: var(--sage-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--sage) 10%, transparent);
  border-color: color-mix(in srgb, var(--sage) 40%, transparent);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: clip;
  isolation: isolate;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(94, 140, 97, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(224, 162, 60, 0.12), transparent 55%),
    linear-gradient(165deg, #e8f0e5 0%, var(--paper) 42%, #f3eee6 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  animation: drift 16s var(--ease) infinite alternate;
}

.blob-a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  background: var(--sage-field);
  top: -8%;
  right: 8%;
}

.blob-b {
  width: min(36vw, 300px);
  height: min(36vw, 300px);
  background: var(--amber-tint);
  bottom: 6%;
  left: 4%;
  animation-delay: -4s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-18px, 22px) scale(1.06); }
}

.hero-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 48px 24px 64px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.brand-mark {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  max-width: 16em;
}

.lede {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34em;
}

.hero-meta {
  margin: 18px 0 0;
  font-size: 0.85rem;
  color: var(--disabled);
  letter-spacing: 0.04em;
}

.hero-stage {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

/* ——— Phone mock ——— */

.phone {
  width: min(100%, 320px);
  aspect-ratio: 390 / 780;
  background: var(--paper);
  border-radius: var(--r-phone);
  box-shadow: var(--shadow-phone);
  border: 1px solid rgba(35, 41, 31, 0.08);
  position: relative;
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg) translateZ(0);
  transition: transform 0.6s var(--ease);
}

.hero-stage:hover .phone {
  transform: rotateY(-2deg) rotateX(1deg);
}

.phone-sm {
  width: min(100%, 300px);
  transform: none;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  translate: -50% 0;
  width: 96px;
  height: 22px;
  background: #1a1d17;
  border-radius: 999px;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  padding: 42px 16px 20px;
}

.app-today,
.app-cal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.app-date {
  font-size: 1.05rem;
  font-weight: 600;
}

.app-greet {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.app-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.app-progress {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--card);
  border-radius: var(--r-md);
  padding: 12px;
  border: 1px solid var(--border);
}

.ring {
  width: 72px;
  height: 72px;
  flex: none;
}

.ring-fill {
  animation: ring-draw 1.4s var(--ease) 0.4s both;
}

@keyframes ring-draw {
  from { stroke-dashoffset: 238.76; }
  to { stroke-dashoffset: 89.5; }
}

.app-label {
  font-size: 0.72rem;
  color: var(--muted);
}

.app-value {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 2px 0 6px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.mini-chip {
  font-size: 0.62rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--sage-deep);
}

.app-focus {
  background: linear-gradient(135deg, #5e8c61, #4f7a52);
  color: #fff;
  border-radius: var(--r-md);
  padding: 14px;
}

.focus-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  opacity: 0.9;
}

.focus-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 8px 0 4px;
}

.focus-meta {
  font-size: 0.72rem;
  opacity: 0.85;
}

.app-section {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 4px;
}

.app-section span:last-child {
  color: var(--muted);
  font-weight: 500;
}

.task {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}

.task.compact {
  padding: 8px 10px;
}

.check {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--sage);
  position: relative;
}

.check::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.check.empty {
  background: transparent;
  border: 1.5px solid var(--border);
}

.check.empty::after {
  display: none;
}

.t-title {
  font-size: 0.82rem;
  font-weight: 560;
}

.task.done .t-title {
  text-decoration: line-through;
  color: var(--disabled);
}

.t-meta {
  font-size: 0.68rem;
  color: var(--muted);
}

.tag {
  font-size: 0.62rem;
  padding: 3px 7px;
  border-radius: 999px;
  font-weight: 600;
}

.tag.work { background: var(--cat-work); color: var(--cat-work-fg); }
.tag.study { background: var(--cat-study); color: var(--cat-study-fg); }
.tag.sport { background: var(--cat-sport); color: var(--cat-sport-fg); }
.tag.life { background: var(--cat-life); color: var(--cat-life-fg); }

/* Calendar mock */

.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.cal-today-btn {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sage);
  background: var(--sage-tint);
  padding: 4px 10px;
  border-radius: 999px;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 8px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin: 6px 0 10px;
}

.cal-grid .day {
  aspect-ratio: 1;
  border-radius: 10px;
  font-size: 0.68rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 4px;
  position: relative;
  background: color-mix(in srgb, var(--card) 70%, transparent);
}

.cal-grid .day.has {
  background: var(--card);
  border: 1px solid var(--border);
}

.cal-grid .day.selected {
  background: var(--sage-tint);
  border-color: var(--sage);
  font-weight: 700;
}

.cal-grid .bar {
  display: block;
  width: 70%;
  height: 3px;
  border-radius: 2px;
  margin-top: auto;
  margin-bottom: 4px;
}

.bar.work { background: var(--cat-work-fg); }
.bar.study { background: var(--cat-study-fg); }
.bar.life { background: var(--cat-life-fg); }
.bar.sport { background: var(--cat-sport-fg); }

.cal-list-label {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 2px;
}

/* ——— Sections ——— */

.band {
  padding: clamp(72px, 12vw, 120px) 24px;
}

.focus-band {
  background:
    linear-gradient(180deg, transparent, rgba(94, 140, 97, 0.06)),
    var(--paper);
}

.band-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.band-inner.narrow {
  grid-template-columns: 1fr;
  max-width: 720px;
  text-align: center;
}

.band-copy h2,
.split-copy h2,
.sync-band h2,
.download h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.band-copy p,
.split-copy p,
.sync-band p,
.download p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.proof-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.proof-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 18px;
  border-left: 2px solid var(--sage);
}

.proof-list strong {
  font-size: 1.02rem;
}

.proof-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.split {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 110px) 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

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

.split-visual {
  display: flex;
  justify-content: center;
}

.view-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.view-pills span {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--sage-deep);
  font-size: 0.85rem;
  font-weight: 600;
}

.stats-board {
  width: min(100%, 360px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px 24px 20px;
  box-shadow: 0 18px 40px rgba(35, 41, 31, 0.08);
}

.stat-ring-wrap {
  display: flex;
  justify-content: center;
}

.stat-ring-wrap svg {
  width: 140px;
  height: 140px;
}

.stat-ring {
  animation: stat-draw 1.5s var(--ease) both;
}

@keyframes stat-draw {
  from { stroke-dashoffset: 301.6; }
}

.bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  align-items: end;
  height: 110px;
  margin-top: 18px;
}

.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.bar-col i {
  display: block;
  width: 100%;
  max-width: 22px;
  height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--sage), #7aa37c);
  transform-origin: bottom;
  animation: bar-grow 0.9s var(--ease) both;
}

.bar-col:nth-child(2) i { animation-delay: 0.05s; }
.bar-col:nth-child(3) i { animation-delay: 0.1s; }
.bar-col:nth-child(4) i { animation-delay: 0.15s; }
.bar-col:nth-child(5) i { animation-delay: 0.2s; }
.bar-col:nth-child(6) i { animation-delay: 0.25s; }
.bar-col:nth-child(7) i { animation-delay: 0.3s; }

@keyframes bar-grow {
  from { transform: scaleY(0.2); opacity: 0.4; }
}

.bar-col span {
  font-size: 0.7rem;
  color: var(--muted);
}

.stats-note {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--disabled);
}

.sync-band {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(94, 140, 97, 0.16), transparent 70%),
    var(--paper-deep);
}

.inline-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}

.inline-points li {
  padding: 10px 16px;
  background: var(--card);
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 500;
}

.download {
  padding: clamp(80px, 12vw, 130px) 24px;
  text-align: center;
  background:
    linear-gradient(180deg, var(--paper) 0%, #e7f0e4 100%);
}

.download-inner {
  max-width: 560px;
  margin: 0 auto;
}

.download-icon {
  margin: 0 auto 20px;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(94, 140, 97, 0.25);
}

.download .cta-row {
  justify-content: center;
  margin-top: 28px;
}

.download-note {
  margin-top: 18px !important;
  font-size: 0.85rem !important;
  color: var(--disabled) !important;
}

/* ——— Footer ——— */

.site-footer {
  background: #1f241c;
  color: #d7dbd2;
  padding: 56px 24px 36px;
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #e8eae4;
}

.footer-brand-link img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.footer-brand p {
  margin: 12px 0 0;
  color: #9aa194;
  font-size: 0.92rem;
}

.footer-brand img {
  height: auto;
  width: auto;
  filter: none;
}

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

.footer-links a {
  color: #c5caba;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  margin: 0;
  font-size: 0.8rem;
  color: #7a8074;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

/* ——— Privacy page ——— */

.page-hero {
  padding: 56px 24px 24px;
  background:
    radial-gradient(ellipse 50% 60% at 20% 0%, rgba(94, 140, 97, 0.14), transparent 60%),
    var(--paper);
}

.page-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
}

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 24px 96px;
}

.prose h2 {
  margin: 36px 0 12px;
  font-size: 1.2rem;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 0.98rem;
}

.prose ul {
  padding-left: 1.2em;
}

/* ——— Download page ——— */

.btn-lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1.02rem;
  gap: 10px;
}

.dl-hero {
  padding: clamp(48px, 10vw, 96px) 24px 56px;
  text-align: center;
  background:
    radial-gradient(ellipse 55% 50% at 50% 0%, rgba(94, 140, 97, 0.2), transparent 65%),
    linear-gradient(180deg, #e8f0e5 0%, var(--paper) 70%);
}

.dl-hero-inner {
  max-width: 560px;
  margin: 0 auto;
}

.dl-app-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(94, 140, 97, 0.28);
}

.dl-hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.03em;
}

.dl-lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.dl-version {
  margin: 14px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sage-deep);
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.dl-status {
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  min-height: 1.4em;
}

.dl-hint {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--disabled);
}

.dl-channels,
.dl-steps,
.dl-changelog {
  padding: 48px 24px;
}

.dl-channels {
  background: var(--paper-deep);
}

.dl-channels-inner,
.dl-steps-inner,
.dl-changelog-inner {
  max-width: 920px;
  margin: 0 auto;
}

.dl-channels h2,
.dl-steps h2,
.dl-changelog h2 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  text-align: center;
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dl-channel {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
}

.dl-channel.is-ready {
  border-color: color-mix(in srgb, var(--sage) 45%, var(--border));
  box-shadow: 0 12px 28px rgba(94, 140, 97, 0.1);
}

.dl-channel-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--sage);
  padding: 4px 10px;
  border-radius: 999px;
}

.dl-channel h3 {
  margin: 0;
  font-size: 1.1rem;
}

.dl-channel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.dl-channel-link {
  align-self: flex-start;
  font-weight: 600;
  color: var(--sage-deep);
  border-bottom: 1px solid color-mix(in srgb, var(--sage) 40%, transparent);
}

.dl-channel-link:hover {
  color: var(--ink);
}

.dl-channel-muted {
  color: var(--disabled);
  font-size: 0.88rem;
  font-weight: 500;
}

.dl-steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.dl-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.dl-steps li::before {
  content: counter(step);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--sage-tint);
  color: var(--sage-deep);
  font-weight: 700;
  display: grid;
  place-items: center;
}

.dl-steps strong {
  display: block;
  margin-bottom: 4px;
}

.dl-steps span {
  color: var(--muted);
  font-size: 0.95rem;
}

.dl-req {
  margin: 28px 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--disabled);
}

.dl-changelog {
  padding-top: 0;
}

.dl-changelog-inner {
  max-width: 640px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 26px;
}

.dl-changelog h2 {
  text-align: left;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.dl-changelog p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 960px) {
  .dl-grid {
    grid-template-columns: 1fr;
  }

  .dl-actions .btn {
    width: 100%;
  }
}

/* ——— Reveal ——— */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .blob,
  .ring-fill,
  .stat-ring,
  .bar-col i,
  .phone {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ——— Responsive ——— */

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .band-inner,
  .split {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-copy {
    order: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .phone {
    transform: none;
    width: min(100%, 300px);
  }

  .brand-mark {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 16px;
  }

  .cta-row .btn {
    width: 100%;
  }
}
