:root {
  color-scheme: dark;
  --bg: #091015;
  --bg-alt: #0f1820;
  --panel: rgba(18, 28, 35, 0.84);
  --panel-strong: rgba(15, 23, 30, 0.96);
  --line: rgba(160, 186, 204, 0.18);
  --text: #ecf0e8;
  --muted: #a6b7c2;
  --accent: #f1a85e;
  --accent-strong: #ffcf7a;
  --teal: #57d0bb;
  --teal-soft: rgba(87, 208, 187, 0.18);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --page-width: 1240px;
  --heading-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body-font: "Avenir Next", "Segoe UI", "Candara", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(241, 168, 94, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(87, 208, 187, 0.12), transparent 26%),
    linear-gradient(180deg, #0a1015 0%, #0b141c 45%, #081016 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 92%);
}

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

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

.page-shell {
  width: min(calc(100% - 32px), var(--page-width));
  margin: 0 auto;
  padding: 24px 0 72px;
  position: relative;
}

.topbar,
.signal-strip,
.feature-card,
.proof-card,
.app-shot-card,
.privacy-card,
.install-card,
.doc-card,
.split-note,
.hero-note {
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 16, 21, 0.76);
  position: sticky;
  top: 14px;
  z-index: 10;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.footer-links a:hover,
.doc-card:hover strong {
  color: var(--accent-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button-nav {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.06);
}

.button-primary {
  color: #11171d;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 18px 40px rgba(241, 168, 94, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 34px;
  padding: 72px 0 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero h1,
.section-heading h2,
.privacy-copy h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3.1rem, 7vw, 6rem);
  max-width: 11ch;
}

.hero-summary,
.section-heading p,
.privacy-copy p,
.feature-card p,
.proof-note,
.workflow-item p,
.cluster-header p,
.install-card p,
.doc-card span,
.footer p,
.signal-strip p {
  color: var(--muted);
  line-height: 1.62;
}

.hero-summary {
  margin: 22px 0 0;
  font-size: 1.08rem;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-points {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-points li,
.feature-card li,
.install-card li {
  color: var(--text);
  position: relative;
  padding-left: 20px;
  line-height: 1.55;
}

.hero-points li::before,
.feature-card li::before,
.install-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
  position: absolute;
  left: 0;
  top: 0.68em;
  transform: translateY(-50%);
}

.hero-note {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(87, 208, 187, 0.09), rgba(241, 168, 94, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  line-height: 1.58;
}

.hero-media {
  position: relative;
  min-height: 650px;
}

.shot {
  position: absolute;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-grid img,
.shot-controls img {
  object-position: center top;
}

.shot-main {
  inset: 0 12% 0 0;
  animation: floatMain 8s ease-in-out infinite;
}

.shot-grid {
  right: 0;
  top: 7%;
  width: 52%;
  aspect-ratio: 1.26;
  animation: floatMinor 10s ease-in-out infinite;
}

.shot-controls {
  right: 4%;
  bottom: -4%;
  width: 32%;
  aspect-ratio: 0.6;
  animation: floatMinor 9s ease-in-out infinite reverse;
}

@keyframes floatMain {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes floatMinor {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(8px) rotate(-0.6deg); }
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 0;
}

.signal-strip article {
  border: 1px solid var(--line);
  background: rgba(12, 19, 25, 0.75);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.signal-kicker {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.signal-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.section {
  padding-top: 96px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2,
.privacy-copy h2 {
  font-size: clamp(2.15rem, 4vw, 4rem);
}

.section-heading p,
.privacy-copy p {
  margin: 16px 0 0;
  font-size: 1.02rem;
}

.demo-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.demo-stats article,
.demo-card,
.demo-note {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.demo-stats article {
  padding: 18px;
}

.demo-stats strong {
  display: block;
  font-size: 1.04rem;
  margin-bottom: 8px;
}

.demo-stats p,
.demo-copy p,
.demo-note {
  color: var(--muted);
  line-height: 1.6;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.demo-card {
  overflow: hidden;
}

.demo-card img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.demo-copy {
  padding: 18px 20px 20px;
}

.demo-copy h3 {
  margin: 0;
  font-size: 1.24rem;
}

.demo-copy p {
  margin: 10px 0 0;
}

.demo-note {
  margin-top: 18px;
  padding: 18px 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.proof-card,
.app-shot-card,
.privacy-card,
.install-card,
.doc-card,
.split-note {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(241, 168, 94, 0.2), rgba(87, 208, 187, 0.18));
  color: var(--accent-strong);
  font-weight: 800;
  margin-bottom: 18px;
}

.feature-card h3,
.proof-header h3,
.privacy-card h3,
.install-card h3 {
  margin: 0;
  font-size: 1.36rem;
  line-height: 1.18;
}

.feature-card p {
  margin: 14px 0 0;
}

.feature-card ul,
.install-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.proof-card {
  padding: 22px;
}

.proof-card-wide {
  grid-column: 1 / -1;
}

.proof-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.proof-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.proof-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-badges span {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
}

.cluster-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.cluster-column,
.workflow-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.cluster-column {
  padding: 14px;
}

.cluster-header strong,
.cluster-header span {
  display: block;
}

.cluster-header strong {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.cluster-header span {
  margin-top: 8px;
  font-family: var(--heading-font);
  font-size: 1.4rem;
  line-height: 1;
}

.cluster-header p {
  margin: 12px 0 0;
}

.cluster-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.cluster-thumbs img {
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.24);
}

.cluster-thumbs-landscape img {
  aspect-ratio: 1.16;
}

.cluster-thumbs-portrait img {
  aspect-ratio: 0.92;
  object-position: center top;
}

.proof-note {
  margin: 18px 0 0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.workflow-item {
  padding: 16px;
}

.workflow-item strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.workflow-item p {
  margin: 0;
}

.app-tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.app-tour-block + .app-tour-block {
  margin-top: 26px;
}

.app-tour-block-header {
  margin-bottom: 18px;
}

.app-tour-block-header h3 {
  margin: 0;
  font-size: 1.38rem;
  line-height: 1.2;
}

.app-tour-block-header p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.62;
  max-width: 72ch;
}

.app-shot-card {
  overflow: hidden;
}

.app-shot-card img {
  width: 100%;
  aspect-ratio: 1.58;
  object-fit: cover;
  object-position: left top;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.24);
}

.app-shot-copy {
  padding: 18px 20px 20px;
}

.app-shot-copy h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.18;
}

.app-shot-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.section-privacy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.privacy-card,
.install-card {
  padding: 22px;
}

.privacy-card p,
.install-card p {
  margin: 12px 0 0;
}

.install-platform {
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.install-card pre {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.install-card code {
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  font-size: 0.88rem;
  color: #f2eed9;
}

.install-footnote {
  color: var(--teal);
}

.split-note {
  margin-top: 18px;
  padding: 18px 20px;
  color: var(--muted);
  line-height: 1.6;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.doc-card {
  padding: 20px;
  display: grid;
  gap: 10px;
  min-height: 168px;
}

.doc-card strong {
  font-size: 1.12rem;
}

.footer {
  margin-top: 88px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer p {
  max-width: 48ch;
  margin: 8px 0 0;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: var(--muted);
  text-align: right;
}

@media (max-width: 1180px) {
  .hero,
  .section-privacy,
  .install-grid,
  .signal-strip,
  .docs-grid,
  .demo-stats {
    grid-template-columns: 1fr;
  }

  .proof-grid,
  .app-tour-grid,
  .feature-grid,
  .privacy-grid,
  .demo-grid,
  .cluster-board,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 840px;
  }

  .shot-main {
    inset: 0 8% 22% 0;
  }

  .shot-grid {
    width: 62%;
  }

  .shot-controls {
    width: 36%;
    bottom: 0;
  }

  .docs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--page-width));
    padding-top: 16px;
  }

  .topbar {
    display: grid;
    justify-content: stretch;
    border-radius: 26px;
    padding: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .hero {
    padding-top: 44px;
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 4.4rem);
  }

  .hero-media {
    min-height: 600px;
  }

  .shot-main {
    inset: 0 0 26% 0;
  }

  .shot-grid {
    top: auto;
    left: 7%;
    right: auto;
    bottom: 12%;
    width: 86%;
  }

  .shot-controls {
    display: none;
  }

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

  .footer {
    display: grid;
  }

  .footer-links {
    text-align: left;
  }
}

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

  .button,
  .shot-main,
  .shot-grid,
  .shot-controls {
    transition: none;
    animation: none;
  }
}
