:root {
  color-scheme: dark light;
  --bg: #050505;
  --panel: #111;
  --panel-soft: rgba(255, 255, 255, 0.06);
  --text: #fff8ef;
  --muted: rgba(255, 248, 239, 0.62);
  --dim: rgba(255, 248, 239, 0.34);
  --line: rgba(255, 248, 239, 0.12);
  --orange: #ff8a2a;
  --green: #32d86d;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 180px),
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.06), transparent 300px),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 clamp(20px, 5vw, 56px);
  background: rgba(5, 5, 5, 0.68);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

.brand,
.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 18px;
  font-weight: 650;
  text-transform: lowercase;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.site-nav {
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 520;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--text);
}

main {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 440px);
  gap: clamp(32px, 8vw, 96px);
  align-items: center;
  min-height: 100svh;
  padding: 104px clamp(22px, 7vw, 88px) 56px;
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 720px;
  font-size: clamp(52px, 8vw, 94px);
  font-weight: 720;
  line-height: 0.94;
}

.lede {
  max-width: 540px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
}

.button.primary {
  background: var(--text);
  color: #050505;
}

.button.secondary {
  background: var(--panel-soft);
  color: var(--text);
  border: 1px solid var(--line);
}

.timeline-demo {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 9 / 17.5;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 239, 0.16);
  border-radius: 44px;
  background: #000;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
}

.status-pill {
  position: absolute;
  top: 24px;
  left: 50%;
  width: 88px;
  height: 28px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
}

.timeline {
  position: absolute;
  inset: 76px 0 74px;
}

.line,
.future {
  position: absolute;
  left: 50%;
  width: 6px;
  border-radius: 999px;
  transform: translateX(-50%);
}

.line {
  top: 0;
  bottom: 0;
  background: rgba(255, 248, 239, 0.22);
}

.future {
  top: 45%;
  bottom: 0;
  background: rgba(255, 248, 239, 0.78);
  box-shadow: 0 0 20px rgba(255, 248, 239, 0.18);
}

.now {
  position: absolute;
  top: 44%;
  left: 50%;
  z-index: 2;
  padding: 2px 8px 3px;
  border-radius: 999px;
  background: var(--text);
  color: #050505;
  font-size: 13px;
  transform: translate(-50%, -50%);
}

.bubble {
  position: absolute;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  max-width: 190px;
  min-height: 74px;
  padding: 14px 16px;
  border-radius: 28px;
  background: #050505;
  border: 1px solid rgba(255, 248, 239, 0.18);
  box-shadow: 0 14px 44px rgba(255, 248, 239, 0.1);
}

.bubble::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 48px;
  height: 2px;
  background: currentColor;
  opacity: 0.74;
}

.bubble span {
  font-size: 19px;
  font-weight: 560;
  line-height: 1.18;
}

.bubble small {
  color: currentColor;
  font-size: 12px;
  line-height: 1.25;
  opacity: 0.72;
}

.bubble.todo {
  top: 47%;
  right: 50%;
  margin-right: 36px;
  color: var(--orange);
  text-align: right;
}

.bubble.todo::before {
  left: 100%;
}

.bubble.done {
  top: 18%;
  left: 50%;
  margin-left: 36px;
  color: var(--green);
  opacity: 0.72;
}

.bubble.done::before,
.bubble.lower::before {
  right: 100%;
}

.bubble.done span {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

.bubble.lower {
  top: 72%;
  left: 50%;
  margin-left: 36px;
  color: var(--orange);
}

.date-badge {
  position: absolute;
  left: 50%;
  bottom: 24px;
  padding: 8px 38px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 248, 239, 0.1);
  color: rgba(255, 248, 239, 0.68);
  font-size: 17px;
  font-weight: 680;
  text-transform: lowercase;
  transform: translateX(-50%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  margin: 0 clamp(18px, 5vw, 72px) 80px;
  background: var(--line);
  border-radius: 28px;
  overflow: hidden;
}

.feature-grid article {
  min-height: 270px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.035);
}

.feature-grid h2,
.closing h2,
.document-page h1 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.02;
}

.feature-grid p,
.closing p,
.document-page p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.closing,
.document-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 70px 24px 100px;
}

.document-page {
  padding-top: 124px;
}

.document-page section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.document-page h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.document-page a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--dim);
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(22px, 5vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
}

.site-footer nav {
  gap: 18px;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 104px;
  }

  .timeline-demo {
    min-height: 620px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0 18px;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a:first-child {
    display: none;
  }

  h1 {
    font-size: 54px;
  }

  .phone-frame {
    width: 100%;
    max-width: 340px;
  }

  .bubble {
    max-width: 158px;
    min-height: 68px;
    padding: 12px 14px;
  }

  .bubble span {
    font-size: 17px;
  }

  .bubble.todo,
  .bubble.done,
  .bubble.lower {
    margin-left: 22px;
    margin-right: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
