:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-band: #f2f3f5;
  --card: #ffffff;
  --line: #e6e8ec;
  --text: #0b0d10;
  --muted: #646b76;
  --accent: #ff7a00;
  --accent-ink: #ffffff;
  --accent-soft: rgba(255, 122, 0, 0.1);
  --accent-2: #1273e6;
  --green: #0f9d58;
  --green-soft: rgba(15, 157, 88, 0.12);
  --red: #d93b3b;
  --red-soft: rgba(217, 59, 59, 0.12);
  --lid: linear-gradient(160deg, #eceef1 0%, #dfe3e8 55%, #d2d6dd 100%);
  --lid-edge: #b9c0ca;
  --spot-border: rgba(255, 122, 0, 0.5);
  --spot-bg: rgba(255, 122, 0, 0.06);
  --spot-text: #903f00;
  --sold-border: rgba(15, 157, 88, 0.5);
  --sold-bg: rgba(15, 157, 88, 0.1);
  --sold-text: #0c6b3c;
  --logo-color: rgba(11, 13, 16, 0.4);
  --shadow: 0 14px 40px rgba(11, 13, 16, 0.07);
  --radius: 16px;
}

html[data-theme="dark"] {
  --bg: #0d0f13;
  --bg-soft: #14171d;
  --bg-band: #181c23;
  --card: #1a1f28;
  --line: #2a3340;
  --text: #e8ecf2;
  --muted: #97a1b0;
  --accent: #ff8a1e;
  --accent-ink: #120a02;
  --accent-soft: rgba(255, 138, 30, 0.14);
  --accent-2: #4ba3ff;
  --green: #3fd08b;
  --green-soft: rgba(63, 208, 139, 0.14);
  --red: #ff6161;
  --red-soft: rgba(255, 97, 97, 0.14);
  --lid: linear-gradient(160deg, #333a45 0%, #20242c 55%, #171b22 100%);
  --lid-edge: #454e5c;
  --spot-border: rgba(255, 138, 30, 0.55);
  --spot-bg: rgba(255, 138, 30, 0.09);
  --spot-text: #ffd9a8;
  --sold-border: rgba(63, 208, 139, 0.55);
  --sold-bg: rgba(63, 208, 139, 0.15);
  --sold-text: #a6f1cb;
  --logo-color: rgba(255, 255, 255, 0.5);
  --shadow: 0 22px 55px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55; transition: background 0.25s ease, color 0.25s ease;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }
section { padding: 56px 0; }
section.muted-band { background: var(--bg-soft); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em; margin: 14px 0 12px; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); letter-spacing: -0.01em; margin: 6px 0 14px; }
h3 { margin: 8px 0 4px; font-size: 1.05rem; }
p { margin: 10px 0; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; color: var(--muted); font-weight: 700; margin: 0 0 6px; }
.spacer { height: 34px; }

/* Header */
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 22px;
  border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.brand { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.nav { display: flex; gap: 20px; font-size: 0.9rem; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--text); }
.header-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.theme-toggle {
  border: 1px solid var(--line); border-radius: 10px; width: 40px; height: 38px;
  background: var(--card); color: var(--text); font-size: 1.05rem; cursor: pointer;
}
.theme-toggle:hover { border-color: var(--accent); }

/* Currency view toggle (AUD ⇄ USD display only) */
.ccy-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); padding: 3px; gap: 2px;
}
.ccy-toggle button {
  border: none; background: transparent; color: var(--muted);
  font-weight: 700; font-size: 0.8rem; padding: 5px 12px; border-radius: 999px; cursor: pointer;
}
.ccy-toggle button.on { background: var(--accent); color: var(--accent-ink); }
.ccy-toggle button:hover { color: var(--text); }
.ccy-toggle button.on:hover { color: var(--accent-ink); }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none;
  border: none; cursor: pointer; font-size: 0.95rem;
}
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.block { width: 100%; }
.btn:hover { filter: brightness(1.06); }

/* Hero */
.hero { padding-top: 56px; text-align: left; }
.hero .wrap { max-width: 1040px; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.hero-score { display: flex; align-items: baseline; gap: 14px; margin: 22px 0 24px; flex-wrap: wrap; }
.raised { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
.badge {
  display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 700;
  background: var(--green-soft); color: var(--green); border: 1px solid var(--green);
}
.badge.wait { background: var(--red-soft); color: var(--red); border-color: var(--red); }

.progress-card { margin: 0 0 20px; max-width: 640px; }
.bar-row { display: flex; align-items: center; gap: 12px; margin: 8px 0; flex-wrap: wrap; }
.bar-label { font-size: 0.78rem; color: var(--muted); width: 160px; flex: none; }
.bar { flex: 1; min-width: 160px; height: 10px; border-radius: 999px; background: var(--bg-band); overflow: hidden; }
.bar-fill { height: 100%; width: 0%; border-radius: 999px; transition: width 0.6s ease; }
.bar-fill.floor { background: var(--red); }
.bar-fill.target { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.bar-value { font-size: 0.8rem; font-weight: 700; white-space: nowrap; }

/* Tier ladder (Floor → T3) */
.tier-rows { display: flex; flex-direction: column; gap: 12px; }
.tbar { display: flex; flex-direction: column; gap: 6px; padding: 10px 14px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--bg-soft); }
.tbar.done { border-color: var(--green); }
.tbar-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tbar-name { font-weight: 800; font-size: 0.9rem; }
.tbar.done .tbar-name { color: var(--green); }
.tbar-goal { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.tbar .bar { height: 8px; }
.tbar-mark { display: flex; align-items: baseline; gap: 8px; font-size: 0.78rem; color: var(--text); }
.tbar-mark .mark { font-weight: 800; color: var(--accent); min-width: 34px; }
.tbar.done .tbar-mark .mark { color: var(--green); }
#progressLabel { margin: 10px 0 0; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Meta band */
.meta-band { text-align: center; padding: 34px 0 0; }

/* Story / honest-bit + disclaimer */
.story-band { padding: 48px 0; }
.story-band .wrap { max-width: 760px; }
.story-band h2 { margin-top: 4px; }
.disclaimer {
  margin-top: 20px; padding: 16px 18px; border-left: 4px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 12px 12px 0; font-size: 0.92rem; color: var(--text); line-height: 1.6;
}
.disclaimer strong { color: var(--accent); }

/* Lid */
.lid-stage { display: flex; flex-direction: column; align-items: center; padding: 10px 0; }
.lid {
  position: relative; width: min(620px, 92vw); aspect-ratio: 10 / 7; background: var(--lid);
  border: 1px solid var(--lid-edge); border-radius: 22px; box-shadow: var(--shadow);
  padding: 18px;
}
.logo-zone {
  position: absolute; z-index: 2; top: 50%; left: 50%; width: 64px; height: 104px;
  transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center;
}
.logo-zone::before {
  content: ""; position: absolute; inset: 6px; border: 1.5px dashed var(--lid-edge); border-radius: 12px;
}
.logo-mark { position: relative; z-index: 1; color: var(--logo-color); display: flex; align-items: center; justify-content: center; }
#spotGrid, .spot-grid {
  position: relative; z-index: 1; display: block; height: 100%; width: 100%;
}
.spot {
  position: absolute; border: 1.5px dashed var(--spot-border); background: var(--spot-bg);
  border-radius: 12px; color: var(--spot-text); font-size: 0.72rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.15s ease, transform 0.15s ease; padding: 3px; overflow: hidden;
}
.spot.tiny .name { display: none; }
.spot.tiny .cm { font-size: 0.5rem; }
.spot:hover { background: var(--accent-soft); transform: translateY(-2px); }
.spot .price { font-weight: 800; font-size: 0.92rem; line-height: 1.1; }
.spot .name { opacity: 0.85; font-size: 0.72rem; line-height: 1.15; text-align: center; }
.spot .cm { font-size: 0.66rem; opacity: 0.65; line-height: 1.15; text-align: center; }
.spot.sold { border-style: solid; border-color: var(--sold-border); background: var(--sold-bg); color: var(--sold-text); }
.spot.sold::after {
  content: attr(data-sponsor); position: absolute; inset: auto 3px 2px; text-align: center;
  font-size: 0.58rem; color: var(--sold-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.spot.has-logo::after { display: none; }
.spot-logo { max-width: 82%; max-height: 62%; object-fit: contain; border-radius: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; font-size: 0.82rem; color: var(--muted); margin-top: 16px; }
.legend b { color: var(--text); }
#guardNote { text-align: center; margin-top: 8px; }

/* Carousel (live auction ⇄ final look — same lid, two ways) */
.carousel { position: relative; width: 100%; max-width: 640px; }
.carousel-track { position: relative; width: 100%; }
.carousel-slide { display: none; }
.carousel-slide.active { display: block; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.carousel-btn {
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  width: 38px; height: 38px; border-radius: 999px; font-size: 1.2rem; cursor: pointer; line-height: 1;
}
.carousel-btn:hover { border-color: var(--accent); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots .dot {
  width: 9px; height: 9px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; padding: 0;
}
.carousel-dots .dot.on { background: var(--accent); border-color: var(--accent); }

/* Final-look mock: the finished, branded lid — same flat gradient as .lid,
   plus a soft gloss highlight over the stickers (creator-style render). */
.mock-final .lid {
  background: var(--lid);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 30px 60px -18px rgba(0, 0, 0, 0.28), 0 12px 24px -12px rgba(0, 0, 0, 0.18);
}
.mock-final .final-gloss {
  position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.12) 42%, transparent 70%);
}
.mock-final .spot { border: 1.5px solid rgba(255, 122, 0, 0.28); background: rgba(255, 255, 255, 0.06); }
.mock-final .spot.sold { border-color: var(--sold-border); background: var(--sold-bg); }

/* H2 row */
.h2-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.reset { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 8px 16px; font-size: 0.8rem; cursor: pointer; }
.reset:hover { color: var(--text); border-color: var(--accent); }

/* Spot list (auction) */
.spot-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.sl-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
}
.sl-spot { font-weight: 700; flex: 1; min-width: 200px; }
.sl-spot small { display: block; font-weight: 400; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.sl-size {
  flex: none; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: var(--bg-band); color: var(--muted); border: 1px solid var(--line);
}
.sl-bid { font-weight: 800; font-size: 1.05rem; min-width: 100px; text-align: right; }
.sl-bid small { display: block; font-weight: 400; color: var(--muted); font-size: 0.72rem; }
.sl-bid .sl-count { color: var(--accent-2); }
.sl-logo { max-width: 96px; max-height: 34px; object-fit: contain; border-radius: 4px; display: block; margin-left: auto; }
.sl-bid a { color: inherit; text-decoration: none; border-bottom: 1px dashed var(--accent); }
.sl-cta {
  flex: none; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent-soft); color: var(--spot-text); font-weight: 700; font-size: 0.85rem; cursor: pointer;
}
.sl-cta:hover { background: var(--accent); color: var(--accent-ink); }
#bidSummary { margin-top: 14px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-n {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1rem;
}
.step p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* Specs */
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 820px) { .specs-grid { grid-template-columns: 1fr; } }
.config-card { background: var(--bg-band); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.config-title { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.config-price { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin: 4px 0 14px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 9px 6px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.92rem; }
.spec-table td:first-child { color: var(--muted); width: 32%; }
.spec-table tr:last-child td { border-bottom: none; }
.apple-link { display: inline-block; margin-top: 14px; color: var(--accent-2); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.apple-link:hover { text-decoration: underline; }

.tier-ladder { display: flex; flex-direction: column; gap: 12px; }
.tier {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
  border-left: 4px solid var(--line);
}
.tier.active { border-left-color: var(--green); background: var(--green-soft); }
.tier-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tier-title { font-weight: 800; font-size: 1.05rem; }
.tier-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.tier-price { font-weight: 800; }
.tier-sub { font-size: 0.8rem; color: var(--muted); margin-top: 4px; display: flex; gap: 12px; flex-wrap: wrap; }
.tier-sub .covered { color: var(--green); font-weight: 700; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1rem; padding: 12px 2px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; font-size: 1.2rem; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); font-size: 0.95rem; margin: 0 0 14px; }

/* Owner card */
.owner-card {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 34px; padding: 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  max-width: 640px;
}
.avatar {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1.2rem;
}
.owner-name { font-weight: 800; margin: 0 0 6px; }
.owner-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Modal */
.modal {
  position: fixed; inset: 0; z-index: 50; background: rgba(8, 11, 15, 0.7);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal.hidden { display: none; }
.modal-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; width: min(460px, 100%); position: relative; box-shadow: var(--shadow); }
.modal-close { position: absolute; top: 12px; right: 14px; background: none; border: none; color: var(--muted); font-size: 1.5rem; cursor: pointer; }
.modal-card label { display: block; margin: 14px 0 6px; font-size: 0.82rem; color: var(--muted); }
.modal-card input { width: 100%; margin-top: 5px; padding: 11px 12px; background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); border-radius: 10px; font-size: 0.95rem; }
.logo-preview { max-width: 180px; max-height: 90px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: var(--bg-soft); display: block; margin: 10px 0 0; }
.logo-preview.hidden { display: none; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.preset { border: 1px solid var(--line); background: var(--bg-soft); color: var(--text); border-radius: 999px; padding: 7px 14px; font-size: 0.82rem; font-weight: 600; cursor: pointer; }
.preset:hover { border-color: var(--accent); color: var(--accent); }

/* Countdown */
.countdown {
  display: inline-block; margin-top: 18px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-soft); color: var(--muted);
  font-weight: 700; font-size: 0.9rem; font-variant-numeric: tabular-nums;
}
.countdown b { color: var(--accent); }
.ticker { margin: 10px 0 0; font-size: 0.85rem; }
.ticker b { color: var(--text); }
.ticker .muted { color: var(--muted); }

/* Bid history */
.history { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.history summary { cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: 0.95rem; list-style: none; display: flex; justify-content: space-between; }
.history summary::-webkit-details-marker { display: none; }
#historyRows { padding: 0 18px 14px; display: flex; flex-direction: column; gap: 8px; }
.hrow { display: flex; gap: 12px; align-items: baseline; font-size: 0.85rem; border-bottom: 1px dashed var(--line); padding: 6px 0; }
.hrow:last-child { border-bottom: none; }
.hrow .hspot { font-weight: 600; flex: 1; }
.hrow .hval { font-weight: 700; }
.hrow .hts { color: var(--muted); font-size: 0.75rem; }

/* Product */
.product-card { max-width: 720px; margin: 0 auto; }
.waitlist { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 6px; }
.waitlist input {
  flex: 1; min-width: 240px; padding: 12px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--text); font-size: 0.95rem;
}

/* Press */
.press-list { max-width: 760px; display: flex; flex-direction: column; gap: 12px; padding: 0; list-style: none; }
.press-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-size: 0.95rem; color: var(--muted); }
.press-list li strong { color: var(--text); }

/* Terms / Privacy */
.legal { max-width: 800px; }
.legal h2 { margin-top: 4px; }
.legal-list { display: flex; flex-direction: column; gap: 10px; padding: 0; list-style: none; margin-top: 12px; }
.legal-list li { padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
.legal-list li strong { color: var(--text); }

/* Modal agree checkbox */
.modal-card .agree { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--muted); margin: 14px 0 4px; }
.modal-card .agree input { width: auto; margin-top: 3px; flex: none; }
.modal-card .agree a { color: var(--accent-2); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 0.85rem; color: var(--muted); }
footer p { margin: 4px 0; }