/* =========================================================
   Caledari — "See your day in a new light"
   Editorial dawn system (Sirnik-inspired structure)
   ========================================================= */

:root {
  /* --- Paper / canvas (warm dawn light) --- */
  --paper:        #F3EADB;   /* main warm cream canvas */
  --paper-soft:   #FAF3E8;   /* lighter cards / panels */
  --paper-deep:   #ECE0CD;   /* alt section banding */
  --paper-line:   #E3D6C0;

  /* --- Ink (warm near-black) --- */
  --ink:          #221C14;
  --ink-2:        #463B2C;
  --ink-soft:     #837159;
  --ink-faint:    #B0A088;

  /* --- Lines --- */
  --line:         rgba(34,28,20,0.12);
  --line-soft:    rgba(34,28,20,0.07);
  --line-strong:  rgba(34,28,20,0.22);

  /* --- Sunrise accents --- */
  --amber:        #D98A3D;
  --amber-deep:   #BE6E26;
  --coral:        #D5664A;
  --rose:         #BF5570;
  --plum:         #6A4A6E;
  --indigo:       #3C3A5C;
  --night:        #1E1B28;   /* deep night-blue for dark sections */
  --night-2:      #2A2638;

  /* the dawn sky gradient, bottom(warm) -> top(night) */
  --sky: linear-gradient(180deg,
    #1E1B28 0%,
    #3C3A5C 20%,
    #6A4A6E 38%,
    #BF5570 56%,
    #D5664A 72%,
    #E69A4A 86%,
    #F3D6A4 100%);

  --sky-warm: linear-gradient(180deg,
    #BF5570 0%,
    #D5664A 34%,
    #E69A4A 64%,
    #F4DBAB 100%);

  /* --- Type --- */
  /* One typeface — Inter, matching the Caledari app (its SF Pro stand-in). */
  --serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "Inter", ui-monospace, "SF Mono", Menlo, monospace;

  /* --- Layout --- */
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 80px);
  --radius: 18px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--amber); color: #fff; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Reusable bits ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--amber-deep);
  display: inline-block;
}
.eyebrow.no-rule::before { display: none; }

h1, h2, h3, h4 { font-weight: 700; margin: 0; letter-spacing: -0.03em; }

.display {
  font-family: var(--serif);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.042em;
}

.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 500; }

.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46ch;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 15px; font-weight: 500;
  letter-spacing: 0.01em;
  padding: 14px 22px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--ink); color: var(--paper-soft);
}
.btn-primary:hover { background: var(--amber-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light {
  background: rgba(255,255,255,0.10); color: #fff;
  border-color: rgba(255,255,255,0.28);
  backdrop-filter: blur(6px);
}
.btn-light:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

.reveal-line {
  overflow: hidden;
  display: block;
}
.reveal-line > * {
  display: block;
  transform: translateY(110%);
  transition: transform 1.05s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal-line.in > * { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-line > * { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* Fallback when CSS transitions don't advance (some embedded preview frames):
   snap every reveal to its visible end-state with no animation. */
html.no-anim .reveal,
html.no-anim .reveal-line > * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
html.no-anim .strike::after { transform: scaleX(1) !important; transition: none !important; }

/* =========================================================
   NAV
   ========================================================= */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px var(--gutter);
  transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--serif);
  font-size: 21px; font-weight: 600; letter-spacing: -0.02em;
}
.brand .mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--sky-warm);
  box-shadow: 0 0 0 1px rgba(34,28,20,0.10), 0 4px 14px rgba(190,110,38,0.35);
  position: relative; overflow: hidden;
}
.brand .mark::after {
  content:""; position:absolute; left:0; right:0; bottom:0; height:42%;
  background: var(--paper-soft);
}
.nav-links {
  display: flex; align-items: center; gap: 30px;
  font-size: 14.5px; color: var(--ink-2);
}
.nav-links a { position: relative; padding: 4px 0; transition: color .25s; }
.nav-links a::after {
  content:""; position:absolute; left:0; bottom:0; height:1px; width:0;
  background: var(--ink); transition: width .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-status {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px;
}
.nav-status .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4FAE6B;
  box-shadow: 0 0 0 3px rgba(79,174,107,0.18);
}
.menu-btn { display: none; }

@media (max-width: 940px) {
  .nav-links, .nav-status { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: 150px 0 70px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: end;
}
.hero-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 22px; margin-bottom: 38px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft);
  flex-wrap: wrap; gap: 14px;
}
.hero h1 {
  font-size: clamp(44px, 6.6vw, 86px);
  line-height: 1.05;
  text-wrap: balance;
}
.hero h1 .em { font-style: italic; }
.hero h1 .light {
  background: var(--sky-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  margin-top: 40px;
  display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap;
}
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-foot {
  margin-top: 30px; font-size: 14.5px; color: var(--ink-soft);
}
.hero-foot strong { color: var(--ink); font-weight: 600; }

/* phone column */
.hero-phone-col { display: flex; justify-content: center; }

/* the animated dawn band behind hero */
.dawn-band {
  position: absolute; z-index: -1; right: -8%; top: -10%;
  width: 60vw; height: 120%;
  background: var(--sky);
  filter: blur(70px); opacity: 0.0;
  border-radius: 50%;
  transform: translateY(20px);
  animation: dawnGlow 14s ease-in-out infinite alternate;
}
@keyframes dawnGlow {
  0%   { opacity: 0.22; transform: translateY(20px) scale(1); }
  100% { opacity: 0.34; transform: translateY(-10px) scale(1.06); }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phone-col { order: -1; margin-bottom: 10px; }
}

/* =========================================================
   PHONE MOCKUP
   ========================================================= */
.phone {
  position: relative;
  width: 290px; aspect-ratio: 291 / 600;
  border-radius: 46px;
  background: #14110C;
  padding: 11px;
  box-shadow:
    0 2px 4px rgba(34,28,20,0.30),
    0 30px 70px -20px rgba(34,28,20,0.55),
    inset 0 0 0 2px rgba(255,255,255,0.05);
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 36px; overflow: hidden;
  background: var(--paper-soft);
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; background: #14110C; border-radius: 0 0 16px 16px;
  z-index: 6;
}
.scr-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 0; font-family: var(--mono); font-size: 11px;
  color: var(--ink-2); font-weight: 600; letter-spacing: 0.02em;
}
.scr-status .dots { display: flex; gap: 4px; align-items: center; }
.scr-status .bar { width: 16px; height: 9px; border: 1px solid var(--ink-2); border-radius: 2px; opacity: .8; }

/* generic screen body */
.scr-body { flex: 1; display: flex; flex-direction: column; padding: 22px 20px 18px; min-height: 0; }

/* HOME / up-next screen */
.upnext-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 8px;
}
.scr-date { font-family: var(--serif); font-size: 15px; color: var(--ink-2); }
.upnext-card {
  margin-top: auto;
  background: var(--sky-warm);
  border-radius: 22px; padding: 22px 20px 18px; color: #fff;
  box-shadow: 0 16px 30px -12px rgba(190,110,38,0.5);
  position: relative; overflow: hidden;
}
.upnext-card .ul { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; opacity: .85; }
.upnext-card .et { font-family: var(--serif); font-size: 30px; line-height: 1.02; margin-top: 12px; letter-spacing: -0.02em; }
.upnext-card .em { margin-top: 7px; font-size: 13px; opacity: .9; }
.upnext-card .tap {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; background: rgba(255,255,255,0.2); padding: 7px 13px; border-radius: 100px;
  white-space: nowrap;
}
.scr-asking {
  margin-top: 14px; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 100px; padding: 11px 15px;
  font-size: 13px; color: var(--ink-soft); background: var(--paper);
}
.scr-asking .mic { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--amber); }

/* AGENT chat screen */
.chat { display: flex; flex-direction: column; gap: 11px; }
.bubble {
  max-width: 82%; padding: 11px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.4;
}
.bubble.me { align-self: flex-end; background: var(--ink); color: var(--paper-soft); border-bottom-right-radius: 5px; }
.bubble.ai { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.bubble.ai b { color: var(--amber-deep); font-weight: 600; }
.chip-done { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #4FAE6B; margin-top: 2px; }

/* =========================================================
   SECTION SCAFFOLD
   ========================================================= */
section { position: relative; }
.band { background: var(--paper); }
.band-deep { background: var(--paper-deep); }
.band-night { background: var(--night); color: var(--paper-soft); }
.sec-pad { padding: clamp(90px, 12vw, 160px) 0; }

.sec-head {
  display: grid; grid-template-columns: auto 1fr; gap: 18px 40px;
  align-items: baseline; margin-bottom: clamp(40px, 6vw, 80px);
}
.sec-no { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); letter-spacing: 0.1em; padding-top: 10px; }
.band-night .sec-no { color: rgba(255,255,255,0.55); }

/* big editorial statement block */
.statement {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(34px, 5.2vw, 74px); line-height: 1.04; letter-spacing: -0.035em;
  max-width: 18ch;
}
.statement .muted { color: var(--ink-soft); }
.band-night .statement .muted { color: rgba(255,255,255,0.45); }
.strike { position: relative; color: var(--ink-soft); }
.strike::after {
  content:""; position:absolute; left:-2%; right:-2%; top: 54%; height: 2px;
  background: var(--coral); transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease-out) var(--d, 0ms);
}
.strike.in::after { transform: scaleX(1); }

/* =========================================================
   FEATURE ROWS (numbered, alternating)
   ========================================================= */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px);
  align-items: center; padding: clamp(56px, 8vw, 110px) 0;
  border-top: 1px solid var(--line);
}
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature.flip .feature-media { order: 2; }
.feature-copy .fno {
  font-family: var(--mono); font-size: 13px; color: var(--amber-deep);
  letter-spacing: 0.12em; margin-bottom: 20px; display: block;
}
.feature-copy h3 {
  font-family: var(--serif); font-size: clamp(30px, 3.6vw, 50px); line-height: 1.04; letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.feature-copy h3 em { font-style: italic; }
.feature-copy p { color: var(--ink-2); max-width: 42ch; font-size: 17px; }
.feature-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex; align-items: center; gap: 13px; font-size: 15px; color: var(--ink-2);
  padding: 12px 0; border-top: 1px solid var(--line-soft);
}
.feature-list li:first-child { border-top: none; }
.feature-list li .k {
  font-family: var(--mono); font-size: 11px; color: var(--amber-deep);
  width: 26px; flex: none;
}
.feature-media { display: flex; justify-content: center; }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .feature-media { order: 0; }
  .sec-head { grid-template-columns: 1fr; }
}

/* dead grid (the grid problem visual) */
.dead-grid {
  width: 150px; height: 190px; border-radius: 12px;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, var(--line-soft) 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 29px, var(--line-soft) 29px 30px),
    var(--paper-soft);
  position: relative; opacity: .9;
}
.dead-grid::before, .dead-grid::after {
  content:""; position:absolute; border-radius:3px; opacity:.5;
}
.dead-grid::before { left:8px; top:34px; width:38px; height:14px; background:var(--ink-faint); }
.dead-grid::after { right:10px; top:90px; width:30px; height:14px; background:var(--ink-faint); }

/* command pills (talk to your day) */
.cmds { display: flex; flex-direction: column; gap: 12px; }
.cmd {
  font-family: var(--serif); font-size: clamp(20px, 2.4vw, 30px); font-style: italic;
  color: var(--ink); padding: 16px 22px; border-radius: 16px;
  background: var(--paper-soft); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.cmd .q { font-family: var(--mono); font-size: 12px; font-style: normal; color: var(--amber-deep); }
.cmd:hover { transform: translateX(8px); border-color: var(--amber); box-shadow: 0 14px 30px -16px rgba(190,110,38,0.4); }

/* =========================================================
   CALENDARS MERGE (chips + day list)
   ========================================================= */
.cal-tags { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.cal-tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line);
  background: var(--paper-soft); font-size: 14px;
}
.cal-tag .sw { width: 10px; height: 10px; border-radius: 50%; }
.day-list { border-top: 1px solid var(--line); }
.day-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center;
  padding: 20px 4px; border-bottom: 1px solid var(--line);
}
.day-row .t { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); }
.day-row .n { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); }
.day-row .tag { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.day-row .tag .sw { width: 9px; height: 9px; border-radius: 50%; }

/* =========================================================
   PRIVATE (night section)
   ========================================================= */
.night-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px,6vw,80px); align-items: center; }
.privacy-list { list-style: none; margin: 0; padding: 0; }
.privacy-list li {
  padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: flex-start; gap: 18px;
}
.privacy-list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.privacy-list .pn { font-family: var(--mono); font-size: 12px; color: var(--amber); padding-top: 4px; }
.privacy-list h4 { font-family: var(--serif); font-size: 22px; margin-bottom: 6px; }
.privacy-list p { margin: 0; color: rgba(255,255,255,0.62); font-size: 15px; }
.night-orb {
  width: 100%; max-width: 360px; aspect-ratio: 1; border-radius: 50%;
  background: var(--sky-warm); margin: 0 auto; position: relative;
  box-shadow: 0 0 90px -10px rgba(214,106,74,0.6);
  animation: floaty 8s ease-in-out infinite alternate;
}
.night-orb::after {
  content:""; position:absolute; inset: 14%; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(255,255,255,0.5), transparent 55%);
}
@keyframes floaty { to { transform: translateY(-16px); } }

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

/* =========================================================
   CALEDARI LINK
   ========================================================= */
.link-addr {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-family: var(--serif); font-size: clamp(30px, 5vw, 64px); letter-spacing: -0.02em;
  border: 1px solid var(--line); border-radius: 100px; padding: 16px 32px;
  background: var(--paper-soft);
}
.link-addr .you { font-style: italic; color: var(--amber-deep); }
.booking { display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
.booking .bq { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink-2); }
.slot-row { display: flex; gap: 10px; flex-wrap: wrap; }
.slot {
  font-family: var(--mono); font-size: 13px; padding: 11px 16px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--paper-soft); white-space: nowrap;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s;
}
.slot:hover, .slot.sel { background: var(--ink); color: var(--paper-soft); border-color: var(--ink); transform: translateY(-2px); }
.booked-note {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 4px;
  font-size: 14px; color: #4d8a5f;
}
.booked-note .c { width: 18px; height: 18px; border-radius: 50%; background: #4FAE6B; display: inline-flex; }

/* =========================================================
   RISING SUN FINALE (scroll-driven)
   ========================================================= */
.rise {
  position: relative; min-height: 220vh; background: var(--night);
}
.rise-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.rise-sky {
  position: absolute; inset: 0;
  background: var(--sky);
  background-size: 100% 240%;
  background-position: 0% 0%; /* JS drives this 0->100 */
  transition: background-position .1s linear;
}
.rise-sun {
  position: absolute; left: 50%; bottom: -30%;
  width: min(58vw, 560px); aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, 0);
  background: radial-gradient(circle at 50% 45%, #FFF3D6 0%, #FBD89B 36%, #F2A85A 70%, #E08C44 100%);
  box-shadow: 0 0 120px 30px rgba(255,210,140,0.55);
  will-change: transform;
}
.rise-content {
  position: relative; z-index: 3; text-align: center; color: #fff;
  padding: 0 var(--gutter); max-width: 900px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.rise-eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); margin-bottom: 26px;
}
.rise-content h2 {
  font-family: var(--serif); font-size: clamp(40px, 7vw, 96px); line-height: 1.0; letter-spacing: -0.02em;
}
.rise-content h2 em { font-style: italic; }
.rise-content p { margin: 26px auto 0; max-width: 30ch; font-size: clamp(16px,1.6vw,20px); color: rgba(255,255,255,0.85); }

/* =========================================================
   CTA / GET
   ========================================================= */
.get { background: var(--paper-deep); text-align: center; }
.get h2 {
  font-family: var(--serif); font-size: clamp(40px, 7vw, 104px); line-height: 0.98; letter-spacing: -0.025em;
}
.get h2 .light { background: var(--sky-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.get .lead { margin: 28px auto 0; text-align: center; }
.get-cta { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.get-tags {
  margin-top: 40px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft);
}
.get-tags span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 100px; }

/* =========================================================
   FOOTER
   ========================================================= */
.foot { background: var(--night); color: var(--paper-soft); padding: 80px 0 40px; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.foot-brand { font-family: var(--serif); font-size: 30px; display: flex; align-items: center; gap: 12px; }
.foot-brand .mark { width: 30px; height: 30px; border-radius: 50%; background: var(--sky-warm); position: relative; overflow: hidden; }
.foot-brand .mark::after { content:""; position:absolute; left:0; right:0; bottom:0; height:42%; background: var(--night); }
.foot p.t { margin-top: 18px; color: rgba(255,255,255,0.55); max-width: 30ch; font-size: 15px; }
.foot-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 18px; font-weight: 500; }
.foot-col a { display: block; padding: 7px 0; color: rgba(255,255,255,0.78); font-size: 15px; transition: color .25s, padding .25s; }
.foot-col a:hover { color: #fff; padding-left: 6px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; font-size: 13px; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 14px; }

@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }

/* =========================================================
   ADDITIONS — real app screenshot in a phone frame + real logo
   ========================================================= */

/* A phone that holds a real screenshot (own status bar / Dynamic Island). */
.phone.shot { aspect-ratio: 1206 / 2622; background: #0E0B07; }
.phone.shot .phone-notch { display: none; }
.phone.shot .phone-screen { background: #000; }
.phone.shot .phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* a soft dawn glow behind the hero phone so it sits in the light */
.hero-phone-col { position: relative; }
.hero-phone-col::before {
  content: ""; position: absolute; inset: -12% -8%; z-index: -1;
  background: radial-gradient(closest-side, rgba(214,138,61,0.28), transparent 72%);
  filter: blur(14px);
}

/* Real sun logo as the brand mark (overrides the CSS-drawn .mark). */
img.mark { background: transparent !important; box-shadow: 0 2px 9px rgba(190,110,38,0.35); border-radius: 7px; object-fit: cover; }
.foot-brand img.mark { border-radius: 8px; }

/* App Store badge button — keeps the apple glyph aligned */
.btn .as-glyph { width: 15px; height: 17px; margin-right: 2px; }

/* =========================================================
   "GRID PROBLEM" — a real week calendar, crammed with events
   (live DOM, so it's crisp at any resolution, never pixelated)
   ========================================================= */
.cal { width:440px; max-width:100%; flex:none; background:var(--paper-soft); border:1px solid var(--line);
  border-radius:16px; overflow:hidden; box-shadow:0 26px 64px -30px rgba(34,28,20,0.5); }
.cal-top { display:flex; align-items:center; justify-content:space-between; padding:11px 14px;
  border-bottom:1px solid var(--line); background:var(--paper); }
.cal-top .m { font-family:var(--serif); font-size:15px; color:var(--ink); }
.cal-top .w { font-family:var(--mono); font-size:9.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft); }
.cal-h { display:grid; grid-template-columns:26px repeat(5,1fr); border-bottom:1px solid var(--line); }
.cal-h .hc { padding:7px 2px 8px; text-align:center; font-family:var(--mono); font-size:8.5px;
  letter-spacing:.04em; text-transform:uppercase; color:var(--ink-soft); }
.cal-h .hc b { display:block; font-family:var(--serif); font-size:15px; color:var(--ink-2); font-weight:500; letter-spacing:0; margin-top:1px; }
.cal-h .hc.today b { color:var(--coral); }
.cal-b { display:grid; grid-template-columns:26px repeat(5,1fr); }
.cal-times { display:flex; flex-direction:column; padding-top:0; }
.cal-times span { height:31px; font-family:var(--mono); font-size:7.5px; color:var(--ink-faint); padding:1px 2px 0 3px; }
.cal-col { position:relative; height:341px; border-left:1px solid var(--line-soft);
  background:repeating-linear-gradient(0deg, transparent 0 30px, var(--line-soft) 30px 31px); }
.cal-col.now { background-color:rgba(213,102,74,0.05); }
.ev { position:absolute; left:2px; right:2px; border-radius:4px; padding:3px 4px; font-size:8.5px;
  line-height:1.12; color:#fff; overflow:hidden; box-shadow:0 1px 2px rgba(0,0,0,0.14); font-weight:500; }
.ev .tm { display:block; opacity:.82; font-family:var(--mono); font-size:7px; }
.ev.l { right:50%; } .ev.r { left:50%; }
@media (max-width:520px){ .cal{ max-width:100%; } }

/* The grid-problem "before → after" contrast */
.grid-vs { display:flex; gap:32px; align-items:center; justify-content:center; flex-wrap:wrap; margin-top:50px; }
.vs-item { margin:0; display:flex; flex-direction:column; align-items:center; gap:16px; }
.vs-item figcaption { font-family:var(--mono); font-size:10.5px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--ink-soft); max-width:26ch; text-align:center; line-height:1.55; }
.vs-arrow { font-family:var(--mono); font-size:32px; color:var(--amber-deep); flex:none; }
@media (max-width:700px){ .vs-arrow{ transform:rotate(90deg); margin:4px 0; } }

/* =========================================================
   LAUNCH-LIST SIGNUP (added 2026-06-07)
   ========================================================= */
.signup { display: flex; gap: 10px; justify-content: center; margin: 38px auto 0; max-width: 500px; flex-wrap: wrap; }
.signup-input {
  flex: 1 1 240px; min-width: 0; padding: 16px 22px; font: inherit; font-size: 16px;
  color: var(--ink); background: var(--paper-soft);
  border: 1px solid var(--line-strong); border-radius: 100px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.signup-input::placeholder { color: var(--ink-faint); }
.signup-input:focus { border-color: var(--amber-deep); box-shadow: 0 0 0 3px rgba(190,110,38,0.16); }
.signup .btn-primary { flex: 0 0 auto; }
.signup-note { margin: 18px auto 0; text-align: center; font-size: 14px; color: var(--ink-soft); max-width: 460px; }
.signup-success {
  margin: 38px auto 0; max-width: 500px; text-align: center;
  background: var(--paper-soft); border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px;
  animation: fadeUp .5s ease both;
}
.signup-success .sx-mark { font-size: 24px; margin-bottom: 10px; }
.signup-success h4 { font-family: var(--serif); font-size: 28px; line-height: 1.05; color: var(--ink); margin: 0 0 10px; }
.signup-success p { color: var(--ink-soft); font-size: 15px; line-height: 1.5; margin: 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 540px) { .signup { flex-direction: column; } .signup .btn-primary { width: 100%; justify-content: center; } }
