:root {
  --ink: #1a1a1a;
  --ink-soft: #464444;
  --ink-mute: #8a8f9c;
  --paper: #f8f8f8;
  --sky-top: #5e8ade;
  --sky-upper: #6494e4;
  --sky-mid: #74a6ec;
  --sky-low: #8ab9f1;
  --sky-glow: #a3d2f6;
  --sky-rim: #bce2fa;
  --font-sans: "Inter Tight", "Helvetica Neue", Helvetica, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------- nav ---------------------------------- */

.nav-pill {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: 0 2px 16px rgba(20, 35, 80, 0.1);
}

.nav-pill a {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav-pill a:hover {
  opacity: 0.55;
}

.nav-logo {
  width: 20px;
  height: 20px;
  border-radius: 50% 50% 50% 5px;
  background: var(--ink);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(150% 130% at 50% 0%, rgba(30, 60, 140, 0) 55%, rgba(30, 60, 140, 0.18) 100%),
    linear-gradient(
      180deg,
      var(--sky-top) 0%,
      var(--sky-upper) 26%,
      var(--sky-mid) 48%,
      var(--sky-low) 68%,
      var(--sky-glow) 86%,
      var(--sky-rim) 100%
    );
}

/* Luminous halo hugging the horizon, then the dome itself */
.dome {
  position: absolute;
  top: 21vh;
  left: 50%;
  transform: translateX(-50%);
  width: 130vw;
  height: 172vh;
  border-radius: 50%;
  background: var(--paper);
  box-shadow:
    0 -18px 60px rgba(255, 255, 255, 0.95),
    0 -70px 160px rgba(176, 216, 250, 0.9);
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 28vh 24px 0;
}

.headline {
  font-weight: 300;
  font-size: clamp(3.2rem, 6.67vw, 7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.headline-line {
  display: block;
}

.headline-line--serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.subcopy {
  margin-top: clamp(48px, 10vh, 96px);
  font-size: clamp(1.05rem, 1.53vw, 1.375rem);
  font-weight: 350;
  line-height: 1.5;
  letter-spacing: -0.018em;
  color: var(--ink-soft);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  height: 56px;
  margin-top: 48px;
  padding: 0 36px;
  background: var(--ink);
  color: var(--paper);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(22, 22, 22, 0.25);
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-hint-line {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--ink-mute));
  animation: hint-drop 2.2s ease-in-out infinite;
}

@keyframes hint-drop {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------------------------------- chips -------------------------------- */

.chips {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.chip {
  position: absolute;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(30, 50, 100, 0.16);
  animation: chip-float 6s ease-in-out infinite alternate;
}

.chip-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.chip-title em {
  font-style: normal;
  font-weight: 400;
  color: #7d828e;
}

.chevron {
  width: 11px;
  color: #9aa0ab;
}

.chip-sub {
  margin-top: 5px;
  font-size: 16px;
  font-weight: 400;
  color: #7d828e;
}

/* calendar */
.chip--calendar {
  top: 8.5%;
  left: 32%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 13px 15px 11px;
  border-radius: 18px;
  animation-duration: 7s;
}

.chip-icon-calendar {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding-top: 9px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e3e7f0;
  font-size: 17px;
  font-weight: 600;
  overflow: hidden;
}

.chip-icon-calendar i {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 11px;
  background: #4d6ce0;
  color: #fff;
  font-style: normal;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 11px;
}

.chip-meta {
  font-size: 13px;
  color: #7d828e;
}

/* meeting */
.chip--meeting {
  top: 15%;
  left: 56%;
  padding: 16px 20px;
  background: #eef4fc;
  animation-duration: 5.4s;
  animation-delay: -2s;
}

/* morning brief */
.chip--brief {
  top: 62%;
  left: 7%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 84px 14px 20px;
  border-radius: 999px;
  animation-duration: 6.6s;
  animation-delay: -1.2s;
}

.sunrise {
  width: 24px;
  height: 24px;
  color: var(--ink);
}

.chip--brief .chip-label {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.brief-card {
  position: absolute;
  right: -36px;
  top: -16px;
  display: grid;
  place-items: center;
  width: 104px;
  height: 76px;
  border-radius: 8px;
  background:
    linear-gradient(160deg, #8a9460 0%, #55603a 45%, #2e3520 100%);
  box-shadow: 0 10px 26px rgba(30, 40, 20, 0.35);
  transform: rotate(8deg);
  border: 3px solid #fff;
}

.brief-card-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: #f2e388;
}

/* spring planning */
.chip--planning {
  top: 69%;
  left: 73.5%;
  padding: 18px 26px 18px 22px;
  animation-duration: 5.8s;
  animation-delay: -3.4s;
}

.chip-list {
  margin-top: 10px;
  list-style: none;
}

.chip-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0 7px 28px;
  font-size: 16px;
  color: #5f6470;
}

.app-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
}

.app-icon--note {
  background:
    repeating-linear-gradient(180deg, transparent 0 4px, rgba(255, 255, 255, 0.85) 4px 6px) 55% 55% / 10px 12px no-repeat,
    #1f1f1f;
}

.app-icon--doc {
  background:
    repeating-linear-gradient(180deg, transparent 0 4px, rgba(255, 255, 255, 0.9) 4px 6px) 50% 60% / 11px 12px no-repeat,
    #3d7ef0;
}

.app-icon--jam {
  background: conic-gradient(from 40deg, #f24e1e, #ff7262, #a259ff, #1abcfe, #0acf83, #f24e1e);
  border-radius: 50%;
}

@keyframes chip-float {
  from { transform: translateY(-7px) rotate(-0.4deg); }
  to { transform: translateY(7px) rotate(0.4deg); }
}

/* ---------------------------------- story -------------------------------- */

.story {
  background: #000;
}

.story-stage {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.beat {
  position: absolute;
  width: min(86vw, 880px);
  text-align: center;
  color: var(--paper);
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.02em;
  opacity: 0;
}

.beat-tag {
  display: block;
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
}

.beat-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3em;
}

.story-orb {
  position: absolute;
  width: 56vmin;
  height: 56vmin;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #8cc5f2 0%, #4d6ce0 42%, transparent 72%);
  filter: blur(60px);
  opacity: 0;
}

.progress-line {
  position: absolute;
  bottom: 12vh;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.progress-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
}

/* --------------------------------- privacy ------------------------------- */

.privacy {
  background: #000;
  color: var(--paper);
  text-align: center;
  padding: 22vh 24px 26vh;
}

.privacy-mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  margin-bottom: 34px;
}

.privacy-head {
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.privacy-head em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.privacy-copy {
  max-width: 460px;
  margin: 28px auto 0;
  font-size: 1.1rem;
  font-weight: 350;
  line-height: 1.6;
  color: #b9bdc7;
}

/* --------------------------------- closing ------------------------------- */

.closing {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.closing-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(140% 110% at 50% 118%, var(--sky-glow) 0%, var(--sky-mid) 30%, #25357e 62%, #05071a 92%, #000 100%);
}

.closing-dome {
  position: absolute;
  top: 72vh;
  left: 50%;
  transform: translateX(-50%);
  width: 130vw;
  height: 120vh;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 -40px 130px rgba(176, 216, 250, 0.6);
}

.closing-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}

.closing-head {
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.closing-head em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.closing .cta {
  background: #fff;
  color: var(--ink);
}

.closing .cta:hover {
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.25);
}

.closing-note {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

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

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 30px 36px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35c759;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

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

.footer-links a {
  color: var(--ink);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copyright {
  color: var(--ink-soft);
}

/* ------------------------------- responsive ------------------------------ */

@media (max-width: 720px) {
  .hero-copy { padding-top: 24vh; }
  .dome { width: 240vw; top: 17vh; }
  .chip--calendar { left: 10%; top: 7%; }
  .chip--meeting { left: 38%; top: 13.5%; }
  .chip--brief { top: 72%; left: 5%; padding-right: 70px; }
  .chip--planning { top: 79%; left: 38%; }
  .brief-card { width: 84px; height: 62px; right: -28px; }
  .nav-pill { gap: 16px; padding: 10px 18px; }
  .nav-pill a { font-size: 14px; }
  .cta { min-width: 230px; height: 52px; font-size: 17px; }
  .footer { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .chip,
  .scroll-hint-line,
  .status-dot {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
