:root {
  --bg: #FAF9F5;
  --surface: #FFFFFF;
  --surface-subtle: #F3F1EA;
  --ink: #1D241F;
  --ink-secondary: #535E57;
  --ink-muted: #7B867F;
  --sage: #63856F;
  --sage-dark: #4A6A56;
  --sage-soft: #EBF1EC;
  --apricot: #D98C6C;
  --apricot-deep: #B56241;
  --apricot-soft: #FBF2EE;
  --risk: #C84B4B;
  --risk-soft: #FDEEEE;
  --border: #E6E3DA;
  --border-strong: #D4CFC3;

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --shadow-card: 0 2px 12px rgba(29, 36, 31, 0.04), 0 1px 2px rgba(29, 36, 31, 0.03);
  --shadow-float: 0 24px 60px rgba(29, 36, 31, 0.09), 0 4px 16px rgba(29, 36, 31, 0.04);

  --text-heading: clamp(1.75rem, 3.2vw, 2.5rem);
  --text-body: 1.0625rem;
  --text-sm: 0.875rem;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --ease-apple: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ==================== STICKY GLASS NAVBAR ==================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease-apple), border-color 0.3s var(--ease-apple), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(250, 249, 245, 0.84);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(230, 227, 218, 0.85);
}

.nav-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  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.1875rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 2px 6px rgba(74, 106, 86, 0.18);
}

.brand-sub {
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-left: 2px;
}

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

.nav-links a {
  font-size: var(--text-sm);
  color: var(--ink-secondary);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 10px 20px;
  transition: transform 0.22s var(--ease-apple), background 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--sage-dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(74, 106, 86, 0.22);
}

.btn-primary:hover {
  background: #3D5B49;
  box-shadow: 0 6px 20px rgba(74, 106, 86, 0.28);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-subtle);
}

.btn-lg {
  font-size: 1rem;
  padding: 14px 28px;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  padding: 118px 24px 64px;
  text-align: center;
  background:
    radial-gradient(900px 460px at 50% -80px, rgba(99, 133, 111, 0.14), transparent 70%),
    radial-gradient(640px 360px at 85% 18%, rgba(217, 140, 108, 0.10), transparent 72%),
    var(--bg);
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--sage-soft);
  color: var(--sage-dark);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
}

.hero h1 {
  margin: 0 auto 20px;
  font-size: clamp(2.75rem, 6.4vw, 4.75rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 14ch;
}

.hero h1 .accent {
  color: var(--sage-dark);
}

.hero-sub {
  margin: 0 auto 32px;
  max-width: 560px;
  color: var(--ink-secondary);
  font-size: var(--text-body);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
}

/* ==================== INTERACTIVE STAGE (EXPERIENCE CABIN) ==================== */
.stage-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 96px;
  scroll-margin-top: 84px;
}

.scenario-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.scenario-pill {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-secondary);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: var(--text-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.24s var(--ease-apple);
}

.scenario-pill:hover {
  border-color: var(--sage);
  color: var(--ink);
}

.scenario-pill.active {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: #fff;
  box-shadow: 0 8px 22px rgba(74, 106, 86, 0.22);
}

.stage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float);
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 44px;
  align-items: center;
}

.stage-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--apricot-soft);
  color: var(--apricot-deep);
  font-size: var(--text-sm);
  font-weight: 600;
}

.stage-info h2 {
  margin: 0;
  font-size: var(--text-heading);
  line-height: 1.18;
  letter-spacing: -0.028em;
}

.stage-info p {
  margin: 0;
  color: var(--ink-secondary);
  max-width: 52ch;
}

.stage-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.stage-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: var(--text-body);
}

.check-dot {
  flex: 0 0 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.stage-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

.toggle-elder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all 0.2s;
}

.toggle-elder.on {
  background: var(--apricot-soft);
  border-color: var(--apricot);
  color: var(--apricot-deep);
}

.switch-track {
  width: 34px;
  height: 20px;
  border-radius: 99px;
  background: #D0CCC2;
  position: relative;
  transition: background 0.2s;
}

.toggle-elder.on .switch-track {
  background: var(--apricot-deep);
}

.switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  transition: transform 0.22s var(--ease-apple);
}

.toggle-elder.on .switch-thumb {
  transform: translateX(14px);
}

/* ==================== SCULPTED PHONE SIMULATOR ==================== */
.phone-frame {
  width: 372px;
  max-width: 100%;
  margin: 0 auto;
  background: #1C201D;
  border-radius: 46px;
  padding: 11px;
  box-shadow: 0 28px 60px rgba(29, 36, 31, 0.20), 0 0 0 1px rgba(255,255,255,0.08) inset;
}

.phone-screen {
  background: var(--bg);
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 676px;
  position: relative;
}

.phone-status {
  height: 34px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.phone-notch {
  width: 84px;
  height: 20px;
  border-radius: 99px;
  background: #1C201D;
}

.phone-topbar {
  padding: 4px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-title-wrap {
  text-align: center;
}

.phone-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.phone-title .brand-word {
  color: var(--sage-dark);
}

.phone-title .sep {
  color: var(--ink-muted);
  font-weight: 400;
  margin: 0 3px;
}

.phone-space-sub {
  font-size: 10px;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.elder-pill-mini {
  background: var(--apricot-soft);
  color: var(--apricot-deep);
  padding: 1px 6px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 9px;
}

.phone-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--sage-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.phone-body {
  flex: 1;
  overflow-y: auto;
  padding: 4px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-body::-webkit-scrollbar {
  width: 0;
}

/* Large-Font Elder Mode scaling inside phone */
.phone-screen.elder-mode .p-task-title { font-size: 16px; }
.phone-screen.elder-mode .p-task-sub { font-size: 13px; }
.phone-screen.elder-mode .p-hero-date { font-size: 19px; }
.phone-screen.elder-mode .p-slot-title { font-size: 16px; }

.p-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-card);
}

.p-hero-date {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
}

.p-hero-sub {
  font-size: 11px;
  color: var(--sage-dark);
  text-align: center;
  margin: 3px 0 10px;
}

.p-progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}

.p-progress-track {
  height: 7px;
  border-radius: 99px;
  background: var(--sage-soft);
  overflow: hidden;
}

.p-progress-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--sage);
  transition: width 0.35s var(--ease-apple);
}

.p-pulse {
  margin-top: 9px;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--bg);
  font-size: 11px;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.p-timeline-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.p-slot-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.p-rail {
  width: 38px;
  flex: 0 0 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-rail-time {
  font-size: 11px;
  font-weight: 700;
  color: var(--sage-dark);
  margin-top: 8px;
}

.p-rail-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--sage);
  background: #fff;
  margin-top: 4px;
}

.p-rail-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 2px;
}

.p-slot-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.p-slot-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.p-batch-btn {
  border: none;
  border-radius: 99px;
  background: var(--sage-soft);
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
}

.p-task-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.p-circle-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--ink-muted);
  background: #fff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
  transition: all 0.2s var(--ease-apple);
}

.p-circle-btn.done {
  background: var(--sage);
  border-color: var(--sage);
  transform: scale(1.06);
}

.p-circle-btn.prn {
  border-color: var(--sage);
  color: var(--sage-dark);
}

.p-circle-btn.prn.done {
  color: #fff;
}

.p-task-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.22s, border-color 0.22s;
}

.p-task-card.done {
  background: rgba(235, 241, 236, 0.72);
  border-color: rgba(99, 133, 111, 0.32);
}

.p-task-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.p-task-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.p-task-card.done .p-task-title {
  color: var(--ink-secondary);
  text-decoration: line-through;
}

.p-cat {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--surface-subtle);
  color: var(--ink-secondary);
  font-weight: 600;
}

.p-task-sub {
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 3px;
}

.p-task-stamp {
  font-size: 10px;
  color: var(--sage-dark);
  font-weight: 600;
  margin-top: 4px;
}

/* Records & Plans & Tree inside phone */
.p-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
}

.p-card-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.p-card-title {
  font-size: 13px;
  font-weight: 700;
}

.p-card-action {
  font-size: 11px;
  color: var(--sage-dark);
  font-weight: 600;
}

.p-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.p-chip {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink-secondary);
  border-radius: 9px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
}

.p-chip.active {
  background: var(--sage-soft);
  border-color: var(--sage);
  color: var(--sage-dark);
  font-weight: 600;
}

.p-vitals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.p-vital-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
}

.p-vital-lbl {
  font-size: 11px;
  color: var(--ink-secondary);
}

.p-vital-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--sage-dark);
  margin-top: 4px;
}

.p-vital-unit {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-left: 2px;
}

.p-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 11px;
}

.p-cal-cell {
  padding: 6px 0;
  border-radius: 8px;
  font-weight: 600;
}

.p-cal-d1 { background: var(--apricot-soft); color: var(--apricot-deep); }
.p-cal-active { background: var(--sage-soft); color: var(--sage-dark); }
.p-cal-rest { background: #EAF2F8; color: #3D6782; }
.p-cal-today { box-shadow: 0 0 0 1.5px var(--sage-dark); }

.p-tree-strip {
  background: var(--sage-soft);
  color: var(--sage-dark);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
}

.p-tree-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.p-node {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  transition: all 0.2s;
}

.p-node.selected {
  background: var(--surface);
  border-color: var(--sage-dark);
  box-shadow: 0 4px 12px rgba(74, 106, 86, 0.14);
}

.p-node-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.p-node-avatar.female {
  background: #C97B63;
}

.p-node-rel {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.p-node-name {
  font-size: 10px;
  color: var(--ink-muted);
}

.phone-nav {
  height: 58px;
  background: #fff;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 4px 8px;
}

.phone-nav-btn {
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-muted);
  border-radius: 12px;
}

.phone-nav-btn.active {
  color: var(--sage-dark);
  background: var(--sage-soft);
}

/* ==================== EDITORIAL SECTIONS ==================== */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 24px;
  scroll-margin-top: 84px;
}

.section-header {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-header.center {
  margin: 0 auto 52px;
  text-align: center;
}

.section-kicker {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--sage-dark);
  margin-bottom: 10px;
}

.section-header h2 {
  margin: 0 0 14px;
  font-size: var(--text-heading);
  line-height: 1.15;
  letter-spacing: -0.028em;
}

.section-header p {
  margin: 0;
  color: var(--ink-secondary);
}

/* Asymmetric Apple Bento Grid */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.bento-wide { grid-column: span 7; }
.bento-narrow { grid-column: span 5; }
.bento-half { grid-column: span 6; }

.bento-card.sage-tint {
  background: linear-gradient(155deg, #EBF1EC 0%, #F7FAF8 100%);
  border-color: rgba(99, 133, 111, 0.24);
}

.bento-card.apricot-tint {
  background: linear-gradient(155deg, #FBF2EE 0%, #FFFDFB 100%);
  border-color: rgba(217, 140, 108, 0.25);
}

.bento-card.dark-vault {
  background: #1B241E;
  border-color: #2C3A31;
  color: #F4F6F4;
}

.bento-card.dark-vault p {
  color: #B9C5BC;
}

.bento-card h3 {
  margin: 0 0 8px;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bento-card p {
  margin: 0;
  color: var(--ink-secondary);
}

/* E2EE Flow Diagram inside dark vault */
.e2ee-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.e2ee-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 16px;
}

.e2ee-step-num {
  font-size: var(--text-sm);
  color: #9BC2A8;
  font-weight: 700;
  margin-bottom: 6px;
}

.e2ee-step-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.e2ee-step-desc {
  font-size: 0.8125rem;
  color: #B9C5BC;
  line-height: 1.5;
}

/* Template Download Strip */
.template-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.template-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-card);
}

.template-item h3 {
  margin: 0 0 6px;
  font-size: 1.125rem;
  font-weight: 700;
}

.template-item p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--ink-secondary);
}

.template-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* Download Banner */
.download-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-float);
}

.download-band h2 {
  margin: 0 0 12px;
  font-size: var(--text-heading);
  letter-spacing: -0.028em;
}

.download-band p {
  margin: 0 auto 28px;
  max-width: 540px;
  color: var(--ink-secondary);
}

.download-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.roadmap-note {
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px 56px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

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

.footer-links a:hover {
  color: var(--ink);
}

/* Reveal animation (safe with reduced motion) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease-apple), transform 0.65s var(--ease-apple);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Privacy Policy Reading Sheet */
.legal-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 112px 24px 80px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
}

.legal-meta {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  margin-bottom: 32px;
}

.legal-card h2 {
  font-size: 1.25rem;
  margin: 32px 0 10px;
  color: var(--sage-dark);
}

.legal-card p, .legal-card li {
  color: var(--ink-secondary);
  line-height: 1.75;
}

/* Responsive */
@media (max-width: 960px) {
  .stage-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 28px;
  }
  .bento-wide, .bento-narrow, .bento-half {
    grid-column: span 12;
  }
  .e2ee-flow {
    grid-template-columns: 1fr;
  }
  .template-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
