/* BedrockBridge — block-style palette carried over from the apps. */
:root {
  --bedrock: #1c1c1e;
  --panel: #2c2c2e;
  --panel-light: #3a3a3c;
  --grass: #5bac3a;
  --grass-light: #7ed957;
  --grass-dark: #3b7d24;
  --gold: #f2c532;
  --diamond: #4fd9e6;
  --stone: #8b8b8b;
  --text: #ffffff;
  --text-dim: #b5b5b5;
  --outline: #000000;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 8px;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bedrock);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  overflow-x: hidden;
}
/* The pixel texture lives on its own layer: image-rendering is inherited,
   and on body it would make the screenshots render blocky too. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: url("assets/texture.png") repeat;
  background-size: 192px 192px;
  image-rendering: pixelated;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--diamond); text-underline-offset: 3px; }
a:hover { color: var(--grass-light); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: #000; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

h1, h2, h3 { font-family: var(--mono); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 800; color: var(--grass-light); }
h3 { font-size: 1.05rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
p { margin: 0 0 1em; }
.dim { color: var(--text-dim); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(28, 28, 30, .92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--grass-dark);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 800 1.05rem var(--mono); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.site-nav a { color: var(--text-dim); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:hover { color: var(--text); }
@media (max-width: 720px) { .site-nav .optional { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px;
  font: 700 1rem var(--mono); text-decoration: none; color: var(--text);
  background: var(--panel-light);
  border: 2px solid var(--outline); border-radius: 6px;
  box-shadow: inset 0 3px 0 rgba(255,255,255,.18), inset 0 -5px 0 rgba(0,0,0,.35);
  transition: transform .05s;
}
.btn:hover { color: var(--text); filter: brightness(1.08); }
.btn:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -2px 0 rgba(0,0,0,.35); }
.btn-primary { background: var(--grass-dark); }
.btn-small { min-height: 38px; padding: 0 14px; font-size: .9rem; }

/* ---------- Panels ---------- */
.panel {
  background: var(--panel);
  border: 2px solid var(--outline);
  border-radius: var(--radius);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.07), inset 0 -3px 0 rgba(0,0,0,.4);
  padding: 22px;
}

section { padding: 72px 0; }
.section-intro { max-width: 680px; margin-bottom: 32px; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.eyebrow { font: 700 .85rem var(--mono); color: var(--gold); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.hero h1 span { color: var(--grass-light); }
.lede { font-size: 1.15rem; color: var(--text-dim); max-width: 600px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.trust { font: 600 .9rem var(--mono); color: var(--stone); }

.phone {
  margin: 0 auto; width: min(300px, 78vw);
  padding: 10px; background: #0a0a0b; border-radius: 52px;
  box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 0 2px #000;
}
.phone img { border-radius: 42px; width: 100%; }

/* ---------- Steps ---------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.step-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px;
  background: var(--grass-light); color: var(--bedrock); font: 800 1.05rem var(--mono);
  border: 2px solid var(--outline); border-radius: 4px;
}
.panel p:last-child { margin-bottom: 0; }
.steps { list-style: none; padding: 0; margin: 0; }
.modes { margin-top: 16px; }
.tag { display: inline-block; font: 700 .72rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--bedrock); background: var(--gold); padding: 2px 8px; border-radius: 3px; margin-left: 6px; vertical-align: middle; }

/* ---------- Features ---------- */
.feature h3::before {
  content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 10px;
  background: var(--grass-light); border: 2px solid var(--outline); vertical-align: -1px;
}

/* ---------- Compare table ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--panel-light); vertical-align: top; }
thead th { font-family: var(--mono); color: var(--gold); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
tbody th { font-weight: 600; color: var(--text-dim); }
.yes { color: var(--grass-light); font-weight: 700; }
.no { color: #e8776d; font-weight: 700; }

/* ---------- Download ---------- */
.download-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.qr { position: relative; width: 196px; margin: 6px auto 10px; }
.qr img { width: 196px; height: 196px; border-radius: 10px; border: 4px solid #fff; }
.qr .soon {
  position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%);
  white-space: nowrap; font: 800 .75rem var(--mono); text-transform: uppercase; letter-spacing: .08em;
  background: var(--gold); color: var(--bedrock); padding: 4px 10px; border: 2px solid var(--outline); border-radius: 4px;
}
.download-card .req { font-size: .9rem; color: var(--stone); margin: 0; }

/* ---------- FAQ ---------- */
.faq details { background: var(--panel); border: 2px solid var(--outline); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; display: flex; gap: 12px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "▸"; color: var(--diamond); font-family: var(--mono); }
.faq details[open] summary::before { content: "▾"; }
.faq details > div { padding: 0 20px 18px 44px; color: var(--text-dim); }

/* ---------- Prose pages (privacy, support) ---------- */
.prose { max-width: 760px; padding: 48px 16px 72px; margin: 0 auto; }
.prose h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); color: var(--grass-light); }
.prose h2 { font-size: 1.3rem; margin-top: 2em; color: var(--gold); }
.prose li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 3px solid var(--grass-dark); background: rgba(10,10,11,.6); padding: 32px 0 40px; font-size: .9rem; color: var(--stone); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; }
.site-footer nav a { color: var(--text-dim); }
.site-footer p { margin: 0 0 .6em; max-width: 820px; }
