:root {
  color-scheme: dark;
  --bg: #111315;
  --surface: #181b1d;
  --surface-strong: #202427;
  --surface-tint: #292d30;
  --text: #f0f1ef;
  --muted: #9da4a4;
  --line: rgba(240, 241, 239, 0.11);
  --line-strong: rgba(240, 241, 239, 0.22);
  --accent: #ff5140;
  --accent-strong: #ff6959;
  --accent-ink: #160807;
  --header: rgba(17, 19, 21, 0.84);
  --shadow: rgba(0, 0, 0, 0.42);
  --radius: 22px;
  --button-radius: 14px;
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
summary {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, white);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 68px;
  border-bottom: 1px solid var(--line);
  background: var(--header);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

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

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  white-space: nowrap;
}

.nav-links > a:not(.button) {
  color: var(--muted);
  font-size: 13px;
  font-weight: 640;
}

.nav-links > a:not(.button):hover {
  color: var(--text);
}

.menu-toggle {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--button-radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 20%, transparent);
  transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px) scale(0.985);
}

.button-small {
  min-height: 38px;
  padding-inline: 15px;
  font-size: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.text-link span {
  color: var(--accent);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - 68px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 36%, color-mix(in srgb, var(--bg) 68%, transparent) 58%, color-mix(in srgb, var(--bg) 18%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 14%, transparent), var(--bg) 98%);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.78;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  min-height: calc(100dvh - 68px);
  padding-block: clamp(56px, 8vh, 84px);
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: clamp(54px, 6.2vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  font-weight: 800;
}

.hero-summary {
  max-width: 520px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

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

.proof-grid p {
  display: grid;
  gap: 2px;
  min-height: 94px;
  margin: 0;
  padding: 23px 26px;
  border-left: 1px solid var(--line);
}

.proof-grid p:last-child {
  border-right: 1px solid var(--line);
}

.proof-grid strong {
  font-size: 13px;
}

.proof-grid span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding-block: clamp(92px, 12vw, 150px);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-heading h2,
.privacy-copy h2,
.setup-copy h2,
.download h2 {
  margin-bottom: 16px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.052em;
  font-weight: 790;
}

.section-heading p,
.privacy-copy p,
.setup-copy p,
.download p {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.app-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #101214;
  box-shadow: 0 38px 90px var(--shadow);
}

.app-frame img {
  width: 100%;
  height: auto;
}

.workflow {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.workflow-list {
  display: grid;
  grid-template-columns: 1.15fr 0.92fr 1.05fr;
  gap: clamp(32px, 6vw, 90px);
}

.workflow-item {
  padding-top: 18px;
  border-top: 2px solid var(--line-strong);
}

.workflow-item:nth-child(2) {
  margin-top: 48px;
}

.workflow-item h3 {
  margin-bottom: 12px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.workflow-item p {
  color: var(--muted);
  font-size: 15px;
}

.workflow-item span {
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

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

.feature {
  grid-column: span 4;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -0.036em;
}

.feature p {
  max-width: 42ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-wide {
  grid-column: span 8;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: end;
  min-height: 330px;
  background: var(--surface-strong);
}

.feature-accent {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}

.feature-accent p {
  color: color-mix(in srgb, var(--accent-ink) 78%, transparent);
}

.feature-icon {
  grid-column: span 8;
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  gap: 30px;
  background: var(--surface-tint);
}

.feature-icon img {
  width: 100%;
  border-radius: 27%;
  filter: drop-shadow(0 22px 24px var(--shadow));
}

.feature:last-child {
  grid-column: span 12;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  background: var(--surface-strong);
}

.feature:last-child p {
  max-width: 52ch;
}

.signal-lines {
  display: grid;
  gap: 17px;
  align-self: center;
  transform: skewY(-6deg);
}

.signal-lines i {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  transform-origin: left center;
}

.signal-lines i:nth-child(2) { transform: scaleX(0.82); }
.signal-lines i:nth-child(3) { transform: scaleX(0.64); }
.signal-lines i:nth-child(4) { transform: scaleX(0.92); }

.privacy {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(60px, 10vw, 140px);
}

.privacy-art {
  padding: clamp(24px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-tint);
}

.privacy-art img {
  border-radius: 27%;
  filter: drop-shadow(0 28px 38px var(--shadow));
}

.privacy-copy p,
.setup-copy p {
  margin-bottom: 20px;
}

.setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
}

.setup-window {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 34px 80px var(--shadow);
}

.setup-window img {
  width: 122%;
  max-width: none;
  transform: translateX(-10%);
}

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

.faq-list {
  max-width: 900px;
}

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

.faq-list summary {
  position: relative;
  padding: 25px 44px 25px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 690;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 24px;
  color: var(--accent);
  font-size: 24px;
  font-weight: 420;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 680px;
  padding: 0 44px 24px 0;
  color: var(--muted);
}

.download {
  border-block: 1px solid var(--line);
  background: var(--surface-strong);
}

.download-inner {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 42px;
}

.download-inner img {
  width: 140px;
  border-radius: 27%;
  filter: drop-shadow(0 18px 24px var(--shadow));
}

.download h2 {
  margin-bottom: 9px;
  font-size: clamp(34px, 4vw, 52px);
}

.site-footer {
  padding-block: 34px;
  color: var(--muted);
  font-size: 12px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-grid p {
  margin: 0;
}

.footer-grid div {
  display: flex;
  gap: 18px;
  flex: 0 0 auto;
}

.footer-grid a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms cubic-bezier(0.16, 1, 0.3, 1), transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 36px, 760px);
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    font-size: 13px;
    font-weight: 700;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 14px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links > a:not(.button) {
    padding: 13px 2px;
    text-align: left;
  }

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

  .hero::before {
    background:
      linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 92%, transparent) 58%, color-mix(in srgb, var(--bg) 50%, transparent) 100%),
      linear-gradient(180deg, color-mix(in srgb, var(--bg) 8%, transparent), var(--bg) 98%);
  }

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

  .proof-grid p:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .proof-grid p:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .workflow-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .workflow-item:nth-child(2) {
    margin-top: 0;
  }

  .feature,
  .feature-wide,
  .feature-icon {
    grid-column: span 6;
  }

  .feature:last-child {
    grid-column: span 12;
  }

  .feature-wide {
    grid-template-columns: 1fr;
  }

  .feature-icon {
    grid-template-columns: 120px 1fr;
  }

  .privacy-grid,
  .setup-grid {
    grid-template-columns: 1fr;
  }

  .privacy-art {
    max-width: 430px;
  }

  .download-inner {
    grid-template-columns: 110px 1fr;
  }

  .download-inner img {
    width: 110px;
  }

  .download-inner .button {
    grid-column: 2;
    justify-self: start;
  }
}

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

  .section {
    padding-block: 78px;
  }

  .hero-grid {
    min-height: calc(100dvh - 68px);
    padding-block: 52px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .hero-summary {
    max-width: 24ch;
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-art {
    object-position: 64% center;
  }

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

  .proof-grid p {
    min-height: 78px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .proof-grid p:last-child {
    border-bottom: 0;
  }

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

  .feature,
  .feature-wide,
  .feature-icon {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .feature:last-child {
    grid-column: 1 / -1;
    min-height: 0;
    display: block;
  }

  .feature-wide {
    min-height: 330px;
  }

  .feature-icon {
    grid-template-columns: 94px 1fr;
    gap: 18px;
  }

  .setup-window img {
    width: 150%;
    transform: translateX(-17%);
  }

  .download-inner {
    grid-template-columns: 78px 1fr;
    gap: 20px;
  }

  .download-inner img {
    width: 78px;
  }

  .download-inner .button {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid div {
    flex-wrap: wrap;
  }
}

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

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

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

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
