:root {
  --bg: #0f1419;
  --bg-elevated: #151c24;
  --bg-card: #1a2332;
  --bg-card-hover: #222d3f;
  --green: #4ade80;
  --green-dim: #22c55e;
  --green-glow: rgba(74, 222, 128, 0.25);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-soft: #cbd5e1;
  --orange: #fb923c;
  --red: #f87171;
  --blue: #60a5fa;
  --border: #2d3748;
  --radius: 14px;
  --radius-lg: 20px;
  --font: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max-width: 1120px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--green-dim); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Trial banner ── */
.trial-banner {
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.12), rgba(34, 197, 94, 0.08));
  border-bottom: 1px solid rgba(74, 222, 128, 0.2);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.trial-banner strong { color: var(--green); font-weight: 700; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover { color: var(--text); text-decoration: none; }
.logo-icon { width: 32px; height: 32px; flex-shrink: 0; }
.logo .accent { color: var(--green); }

.nav-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg { width: 22px; height: 22px; }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.15rem;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.9rem;
  color: var(--text-muted);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
  background: rgba(74, 222, 128, 0.08);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1.1rem !important;
  background: var(--green) !important;
  color: var(--bg) !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
}

.nav-cta:hover {
  background: var(--green-dim) !important;
  color: var(--bg) !important;
}

/* ── Breadcrumbs ── */
.breadcrumbs {
  padding: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs span { color: var(--text-soft); }

/* ── Hero ── */
.hero {
  padding: 3.5rem 0 4rem;
  text-align: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-content h1 .accent { color: var(--green); }

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-soft);
  margin-bottom: 1.75rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.page-hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--green);
  color: var(--bg);
  box-shadow: 0 4px 24px var(--green-glow);
}

.btn-primary:hover {
  background: var(--green-dim);
  color: var(--bg);
  box-shadow: 0 6px 32px rgba(74, 222, 128, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-1px);
}

/* ── Cards & grids ── */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-elevated); }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, background 0.2s;
}

.card:hover {
  border-color: rgba(74, 222, 128, 0.3);
  background: var(--bg-card-hover);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p { color: var(--text-muted); font-size: 0.95rem; }

.card-icon {
  width: 44px;
  height: 44px;
  background: rgba(74, 222, 128, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--green);
}

.card-icon svg { width: 22px; height: 22px; }

/* ── Steps ── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(74, 222, 128, 0.15);
  color: var(--green);
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ── Phone mockup & screenshot sections ── */
.screenshot-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
}

.screenshot-section.reverse { direction: rtl; }
.screenshot-section.reverse > * { direction: ltr; }

.screenshot-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.screenshot-text h2 .label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 0.35rem;
}

.screenshot-text p {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-size: 1rem;
}

.screenshot-text p:last-child { margin-bottom: 0; }

.phone-mockup {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  padding: 14px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 40px;
  box-shadow:
    0 0 0 2px #334155,
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.phone-mockup::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: #334155;
  border-radius: 3px;
  z-index: 2;
}

.phone-mockup img {
  border-radius: 28px;
  width: 100%;
  aspect-ratio: 9/19.5;
  object-fit: cover;
  object-position: top;
}

.phone-mockup figcaption {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Phone mockup placeholder (no screenshot) ── */
.phone-mockup-placeholder {
  border-radius: 28px;
  width: 100%;
  aspect-ratio: 9/19.5;
  background: linear-gradient(180deg, #0c1a2e 0%, #081426 55%, #060f1c 100%);
  padding: 2.25rem 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  overflow: hidden;
}

.mock-screen-header {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.mock-tab {
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.mock-tab.active {
  color: var(--green);
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.mock-accordion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-soft);
}

.mock-accordion.active {
  border-color: rgba(74, 222, 128, 0.35);
  color: var(--green);
}

.mock-chevron {
  font-size: 0.6rem;
  opacity: 0.7;
}

.mock-accordion-body {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  margin: -0.2rem 0 0.15rem;
  background: rgba(74, 222, 128, 0.06);
  border: 1px solid rgba(74, 222, 128, 0.15);
  border-radius: 10px;
  font-size: 0.58rem;
}

.mock-label { color: var(--text-muted); }
.mock-value { color: var(--text); font-weight: 600; }

/* ── Meer-scherm option blocks (functies page) ── */
.meer-options {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.meer-option h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.35rem;
}

.meer-option p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.meer-option p strong {
  color: var(--text-soft);
  font-weight: 600;
}

/* ── Alarm feature highlight (functies page) ── */
.alarm-feature-card {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: var(--radius);
}

.alarm-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 222, 128, 0.12);
  border-radius: 12px;
  color: var(--green);
}

.alarm-feature-icon svg { width: 22px; height: 22px; }

.alarm-feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.4rem;
}

.alarm-feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.alarm-feature-card p + p { margin-top: 0.65rem; }

.alarm-feature-card p strong {
  color: var(--text-soft);
  font-weight: 600;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.screenshot-gallery .phone-mockup { max-width: 240px; }

/* ── Highlight strip (home) ── */
.highlight-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.highlight-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.15s;
}

.highlight-item:hover {
  border-color: rgba(74, 222, 128, 0.35);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.highlight-item .phone-mockup {
  max-width: 140px;
  padding: 8px;
  border-radius: 24px;
  margin-bottom: 0.85rem;
}

.highlight-item .phone-mockup img { border-radius: 16px; }
.highlight-item .phone-mockup::before { width: 40px; height: 4px; top: 6px; }

.highlight-item h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green);
}

.highlight-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── Info boxes ── */
.info-box {
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.info-box.warning {
  background: rgba(251, 146, 60, 0.08);
  border-color: rgba(251, 146, 60, 0.3);
}

.info-box strong { color: var(--text); }

/* ── FAQ accordion ── */
.faq-list { max-width: 800px; margin: 0 auto; }

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color 0.2s;
}

.accordion-item.open { border-color: rgba(74, 222, 128, 0.35); }

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 1.15rem 1.35rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
  line-height: 1.4;
}

.accordion-trigger:hover { background: var(--bg-card-hover); }

.accordion-trigger .arrow {
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.25s;
  font-size: 0.75rem;
}

.accordion-item.open .accordion-trigger .arrow { transform: rotate(180deg); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  transition: max-height 0.35s ease, padding-bottom 0.35s ease;
}

.accordion-item.open .accordion-panel {
  max-height: 60rem;
  padding-bottom: 1.25rem;
}

.accordion-panel p { margin-bottom: 0.75rem; }
.accordion-panel p:last-child { margin-bottom: 0; }

/* Legacy accordion class aliases (old instellingen pages) */
.accordion-header {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 1.15rem 1.35rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
  line-height: 1.4;
}

.accordion-header:hover { background: var(--bg-card-hover); }

.accordion-header .chevron,
.accordion-header .arrow {
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.25s;
  font-size: 0.75rem;
}

.accordion-item.open .accordion-header .chevron,
.accordion-item.open .accordion-header .arrow { transform: rotate(180deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  transition: max-height 0.35s ease, padding-bottom 0.35s ease;
}

.accordion-item.open .accordion-body {
  max-height: 60rem;
  padding-bottom: 1.25rem;
}

.accordion-body p { margin-bottom: 0.75rem; }
.accordion-body p:last-child { margin-bottom: 0; }

/* ── Download page ── */
.download-hero {
  text-align: center;
  padding: 3rem 0;
}

.download-hero .store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  margin: 2rem 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.download-hero .store-badge svg { width: 36px; height: 36px; }

.feature-list {
  list-style: none;
  max-width: 560px;
  margin: 2rem auto;
  text-align: left;
}

.feature-list li {
  padding: 0.65rem 0 0.65rem 1.75rem;
  position: relative;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.apk-list {
  list-style: none;
  margin: 2rem 0;
}

.apk-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  color: var(--text-soft);
}

.apk-list li:first-child {
  border-color: rgba(74, 222, 128, 0.35);
}

.apk-list .btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
}

.apk-meta {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.download-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 1rem 0 2rem;
}

.store-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.store-card-play {
  border-color: rgba(96, 165, 250, 0.3);
}

.store-card-apk {
  border-color: rgba(74, 222, 128, 0.35);
}

.store-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 12px;
  color: var(--green);
}

.store-card-icon svg { width: 24px; height: 24px; }

.store-card-play .store-card-icon {
  background: rgba(96, 165, 250, 0.12);
  color: var(--blue);
}

.store-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 0.25rem;
}

.store-card-lead {
  color: var(--green);
  font-weight: 600;
  font-size: 0.95rem;
}

.store-card-play .store-card-lead { color: var(--blue); }

.store-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.store-card-note {
  font-size: 0.85rem !important;
  font-style: italic;
}

.store-card .apk-list { margin: 0.5rem 0 0; }

.btn-disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
  align-self: flex-start;
  margin-top: auto;
}

.store-card-featured {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  align-items: center;
}

.store-card-featured p {
  text-align: left;
}

.play-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.85rem 1.5rem;
  margin-bottom: 0.5rem;
}

.play-store-badge-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.play-store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.play-store-badge-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.play-store-badge-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.store-status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.25rem 0 0.5rem;
}

.status-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.status-pill-active {
  background: rgba(96, 165, 250, 0.15);
  border-color: rgba(96, 165, 250, 0.4);
  color: var(--blue);
}

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.1), rgba(34, 197, 94, 0.05));
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 3rem 0;
}

.cta-band h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 3rem;
  background: var(--bg-elevated);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.footer-brand span { color: var(--green); }

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 360px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: right;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover { color: var(--green); }

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
}

.footer-visitor-count {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ── Legal / prose content ── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 2.5rem 0 1rem;
  color: var(--text);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--text-soft);
}

.legal-content p,
.legal-content li {
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 0 0 1rem 1.5rem;
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--bg-card);
  color: var(--text);
  font-weight: 600;
}

.legal-table td {
  color: var(--text-soft);
}

/* ── Contact form ── */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.form-group label a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.required {
  color: var(--green);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.form-group-checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.65rem;
}

.form-group-checkbox input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--green);
  cursor: pointer;
}

.form-group-checkbox label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-full {
  width: 100%;
  margin-top: 0.5rem;
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

.form-feedback {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.form-feedback.success {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: var(--green);
}

.form-feedback.error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: var(--red);
}

.form-error {
  font-size: 0.85rem;
  color: var(--red);
  margin-top: 0.4rem;
  line-height: 1.45;
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.form-group-checkbox.invalid input[type="checkbox"] {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.form-group-checkbox.invalid .form-error {
  flex-basis: 100%;
  margin-left: calc(1.1rem + 0.65rem);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid,
  .screenshot-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-content .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .screenshot-section.reverse { direction: ltr; }

  .steps-row { grid-template-columns: 1fr; }
  .download-options { grid-template-columns: 1fr; }
  .highlight-strip { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { text-align: center; align-items: center; }
  .footer-tagline { margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem 1.25rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 0.15rem;
  }

  .main-nav a { padding: 0.7rem 1rem; }
  .nav-cta { margin-left: 0 !important; text-align: center; }

  .header-inner { position: relative; }

  .highlight-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .highlight-strip { grid-template-columns: 1fr; }
  .hero { padding: 2rem 0 2.5rem; }
}
