/* ==========================================================================
   TrayVibes — placeholder product page (app 011)
   PLACEHOLDER: proper design coming from Claude Design. Keep the site chrome
   block (nav tokens) intact when the real design lands; only the .hero /
   .facts / .status blocks below are throwaway.

   Theme is driven by [data-dark="true"] on <html> (site-wide `hls-dark` key).
   Dark is the site default, so DARK lives on :root and LIGHT is the opt-out.
   ========================================================================== */

:root {
  --bg:        #0e0e10;
  --surface:   #17171a;
  --ink:       #f4f4f6;
  --body:      #c9c9cf;
  --muted:     #a0a0a8;
  --faint:     #84848c;
  --hairline:  rgba(255, 255, 255, .09);
  --hairline2: rgba(255, 255, 255, .18);
  --accent:    #ff8a4a;     /* ember orange from the deck's transport strip */
  --link:      #ff8a4a;
  --link-hover:#ffab7a;
  --btn-bg:    #2b2b2e;
  --btn-ink:   #a0a0a8;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --wrap:      760px;
}

html:not([data-dark="true"]) {
  --bg:        #f6f5f2;
  --surface:   #ffffff;
  --ink:       #1b1b1d;
  --body:      #4a4a4f;
  --muted:     #6d6d72;
  --faint:     #6a6a70;
  --hairline:  rgba(0, 0, 0, .08);
  --hairline2: rgba(0, 0, 0, .16);
  --accent:    #a8410b;     /* darkened for 4.5:1 on the light ground */
  --link:      #a8410b;
  --link-hover:#7d2f06;
  --btn-bg:    #e7e5e0;
  --btn-ink:   #56565b;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
main p a { text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--link-hover); text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }

/* ── humbleha.us site chrome (standard nav — CLAUDE.md) ─────────────────── */
nav[aria-label="Site navigation"] {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: nowrap; gap: 1rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg);
}
@media (max-width: 540px) { nav[aria-label="Site navigation"] { padding: .75rem 1rem; } }
.nav-brand { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.nav-brand a {
  font-family: var(--font-mono); font-size: .85rem; color: var(--ink);
  text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-brand a:hover { color: var(--link); }
.exp-badge {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em;
  color: var(--faint); border: 1px solid var(--hairline2);
  border-radius: 6px; padding: .15rem .4rem; flex-shrink: 0;
}
.nav-right { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.donate-link { font-size: .8rem; color: var(--muted); text-decoration: none; white-space: nowrap; position: relative; }
.donate-link:hover { color: var(--link); text-decoration: none; }
.donate-link::before { /* 44px tap target without changing the visual box */
  content: ''; position: absolute; top: 50%; left: 0;
  width: 100%; height: 44px; transform: translateY(-50%);
}
.dark-toggle {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--hairline2); background: transparent;
  cursor: pointer; font-size: 15px; color: var(--ink);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.dark-toggle::after { content: '🌙'; }
html:not([data-dark="true"]) .dark-toggle::after { content: '☀️'; }
.dark-toggle::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; transform: translate(-50%, -50%);
}

/* ── Placeholder page body ──────────────────────────────────────────────── */
main { max-width: var(--wrap); margin: 0 auto; padding: 3rem 1.25rem 4rem; }
@media (max-width: 540px) { main { padding: 2rem 1rem 3rem; } }

.hero { text-align: center; }
.hero-mark {
  width: 160px; height: 160px; margin: 0 auto 1.5rem;
  border-radius: 28px; overflow: hidden;
}
.hero h1 {
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1.1; margin: 0 0 .35rem; letter-spacing: -.02em;
}
.eyebrow {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); margin: 0 0 1rem;
}
.lede { color: var(--body); font-size: 1.05rem; margin: 0 auto 2rem; max-width: 34em; }

.cta-row {
  display: flex; flex-wrap: wrap; gap: .75rem;
  align-items: center; justify-content: center;
}
.btn {
  min-height: 44px; padding: .7rem 1.4rem;
  border-radius: 10px; border: 1px solid var(--hairline2);
  background: var(--btn-bg); color: var(--btn-ink);
  font: inherit; font-weight: 600; cursor: not-allowed;
  display: inline-flex; align-items: center; gap: .6rem;
}
.btn .price { font-family: var(--font-mono); font-size: .85rem; color: var(--accent); }
.cta-meta { display: block; width: 100%; font-size: .8rem; color: var(--faint); }

.facts {
  margin: 3rem 0 0; padding: 1.5rem 1.5rem;
  border: 1px solid var(--hairline); border-radius: 14px; background: var(--surface);
}
.facts h2 { font-size: 1.05rem; margin: 0 0 .75rem; }
.facts ul { margin: 0; padding-left: 1.1rem; color: var(--body); }
.facts li { margin-bottom: .5rem; }
.facts li:last-child { margin-bottom: 0; }

.note { margin-top: 2rem; font-size: .9rem; color: var(--muted); text-align: center; }

.site-footer { border-top: 1px solid var(--hairline); padding: 1.5rem 1.25rem; }
.footer-row {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem;
  align-items: center; justify-content: space-between;
  font-size: .8rem; color: var(--faint);
}
