:root {
  color-scheme: dark;
  --ink: #f5f8ff;
  --muted: #aab7d1;
  --panel: rgba(15, 29, 62, 0.72);
  --line: rgba(147, 177, 236, 0.16);
  --cyan: #27dce5;
  --blue: #1685ff;
  --violet: #8354ff;
  --page: #050b1c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(22, 133, 255, 0.18), transparent 27rem),
    radial-gradient(circle at 12% 45%, rgba(39, 220, 229, 0.08), transparent 30rem),
    var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img { border-radius: 11px; box-shadow: 0 8px 28px rgba(20, 104, 255, 0.25); }

nav { display: flex; gap: 30px; }

nav a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--ink); }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 64px;
  align-items: center;
  padding: 72px 0 90px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 7vw, 6.3rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.08; letter-spacing: -0.045em; }
h3 { margin-bottom: 10px; font-size: 1.16rem; line-height: 1.3; }

.intro { max-width: 680px; color: var(--muted); font-size: 1.16rem; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 34px 0 14px; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-2px); border-color: rgba(39, 220, 229, 0.55); }
.button-primary { background: linear-gradient(110deg, var(--cyan), var(--blue)); color: #031026; box-shadow: 0 14px 40px rgba(22, 133, 255, 0.23); }
.button-secondary { background: rgba(255, 255, 255, 0.04); }
.version { color: #7786a5; font-size: 13px; }

.hero-mark { position: relative; display: grid; min-height: 420px; place-items: center; }
.hero-mark img { position: relative; z-index: 1; width: min(78%, 340px); height: auto; border-radius: 24%; box-shadow: 0 40px 100px rgba(0, 34, 112, 0.62); transform: rotate(2deg); }
.glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(40, 193, 255, 0.22); filter: blur(70px); }

.chip {
  position: absolute;
  z-index: 2;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(10, 20, 48, 0.8);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  color: #dce9ff;
  font-size: 12px;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.chip-one { top: 10%; right: 2%; }
.chip-two { bottom: 10%; left: 4%; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.trust-strip div { display: grid; gap: 3px; padding: 25px 28px; border-right: 1px solid var(--line); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong { font-size: 14px; }
.trust-strip span { color: var(--muted); font-size: 13px; }

.section { padding: 120px 0 30px; scroll-margin-top: 30px; }
.section-heading { max-width: 670px; margin-bottom: 44px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }

.demo-section .section-heading { margin-inline: auto; text-align: center; }
.video-frame {
  position: relative;
  overflow: hidden;
  padding: 9px;
  border: 1px solid rgba(39, 220, 229, 0.24);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(39, 220, 229, 0.18), rgba(131, 84, 255, 0.17));
  box-shadow: 0 35px 100px rgba(0, 26, 91, 0.42);
}
.video-frame::before {
  position: absolute;
  z-index: -1;
  inset: 12% 8% -10%;
  border-radius: 50%;
  background: rgba(22, 133, 255, 0.18);
  filter: blur(70px);
  content: "";
}
.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #020612;
}

.browser-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.browser-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  min-height: 340px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(20, 40, 84, 0.68), rgba(8, 18, 42, 0.7));
}

.browser-badge { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 15px; background: linear-gradient(135deg, #f04b3f, #e9be26 47%, #29a960 48%, #2c72d6); font-weight: 900; }
.browser-badge.firefox { background: linear-gradient(135deg, #7a3cff, #ff5b2b 55%, #ffb21a); }
.card-kicker { margin-bottom: 5px; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.browser-card ol { margin: 22px 0; padding-left: 20px; color: var(--muted); }
.browser-card li + li { margin-top: 8px; }
.browser-card code, .steps code { padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); color: #dce9ff; }
.text-link { color: var(--cyan); font-weight: 760; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.configure-section { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 80px; }
.steps { counter-reset: step; }
.steps article { position: relative; padding: 0 0 35px 64px; border-left: 1px solid var(--line); }
.steps article:last-child { padding-bottom: 8px; }
.step-number { position: absolute; top: 0; left: -21px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(39, 220, 229, 0.4); border-radius: 50%; background: #091633; color: var(--cyan); font-size: 13px; font-weight: 850; }
.steps p { margin-bottom: 8px; color: var(--muted); }
.tip { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; padding: 20px 24px; border: 1px solid rgba(39, 220, 229, 0.2); border-radius: 14px; background: rgba(39, 220, 229, 0.055); }
.tip > span { color: var(--cyan); font-size: 22px; }
.tip p { margin: 0; color: var(--muted); }

.workflow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 20px; }
.workflow > div { min-height: 210px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.workflow > div > span { display: grid; width: 42px; height: 42px; margin-bottom: 35px; place-items: center; border-radius: 12px; background: linear-gradient(135deg, rgba(39, 220, 229, 0.18), rgba(131, 84, 255, 0.2)); color: var(--cyan); font-weight: 900; }
.workflow strong { display: block; margin-bottom: 7px; }
.workflow p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.workflow > i { color: #526486; font-style: normal; }

.privacy-callout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; margin-top: 120px; padding: 55px; border: 1px solid rgba(119, 90, 255, 0.25); border-radius: 24px; background: linear-gradient(120deg, rgba(23, 42, 88, 0.78), rgba(35, 18, 77, 0.64)); }
.privacy-callout h2 { margin-bottom: 0; }
.privacy-callout > p { margin: 0; color: var(--muted); }

footer { display: flex; justify-content: space-between; align-items: center; margin-top: 120px; padding: 35px 0 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--ink); }
footer p { margin: 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 10px; padding-top: 60px; }
  .hero-mark { min-height: 340px; }
  .hero-mark img { width: 260px; }
  .configure-section, .privacy-callout { grid-template-columns: 1fr; gap: 26px; }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .workflow > i { display: none; }
}

@media (max-width: 680px) {
  .site-header { align-items: flex-start; padding: 18px 0; }
  nav { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
  nav a { font-size: 12px; }
  .brand > span { display: none; }
  .hero { min-height: auto; padding: 70px 0; }
  h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .hero-mark { display: none; }
  .button { width: 100%; }
  .trust-strip, .browser-grid, .workflow { grid-template-columns: 1fr; }
  .trust-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip div:last-child { border-bottom: 0; }
  .section { padding-top: 90px; }
  .browser-card { grid-template-columns: 1fr; padding: 24px; }
  .privacy-callout { margin-top: 90px; padding: 30px; }
  footer { align-items: flex-start; gap: 20px; }
  .footer-brand { display: none; }
}

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