/* Albori marketing site, v3.
   The page follows the icon's day cycle: night (tonight) → rising (it rings)
   → sunrise (you're up) → day (the morning is yours). The layered sun mark
   changes palette as the story moves, so the brand carries the narrative.
   Planning tokens mirror the app's default theme; Wake tokens are fixed. */

:root {
  /* planning (app default theme) */
  --bg: #FFF3E3;
  --card: #FFFCF7;
  --soft: #F4E2CD;
  --brd: #EAD8C1;
  --txt: #1C130A;
  --sub: #7A6653;
  --acc: #D9672A;
  --acc-d: #B74E1A;
  --acc-soft: #FCE2D0;
  --amb: #E9A13B;
  --amb-soft: #FAEFD9;
  --grn: #2E9E63;
  --grn-soft: #E2F1E8;

  /* wake (fixed, mode-owned) */
  --wake: #0A0A0C;
  --wake-2: #141317;
  --wake-brd: #23262C;
  --wake-txt: #FFF7EE;
  --wake-sub: #B9AFA4;
  --wake-acc: #FF6A33;
  --wake-pass: #3FD98A;
  --wake-amb: #FFC46B;

  /* sun cycle (from the icon bands) */
  --night-outer: #5B4BB0; --night-mid: #7B63D3; --night-core: #C9BCF2; --night-acc: #A48CF0; --night-ground: #191338;
  --rising-outer: #FF6A33; --rising-mid: #FFB347; --rising-core: #FFF0C8; --rising-acc: #FF6A33; --rising-ground: #231009;
  --sunrise-outer: #F89B1B; --sunrise-mid: #FDCE40; --sunrise-core: #FCF7B2; --sunrise-acc: #FFC46B; --sunrise-ground: #2A1A07;
  --day-outer: #FFCE5C; --day-mid: #FFE7A8; --day-core: #FFFFFF; --day-acc: #5FC8F5; --day-ground: #0E2029;

  /* reward / dawn */
  --dawn-1: #FFB44F;
  --dawn-2: #FF7A3C;
  --dawn-3: #FFF6EA;
  --dawn-ink: #26140A;
  --dawn-sub: #6B3418;

  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 18px;
  --r-sm: 12px;

  /* captured iPhone screen: 1206 × 2622 px */
  --screen-ratio: 201 / 437;
  --bezel: #14110E;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", sans-serif;

  --shadow-cta: 0 10px 26px rgba(217, 103, 42, 0.28);
  --shadow-card: 0 8px 28px rgba(28, 19, 10, 0.07);
  --shadow-phone: 0 30px 70px rgba(28, 19, 10, 0.22);

  --wrap: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--txt);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--acc); text-decoration: none; }
a:hover { color: var(--acc-d); }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.04;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h3 { font-size: 1.32rem; letter-spacing: -0.015em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 14px;
}
.lede { font-size: 1.18rem; color: var(--sub); max-width: 38em; text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- day-cycle rail: the icon's four bands, as a hairline ---------- */

.cycle-rail {
  height: 6px;
  background: linear-gradient(90deg,
    #5FC8F5 0 25%, #7B63D3 25% 50%, #FF7A3C 50% 75%, #191338 75% 100%);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid color-mix(in srgb, var(--brd) 70%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
  color: var(--txt);
}
.brand:hover { color: var(--txt); }
.brand svg { flex: none; }

.site-nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.site-nav a { color: var(--sub); font-size: 0.94rem; font-weight: 600; }
.site-nav a:hover { color: var(--txt); }
@media (max-width: 860px) { .site-nav a:not(.btn) { display: none; } }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  border-radius: var(--r-md);
  background: var(--acc);
  color: #fff !important;
  font-size: 17px;
  font-weight: 700;
  box-shadow: var(--shadow-cta);
  transition: transform 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--acc-d); }
.btn:active { transform: scale(0.98); }
.btn.small { height: 44px; padding: 0 20px; font-size: 15px; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--txt) !important; border: 1.5px solid var(--brd); box-shadow: none; }
.btn.ghost:hover { border-color: var(--sub); background: var(--card); }
.btn.on-dawn { background: var(--dawn-ink); color: var(--dawn-3) !important; box-shadow: 0 10px 26px rgba(38, 20, 10, 0.3); }
.btn.on-dawn:hover { background: #000; }
.btn.on-wake { background: var(--wake-txt); color: var(--wake) !important; box-shadow: none; }
.btn.on-wake:hover { background: #fff; }

/* ---------- sun mark ---------- */

.sun { display: block; }
.sun .o { fill: var(--sunrise-outer); }
.sun .m { fill: var(--sunrise-mid); }
.sun .c { fill: var(--sunrise-core); }
.sun.night .o { fill: var(--night-outer); } .sun.night .m { fill: var(--night-mid); } .sun.night .c { fill: var(--night-core); }
.sun.rising .o { fill: var(--rising-outer); } .sun.rising .m { fill: var(--rising-mid); } .sun.rising .c { fill: var(--rising-core); }
.sun.day .o { fill: var(--day-outer); } .sun.day .m { fill: var(--day-mid); } .sun.day .c { fill: var(--day-core); }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; padding: 72px 0 0; }

/* horizon glow: the sun coming up behind the phone */
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: 1400px;
  height: 900px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 42% 46% at 68% 100%, rgba(253, 206, 64, 0.55), rgba(248, 155, 27, 0.22) 45%, transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(255, 122, 60, 0.16), transparent 70%);
  pointer-events: none;
}

/* faint grain so the cream is paper, not a flat fill */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.4 0 0 0 0 0.3 0 0 0 0.09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: end;
}

.hero-copy { padding-bottom: 92px; }

.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--acc); }
.hero .lede { margin-bottom: 34px; font-size: 1.22rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.hero-note { font-size: 0.88rem; color: var(--sub); }

.hero-stage { position: relative; justify-self: center; width: min(380px, 84vw); margin-bottom: -18%; }

.hero-stage .sun {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  left: 55%;
  top: 6%;
  transform: translateX(-50%);
  filter: drop-shadow(0 20px 40px rgba(248, 155, 27, 0.35));
  animation: sunRise 0.9s var(--ease) both;
}

.hero-phone {
  position: relative;
  margin: 24% auto 0;
  width: 78%;
  padding: 10px;
  background: var(--bezel);
  border-radius: 46px;
  box-shadow: var(--shadow-phone);
}
.hero-phone img { width: 100%; border-radius: 38px; aspect-ratio: var(--screen-ratio); }

@keyframes sunRise {
  from { transform: translate(-50%, 36px) scale(0.92); opacity: 0; }
  to { transform: translate(-50%, 0) scale(1); opacity: 1; }
}

@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 12px; }
  .hero-copy { padding-bottom: 12px; }
  .hero-stage { width: min(300px, 74vw); margin-bottom: -22%; }
}

/* ---------- proof strip ---------- */

.proof-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--brd);
  border-bottom: 1px solid var(--brd);
  background: var(--card);
}
.proof-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 20px;
}
.proof-strip span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--sub);
}
.proof-strip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); flex: none; }

/* ---------- sections ---------- */

.section { padding: 104px 0; }
.section.tight { padding-top: 32px; }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lede { margin-top: 16px; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- the morning, in four cycles ---------- */

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

.cycle-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: 30px 26px 28px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--wake-txt);
  box-shadow: var(--shadow-card);
}
.cycle-card .sun { width: 64px; height: 64px; margin-bottom: 8px; }
.cycle-card .when {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cycle-card h3 { font-size: 1.42rem; color: inherit; }
.cycle-card p { font-size: 0.97rem; color: var(--wake-sub); flex: 1; }
.cycle-card .clock {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.9rem;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-top: 8px;
}

.cycle-card.night { background: var(--night-ground); }
.cycle-card.night .when { color: var(--night-acc); }
.cycle-card.night p { color: #B9B0D9; }

.cycle-card.rising { background: var(--wake); border: 1px solid var(--wake-brd); }
.cycle-card.rising .when { color: var(--rising-acc); }

.cycle-card.sunrise { background: var(--sunrise-ground); }
.cycle-card.sunrise .when { color: var(--sunrise-acc); }
.cycle-card.sunrise p { color: #D9C6A8; }

.cycle-card.day {
  background: linear-gradient(180deg, var(--dawn-1), var(--dawn-2) 58%, var(--dawn-3) 135%);
  color: var(--dawn-ink);
}
.cycle-card.day .when { color: var(--dawn-ink); }
.cycle-card.day p { color: var(--dawn-sub); }

/* the connecting line under the cards: a horizon */
.cycle-line {
  margin-top: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--night-mid), var(--rising-outer) 35%, var(--sunrise-mid) 65%, var(--day-outer));
  border-radius: 2px;
  opacity: 0.7;
}

@media (max-width: 980px) { .cycle { grid-template-columns: repeat(2, 1fr); } .cycle-card { min-height: 320px; } }
@media (max-width: 520px) { .cycle { grid-template-columns: 1fr; } .cycle-card { min-height: 0; } }

/* ---------- missions ---------- */

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

.mission {
  background: var(--card);
  border: 1px solid var(--brd);
  border-radius: var(--r-lg);
  padding: 26px 22px 24px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.mission:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--amb); }

.mission .m-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.mission .m-icon svg { width: 24px; height: 24px; }
.mission.leave .m-icon { background: #D6ECE9; color: #17766C; }
.mission.move .m-icon { background: #E9DDF6; color: #6A3FB8; }
.mission.brain .m-icon { background: var(--acc-soft); color: var(--acc-d); }

.mission h3 { font-size: 1.12rem; margin-bottom: 4px; }
.mission .m-meta { font-size: 0.82rem; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.02em; }
.mission.leave .m-meta { color: #17766C; }
.mission.move .m-meta { color: #6A3FB8; }
.mission.brain .m-meta { color: var(--acc-d); }
.mission p { font-size: 0.94rem; color: var(--sub); }
.mission .verify {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--brd);
  font-size: 0.82rem;
  color: var(--sub);
}
.mission .verify strong { color: var(--txt); font-weight: 700; }

@media (max-width: 980px) { .missions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .missions { grid-template-columns: 1fr; } }

/* ---------- wake mode feature (dark band) ---------- */

.wake-band {
  background: var(--wake);
  color: var(--wake-txt);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.wake-band .eyebrow { color: var(--wake-acc); }
.wake-band h2 { color: var(--wake-txt); }
.wake-band .lede { color: var(--wake-sub); }

.wake-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.wake-rules { list-style: none; display: grid; gap: 14px; margin-top: 30px; }
.wake-rules li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 1.02rem;
  color: var(--wake-sub);
}
.wake-rules li strong { color: var(--wake-txt); display: block; font-size: 1.06rem; }
.wake-rules .mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--wake-2);
  border: 1px solid var(--wake-brd);
  display: grid;
  place-items: center;
  color: var(--wake-pass);
  font-weight: 800;
  font-size: 0.95rem;
}

.wake-demo {
  justify-self: center;
  width: min(420px, 100%);
  background: var(--wake-2);
  border: 1px solid var(--wake-brd);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  font-family: var(--font-display);
}
.wake-demo .q { font-size: 1.05rem; color: var(--wake-sub); font-weight: 600; font-family: var(--font-body); }
.wake-demo .dots { display: flex; gap: 8px; margin: 8px 0 22px; }
.wake-demo .dots i { width: 10px; height: 10px; border-radius: 50%; background: #3A3A42; }
.wake-demo .dots i.done { background: var(--wake-pass); }
.wake-demo .sum { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 18px; }
.wake-demo .keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wake-demo .keys span {
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #1F1E24;
  font-weight: 700;
  font-size: 1.3rem;
}
.wake-demo .esc {
  margin-top: 22px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #7B736B;
}

@media (max-width: 900px) { .wake-band .wrap { grid-template-columns: 1fr; } }

/* ---------- stay up: wake check + reliability ---------- */

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pair-card {
  background: var(--card);
  border: 1px solid var(--brd);
  border-radius: var(--r-xl);
  padding: 36px 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-card);
}
.pair-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.pair-card p { color: var(--sub); font-size: 0.98rem; }
.pair-card .checks { list-style: none; margin-top: 16px; display: grid; gap: 6px; font-size: 0.9rem; color: var(--sub); }
.pair-card .checks li::before { content: "✓ "; color: var(--grn); font-weight: 800; }
.pair-card .mini {
  width: 150px;
  padding: 6px;
  background: var(--bezel);
  border-radius: 26px;
  box-shadow: var(--shadow-card);
}
.pair-card .mini img { border-radius: 21px; aspect-ratio: var(--screen-ratio); }
@media (max-width: 900px) { .pair { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pair-card { grid-template-columns: 1fr; } .pair-card .mini { display: none; } }

/* ---------- screenshots gallery ---------- */

.gallery-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(260px, 66vw);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 24px 28px;
  max-width: var(--wrap);
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: var(--brd) transparent;
}
.shot { scroll-snap-align: center; }
.phone-frame { padding: 8px; background: var(--bezel); border-radius: 40px; box-shadow: var(--shadow-phone); }
.phone-frame img { width: 100%; aspect-ratio: var(--screen-ratio); border-radius: 32px; }
.shot figcaption { margin-top: 12px; font-size: 0.9rem; font-weight: 600; color: var(--sub); text-align: center; }

/* ---------- pricing ---------- */

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 860px; margin: 0 auto; }
.plan {
  background: var(--card);
  border: 1px solid var(--brd);
  border-radius: var(--r-xl);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.plan.best { border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft), var(--shadow-card); }
.plan .tag {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--acc);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan h3 { font-size: 1.3rem; }
.plan .price { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; letter-spacing: -0.04em; line-height: 1; margin: 10px 0 2px; }
.plan .price small { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--sub); letter-spacing: 0; }
.plan .per { color: var(--sub); font-size: 0.95rem; }
.plan ul { list-style: none; margin: 18px 0 22px; display: grid; gap: 8px; font-size: 0.95rem; color: var(--sub); }
.plan li::before { content: "✓ "; color: var(--grn); font-weight: 800; }
.plan .btn { margin-top: auto; }
.plan .trial { color: var(--grn); font-weight: 700; }
.pricing-note { max-width: 860px; margin: 22px auto 0; text-align: center; font-size: 0.88rem; color: var(--sub); text-wrap: pretty; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* ---------- guides ---------- */

.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--brd);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  color: var(--txt);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--amb); color: var(--txt); }
.guide-card h3 { font-size: 1.08rem; line-height: 1.25; }
.guide-card p { font-size: 0.92rem; color: var(--sub); flex: 1; }
.guide-card .more { font-size: 0.9rem; font-weight: 700; color: var(--acc); }

/* ---------- FAQ ---------- */

.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { background: var(--card); border: 1px solid var(--brd); border-radius: var(--r-md); padding: 0 24px; }
.faq-list details[open] { border-color: var(--amb); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-size: 1.4rem; font-weight: 400; color: var(--acc); transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .faq-body { padding: 0 0 22px; color: var(--sub); font-size: 0.98rem; }
.faq-list .faq-body a { font-weight: 700; }

/* ---------- CTA / dawn ---------- */

.cta-dawn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--dawn-1), var(--dawn-2) 34%, var(--dawn-3) 96%);
  color: var(--dawn-ink);
  text-align: center;
  padding: 120px 0 130px;
}
.cta-dawn .sun { width: 128px; height: 128px; margin: 0 auto 30px; filter: drop-shadow(0 16px 30px rgba(120, 50, 0, 0.25)); }
.cta-dawn h2 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); letter-spacing: -0.035em; }
.cta-dawn .lede { color: var(--dawn-sub); margin: 18px auto 36px; }
.cta-dawn .hero-note { color: var(--dawn-sub); margin-top: 16px; }

/* ---------- download panel ---------- */

.download-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--brd);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  padding: 40px 44px;
}
.download-panel .app-icon { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 10px 28px rgba(28, 19, 10, 0.2); }
.download-panel h2 { font-size: 1.8rem; margin-bottom: 6px; }
.download-panel p { color: var(--sub); max-width: 34em; }
.download-panel .dl-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.download-panel .dl-actions .note { font-size: 0.82rem; color: var(--sub); text-align: center; }
@media (max-width: 820px) { .download-panel { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* ---------- footer ---------- */

.site-footer { background: var(--night-ground); color: #B9B0D9; padding: 72px 0 40px; font-size: 0.94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.site-footer .brand { color: var(--wake-txt); margin-bottom: 14px; }
.site-footer h4 { font-family: var(--font-display); color: var(--wake-txt); font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #B9B0D9; }
.site-footer a:hover { color: var(--wake-txt); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.85rem;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- article / guide pages ---------- */

.article-hero { padding: 64px 0 12px; }
.breadcrumbs { font-size: 0.88rem; color: var(--sub); margin-bottom: 22px; }
.breadcrumbs a { color: var(--sub); font-weight: 600; }
.breadcrumbs a:hover { color: var(--acc); }
.article-hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); letter-spacing: -0.03em; margin-bottom: 20px; max-width: 21em; }
.article-hero .lede { font-size: 1.16rem; }
.article-body { max-width: 720px; padding: 36px 0 80px; }
.article-body h2 { font-size: 1.65rem; letter-spacing: -0.02em; margin: 44px 0 14px; }
.article-body h3 { margin: 30px 0 10px; }
.article-body p { margin-bottom: 16px; color: #3F3226; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; color: #3F3226; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--txt); }

.callout {
  background: var(--amb-soft);
  border: 1px solid color-mix(in srgb, var(--amb) 45%, var(--brd));
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 26px 0;
  font-size: 0.98rem;
}
.how-with {
  background: var(--card);
  border: 1px solid var(--brd);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  padding: 32px 34px;
  margin: 36px 0;
}
.how-with h2 { margin-top: 0 !important; }
.how-with ol { margin-top: 14px; }

.article-cta {
  background: linear-gradient(180deg, var(--dawn-1), var(--dawn-2) 54%, var(--dawn-3) 130%);
  border-radius: var(--r-xl);
  padding: 40px 38px;
  margin: 48px 0 8px;
  color: var(--dawn-ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
}
.article-cta h2 { margin: 0 0 6px !important; font-size: 1.5rem; }
.article-cta p { margin: 0; color: var(--dawn-sub); }

.related { border-top: 1px solid var(--brd); padding: 40px 0 90px; }
.related h2 { font-size: 1.4rem; margin-bottom: 22px; }

/* ---------- legal pages ---------- */

.legal-body { max-width: 720px; padding: 24px 0 90px; }
.legal-body h2 { font-size: 1.4rem; margin: 38px 0 12px; }
.legal-body p, .legal-body li { color: #3F3226; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul { margin: 0 0 14px 22px; }
.legal-body .updated { color: var(--sub); font-size: 0.9rem; }

/* ---------- reveal (rzRise) ---------- */

.rise { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.rise.in { opacity: 1; transform: none; }
.rise.d1 { transition-delay: 0.08s; }
.rise.d2 { transition-delay: 0.16s; }
.rise.d3 { transition-delay: 0.24s; }
.rise.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .hero-stage .sun { animation: none; }
  .btn, .guide-card, .mission { transition: none; }
}
