:root {
  --bg: #0c1017;
  --bg-elevated: #121922;
  --surface: #1a2330;
  --surface-hover: #222d3d;
  --text: #eef3f9;
  --text-soft: #b8c5d6;
  --muted: #7d8fa3;
  --accent: #4db2ff;
  --accent-hover: #6fc0ff;
  --accent-muted: #2a7ab8;
  --border: #2a3545;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --font: 'Segoe UI', system-ui, -apple-system, Roboto, Ubuntu, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-soft);
  background: var(--bg);
  background-image: radial-gradient(ellipse 120% 80% at 50% -30%, rgba(77, 178, 255, 0.12), transparent 55%);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

code {
  font-size: 0.9em;
  color: var(--accent);
  background: var(--surface);
  padding: 0.1em 0.35em;
  border-radius: 6px;
}

.wrap {
  width: min(72rem, 94vw);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #0a0e12;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.skip:focus {
  left: 0.75rem;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 16, 23, 0.88);
  backdrop-filter: blur(12px);
}

header.site .inner {
  width: min(72rem, 94vw);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent);
}

nav.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  align-items: center;
}

nav.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
}

nav.site-nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 2.75rem 0 2rem;
  text-align: center;
}

.hero-inner {
  max-width: 40rem;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero .lead {
  font-size: 1.2rem;
  color: var(--text-soft);
  margin: 0 0 1.75rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #081018;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #081018;
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent-muted);
  color: var(--accent);
}

.hero-marquee {
  margin: 0 auto;
  max-width: 56rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-marquee img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Sections */
section.block {
  padding: 3rem 0;
}

section.block h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  color: var(--text);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.section-intro {
  max-width: 42rem;
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.45rem;
  transition: border-color 0.15s, background 0.15s;
}

.feature-card:hover {
  background: var(--surface-hover);
  border-color: rgba(77, 178, 255, 0.25);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Screenshot gallery */
.shot-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .shot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.shot-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.shot-card img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border);
}

.shot-card figcaption {
  padding: 1rem 1.15rem 1.2rem;
}

.shot-card figcaption strong {
  display: block;
  color: var(--text);
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.shot-card figcaption span {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Privacy teaser */
.privacy-teaser {
  background: linear-gradient(145deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.privacy-teaser p {
  margin: 0;
  max-width: 48rem;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* Footer */
footer.site {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

footer.site a {
  color: var(--text-soft);
}

footer.site a:hover {
  color: var(--accent);
}

/* ——— Privacy policy page ——— */
article.policy {
  padding: 2rem 0 1rem;
}

article.policy h1 {
  font-size: clamp(1.65rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
  color: var(--text);
}

article.policy .meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
  line-height: 1.55;
}

article.policy .note {
  background: var(--surface);
  border-left: 4px solid var(--accent-muted);
  padding: 0.85rem 1.1rem;
  margin: 1.25rem 0;
  font-size: 0.95rem;
  color: var(--text-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

article.policy h2 {
  font-size: 1.2rem;
  margin-top: 2.25rem;
  margin-bottom: 0.65rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text);
}

article.policy h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

article.policy p,
article.policy li {
  color: var(--text-soft);
}

article.policy strong {
  color: var(--text);
}

article.policy table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1rem 0;
}

article.policy th,
article.policy td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

article.policy th {
  background: var(--surface);
  color: var(--text);
}

article.policy ul {
  padding-left: 1.35rem;
}

article.policy ol {
  padding-left: 1.35rem;
}

article.policy li + li {
  margin-top: 0.35rem;
}
