:root {
  color-scheme: dark;
  --bg: #0b1114;
  --bg-soft: #0f171b;
  --surface: #111a1f;
  --card: #162129;
  --border: #22313a;
  --text: #ffffff;
  --muted: #a6b3bc;
  --purple: #8b5cf6;
  --cyan: #34d1bf;
  --green: #7ee787;
  --warning: #ffcf70;
  --shadow: rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  background: rgba(11, 17, 20, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 132px;
  height: auto;
  display: block;
}

.nav,
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a,
.site-footer a {
  border-radius: 8px;
  padding: 6px 8px;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"],
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.nav a[aria-current="page"] {
  background: rgba(139, 92, 246, 0.18);
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.42);
}

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  gap: 56px;
  align-items: center;
  padding: 48px 0 88px;
}

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

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
}

.lead {
  max-width: 720px;
  color: var(--text);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  background: var(--purple);
  color: #ffffff;
}

.button.secondary {
  background: rgba(17, 26, 31, 0.78);
  color: var(--text);
}

.button.disabled {
  cursor: default;
  opacity: 0.72;
}

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

.phone-frame,
.screenshot-frame {
  overflow: hidden;
  border: 1px solid #2b3d48;
  border-radius: 34px;
  background: #071014;
  box-shadow: 0 28px 64px var(--shadow);
}

.phone-frame {
  width: min(100%, 330px);
  padding: 10px;
}

.phone-frame.small {
  width: 230px;
  aspect-ratio: 9 / 19;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.phone-frame img,
.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.section,
.page-hero {
  padding: 84px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.screenshot-card,
.steps article,
.donation-grid article {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(22, 33, 41, 0.86);
  box-shadow: 0 18px 44px var(--shadow);
}

.screenshot-card {
  padding: 16px;
}

.screenshot-card h3 {
  margin: 18px 0 6px;
}

.screenshot-card p,
.steps p,
.donation-grid p {
  margin-bottom: 0;
}

.screenshot-frame {
  aspect-ratio: 9 / 18.5;
  padding: 8px;
}

.screenshot-frame img {
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.placeholder-device {
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

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

.steps article {
  padding: 24px;
}

.steps span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--cyan);
  font-weight: 800;
}

.split-section,
.release-section,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  border-top: 1px solid var(--border);
}

.split-section {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
}

.release-section {
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(17, 26, 31, 0.72);
  padding: 36px;
}

.privacy-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.privacy-list.compact {
  margin: 0;
}

.privacy-list li {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(17, 26, 31, 0.82);
  padding: 15px 16px;
}

.simple-list {
  margin: 18px 0 22px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 1.02rem;
}

.simple-list li + li {
  margin-top: 8px;
}

.iphone-placeholder {
  display: flex;
  justify-content: center;
}

.page-hero {
  max-width: 780px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
}

.narrow {
  max-width: 820px;
  border-top: 1px solid var(--border);
}

.updated {
  font-size: 0.95rem;
}

.donation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.donation-grid article {
  padding: 20px;
}

.donation-grid span {
  color: var(--warning);
  font-weight: 800;
}

.coming-soon {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  color: var(--warning);
  font-weight: 800;
}

.contact p:last-child,
.narrow p:last-child {
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(0, 1.5fr) minmax(210px, 1fr);
  align-items: start;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding: 24px 0 36px;
  color: var(--muted);
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 800;
}

.site-footer p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.site-footer nav {
  justify-content: center;
}

.footer-contact {
  display: grid;
  justify-items: end;
  gap: 8px;
  font-size: 0.94rem;
}

.footer-contact a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero,
  .split-section,
  .release-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .footer-contact {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, 1180px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
  }

  .site-header {
    flex-direction: column;
  }

  .nav,
  .site-footer nav {
    gap: 8px;
  }

  .hero {
    gap: 32px;
    padding-top: 34px;
  }

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

  .section,
  .page-hero {
    padding: 58px 0;
  }

  .release-section {
    padding: 24px;
  }
}
