/* Resender landing page — one stylesheet, no build step, no dependencies. */

:root {
  color-scheme: light dark;

  --bg:        #ffffff;
  --surface:   #f4f6f9;
  --surface-2: #eaeef4;
  --text:      #14161a;
  --muted:     #4f5762;
  --accent:    #1550c8;
  --accent-2:  #0d3a94;
  --border:    #d9dee6;
  --warn-bg:   #fff8e6;
  --warn-bd:   #e0c060;

  --measure: 40rem;
  --wide: 62rem;
  --radius: 10px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0e1014;
    --surface:   #161a20;
    --surface-2: #1e242c;
    --text:      #e8ecf2;
    --muted:     #a5aebb;
    --accent:    #86aeff;
    --accent-2:  #b3ccff;
    --border:    #2a313b;
    --warn-bg:   #241f10;
    --warn-bd:   #6a5a2a;
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

/* ---------- links, focus, headings ---------- */

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

h1, h2, h3 { line-height: 1.25; font-weight: 650; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); margin-top: 0; }
h3 { font-size: 1.08rem; font-weight: 650; }

p { margin: 0 0 1em; max-width: var(--measure); }
ul, ol { max-width: var(--measure); }

strong { font-weight: 650; }

code, kbd {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-2);
  border-radius: 4px;
  padding: 0.1em 0.35em;
}

/* ---------- layout ---------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bg);
  color: var(--text);
  padding: 0.6rem 1rem;
  z-index: 10;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 3rem 0; border-top: 1px solid var(--border); }
section:first-of-type { border-top: 0; }

@media (min-width: 40rem) {
  section { padding: 4.5rem 0; }
}

/* ---------- header ---------- */

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.mark {
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
  border-radius: 6px;
  background: var(--accent);
  color: var(--bg);
  display: inline-grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 700;
}

@media (prefers-color-scheme: dark) {
  .mark { color: #0e1014; }
}

.langs { font-size: 0.92rem; color: var(--muted); }
.langs [aria-current="true"] { color: var(--text); font-weight: 650; }
.langs span[aria-hidden] { padding: 0 0.4rem; color: var(--border); }

/* ---------- hero ---------- */

.hero { padding-top: 2rem; }
.hero p.lead {
  font-size: clamp(1.1rem, 2.6vw, 1.3rem);
  color: var(--text);
  max-width: 34rem;
}
.hero p.sub { color: var(--muted); max-width: var(--measure); }

/* ---------- store buttons (placeholders — no listings yet) ---------- */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.75rem 0 0.75rem;
  padding: 0;
  list-style: none;
  max-width: none;
}

.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 12.5rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}
.store b {
  display: block;
  color: var(--text);
  font-weight: 650;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.store span { font-size: 0.85rem; }

.note { color: var(--muted); font-size: 0.92rem; }

/* ---------- steps ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  max-width: none;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 52rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.95rem;
}
@media (prefers-color-scheme: dark) {
  .steps li::before { color: #0e1014; }
}
.steps h3 { margin-bottom: 0.35em; }
.steps p { color: var(--muted); margin-bottom: 0; }

/* ---------- placeholder block (screenshots) ---------- */

.placeholder {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  font-size: 0.95rem;
}
.placeholder p { margin: 0 auto; max-width: 28rem; }

/* ---------- promise ---------- */

.promise blockquote {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.3rem;
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.12rem;
  font-weight: 650;
}
.promise blockquote p { margin: 0; max-width: none; }

/* ---------- cards (OEM notes) ---------- */

.cards {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
  max-width: none;
}
@media (min-width: 46rem) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.card h4 {
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.3;
  margin: 0 0 0.4em;
}
.card p { margin-bottom: 0; color: var(--muted); font-size: 0.95rem; max-width: none; }
.card p + p { margin-top: 0.6em; }

.callout {
  background: var(--warn-bg);
  border: 1px solid var(--warn-bd);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 1.75rem 0 0;
}
.callout p { margin: 0; max-width: none; }

/* ---------- pricing ---------- */

.tiers {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  max-width: none;
}
@media (min-width: 46rem) {
  .tiers { grid-template-columns: repeat(2, 1fr); }
}

.tier {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem;
}
.tier .price {
  display: block;
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.tier p { color: var(--muted); max-width: none; }
.tier p:last-child { margin-bottom: 0; }

/* ---------- faq ---------- */

.faq { display: grid; gap: 1.6rem; }
.faq > div { max-width: var(--measure); }
.faq h3 { margin-bottom: 0.3em; }
.faq p { color: var(--muted); margin-bottom: 0; }

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-foot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  max-width: none;
}
.site-foot p { max-width: var(--measure); margin-bottom: 0.6em; }
.site-foot p:last-child { margin-bottom: 0; }

/* ---------- 404 ---------- */

.center-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.center-page p { margin-left: auto; margin-right: auto; }
