/* Pixelore landing — single-page, mobile-first. Palette echoes the
   app: warm cream surface, dark text, a single accent for buttons +
   focus rings. Width-capped main column so prose stays readable on
   wide screens without a media query. */

:root {
  --bg:          #F5ECD2;
  --surface:    #FFFBEC;
  --text:       #2F3338;
  --text-muted: #6B6F75;
  --accent:     #2D5F7C;       /* picked from the landscape icon */
  --accent-ink: #FFFFFF;
  --border:     #E3DAC0;
  --radius:     10px;
  --max-w:      640px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
               Ubuntu, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main, .hero, footer {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.hero {
  padding-top: 56px;
  padding-bottom: 48px;
  text-align: center;
}

.icon {
  width: 128px;
  height: 128px;
  border-radius: 22px;
  /* Subtle drop so the cream-on-cream icon doesn't fade into the bg. */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

h1 {
  font-size: 2.5rem;
  margin: 24px 0 4px;
  letter-spacing: -0.02em;
}

.tagline {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0 0 32px;
}

.store-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: var(--accent-ink);
  background: var(--text);
  padding: 10px 18px;
  border-radius: var(--radius);
  min-width: 160px;
  /* Pointer + reduced opacity signals the placeholder state without
     visually disabling the buttons — caller swaps href to make them
     live. */
  opacity: 0.85;
}

.store-btn:hover, .store-btn:focus-visible {
  opacity: 1.0;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.store-btn-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}

.store-btn-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 2px;
}

main {
  flex: 1 0 auto;
  padding-bottom: 64px;
}

.contact {
  /* Slightly accent-tinted card so the only interactive panel on
     the page lifts off the cream backdrop. The tint is a 6 %
     mix of `--accent` over `--surface` — same hue family, distinct
     surface. */
  background: #EDF1F4;
  border: 1px solid #C9D6DE;
  border-radius: var(--radius);
  padding: 32px 28px 32px;
  margin-top: 16px;
  /* Subtle lift so the panel reads as the call-to-action. */
  box-shadow: 0 2px 12px rgba(45, 95, 124, 0.08);
}

/* Variant: centred contents (used by the home-page contact card so
   the heading + blurb + buttons all share a vertical axis). */
.contact--centered {
  text-align: center;
}

h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.contact-blurb {
  color: var(--text-muted);
  margin: 0 0 22px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact--centered .contact-actions {
  justify-content: center;
}

.contact--centered .form-status {
  text-align: center;
}

.contact-actions button {
  font: inherit;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 20px;
  cursor: pointer;
}

.contact-actions button.primary {
  color: var(--accent-ink);
  background: var(--accent);
}

.contact-actions button.secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--border);
}

.contact-actions button:hover,
.contact-actions button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-actions button.primary:hover {
  filter: brightness(1.08);
}

.form-status {
  margin: 14px 0 0;
  min-height: 1.4em;
  font-size: 0.9rem;
}

.form-status.ok  { color: #2E7D32; }
.form-status.err { color: #C62828; }

footer {
  padding: 24px 24px 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

footer a:hover,
footer a:focus-visible {
  color: var(--accent);
}

/* ---- Privacy / static-prose pages ---- */

.page-header {
  padding-top: 32px;
  padding-bottom: 8px;
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  margin: 12px 0 6px;
}

.breadcrumb {
  margin: 0;
  /* Breadcrumb sits flush-left even on centred headers — the
     arrow + label reads as a back-affordance, and centring it
     would float it visually disconnected from the page edge. */
  text-align: left;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.effective {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 0 24px;
}

.prose {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px 32px;
  margin-top: 8px;
  margin-bottom: 32px;
}

.prose h2 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.prose h2:first-of-type {
  margin-top: 16px;
}

.prose h3 {
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 1rem;
  color: var(--text);
}

.prose p {
  margin: 0 0 14px;
}

.prose ul {
  margin: 0 0 14px;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 6px;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover,
.prose a:focus-visible {
  text-decoration-thickness: 2px;
}
