:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-soft: #f0f1ee;
  --ink: #171918;
  --muted: #656966;
  --faint: #929793;
  --line: rgba(23, 25, 24, 0.1);
  --accent: #1769e0;
  --accent-hover: #0d57bf;
  --success: #2f8f5b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shell: min(1120px, calc(100vw - 48px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

img,
svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition:
    background 200ms ease-out,
    border-color 200ms ease-out;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(247, 247, 245, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
}

.nav-shell {
  width: var(--shell);
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

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

.beta-tag {
  padding: 2px 7px;
  border-radius: 999px;
  background: #e8eae6;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.main-nav a {
  transition: color 180ms ease-out;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
}

.main-nav .nav-download {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.main-nav .nav-download:hover,
.main-nav .nav-download:focus-visible {
  background: #303331;
  color: white;
}

.menu-button {
  display: none;
}

.hero {
  width: var(--shell);
  min-height: 100svh;
  margin: 0 auto;
  padding: 152px 0 56px;
  display: grid;
  place-items: center;
}

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

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 7vw, 6.25rem);
  font-weight: 550;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero-intro {
  max-width: 650px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  transition:
    color 180ms ease-out,
    background 180ms ease-out,
    transform 180ms ease-out;
}

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

.button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  background: var(--accent);
  color: white;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-hover);
}

.button-secondary {
  background: #e9eae7;
  color: #343735;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #dfe1dc;
}

.release-note {
  margin: 18px 0 0;
  color: var(--faint);
  font-size: 12px;
}

.status-dot {
  width: 6px;
  height: 6px;
  margin: 0 5px 1px 0;
  display: inline-block;
  border-radius: 50%;
  background: var(--success);
}

.product-stage {
  width: min(952px, 100%);
  overflow: hidden;
  border: 1px solid rgba(23, 25, 24, 0.1);
  border-radius: var(--radius-lg);
  background: #e6e9e8;
  box-shadow:
    0 1px 2px rgba(23, 25, 24, 0.04),
    0 20px 70px rgba(23, 25, 24, 0.08);
}

.stage-toolbar {
  height: 46px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.94);
}

.stage-toolbar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6d8d5;
}

.stage-toolbar p {
  margin: 0 auto;
  padding-left: 76px;
  color: var(--faint);
  font-size: 11px;
}

kbd {
  border: 0;
  border-radius: 5px;
  background: #e9eae7;
  color: #575b58;
  font-family: inherit;
  font-size: 10px;
  line-height: 1;
}

.stage-toolbar kbd {
  padding: 5px 7px;
}

.stage-toolbar b {
  color: var(--faint);
  font-size: 10px;
  font-weight: 400;
}

.product-stage > img {
  width: 100%;
  height: auto;
}

.scroll-cue {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-size: 11px;
  transition: color 180ms ease-out;
}

.scroll-cue:hover {
  color: var(--ink);
}

.scroll-cue svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
  padding: 152px 0;
}

.statement {
  max-width: 920px;
  text-align: center;
}

.statement h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.statement-copy {
  max-width: 610px;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  align-items: end;
  gap: 80px;
}

.section-heading h2,
.workflow h2,
.beta h2,
.faq h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  font-weight: 540;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.section-heading > p {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 15px;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-row {
  min-height: 168px;
  padding: 40px 0;
  display: grid;
  grid-template-columns: 54px 48px 1fr 200px;
  align-items: start;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.feature-number {
  color: var(--faint);
  font-size: 11px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #ebece8;
}

.feature-icon svg,
.trust-points svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.feature-row h3,
.trust-points h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.feature-row > div:nth-child(3) p {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-command {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  white-space: nowrap;
}

.feature-command kbd {
  padding: 5px 7px;
  background: #e4e6e1;
}

.workflow {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 10%;
}

.workflow-copy > p:not(.section-label) {
  margin: 24px 0 36px;
  color: var(--muted);
}

.shortcut-list {
  margin: 0;
}

.shortcut-list div {
  padding: 11px 0;
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: center;
}

.shortcut-list dt {
  width: max-content;
  min-width: 26px;
  padding: 5px 7px;
  border-radius: 6px;
  background: #e7e8e4;
  color: #4c504d;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

.shortcut-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.search-demo {
  overflow: hidden;
  border: 1px solid rgba(23, 25, 24, 0.12);
  border-radius: 18px;
  background: #1d201f;
  color: #f6f7f5;
  box-shadow: 0 24px 70px rgba(23, 25, 24, 0.1);
}

.demo-input {
  height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
}

.demo-input svg {
  width: 18px;
  fill: none;
  stroke: #717673;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.demo-input kbd {
  margin-left: auto;
  padding: 6px 8px;
  background: #2d312f;
  color: #8a8f8c;
}

.demo-caret {
  width: 1px;
  height: 21px;
  background: #b9bdb9;
  animation: caret 1.1s steps(2, jump-none) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.demo-result {
  margin: 0 12px;
  padding: 13px 12px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  background: #2b2f2d;
}

.result-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #315ca8;
  font-size: 14px;
  font-weight: 700;
}

.demo-result strong,
.demo-result small {
  display: block;
}

.demo-result strong {
  font-size: 13px;
  font-weight: 570;
}

.demo-result small {
  margin-top: 2px;
  color: #8d928e;
  font-size: 10px;
}

.demo-result kbd {
  padding: 6px 8px;
  background: #393e3b;
  color: #919692;
}

.demo-footer {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  color: #6f7471;
  font-size: 10px;
}

.trust-points {
  padding-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8%;
  border-top: 1px solid var(--line);
}

.trust-points svg {
  margin-bottom: 24px;
  color: var(--accent);
}

.trust-points p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.beta-panel {
  padding: 72px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 10%;
  border-radius: var(--radius-lg);
  background: #eceeea;
}

.beta-copy p {
  color: #585d59;
  font-size: 15px;
}

.beta-copy p + p {
  margin-top: 18px;
}

.beta-copy a {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 620;
}

.beta-copy a svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.faq {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 12%;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 580;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--faint);
  font-size: 20px;
  font-weight: 300;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 610px;
  margin: -3px 44px 26px 0;
  color: var(--muted);
  font-size: 13px;
}

.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.final-cta > img {
  margin-bottom: 28px;
  border-radius: 17px;
}

.final-cta > p:not(.section-label, .release-note) {
  margin: 20px 0 30px;
  color: var(--muted);
}

.site-footer {
  width: var(--shell);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.footer-shell {
  padding: 64px 0 72px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12%;
}

.footer-brand > p {
  max-width: 300px;
  margin: 18px 0 0;
  color: var(--faint);
  font-size: 13px;
}

.footer-shell nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-shell nav div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-shell nav p {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-shell nav a {
  color: var(--muted);
  font-size: 12px;
  transition: color 180ms ease-out;
}

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

.footer-meta {
  padding: 20px 0 28px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.footer-meta p {
  margin: 0;
  color: var(--faint);
  font-size: 10px;
}

.noscript-note {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 60;
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 12px;
  text-align: center;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease);
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 840px) {
  :root {
    --shell: min(100% - 32px, 680px);
  }

  .menu-button {
    width: 38px;
    height: 38px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 0;
    border-radius: 8px;
    background: transparent;
  }

  .menu-button > span:not(.sr-only) {
    width: 18px;
    height: 1px;
    display: block;
    background: var(--ink);
    transition: transform 180ms ease-out;
  }

  .menu-button[aria-expanded="true"] > span:nth-of-type(2) {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] > span:nth-of-type(3) {
    transform: translateY(-3px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    height: calc(100svh - 72px);
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease-out,
      transform 180ms ease-out;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .main-nav .nav-download {
    margin-top: 24px;
    border: 0;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-copy {
    margin-bottom: 52px;
  }

  h1 {
    letter-spacing: -0.055em;
  }

  .section-shell {
    padding: 108px 0;
  }

  .section-heading,
  .workflow,
  .beta-panel,
  .faq {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .workflow,
  .faq {
    gap: 44px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading > p {
    max-width: 520px;
  }

  .feature-row {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }

  .feature-number {
    display: none;
  }

  .feature-command {
    grid-column: 2;
    margin-top: 0;
  }

  .search-demo {
    order: -1;
  }

  .trust-points {
    gap: 4%;
  }

  .beta-panel {
    padding: 48px;
    gap: 40px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .hero {
    padding-top: 116px;
  }

  h1 {
    font-size: clamp(2.85rem, 15vw, 4.6rem);
    line-height: 1;
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .product-stage {
    border-radius: 14px;
  }

  .stage-toolbar {
    display: none;
  }

  .section-shell {
    padding: 88px 0;
  }

  .statement-copy {
    font-size: 16px;
  }

  .feature-row {
    padding: 30px 0;
  }

  .trust-points {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .trust-points > div {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
  }

  .beta {
    width: 100%;
  }

  .beta-panel {
    padding: 56px 24px;
    border-radius: 0;
  }

  .demo-input {
    height: 65px;
    padding: 0 16px;
    font-size: 15px;
  }

  .demo-footer {
    padding: 15px 16px;
  }

  .demo-footer span:first-child {
    display: none;
  }

  .footer-shell nav {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 6px;
  }
}

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

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

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
