:root {
  --bg: #ffffff;
  --bg-soft: #f3f7fc;
  --bg-mist: #eaf2fb;
  --ink: #0b1b33;
  --ink-soft: #4a5d78;
  --line: rgba(15, 55, 110, 0.1);
  --blue: #0a84ff;
  --blue-deep: #0060df;
  --blue-wash: rgba(10, 132, 255, 0.12);
  --blue-glow: rgba(10, 132, 255, 0.22);
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(11, 40, 84, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --font-display: "Outfit", sans-serif;
  --font-body: "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(10, 132, 255, 0.16), transparent 60%),
    radial-gradient(900px 500px at 10% 0%, rgba(10, 132, 255, 0.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 42%, #ffffff 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.hero {
  min-height: 100svh;
  display: grid;
  align-content: start;
  gap: clamp(36px, 6vh, 64px);
  padding: clamp(48px, 8vh, 88px) clamp(20px, 4vw, 48px) 0;
  overflow: clip;
}

.hero-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 22px 0 0;
  font-size: 0.95rem;
  animation: rise 900ms var(--ease) 260ms both;
}

.hero-links a {
  color: var(--blue-deep);
  font-weight: 600;
}

.hero-links a:hover {
  color: var(--blue);
}

.hero-copy {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero-brand {
  margin: 0;
  animation: rise 900ms var(--ease) both;
}

.hero-logo {
  width: min(420px, 78vw);
  height: auto;
  margin: 0 auto;
}

.hero-headline {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  animation: rise 900ms var(--ease) 80ms both;
}

.hero-support {
  margin: 14px auto 0;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  animation: rise 900ms var(--ease) 140ms both;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: rise 900ms var(--ease) 200ms both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 980px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 180ms var(--ease), background 180ms ease, color 180ms ease;
}

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

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-deep);
}

.btn-ghost {
  background: var(--blue-wash);
  color: var(--blue-deep);
}

.btn-ghost:hover {
  background: rgba(10, 132, 255, 0.18);
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: clamp(320px, 48vh, 520px);
  padding-bottom: 0;
}

.hero-glow {
  position: absolute;
  inset: auto 10% 8% 10%;
  height: 42%;
  background: radial-gradient(ellipse at center, var(--blue-glow), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.product-shell {
  width: min(980px, 100%);
  transform: translateY(18%);
}

.product-window {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: none;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.product-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.product-app {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-app strong,
.product-editor h3,
.space-item strong,
.notes strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.product-app small,
.notes span,
.space-item small,
.product-editor p,
.product-editor .meta {
  color: var(--ink-soft);
}

.product-app small {
  font-size: 0.72rem;
}

.dot-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(145deg, #1b1f24, #3d4450);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.product-actions {
  display: flex;
  gap: 8px;
}

.pill-btn,
.ghost-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.pill-btn {
  background: var(--blue);
  color: white;
  font-weight: 700;
}

.ghost-btn {
  background: rgba(15, 55, 110, 0.08);
}

.product-body {
  display: grid;
  grid-template-columns: 132px 220px 1fr;
  min-height: 320px;
}

.product-spaces,
.product-list,
.product-editor {
  padding: 14px;
}

.product-spaces {
  border-right: 1px solid var(--line);
  background: rgba(234, 242, 251, 0.55);
}

.product-spaces p {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.product-spaces ul,
.notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.product-spaces li {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.product-spaces li.active {
  background: var(--blue-wash);
  color: var(--blue-deep);
  font-weight: 600;
}

.product-list {
  border-right: 1px solid var(--line);
}

.search {
  height: 32px;
  border-radius: 8px;
  background: rgba(15, 55, 110, 0.06);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}

.chips {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.chip {
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 55, 110, 0.05);
  color: var(--ink-soft);
}

.chip.on {
  background: var(--blue-wash);
  color: var(--blue-deep);
  font-weight: 600;
}

.notes li {
  padding: 10px 8px;
  border-radius: 10px;
}

.notes li.selected {
  background: rgba(10, 132, 255, 0.08);
}

.notes strong {
  font-size: 0.92rem;
}

.notes span {
  font-size: 0.75rem;
}

.product-editor header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--blue-wash);
  padding: 4px 8px;
  border-radius: 6px;
}

.product-editor h3 {
  margin: 0;
  font-size: 1.55rem;
}

.product-editor p {
  margin: 12px 0 0;
  max-width: 28rem;
  font-size: 0.98rem;
}

.band,
.feature-split,
.quiet-strip,
.closing {
  padding: clamp(72px, 12vh, 120px) clamp(20px, 4vw, 48px);
}

.band {
  text-align: center;
  background:
    linear-gradient(180deg, transparent, rgba(234, 242, 251, 0.85) 20%, rgba(234, 242, 251, 0.85) 80%, transparent);
}

.band-inner {
  max-width: 760px;
  margin: 0 auto 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-deep);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.lede {
  margin: 16px auto 0;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.app-row {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 20px);
  flex-wrap: wrap;
}

.app-tile {
  width: 112px;
  padding: 18px 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  display: grid;
  justify-items: center;
  gap: 10px;
  transition: transform 280ms var(--ease), border-color 280ms ease;
}

.app-tile.active {
  border-color: rgba(10, 132, 255, 0.35);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(10, 80, 180, 0.12);
}

.app-tile span {
  font-size: 0.82rem;
  font-weight: 600;
}

.app-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
}

.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.feature-split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.feature-split.reverse .feature-copy {
  order: 2;
}

.feature-copy .lede {
  margin-left: 0;
}

.feature-panel,
.shortcut-stage {
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(234, 242, 251, 0.9));
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(11, 40, 84, 0.08);
}

.space-stack {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.space-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
}

.space-item.active {
  background: var(--blue-wash);
}

.space-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, #0a84ff, #0058b0);
}

.space-icon.folder {
  background: linear-gradient(145deg, #64d2ff, #0a84ff);
}

.space-icon.custom {
  background: linear-gradient(145deg, #7aa7ff, #3b6fe0);
}

.shortcut-stage {
  min-height: 260px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.keys {
  display: flex;
  gap: 10px;
}

kbd {
  min-width: 64px;
  min-height: 64px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 8px 0 rgba(15, 55, 110, 0.08);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.shortcut-stage p {
  margin: 0;
  color: var(--ink-soft);
}

.quiet-strip {
  text-align: center;
  background:
    radial-gradient(700px 240px at 50% 0%, rgba(10, 132, 255, 0.12), transparent 70%);
}

.quiet-strip p {
  margin: 16px auto 0;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.closing {
  padding-bottom: clamp(96px, 14vh, 140px);
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(48px, 8vw, 72px) clamp(24px, 5vw, 48px);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(234, 242, 251, 0.95));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.closing-brand {
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  background: linear-gradient(180deg, var(--ink) 10%, #1a4f9c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px clamp(20px, 4vw, 48px) 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.site-footer a {
  color: var(--blue-deep);
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--blue);
}

.site-footer span:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.reveal,
.reveal-product {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.reveal.is-visible,
.reveal-product.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .product-body {
    grid-template-columns: 1fr;
  }

  .product-spaces,
  .product-list {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

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

  .feature-split.reverse .feature-copy {
    order: 0;
  }

  .product-shell {
    transform: translateY(8%);
  }
}

@media (max-width: 640px) {
  .hero-logo {
    width: min(300px, 86vw);
  }

  .product-editor {
    min-height: 180px;
  }

  .keys kbd {
    min-width: 52px;
    min-height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-brand,
  .hero-headline,
  .hero-support,
  .hero-actions,
  .reveal,
  .reveal-product {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Privacy / legal */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(48px, 8vh, 88px) clamp(20px, 4vw, 48px) 80px;
}

.legal h1 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.legal h2 {
  margin: 2rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  line-height: 1.65;
}

.legal ul {
  padding-left: 1.2rem;
}

.legal-updated {
  margin-top: 8px;
  font-size: 0.9rem;
}

.legal .eyebrow a {
  color: var(--blue-deep);
  font-weight: 600;
}
