:root {
  --bg: #1a1a2e;
  --bg-strong: #121225;
  --header: #16213e;
  --surface: #2a2a4a;
  --surface-strong: #33335a;
  --line: #3a3a5a;
  --line-soft: #2a2a4a;
  --ink: #ffffff;
  --text: #e2e2e2;
  --muted: #aaa;
  --faint: #888;
  --accent: #7c83ff;
  --accent-soft: #7c83ff25;
  --claude: #d97706;
  --chatgpt: #4285f4;
  --gemini: #10a37f;
  --danger: #ff6b6b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(124, 131, 255, 0.14), transparent 28rem),
    linear-gradient(180deg, var(--header) 0%, var(--bg) 32rem);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 0.8rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(22, 33, 62, 0.9);
  border-bottom: 1px solid rgba(58, 58, 90, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 760;
  letter-spacing: 0;
}

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

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 3vw, 2rem);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 620;
}

.site-nav a,
.site-footer a,
.privacy-links a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-footer a:hover,
.privacy-links a:hover {
  color: var(--accent);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.05rem;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.header-cta,
.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(124, 131, 255, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

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

.hero {
  min-height: calc(88svh - 4.5rem);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(26, 26, 46, 0.96) 0%, rgba(22, 33, 62, 0.86) 48%, rgba(26, 26, 46, 0.28) 100%),
    url("assets/before-after.png") center right / cover no-repeat;
  color: #fff;
}

.hero-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 5rem) 0;
}

.hero-copy {
  width: min(680px, 100%);
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 12vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-lede {
  width: min(650px, 100%);
  margin: 1.45rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2.25rem 0 0;
}

.hero-proof div {
  min-width: 9rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(42, 42, 74, 0.62);
  backdrop-filter: blur(8px);
}

.hero-proof dt {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 800;
}

.hero-proof dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-copy {
  width: min(760px, 100%);
}

.section-copy.narrow {
  width: min(470px, 100%);
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.intro {
  display: grid;
  gap: 2rem;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.proof-row span {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 720;
}

.proof-row span:nth-child(1) {
  color: var(--claude);
}

.proof-row span:nth-child(2) {
  color: var(--chatgpt);
}

.proof-row span:nth-child(3) {
  color: var(--gemini);
}

.media-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-strong);
  box-shadow: var(--shadow);
}

.media-frame.wide {
  aspect-ratio: 16 / 10;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features {
  width: 100%;
  max-width: none;
  padding-right: max(1rem, calc((100% - 1120px) / 2));
  padding-left: max(1rem, calc((100% - 1120px) / 2));
  background: rgba(18, 18, 37, 0.7);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.feature-grid article {
  min-height: 13rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-grid article:nth-child(1) {
  border-top: 4px solid var(--accent);
}

.feature-grid article:nth-child(2) {
  border-top: 4px solid var(--claude);
}

.feature-grid article:nth-child(3) {
  border-top: 4px solid var(--chatgpt);
}

.feature-grid article:nth-child(4) {
  border-top: 4px solid var(--gemini);
}

.feature-grid h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.2;
}

.feature-grid p {
  margin-top: 0.75rem;
  font-size: 0.96rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split.reverse .section-copy {
  order: 2;
}

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.privacy-links {
  display: grid;
  gap: 0.75rem;
  min-width: 12rem;
  color: var(--accent);
  font-weight: 740;
}

.install {
  padding-top: 4rem;
}

.install-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--header) 0%, var(--bg) 100%);
  color: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.install-panel h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.install-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 3.5rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
}

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

  .site-nav {
    display: none;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(26, 26, 46, 0.96) 0%, rgba(22, 33, 62, 0.84) 100%),
      url("assets/before-after.png") center / cover no-repeat;
  }

  .media-section,
  .split,
  .privacy,
  .install-panel {
    grid-template-columns: 1fr;
  }

  .split.reverse .section-copy {
    order: 0;
  }

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

  .install-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0.7rem 1rem;
  }

  .header-cta {
    min-height: 2.45rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.86rem;
  }

  .hero {
    min-height: calc(86svh - 3.9rem);
  }

  .hero-inner {
    width: min(100% - 1.25rem, 1120px);
    padding: 2.5rem 0;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 20vw, 5.2rem);
  }

  .button {
    width: 100%;
  }

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

  .hero-proof div {
    min-width: 0;
    padding: 0.8rem 0.7rem;
  }

  .hero-proof dt {
    font-size: 1.3rem;
  }

  .hero-proof dd {
    font-size: 0.78rem;
  }

  .section {
    width: min(100% - 1.25rem, 1120px);
    padding: 3.6rem 0;
  }

  .features {
    width: 100%;
    padding-right: 0.625rem;
    padding-left: 0.625rem;
  }

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

  .feature-grid article {
    min-height: 0;
  }

  .site-footer {
    display: grid;
  }
}
