:root {
  color-scheme: light;
  --ink: #111111;
  --ink-soft: rgba(17, 17, 17, 0.66);
  --ink-faint: rgba(17, 17, 17, 0.38);
  --paper: #fbfbf6;
  --surface: #ffffff;
  --line: rgba(17, 17, 17, 0.12);
  --line-soft: rgba(17, 17, 17, 0.07);
  --yellow: #fff34f;
  --mint: #dff5dc;
  --green: #1f6f5b;
  --charcoal: #201f1d;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  padding: 14px 0;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
}

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

.brand {
  gap: 10px;
  font-size: 17px;
  font-weight: 650;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-nav {
  gap: 6px;
  font-size: 14px;
  font-weight: 560;
}

.site-nav a {
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(17, 17, 17, 0.06);
}

.site-nav .nav-download {
  color: var(--surface);
  background: var(--ink);
}

.site-nav .nav-download:hover {
  color: var(--surface);
  background: #000000;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  width: min(1180px, calc(100% - 40px));
  min-height: calc(86svh - 72px);
  margin: 0 auto;
  padding: clamp(36px, 8vw, 92px) 0 clamp(42px, 8vw, 86px);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(76px, 12vw, 150px);
  font-weight: 680;
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(22px, 3.3vw, 38px);
  font-weight: 520;
  line-height: 1.12;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 680;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: var(--surface);
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line);
}

.hero-note {
  margin: 18px 0 0;
  color: var(--ink-faint);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.preview-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  background: #2b2928;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.demo-screen {
  position: relative;
  min-height: 476px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 24%, rgba(255, 243, 79, 0.12), transparent 28%),
    linear-gradient(135deg, #34312f 0%, #171615 78%);
}

.demo-grid {
  position: absolute;
  inset: 34px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  opacity: 0.46;
}

.demo-grid div {
  min-height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 32%, transparent 32% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02));
}

.demo-grid div:nth-child(2) {
  grid-row: span 2;
}

.spotlight-beam {
  position: absolute;
  right: -22%;
  bottom: -20%;
  width: 74%;
  aspect-ratio: 1 / 1.4;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  filter: blur(0.4px);
  opacity: 0.38;
  transform: rotate(-47deg);
}

.spotlight-focus {
  position: absolute;
  top: 72px;
  left: 58px;
  display: grid;
  place-items: center;
  width: min(54%, 312px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fffff1;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6), 0 28px 80px rgba(0, 0, 0, 0.32);
}

.spotlight-focus img {
  width: 56%;
  height: 56%;
  border-radius: 22%;
  opacity: 0.94;
}

.selection-panel {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: min(260px, calc(100% - 68px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: #ffffff;
  background: rgba(17, 17, 17, 0.62);
  backdrop-filter: blur(18px);
}

.selection-panel strong,
.selection-panel span {
  display: block;
}

.selection-panel strong {
  font-size: 15px;
}

.selection-panel span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) 0;
  border-top: 1px solid var(--line-soft);
}

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

.section-heading h2,
.privacy-callout h2,
.download-section h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 660;
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p,
.privacy-callout p,
.download-section p {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.42;
}

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

.features article {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.feature-index {
  display: block;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 760;
}

.features h3 {
  margin: 58px 0 12px;
  font-size: 24px;
  line-height: 1.05;
}

.features p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.flow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(360px, 1fr);
  gap: clamp(32px, 7vw, 92px);
}

.flow-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  padding: 22px 24px;
  border-left: 4px solid var(--yellow);
  background: rgba(255, 255, 255, 0.64);
}

.flow-list span {
  display: block;
  font-size: 22px;
  font-weight: 680;
}

.flow-list p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.privacy-callout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(54px, 7vw, 82px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(223, 245, 220, 0.82), rgba(255, 255, 255, 0.72)),
    var(--surface);
}

.privacy-callout div {
  max-width: 760px;
}

.download-section {
  display: grid;
  justify-items: center;
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 132px) 0;
  text-align: center;
}

.download-section img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  box-shadow: 0 18px 46px rgba(17, 17, 17, 0.18);
}

.download-section h2 {
  margin-top: 26px;
}

.download-section .button {
  margin-top: 30px;
}

.site-footer {
  justify-content: center;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 46px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-faint);
  font-size: 14px;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.document-page {
  background: #f7f4ed;
}

.policy {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 96px;
  color: #171512;
  font-size: 17px;
  line-height: 1.65;
}

.policy-header {
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid #d8d0c3;
}

.policy-header p {
  margin: 0 0 10px;
  color: #686158;
  font-size: 15px;
}

.policy-header h1 {
  margin: 0 0 12px;
  font-size: clamp(38px, 7vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.policy-header span {
  color: #686158;
}

.policy-summary {
  margin: 28px 0 34px;
  padding: 22px 24px;
  border: 1px solid #d8d0c3;
  border-radius: 8px;
  background: #fffdf8;
}

.policy h2 {
  margin: 40px 0 12px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

.policy p {
  margin: 0 0 16px;
}

.policy ul {
  margin: 0 0 18px;
  padding-left: 24px;
}

.policy li {
  margin: 8px 0;
}

.policy a {
  color: #1f6f5b;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .site-header {
    width: min(100% - 28px, 1180px);
  }

  .site-nav a:not(.nav-download) {
    display: none;
  }

  .hero,
  .flow-section {
    grid-template-columns: 1fr;
  }

  .hero {
    width: min(100% - 28px, 1180px);
    min-height: auto;
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(68px, 20vw, 110px);
  }

  .hero-lede {
    font-size: clamp(22px, 7vw, 34px);
  }

  .demo-screen {
    min-height: 392px;
  }

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

  .features article {
    min-height: 220px;
  }

  .privacy-callout {
    display: grid;
    padding: 34px 24px;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 12px;
  }

  .brand span {
    display: none;
  }

  .site-nav .nav-download {
    padding-right: 12px;
    padding-left: 12px;
  }

  .button {
    width: 100%;
  }

  .preview-window {
    border-radius: 16px;
  }

  .demo-screen {
    min-height: 320px;
  }

  .demo-grid {
    inset: 22px;
    grid-template-columns: 1fr;
  }

  .demo-grid div:nth-child(2) {
    grid-row: auto;
  }

  .spotlight-focus {
    top: 48px;
    left: 30px;
    width: 62%;
  }

  .selection-panel {
    right: 18px;
    bottom: 18px;
    width: calc(100% - 36px);
  }

  .section,
  .download-section,
  .policy {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 62px 0;
  }

  .privacy-callout {
    width: min(100% - 28px, 1180px);
  }

  .site-footer {
    flex-wrap: wrap;
    width: min(100% - 28px, 1180px);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
