:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #9eabbc;
  --line: rgba(255, 255, 255, 0.1);
  --panel: rgba(16, 27, 45, 0.82);
  --blue: #66d9ff;
  --blue-strong: #24b7f2;
  --green: #72f2bf;
  --navy: #09111f;
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 73% 18%, rgba(35, 164, 224, 0.14), transparent 30rem),
    radial-gradient(circle at 13% 48%, rgba(44, 231, 176, 0.06), transparent 24rem),
    var(--navy);
  line-height: 1.6;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: #07101c;
  background: var(--green);
  border-radius: 0.5rem;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
footer {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 720;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 1.65rem;
  height: 1.65rem;
  border: 1px solid rgba(114, 242, 191, 0.55);
  border-radius: 0.42rem;
  box-shadow: inset 0 0 1rem rgba(102, 217, 255, 0.12);
}

.brand-mark::before,
.brand-mark span {
  position: absolute;
  content: "";
  border-radius: 0.25rem;
}

.brand-mark::before {
  inset: 0.32rem;
  background: var(--blue-strong);
}

.brand-mark span {
  inset: 0.5rem -0.24rem -0.24rem 0.5rem;
  border: 1px solid var(--green);
}

.brand-mark.small {
  width: 1.35rem;
  height: 1.35rem;
}

nav {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

nav a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

.nav-github {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(30rem, 1.12fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  width: min(calc(100% - 3rem), var(--max));
  min-height: 42rem;
  margin-inline: auto;
  padding: 5.5rem 0 4.5rem;
}

.eyebrow {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin: 0 0 1.35rem;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow span,
.signal-dot {
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0.8rem rgba(114, 242, 191, 0.72);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 5.9rem);
  font-weight: 690;
  letter-spacing: -0.068em;
  line-height: 0.94;
}

h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero-lede {
  max-width: 36rem;
  margin: 1.8rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  font-size: 0.86rem;
  font-weight: 720;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #06111b;
  background: var(--green);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
}

.pairing-note {
  max-width: 31rem;
  margin-top: 1.2rem;
  color: #7f8da0;
  font-size: 0.78rem;
}

.product-scene {
  position: relative;
  min-height: 32rem;
  perspective: 1200px;
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.1px);
}

.ambient-one {
  top: 12%;
  right: 8%;
  width: 20rem;
  height: 20rem;
  background: rgba(37, 180, 239, 0.11);
  box-shadow: 0 0 7rem rgba(37, 180, 239, 0.2);
}

.ambient-two {
  right: 30%;
  bottom: 2%;
  width: 13rem;
  height: 13rem;
  background: rgba(114, 242, 191, 0.06);
  box-shadow: 0 0 5rem rgba(114, 242, 191, 0.14);
}

.laptop {
  position: absolute;
  top: 6.5rem;
  left: 0;
  width: 66%;
  transform: rotateY(8deg) rotateX(1deg);
}

.laptop-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: 0.42rem;
  overflow: hidden;
  background: #111a29;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.65rem 0.65rem 0.2rem 0.2rem;
  box-shadow: 0 1.7rem 4rem rgba(0, 0, 0, 0.46);
}

.window {
  height: calc(100% - 0.7rem);
  overflow: hidden;
  background: #d8e3eb;
  border-radius: 0.3rem;
}

.window-bar {
  display: flex;
  gap: 0.22rem;
  align-items: center;
  height: 1.25rem;
  padding: 0 0.45rem;
  background: #f5f8fb;
}

.window-bar i {
  width: 0.3rem;
  height: 0.3rem;
  background: #9eadba;
  border-radius: 50%;
}

.window-bar i:first-child {
  background: #53d2aa;
}

.window-body {
  display: flex;
  height: calc(100% - 1.25rem);
  padding: 0.65rem;
  background: linear-gradient(145deg, #dce6ee, #b9cbd8);
}

.sidebar {
  width: 23%;
  margin-right: 0.65rem;
  background: #263d53;
  border-radius: 0.2rem;
}

.content-lines {
  flex: 1;
}

.content-lines span,
.tablet-copy > span {
  display: block;
  height: 0.38rem;
  margin-bottom: 0.38rem;
  background: rgba(18, 45, 68, 0.3);
  border-radius: 1rem;
}

.content-lines span:nth-child(2) {
  width: 82%;
}

.content-lines span:nth-child(3) {
  width: 58%;
}

.content-card {
  height: 60%;
  margin-top: 0.7rem;
  background:
    linear-gradient(135deg, rgba(32, 137, 187, 0.9), rgba(19, 60, 95, 0.95));
  border-radius: 0.28rem;
}

.taskbar,
.tablet-taskbar {
  position: absolute;
  right: 0.4rem;
  bottom: 0.35rem;
  left: 0.4rem;
  height: 0.38rem;
  background: rgba(2, 8, 15, 0.82);
}

.laptop-base {
  width: 112%;
  height: 0.65rem;
  margin-left: -6%;
  background: linear-gradient(#c8d0d6, #68727b);
  border-radius: 0 0 55% 55%;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.35);
}

.tablet {
  position: absolute;
  z-index: 3;
  top: 1.4rem;
  right: 0;
  width: 57%;
  padding: 0.7rem;
  background: #131c29;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 1.2rem;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.56);
  transform: rotateY(-6deg) rotateZ(1.2deg);
}

.tablet-camera {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 0.2rem;
  width: 0.22rem;
  height: 0.22rem;
  background: #0a0f17;
  border-radius: 50%;
}

.tablet-screen {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #cddce6;
  border-radius: 0.65rem;
}

.tablet-window {
  height: calc(100% - 0.55rem);
  border-radius: 0;
}

.tablet-copy {
  width: 100%;
}

.tablet-copy > span:first-child {
  width: 58%;
}

.tablet-copy > span:nth-child(2) {
  width: 38%;
}

.focus-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 75%;
  margin-top: 0.65rem;
  padding: 0.85rem;
  color: #effcff;
  background:
    radial-gradient(circle at 75% 25%, rgba(114, 242, 191, 0.32), transparent 28%),
    linear-gradient(145deg, #0e4d70, #0d233c);
  border-radius: 0.3rem;
}

.focus-card b {
  color: var(--green);
  font-size: clamp(0.35rem, 0.7vw, 0.55rem);
  letter-spacing: 0.16em;
}

.focus-card strong {
  font-size: clamp(0.68rem, 1.45vw, 1.14rem);
  line-height: 1.15;
}

.cursor {
  position: absolute;
  z-index: 4;
  right: 22%;
  bottom: 27%;
  width: 0.7rem;
  height: 1rem;
  background: white;
  clip-path: polygon(0 0, 100% 65%, 58% 68%, 42% 100%);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.8));
}

.connection-line {
  position: absolute;
  z-index: 2;
  top: 58%;
  right: 42%;
  width: 9rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  transform: rotate(-13deg);
}

.connection-line i {
  position: absolute;
  top: -0.16rem;
  width: 0.34rem;
  height: 0.34rem;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0.7rem var(--green);
}

.connection-line i:nth-child(2) {
  left: 28%;
}

.connection-line i:nth-child(3) {
  left: 53%;
}

.connection-line i:nth-child(4) {
  left: 78%;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  border-block: 1px solid var(--line);
}

.trust-strip > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.7rem;
  padding: 1.35rem 1.5rem;
}

.trust-strip > div + div {
  border-left: 1px solid var(--line);
}

.trust-strip .signal-dot {
  grid-row: 1 / 3;
  align-self: center;
}

.trust-strip b {
  font-size: 0.79rem;
}

.trust-strip small {
  color: var(--muted);
  font-size: 0.68rem;
}

.section {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
  padding: 8rem 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 3rem;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.5vw, 4.1rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 4.5rem 0 0;
  padding: 0;
  list-style: none;
}

.step-grid li {
  min-height: 16rem;
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.step-number {
  color: var(--blue);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
}

.step-grid h3 {
  margin: 4.2rem 0 0.75rem;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.step-grid p,
.preview > p {
  color: var(--muted);
  font-size: 0.92rem;
}

.privacy {
  padding-top: 2rem;
}

.privacy-card {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 5rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at 8% 105%, rgba(114, 242, 191, 0.12), transparent 36%),
    var(--panel);
  border: 1px solid rgba(102, 217, 255, 0.16);
  border-radius: 1.5rem;
}

.privacy-copy {
  align-self: end;
}

.privacy-copy p {
  color: var(--muted);
}

.privacy-copy ul {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.privacy-copy li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.privacy-copy li::before {
  margin-right: 0.6rem;
  color: var(--green);
  content: "✓";
}

.preview {
  max-width: 48rem;
  margin-left: max(1.5rem, calc((100% - var(--max)) / 2));
}

.preview > p {
  max-width: 40rem;
  margin: 1.5rem 0;
  line-height: 1.8;
}

.text-link {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 7rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer p {
  font-size: 0.72rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 4rem;
  }

  .hero-copy {
    position: relative;
    z-index: 4;
  }

  .product-scene {
    width: min(100%, 42rem);
    margin-inline: auto;
  }

  .section-heading,
  .privacy-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .privacy-copy {
    max-width: 36rem;
  }
}

@media (max-width: 640px) {
  .site-header,
  footer,
  .hero,
  .trust-strip,
  .section {
    width: min(calc(100% - 2rem), var(--max));
  }

  nav a:not(.nav-github) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 3.5rem 0 2rem;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 4.5rem);
  }

  .product-scene {
    min-height: 23rem;
    transform: scale(0.92);
    transform-origin: top center;
  }

  .laptop {
    top: 5.2rem;
    width: 73%;
  }

  .tablet {
    width: 62%;
  }

  .trust-strip,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 5.5rem 0;
  }

  .step-grid {
    margin-top: 2.5rem;
  }

  .step-grid li {
    min-height: 13rem;
  }

  .step-grid h3 {
    margin-top: 2.6rem;
  }

  .privacy-card {
    padding: 1.6rem;
  }

  .preview {
    margin-inline: auto;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
  }

  footer p {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
