:root {
  --bg: #141413;
  --bg-elevated: #1b1b1a;
  --ink: #edede8;
  --muted: #a8a79f;
  --faint: #706f68;
  --line: #2e2e2b;
  --yellow: #fac775;
  --pink: #ed93b1;
  --blue: #85b7eb;
  --mint: #9fe1cb;
  --radius: 18px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg);
  min-height: 100vh;
}

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

img {
  display: block;
  max-width: 100%;
}

.top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  border-radius: 7px;
}

.top-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.top-nav a:hover {
  color: var(--ink);
}

/* Full-bleed hero: product art as the edge-to-edge plane */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 0;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(250, 199, 117, 0.32), transparent 50%),
    radial-gradient(ellipse at 30% 70%, rgba(133, 183, 235, 0.18), transparent 45%),
    radial-gradient(ellipse at 55% 80%, rgba(237, 147, 177, 0.14), transparent 40%),
    linear-gradient(180deg, #0c0c0b 0%, #161615 55%, #141413 100%);
  animation: pulse 6s ease-in-out infinite;
}

/* A small fanned stack of real screenshots — genuine product material
   standing in for the old abstract floating-notes illustration. Each card
   framed like the app's own window (rounded, shadowed) so it reads as
   "this is the product," not decoration. */
.hero-shot {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: hero-shot-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.shot-main {
  z-index: 3;
  top: 50%;
  right: max(6%, calc(50% - 420px));
  width: min(280px, 38vw);
  transform: translateY(-46%) rotate(2deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
  animation-name: fade-scale;
  animation-duration: 1.1s;
  animation-delay: 0.25s;
}

.shot-secondary {
  z-index: 2;
  top: 10%;
  right: max(1%, calc(50% - 205px));
  width: min(195px, 27vw);
  transform: rotate(-9deg);
  animation-delay: 0.08s;
}

.shot-tertiary {
  z-index: 1;
  bottom: 6%;
  right: max(24%, calc(50% - 30px));
  width: min(135px, 20vw);
  transform: rotate(7deg);
  animation-delay: 0.42s;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 120px 28px 72px;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 20, 19, 0.55) 35%, rgba(20, 20, 19, 0.92) 100%);
}

.brand-mark {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  background: linear-gradient(110deg, var(--yellow), var(--pink) 45%, var(--blue) 75%, var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s forwards;
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

.lede {
  margin: 16px 0 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.34s forwards;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.46s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: #171716;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: color-mix(in srgb, var(--bg-elevated) 70%, transparent);
}

.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--ink) 35%, var(--line));
}

.section {
  max-width: 860px;
  margin: 0 auto;
  padding: 96px 28px;
}

.section-alt {
  max-width: none;
  padding-left: max(28px, calc((100% - 860px) / 2));
  padding-right: max(28px, calc((100% - 860px) / 2));
  background:
    radial-gradient(700px 280px at 80% 0%, rgba(158, 201, 239, 0.08), transparent 60%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015), transparent);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 560;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.support {
  margin: 16px 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Shared frame for every real product screenshot below the fold — one
   consistent "window" treatment so a photo, a note card, and a phone mock
   all read as the same family. */
.shot-card {
  margin-top: 40px;
  display: inline-block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.idea-shot {
  max-width: 320px;
}

.idea-shot img {
  display: block;
}

.widget-shot {
  max-width: 260px;
}

/* A real clip replaces the hand-drawn mock: several pinned notes floating
   independently over the desktop, one of them due and its alarm swinging. */
.pin-video-frame {
  margin-top: 40px;
  max-width: 640px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  background: #000;
}

.pin-video {
  display: block;
  width: 100%;
  height: auto;
}

.sync-shots {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.sync-shot {
  margin-top: 0;
  height: 440px;
}

.sync-shot img {
  height: 100%;
  width: auto;
  max-width: none;
}

.sync-connector {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  flex-shrink: 0;
}

.sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.sync-wifi-line {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--blue));
  opacity: 0.7;
}

.sync-wifi-label {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Global-shortcut quick capture: the actual key combo plus a mock of the
   popup itself, copy matched 1:1 to the real app strings. */
.kbd-row {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--line);
  font-weight: 700;
  font-size: 0.95rem;
}

.kbd-plus {
  color: var(--faint);
  font-weight: 600;
}

.kbd-or {
  margin: 0 4px;
  color: var(--faint);
  font-size: 0.85rem;
}

.capture-shot {
  max-width: 320px;
  margin-top: 20px;
}

.steps {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.steps li {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps strong {
  font-size: 1.05rem;
}

.steps span {
  color: var(--muted);
  line-height: 1.55;
}

.price-card {
  margin-top: 36px;
  max-width: 26rem;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.price-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.price-period {
  color: var(--muted);
  font-size: 0.9rem;
}

.price-features {
  list-style: none;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.price-features li {
  padding-left: 22px;
  position: relative;
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.price-card .cta {
  margin-top: 28px;
  opacity: 1;
  transform: none;
  animation: none;
}

.fineprint {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 0.85rem;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  padding: 28px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.9rem;
}

.brand-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.brand-inline img {
  border-radius: 5px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-scale {
  from {
    opacity: 0;
    transform: translateY(-42%) rotate(2deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(-46%) rotate(2deg) scale(1);
  }
}

@keyframes hero-shot-in {
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

@media (max-width: 860px) {
  .top-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    position: relative;
    min-height: 58vh;
  }

  .shot-secondary,
  .shot-tertiary {
    display: none;
  }

  .shot-main {
    left: 50%;
    right: auto;
    top: 54%;
    width: min(220px, 58vw);
    transform: translate(-50%, -50%) rotate(2deg);
    animation-name: fade-scale-mobile;
    animation-duration: 1.1s;
    animation-delay: 0.15s;
  }

  .hero-copy {
    padding: 28px 28px 64px;
    background: linear-gradient(180deg, rgba(20, 20, 19, 0.2), var(--bg) 28%);
  }

  .brand-mark {
    font-size: clamp(2.6rem, 14vw, 3.8rem);
  }

  .sync-shots {
    flex-direction: column;
  }

  .sync-connector {
    flex-direction: column;
    height: 48px;
  }

  .sync-wifi-line {
    width: 2px;
    height: 16px;
  }
}

@keyframes fade-scale-mobile {
  from {
    opacity: 0;
    transform: translate(-50%, -46%) rotate(2deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(2deg) scale(1);
  }
}
