/* =========================================
   RaviHour Landing — Dastan "Digital Museum"
   Parchment · Sepia · Gold · Playfair + Inter
   Palette values taken verbatim from the Dastan web design system
   (globals.css @theme block) so the landing visually mirrors the iOS app.
   ========================================= */

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

:root {
  /* Dastan design tokens */
  --parchment: #FDFBF7;
  --linen: #F5F0E8;
  --warm-border: #E8E0D0;
  --highlight: #FFF8E7;
  --sepia: #2C2418;
  --sepia-light: #6B5D4D;
  --gold: #8B6914;
  --gold-hover: #A67C1A;
  --gold-dim: rgba(139, 105, 20, 0.12);
  --gold-border: rgba(139, 105, 20, 0.28);
  --terracotta: #B85C38;

  /* Alpha helpers */
  --sepia-a05: rgba(44, 36, 24, 0.05);
  --sepia-a08: rgba(44, 36, 24, 0.08);
  --sepia-a15: rgba(44, 36, 24, 0.15);
  --sepia-a35: rgba(44, 36, 24, 0.35);
  --sepia-a55: rgba(44, 36, 24, 0.55);

  /* Radii + easing (same scale as before for layout parity) */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --pulse-warm: cubic-bezier(0.4, 0, 0.6, 1);

  /* Dastan's signature double paper shadow */
  --paper-shadow:
    0 1px 3px rgba(44, 36, 24, 0.06),
    0 1px 2px rgba(44, 36, 24, 0.04);
  --paper-shadow-lifted:
    0 8px 20px rgba(44, 36, 24, 0.08),
    0 2px 6px rgba(44, 36, 24, 0.05);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--sepia);
  background: var(--parchment);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Legacy text-color utility classes are repurposed to the new palette so the
   existing HTML lights up correctly without edits in index.html. */
.text-amber { color: var(--gold); }
.text-white { color: var(--sepia); }

/* --- Display Type --- */
.section-title,
.hero-title,
.cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-feature-settings: "kern", "liga", "dlig";
}

/* --- Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.28s; }
.reveal--d4 { transition-delay: 0.4s; }

/* =========================================
   NAV
   ========================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(253, 251, 247, 0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom-color: var(--warm-border);
}
.nav-inner {
  max-width: 1040px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { width: 32px; height: 32px; }
.nav-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--sepia);
}
.nav-brand .text-amber { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--sepia-light);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--sepia); }
.nav-cta {
  background: var(--gold); color: #FFFFFF !important;
  padding: 8px 20px; border-radius: var(--r-full);
  font-weight: 600 !important; font-size: 13px !important;
  letter-spacing: 0.02em;
  box-shadow: var(--paper-shadow);
  transition: transform 0.2s var(--spring), box-shadow 0.25s, background 0.2s !important;
}
.nav-cta:hover {
  transform: scale(1.04);
  background: var(--gold-hover);
  box-shadow: var(--paper-shadow-lifted);
}
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--sepia);
  border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.nav-mobile {
  display: none; flex-direction: column; padding: 14px 24px 20px; gap: 14px;
  background: rgba(253, 251, 247, 0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--warm-border);
}
.nav-mobile a { font-size: 15px; color: var(--sepia-light); font-weight: 500; }
.nav-mobile .nav-cta { text-align: center; margin-top: 4px; color: #FFFFFF !important; }
.nav-mobile.open { display: flex; }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--parchment); overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-glow {
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(139, 105, 20, 0.14) 0%,
    rgba(184, 92, 56, 0.06) 40%,
    transparent 70%
  );
  top: 50%; left: 50%; transform: translate(-50%, -55%);
  animation: glowPulse 4s var(--pulse-warm) infinite;
  will-change: transform, opacity;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -55%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, -55%) scale(1.08); }
}

/* A secondary ornamental band behind the hero — evokes an illuminated
   manuscript folio with a single warm hairline border running across. */
.hero::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: min(92%, 960px);
  height: min(72%, 620px);
  transform: translate(-50%, -50%);
  border: 1px solid var(--warm-border);
  border-radius: 2px;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  padding: 6px 16px; border-radius: var(--r-full);
  box-shadow: var(--paper-shadow);
}
.hero-logo { margin: 32px 0 8px; }
.hero-logo-img {
  width: 320px; height: auto;
  filter: drop-shadow(0 0 48px rgba(139, 105, 20, 0.18));
}
.hero-title {
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.015em;
  color: var(--sepia); margin-bottom: 18px;
  max-width: 14ch;
}
.hero-title .text-amber {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--sepia-light); max-width: 540px; line-height: 1.65;
}
.hero-actions {
  display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; justify-content: center;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 12px 24px; border-radius: var(--r-full); border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--spring), box-shadow 0.25s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn:hover { transform: scale(1.03); }
.btn--primary {
  background: var(--gold); color: #FFFFFF;
  box-shadow: var(--paper-shadow);
}
.btn--primary:hover {
  background: var(--gold-hover);
  box-shadow: var(--paper-shadow-lifted);
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn--ghost {
  background: var(--linen); color: var(--sepia);
  border-color: var(--warm-border);
  box-shadow: var(--paper-shadow);
}
.btn--ghost:hover {
  background: var(--highlight);
  box-shadow: var(--paper-shadow-lifted);
}
.btn--lg { padding: 16px 36px; font-size: 16px; }

/* Scroll indicator — warm hairline + gold drop */
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-line { width: 1px; height: 48px; background: var(--warm-border); position: relative; border-radius: 1px; }
.scroll-dot {
  width: 3px; height: 10px; border-radius: 2px; background: var(--gold);
  position: absolute; top: 0; left: -1px;
  animation: scrollDrop 2s var(--pulse-warm) infinite;
}
@keyframes scrollDrop {
  0%   { top: 0;  opacity: 1; }
  70%  { top: 38px; opacity: 0.25; }
  100% { top: 0;  opacity: 1; }
}

/* =========================================
   SECTIONS (shared)
   ========================================= */
.section { padding: 104px 0; }

/* section--dark used to be navy; now it's a quiet linen wash so the page
   gets a gentle tonal shift between hero and the how-it-works area. */
.section--dark {
  background: linear-gradient(180deg, var(--parchment) 0%, var(--linen) 45%, var(--parchment) 100%);
  color: var(--sepia);
  position: relative;
}
.section--dark::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--warm-border);
}
.section--dark::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--warm-border);
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.015em;
  color: var(--sepia);
}
.section-title .text-amber {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}
.section--dark .section-title { color: var(--sepia); }
.section-desc {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px; color: var(--sepia-light);
  margin-top: 14px; max-width: 480px;
  margin-left: auto; margin-right: auto;
  line-height: 1.6;
}
.section--dark .section-desc { color: var(--sepia-light); }

/* =========================================
   HABIT LOOP
   ========================================= */
.habit-section { /* border handled by section--dark::before */ }

.habit-steps {
  max-width: 660px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 56px;
}

.habit-step {
  display: flex; gap: 28px; align-items: flex-start;
}

.habit-num {
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--parchment);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px; font-weight: 700;
  color: var(--gold);
  box-shadow: var(--paper-shadow);
}

.habit-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px; font-weight: 700; color: var(--sepia);
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}

.habit-body p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px; color: var(--sepia-light); line-height: 1.65;
  margin-bottom: 20px;
}

/* Routine chips */
.habit-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip {
  font-size: 12px; font-weight: 500; padding: 6px 14px;
  border-radius: var(--r-full);
  background: var(--linen);
  border: 1px solid var(--warm-border); color: var(--sepia-light);
  box-shadow: var(--paper-shadow);
  transition: all 0.2s;
}
.chip--active {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  color: var(--gold);
}
.chip-divider {
  width: 1px; height: 20px; background: var(--warm-border);
  border: none; padding: 0; margin: 0 6px;
  box-shadow: none;
}

/* Now-playing mini — paper card */
.habit-now-playing {
  background: var(--parchment);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-md);
  padding: 16px 18px;
  box-shadow: var(--paper-shadow);
}

/* Queue timeline */
.np-queue {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 14px;
}
.np-q-item {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 10px; border-radius: var(--r-sm);
  font-size: 12px; color: var(--sepia-light);
  transition: background 0.2s, color 0.2s;
}
.np-q-item--active {
  background: var(--linen);
  color: var(--sepia);
}
.np-q-bars {
  display: flex; gap: 2px; align-items: flex-end; height: 12px;
}
.np-q-bars i {
  display: block; width: 2px; border-radius: 1px;
  background: var(--sepia-a15);
}
.np-q-item--active .np-q-bars i {
  background: var(--gold);
  animation: qBar 1s ease-in-out infinite;
}
.np-q-bars i:nth-child(1) { height: 5px;  animation-delay: 0s; }
.np-q-bars i:nth-child(2) { height: 10px; animation-delay: 0.15s; }
.np-q-bars i:nth-child(3) { height: 7px;  animation-delay: 0.3s; }
.np-q-bars i:nth-child(4) { height: 12px; animation-delay: 0.45s; }
@keyframes qBar {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(0.4); }
}
.np-q-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terracotta); opacity: 0.75; flex-shrink: 0;
}
.np-q-clip .np-q-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
}

.np-bar {
  height: 3px; background: var(--sepia-a08); border-radius: 2px;
  margin-bottom: 12px; overflow: hidden;
}
.np-progress {
  width: 38%; height: 100%; background: var(--gold); border-radius: 2px;
  animation: npProgress 4s var(--pulse-warm) infinite;
}
@keyframes npProgress {
  0%   { width: 32%; }
  50%  { width: 58%; }
  100% { width: 32%; }
}
.np-controls { display: flex; align-items: center; justify-content: center; gap: 18px; }
.np-btn {
  background: none; border: none; cursor: pointer;
  color: var(--sepia-a55);
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.np-btn:hover { color: var(--sepia); background: var(--linen); }
.np-btn--play {
  width: 40px; height: 40px;
  background: var(--gold); color: #FFFFFF;
  border-radius: 50%;
  box-shadow: var(--paper-shadow);
}
.np-btn--play:hover {
  background: var(--gold-hover); color: #FFFFFF;
  transform: scale(1.06);
  box-shadow: var(--paper-shadow-lifted);
}

/* Streak */
.habit-streak {
  display: flex; align-items: center; gap: 16px;
  background: var(--parchment);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--paper-shadow);
}
.streak-days { display: flex; gap: 6px; }
.streak-day {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600;
  border: 1.5px solid var(--warm-border);
  color: var(--sepia-a35);
  background: var(--linen);
}
.streak-day--done {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  color: var(--gold);
}
.streak-day--today {
  background: var(--gold);
  border-color: var(--gold);
  color: #FFFFFF;
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.streak-label {
  font-size: 13px; font-weight: 600; color: var(--gold);
  white-space: nowrap; letter-spacing: 0.01em;
}

/* =========================================
   CONTROLS (inline within steps)
   ========================================= */
.ctrl-card {
  background: var(--parchment);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-lg); padding: 22px;
  margin-top: 14px;
  box-shadow: var(--paper-shadow);
}
.ctrl-card--compact { padding: 18px; }
.ctrl-header { margin-bottom: 14px; }
.ctrl-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--sepia-light);
}

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

/* Topics */
.ctrl-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.topic {
  font-size: 12px; font-weight: 500; padding: 6px 13px;
  border-radius: var(--r-full);
  background: var(--linen);
  border: 1px solid var(--warm-border); color: var(--sepia-light);
  transition: all 0.2s;
}
.topic--on {
  background: var(--gold-dim); border-color: var(--gold-border); color: var(--gold);
}

/* Talkiness */
.ctrl-talkiness { display: flex; flex-direction: column; gap: 6px; }
.talk-option {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; border-radius: var(--r-sm);
  transition: background 0.2s;
}
.talk-option--active { background: var(--linen); }
.talk-bars { display: flex; gap: 3px; }
.talk-bars i {
  display: block; width: 4px; height: 14px;
  border-radius: 2px; background: var(--gold);
}
.talk-bars i.off { opacity: 0.22; }
.talk-label {
  font-size: 12px; font-weight: 500; color: var(--sepia-light);
}
.talk-option--active .talk-label { color: var(--gold); font-weight: 600; }
.talk-meta { font-size: 11px; color: var(--sepia-a35); margin-left: auto; }

/* Modes */
.ctrl-modes { display: flex; flex-direction: column; gap: 6px; }
.mode-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; border-radius: var(--r-sm);
  color: var(--sepia-light); transition: background 0.2s;
}
.mode-opt--active { background: var(--linen); color: var(--gold); }
.mode-opt span { font-size: 12px; font-weight: 500; }
.mode-opt--active span { color: var(--gold); font-weight: 600; }
.mode-opt small { font-size: 11px; color: var(--sepia-a35); margin-left: auto; }

/* Trust row */
.trust-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 64px; padding-top: 36px;
  border-top: 1px solid var(--warm-border);
}
.trust-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px; color: var(--sepia-light); line-height: 1.5;
}
.trust-item strong { color: var(--sepia); font-weight: 600; }
.trust-item svg { flex-shrink: 0; margin-top: 2px; stroke: var(--gold); }

/* =========================================
   CTA
   ========================================= */
.cta-section { text-align: center; }
.cta-content { max-width: 540px; margin: 0 auto; }
.cta-logo { width: 220px; height: auto; margin: 0 auto 24px; }
.cta-title {
  font-size: clamp(36px, 5.5vw, 54px);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.015em;
  color: var(--sepia); margin-bottom: 14px;
}
.cta-title .text-amber {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}
.cta-desc {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px; color: var(--sepia-light);
  margin-bottom: 36px; line-height: 1.6;
}
.cta-form { width: 100%; max-width: 460px; margin: 0 auto; }
.cta-input-group {
  display: flex; gap: 6px;
  background: var(--parchment);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-full);
  padding: 5px 5px 5px 22px;
  box-shadow: var(--paper-shadow);
  transition: border-color 0.2s, box-shadow 0.25s;
}
.cta-input-group:focus-within {
  border-color: var(--gold);
  box-shadow: var(--paper-shadow-lifted), 0 0 0 4px var(--gold-dim);
}
.cta-input {
  flex: 1; min-width: 0;
  background: none; border: none; outline: none;
  color: var(--sepia);
  font-family: inherit; font-size: 14px;
}
.cta-input::placeholder { color: var(--sepia-a35); }
.cta-input-group .btn { flex-shrink: 0; padding: 11px 24px; }
.cta-note {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px; color: var(--sepia-a55);
  margin-top: 14px;
  font-style: italic;
}
.cta-success {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--gold); font-size: 15px; font-weight: 600;
  padding: 14px 0;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--parchment);
  border-top: 1px solid var(--warm-border);
  padding: 24px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600; font-size: 16px; color: var(--sepia);
}
.footer-brand img { width: 28px; height: 28px; }
.footer-copy { font-size: 12px; color: var(--sepia-a35); }
.footer-links { display: flex; gap: 22px; }
.footer-links a {
  font-size: 12px; color: var(--sepia-light);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 18px; }
.footer-social a {
  color: var(--sepia-light); display: flex;
  transition: color 0.2s, transform 0.2s;
}
.footer-social a:hover { color: var(--gold); transform: translateY(-1px); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .step-controls { grid-template-columns: 1fr; }

  .trust-row { grid-template-columns: 1fr 1fr; }

  .habit-step { flex-direction: column; gap: 14px; }

  .hero::before { width: 94%; height: 78%; }
}

@media (max-width: 480px) {
  .section { padding: 80px 0; }
  .hero { padding: 100px 0 64px; }
  .hero-logo-img { width: 240px; }
  .cta-input-group {
    flex-direction: column; border-radius: var(--r-lg); padding: 8px;
  }
  .cta-input { padding: 10px 14px; text-align: center; }
  .cta-input-group .btn { width: 100%; }
  .trust-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .streak-days { gap: 4px; }
  .streak-day { width: 24px; height: 24px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
