:root {
  color-scheme: dark;
  --bg: #090a0c;
  --bg-2: #101114;
  --panel: #17191c;
  --panel-2: #1d2026;
  --text: #f5f7fb;
  --muted: #a7a9b0;
  --muted-2: #787d87;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #81a0ff;
  --accent-2: #6f8fff;
  --accent-dark: #26314f;
  --success: #75e0ad;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.56);
  --radius: 8px;
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 68% 8%, rgba(129, 160, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, #090a0c 0%, #0c0d10 52%, #090a0c 100%);
  color: var(--text);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
}

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

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

.section-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.site-header::before {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100%;
  height: 72px;
  content: "";
  background: rgba(9, 10, 12, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 18px;
  font-weight: 760;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(129, 160, 255, 0.18);
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

nav a,
.text-link {
  transition: color 160ms ease;
}

nav a:hover,
.text-link:hover {
  color: var(--text);
}

.header-cta {
  justify-self: end;
  min-width: max-content;
  padding: 10px 14px;
  border: 1px solid rgba(129, 160, 255, 0.58);
  border-radius: 8px;
  background: rgba(129, 160, 255, 0.15);
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: 54px 0 56px;
}

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

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

h1 {
  max-width: 660px;
  font-size: clamp(52px, 7.4vw, 92px);
  line-height: 0.96;
  font-weight: 840;
}

h2 {
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.02;
  font-weight: 820;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 780;
}

.hero-lede {
  max-width: 560px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 790;
  line-height: 1;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  background: linear-gradient(180deg, #8ba6ff 0%, #6687ff 100%);
  color: #071021;
  box-shadow: 0 18px 44px rgba(104, 134, 255, 0.32);
}

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

.proof-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 46px 0 0;
  color: var(--muted);
  font-size: 16px;
  list-style: none;
}

.proof-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proof-list li::before,
.privacy-list li::before {
  display: inline-grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #0c1223;
  content: "✓";
  font-size: 13px;
  font-weight: 900;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.device-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 44px;
  background: #050608;
  box-shadow:
    inset 0 0 0 8px #17181c,
    inset 0 0 0 10px rgba(255, 255, 255, 0.1),
    var(--shadow);
}

.device-frame::before {
  position: absolute;
  inset: 10px;
  z-index: 2;
  pointer-events: none;
  content: "";
  border-radius: 34px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.device-frame img {
  width: 100%;
  height: 100%;
  padding: 10px;
  border-radius: 38px;
  object-fit: cover;
}

.device-frame-large {
  width: min(410px, 100%);
  aspect-ratio: 1206 / 2622;
}

.workflow,
.product,
.fit,
.privacy,
.faq,
.beta {
  padding: 94px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading.left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-heading p,
.product-copy p,
.privacy-card p,
.beta-panel p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.step {
  min-height: 250px;
  padding: 34px;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step p,
.fit-grid p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.step-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-dark);
  color: var(--accent);
  font-size: 23px;
  font-weight: 860;
}

.product {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}

.product-copy {
  max-width: 380px;
}

.text-link {
  display: inline-flex;
  margin-top: 30px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 760;
}

.text-link::after {
  margin-left: 10px;
  content: "→";
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.device-frame-small {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1206 / 2622;
  border-radius: 34px;
  justify-self: center;
  box-shadow:
    inset 0 0 0 6px #17181c,
    inset 0 0 0 8px rgba(255, 255, 255, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.5);
}

.device-frame-small img {
  padding: 8px;
  border-radius: 30px;
}

.center-phone {
  max-width: 280px;
}

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

.fit-grid article {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 58px;
  align-items: center;
}

.privacy-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 28px;
  align-items: start;
}

.privacy-icon {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(129, 160, 255, 0.18), rgba(129, 160, 255, 0.08));
  border: 1px solid rgba(129, 160, 255, 0.2);
}

.privacy-icon span {
  position: relative;
  width: 30px;
  height: 26px;
  border-radius: 5px;
  background: var(--accent);
}

.privacy-icon span::before {
  position: absolute;
  top: -20px;
  left: 5px;
  width: 20px;
  height: 22px;
  content: "";
  border: 5px solid var(--accent);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}

.privacy-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  list-style: none;
}

.privacy-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

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

.faq details {
  min-height: 176px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.faq summary {
  cursor: pointer;
  color: var(--text);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.35;
}

.faq summary::marker {
  color: var(--accent);
}

.faq p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.beta {
  padding-bottom: 116px;
}

.beta-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 44px;
  text-align: center;
  border: 1px solid rgba(129, 160, 255, 0.26);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(129, 160, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--panel);
  box-shadow: var(--shadow);
}

.beta-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  text-align: left;
}

.beta-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.beta-form input,
.beta-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  outline: none;
}

.beta-form input {
  height: 50px;
  padding: 0 14px;
}

.beta-form textarea {
  min-height: 118px;
  resize: vertical;
  padding: 13px 14px;
}

.beta-form input:focus,
.beta-form textarea:focus {
  border-color: rgba(129, 160, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(129, 160, 255, 0.14);
}

.beta-form .button {
  width: 100%;
  margin-top: 4px;
}

.beta-note {
  font-size: 14px !important;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.analytics-consent {
  position: fixed;
  z-index: 10;
  right: 22px;
  bottom: 22px;
  width: min(390px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 16, 17, 0.97);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.analytics-consent p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.analytics-consent-actions {
  display: flex;
  gap: 10px;
}

.analytics-consent .button {
  flex: 1;
  cursor: pointer;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

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

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

  .hero-visual {
    justify-content: flex-start;
  }

  .device-frame-large {
    width: min(360px, 82vw);
  }

  .product-copy {
    max-width: 680px;
  }

  .phone-row,
  .fit-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .phone-row {
    max-width: 420px;
    margin: 0 auto;
  }

  .device-frame-small,
  .center-phone {
    max-width: 280px;
  }

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

  .step {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .site-header {
    width: calc(100% - 32px);
  }

  .header-cta {
    padding: 9px 12px;
    font-size: 13px;
  }

  .brand {
    font-size: 16px;
  }

  .hero {
    gap: 38px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  h2 {
    font-size: 34px;
  }

  .hero-lede,
  .section-heading p,
  .product-copy p,
  .privacy-card p,
  .beta-panel p {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .workflow,
  .product,
  .fit,
  .privacy,
  .faq,
  .beta {
    padding: 72px 0;
  }

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

  .beta-panel {
    padding: 28px 18px;
  }

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

  .analytics-consent {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  html {
    scroll-behavior: auto;
    transition: none !important;
  }
}
