:root {
  color-scheme: light;
  --bg: #f7f8f3;
  --ink: #171b22;
  --muted: #66707a;
  --line: rgba(41, 51, 61, 0.12);
  --panel: rgba(255, 255, 255, 0.78);
  --panel-solid: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.9);
  --header-shadow: rgba(255, 255, 255, 0.72);
  --body-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(247, 248, 243, 0.96) 38%, #eef3ef 100%),
    repeating-linear-gradient(90deg, rgba(22, 139, 151, 0.04) 0 1px, transparent 1px 96px);
  --body-glow:
    linear-gradient(115deg, rgba(240, 188, 94, 0.16), transparent 34%),
    linear-gradient(245deg, rgba(22, 139, 151, 0.18), transparent 42%);
  --cursor-glow: radial-gradient(circle, rgba(22, 139, 151, 0.14), transparent 68%);
  --nav-hover: #e7f2ef;
  --hero-copy: #3f4851;
  --secondary-bg: rgba(255, 255, 255, 0.72);
  --card-kicker-bg: #e9f4ef;
  --quick-point-bg: rgba(238, 243, 239, 0.92);
  --mini-icon-bg: #ffffff;
  --faq-bg: rgba(238, 243, 239, 0.86);
  --accent: #168b97;
  --accent-strong: #0f6975;
  --mint: #dff1e8;
  --gold: #f0bc5e;
  --rose: #df7169;
  --forest: #263b35;
  --shadow: 0 24px 80px rgba(36, 45, 52, 0.16);
  --soft-shadow: 0 16px 42px rgba(34, 48, 54, 0.1);
  --container: 1180px;
  --page-pad: clamp(20px, 4vw, 44px);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101418;
  --ink: #f4f6f1;
  --muted: #a8b4bd;
  --line: rgba(223, 235, 235, 0.14);
  --panel: rgba(25, 31, 36, 0.78);
  --panel-solid: #171c21;
  --header-bg: rgba(15, 19, 23, 0.86);
  --header-shadow: rgba(255, 255, 255, 0.05);
  --body-bg:
    linear-gradient(180deg, rgba(16, 20, 24, 0.98) 0%, rgba(18, 24, 28, 0.98) 42%, #101820 100%),
    repeating-linear-gradient(90deg, rgba(99, 201, 199, 0.045) 0 1px, transparent 1px 96px);
  --body-glow:
    linear-gradient(115deg, rgba(240, 188, 94, 0.12), transparent 34%),
    linear-gradient(245deg, rgba(68, 184, 183, 0.2), transparent 42%);
  --cursor-glow: radial-gradient(circle, rgba(75, 207, 203, 0.16), transparent 68%);
  --nav-hover: rgba(75, 207, 203, 0.13);
  --hero-copy: #c7d1d6;
  --secondary-bg: rgba(255, 255, 255, 0.08);
  --card-kicker-bg: rgba(75, 207, 203, 0.14);
  --quick-point-bg: rgba(24, 31, 36, 0.92);
  --mini-icon-bg: rgba(255, 255, 255, 0.08);
  --faq-bg: rgba(24, 31, 36, 0.86);
  --accent: #4bcfcb;
  --accent-strong: #83ddd8;
  --mint: #16312e;
  --gold: #f0c46d;
  --rose: #f08a80;
  --forest: #102320;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --soft-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--body-bg);
  color: var(--ink);
  font-family: "Lexend", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background: var(--body-glow);
  pointer-events: none;
}

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

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

.cursor-light {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 360px;
  height: 360px;
  opacity: 0;
  background: var(--cursor-glow);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 220ms ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 0 max(var(--page-pad), calc((100vw - var(--container)) / 2));
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--header-shadow);
  backdrop-filter: blur(18px) saturate(1.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
}

.brand img {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 9px;
  box-shadow: 0 6px 16px rgba(25, 34, 42, 0.1);
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

nav::-webkit-scrollbar {
  display: none;
}

nav a {
  border-radius: 8px;
  padding: 8px 12px;
  white-space: nowrap;
  transition:
    background 180ms ease,
    color 180ms ease;
}

nav a:hover,
nav a.active {
  background: var(--nav-hover);
  color: var(--accent-strong);
}

.theme-toggle {
  display: inline-flex;
  min-width: 92px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: var(--secondary-bg);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.theme-toggle:hover {
  border-color: rgba(22, 139, 151, 0.28);
  background: var(--nav-hover);
  color: var(--accent-strong);
  transform: translateY(-1px);
}

.theme-toggle-icon {
  position: relative;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: inset -5px -5px 0 rgba(255, 255, 255, 0.62);
}

[data-theme="dark"] .theme-toggle-icon {
  background: var(--accent);
  box-shadow: inset 6px -4px 0 #101418;
}

.hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(32px, 4vw, 58px);
  align-items: center;
  width: min(calc(100% - (var(--page-pad) * 2)), var(--container));
  min-height: calc(78vh - 64px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) 0 38px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 9.5vw, 7.35rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  letter-spacing: 0;
}

.hero-text {
  max-width: 610px;
  margin: 22px 0 0;
  color: var(--hero-copy);
  font-size: clamp(1.12rem, 2.2vw, 1.48rem);
  font-weight: 500;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: 12px;
  align-items: stretch;
  justify-content: start;
  margin-top: 28px;
}

.alternate-download {
  display: inline-flex;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(22, 139, 151, 0.42);
  text-underline-offset: 4px;
}

.alternate-download:hover {
  color: var(--accent-strong);
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 13px 19px;
  text-align: center;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.36), transparent 76%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.button:hover::after {
  transform: translateX(120%);
}

.button span {
  position: relative;
  z-index: 1;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: #168b97;
  color: #fff;
  box-shadow: 0 16px 34px rgba(22, 139, 151, 0.27);
}

.primary:hover {
  background: var(--accent-strong);
}

.secondary {
  background: var(--secondary-bg);
  border-color: rgba(41, 51, 61, 0.12);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(25, 34, 42, 0.07);
}

.donate {
  grid-column: 1 / -1;
  background: var(--forest);
  color: #fff;
  box-shadow: 0 16px 34px rgba(38, 59, 53, 0.2);
}

.donate:hover {
  background: #1b2d28;
}

.product-shot {
  position: relative;
  perspective: 1200px;
  min-width: 0;
}

.app-window {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  background: #151b1f;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transform-style: preserve-3d;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease;
}

.product-shot:hover .app-window {
  box-shadow: 0 34px 96px rgba(24, 36, 45, 0.2);
  transform: translateY(-4px);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 14px;
  background: #263035;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.window-dots span:nth-child(2) {
  background: #73aa78;
}

.window-dots span:nth-child(3) {
  background: var(--rose);
}

.app-window video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: 540px;
  object-fit: cover;
  object-position: top left;
  background: #111619;
}

.quick-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(calc(100% - (var(--page-pad) * 2)), var(--container));
  margin: 0 auto clamp(26px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
  box-shadow: 0 16px 42px rgba(25, 34, 42, 0.07);
}

.quick-points div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 148px;
  padding: 24px;
  background: var(--quick-point-bg);
}

.quick-points div:hover .mini-icon {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.quick-points strong,
.quick-points span {
  display: block;
}

.quick-points strong {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.quick-points span:last-child {
  color: var(--muted);
}

.quick-points .mini-icon {
  width: 38px;
  height: 28px;
  flex: 0 0 28px;
  margin-bottom: 12px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--mini-icon-bg);
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(25, 34, 42, 0.08);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.section {
  width: min(calc(100% - (var(--page-pad) * 2)), var(--container));
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

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

.feature-grid article {
  position: relative;
  min-height: 172px;
  overflow: hidden;
  border: 1px solid rgba(41, 51, 61, 0.1);
  border-radius: 12px;
  padding: 22px;
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(25, 34, 42, 0.07);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.feature-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0;
  transition: opacity 180ms ease;
}

.feature-grid article:hover {
  border-color: rgba(22, 139, 151, 0.34);
  box-shadow: 0 20px 46px rgba(25, 34, 42, 0.11);
  transform: translateY(-4px);
}

.feature-grid article:hover::before {
  opacity: 1;
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--card-kicker-bg);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-grid p,
.faq p {
  margin: 0;
  color: var(--muted);
}

.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  width: min(calc(100% - (var(--page-pad) * 2)), var(--container));
  margin: 0 auto;
  border-radius: 14px;
  padding: clamp(44px, 7vw, 78px);
  background:
    linear-gradient(120deg, rgba(38, 59, 53, 0.98), rgba(22, 62, 67, 0.98)),
    var(--forest);
  color: #fbfcf6;
}

.privacy-band .eyebrow {
  color: #9fd0cc;
}

.privacy-copy p {
  margin: 0;
  color: #d7e2dc;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.09);
  color: #ecf8f1;
  font-size: 0.82rem;
  font-weight: 800;
}

.faq-list {
  border: 1px solid rgba(41, 51, 61, 0.1);
  border-radius: 18px;
  overflow: hidden;
  background: var(--faq-bg);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px) saturate(1.12);
}

details {
  border-top: 1px solid var(--line);
  padding: 0;
}

details:first-child {
  border-top: 0;
}

summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 22px 56px 22px 22px;
  font-size: 1.08rem;
  font-weight: 900;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--card-kicker-bg);
  color: var(--accent-strong);
  content: "+";
  transform: translateY(-50%);
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

details[open] summary::after {
  background: var(--accent);
  color: #fff;
  content: "-";
}

details p {
  max-width: 800px;
  padding: 0 22px 22px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: min(calc(100% - (var(--page-pad) * 2)), var(--container));
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 980px) {
  .hero,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 26px;
    padding: 30px 0 34px;
  }

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

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

  .quick-points div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .section {
    padding: 42px 0;
  }

  .product-shot {
    max-width: 820px;
  }

  .privacy-band {
    align-items: start;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 18px;
  }

  .site-header {
    top: 0;
    gap: 10px;
    min-height: 56px;
    padding: 0 12px;
    border-radius: 0;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  nav {
    justify-content: flex-start;
    gap: 2px;
    font-size: 0.78rem;
  }

  nav a {
    padding: 8px 9px;
  }

  .hero {
    padding-top: 30px;
  }

  h1 {
    font-size: clamp(3.2rem, 22vw, 4.1rem);
  }

  .hero-text {
    margin-top: 18px;
  }

  .hero-actions {
    width: 100%;
  }

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

  .button {
    width: 100%;
  }

  .app-window {
    border-radius: 14px;
    transform: none;
  }

  .app-window video {
    aspect-ratio: 4 / 3;
  }

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

  .quick-points div:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .product-shot {
    display: grid;
  }

  .privacy-band {
    border-radius: 18px;
    padding: 34px 22px;
  }

  summary {
    padding: 18px 52px 18px 18px;
    font-size: 1rem;
  }

  details p {
    padding-inline: 18px;
  }
}
