/* Waitlist pages (/join/...). Builds on style.css: same colours, type and buttons. */
:root { --champ: var(--accent); --join-radius: 18px; }

.j-hero { padding: clamp(14px, 4vw, 56px) 0 clamp(36px, 6vw, 80px); }
.j-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 76px); align-items: start; }

.pill-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; margin: 0 0 22px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font: 600 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.pill-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--champ); box-shadow: 0 0 0 0 var(--champ); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--champ) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }

.j-hero h1 { font: 500 clamp(2.5rem, 6vw, 4.6rem)/1.02 var(--font-display); letter-spacing: -.015em; margin: 0 0 22px; max-width: 14ch; }
.j-hero h1 em { font-style: italic; font-weight: 400; color: var(--champ); }
.j-hero .lead { max-width: 48ch; margin-bottom: 30px; }

.offer {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 26px; align-items: center;
  padding: 24px 28px; border-radius: var(--join-radius); max-width: 560px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--champ) 20%, transparent), transparent 70%), var(--card);
  border: 1px solid color-mix(in srgb, var(--champ) 55%, var(--line));
  box-shadow: var(--card-edge);
}
.offer .big { grid-row: span 2; font: 500 clamp(3.6rem, 8vw, 5.4rem)/.9 var(--font-display); color: var(--champ); font-variant-numeric: lining-nums; letter-spacing: -.02em; }
.offer .big small { font-size: .42em; letter-spacing: 0; margin-left: 2px; }
.offer strong { display: block; font: 600 1.08rem/1.25 var(--font-body); }
.offer span.fine { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.offer s { opacity: .7; }

.j-form { position: sticky; top: 18px; padding: clamp(22px, 3vw, 32px); border-radius: var(--join-radius); margin: 0; }
.j-form h2 { font-size: 1.7rem; }
.j-form .sub { margin-bottom: 4px; }
.j-form .grp { display: grid; gap: 0; }
.j-form label { margin: 16px 0 6px; }
.j-form .opt { font-weight: 400; color: var(--muted); }
.j-form .btn { width: 100%; padding: 15px 26px; font-size: 1rem; margin-top: 20px; }
.j-form .fine, .fine { color: var(--muted); font-size: .8rem; line-height: 1.5; margin: 12px 0 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.chips-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.chips-pick legend { padding: 0; font-weight: 600; font-size: .86rem; margin: 16px 0 8px; }
.chips-pick label { display: inline-flex; margin: 0; font-weight: 500; }
.chips-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips-pick label span {
  display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--field);
  font-size: .86rem; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; user-select: none;
}
.chips-pick label:hover span { border-color: var(--line-strong); }
.chips-pick input:checked + span { background: var(--hi-bg); color: var(--hi-ink); border-color: color-mix(in srgb, var(--champ) 70%, transparent); }
.chips-pick input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 0; font-weight: 400; font-size: .84rem; line-height: 1.5; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }

.j-done h2 { font-size: 2rem; margin-bottom: 8px; }
.j-done .tick { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; background: var(--hi-bg); color: var(--hi-ink); }
.j-done .tick svg { width: 26px; height: 26px; }
.j-done ol { padding-left: 20px; color: var(--muted); margin: 14px 0; }
.j-done li { margin: 6px 0; }
.invite { display: flex; gap: 8px; margin-top: 8px; }
.invite input { flex: 1; min-width: 0; font-size: .86rem; }
.invite .btn { width: auto; margin: 0; padding: 10px 18px; }

.j-sec { padding: clamp(36px, 6vw, 84px) 0; border-top: 1px solid var(--line); }
.j-sec > .wrap > h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); max-width: 20ch; margin-bottom: 34px; }
.j-sec .kick { margin: 0 0 12px; }

.j-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.j-steps li { padding: 26px 24px 4px 0; counter-increment: s; }
.j-steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.j-steps li::before { content: counter(s); display: block; font: 400 3rem/1 var(--font-display); color: var(--champ); opacity: .8; margin-bottom: 14px; }
.j-steps p { margin: 8px 0 0; color: var(--muted); font-size: .94rem; }

.j-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feat { padding: 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-edge); }
.feat svg { width: 28px; height: 28px; color: var(--champ); margin-bottom: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feat p { margin: 8px 0 0; color: var(--muted); font-size: .95rem; }

.faq { max-width: 780px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font: 600 1.02rem/1.35 var(--font-body); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--font-display); color: var(--champ); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 64ch; }

.j-final { text-align: center; }
.j-final h2 { margin: 0 auto 14px; max-width: 18ch; }
.j-final .lead { margin: 0 auto 26px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.j-final .share { justify-content: center; }
.share .btn { padding: 9px 16px; font-size: .84rem; }

.j-links { display: flex; gap: 18px; flex-wrap: wrap; }
.j-links a { color: var(--muted); }

.join-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line-strong);
  box-shadow: 0 -18px 40px -24px rgba(0, 0, 0, .6);
}
.join-bar span { font-size: .84rem; font-weight: 600; line-height: 1.3; }
.join-bar .btn { white-space: nowrap; padding: 11px 20px; }

/* chooser page */
.pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.pick a { display: block; padding: 30px; border-radius: var(--join-radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-edge); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.pick a:hover { border-color: var(--champ); transform: translateY(-2px); }
.pick h2 { margin: 10px 0; }
.pick p { color: var(--muted); margin: 0 0 18px; }

@media (max-width: 900px) {
  .j-grid { grid-template-columns: 1fr; }
  .j-form { position: static; }
  .j-steps { grid-template-columns: repeat(2, 1fr); }
  .j-steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .j-steps li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 18px; }
  .join-bar.on { display: flex; }
  body.has-bar { padding-bottom: 76px; }
  .pick { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .j-feats { grid-template-columns: 1fr; }
  .j-steps { grid-template-columns: 1fr; }
  .j-steps li, .j-steps li + li { padding-left: 0; border-left: 0; }
  .j-steps li + li { border-top: 1px solid var(--line); margin-top: 18px; }
  .offer { grid-template-columns: 1fr; padding: 22px; }
  .offer .big { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .pill-tag i { animation: none; } html { scroll-behavior: auto; } }

.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.ticks li { display: inline-flex; align-items: center; gap: 9px; }
.ticks li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--champ); flex: none; }

/* ---- printer-screen look: countdown, layers, state light, Google button ---- */
.j-hero { position: relative; isolation: isolate; }
.j-hero::before { content: ""; position: absolute; inset: -4% -10% auto; height: 70%; z-index: -1; background: radial-gradient(closest-side, var(--bg-glow), transparent 85%); pointer-events: none; }
.j-hero h1 em { color: var(--scan); font-style: normal; text-shadow: 0 0 26px color-mix(in srgb, var(--scan) 45%, transparent); }
:root[data-theme="light"] .j-hero h1 em { color: var(--cta-bg); text-shadow: none; }
.pill-tag i { background: var(--ready); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ready) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
.ticks li::before { background: var(--ready); }

.clock {
  position: relative; max-width: 560px; margin: 0 0 22px; padding: 18px 22px 16px; border-radius: var(--join-radius);
  background: var(--field); border: 1px solid var(--line-strong); box-shadow: var(--card-edge);
}
.clock::before, .clock::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--tick); pointer-events: none; }
.clock::before { top: 7px; left: 7px; border-right: 0; border-bottom: 0; }
.clock::after { bottom: 7px; right: 7px; border-left: 0; border-top: 0; }
.clock-h { font: 600 .72rem/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--scan); margin-bottom: 10px; }
:root[data-theme="light"] .clock-h { color: var(--cta-bg); }
.clock-d { display: flex; gap: clamp(10px, 3vw, 22px); }
.clock-d[hidden] { display: none; }
.clock-d span { display: grid; gap: 4px; min-width: 3ch; }
.clock-d b { font: 500 clamp(2rem, 6vw, 3rem)/1 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink); letter-spacing: -.02em; }
.clock-d i { font: 500 .66rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.clock[data-phase="live"] .clock-h { color: var(--ready); }

.layers { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.layers li { position: relative; padding-top: 12px; color: var(--muted); font-size: .76rem; line-height: 1.3; }
.layers li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 2px; background: repeating-linear-gradient(135deg, var(--line-strong) 0 3px, transparent 3px 6px); }
.layers li.on::before { background: linear-gradient(90deg, var(--scan), var(--ready)); box-shadow: 0 0 10px color-mix(in srgb, var(--scan) 45%, transparent); }
.layers li.now::before { background: repeating-linear-gradient(135deg, var(--heat) 0 3px, transparent 3px 6px); animation: layerpulse 1.4s ease-in-out infinite; }
.layers li b { display: block; font: 600 .86rem/1.2 var(--font-mono); color: var(--ink); }
@keyframes layerpulse { 50% { opacity: .45; } }

.j-state { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 600 .72rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ready); }
.j-state i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.j-state.soon { color: var(--heat); }
.j-state.closed { color: var(--muted); }
.j-form { border-color: var(--line-strong); }
.j-form .gbtn { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.j-form .gbtn svg { width: 18px; height: 18px; flex: none; }
.j-form .or { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; color: var(--muted); font: 500 .7rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.j-form .or::before, .j-form .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.j-form .or span { white-space: nowrap; }
.j-form label { margin-top: 12px; }
.j-form .fine a { color: var(--accent); }
.boost { margin: 18px 0 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--field); }
.boost p { margin: 6px 0 0; color: var(--muted); font-size: .88rem; }
.boost b { color: var(--heat); }
.j-closed { text-align: left; }
.j-closed .btn { width: auto; margin-top: 8px; }
.feat svg { color: var(--scan); }
.j-steps li::before { color: var(--accent); opacity: .6; }
.chooser-clock .clock { margin-top: 26px; }
@media (max-width: 600px) { .clock { padding: 16px; } .layers li span { display: block; } }
@media (prefers-reduced-motion: reduce) { .layers li.now::before { animation: none; } }

/* Status chip: quiet. A small green dot and plain text, no gradients, glow or motion beyond a slow breathing ring. */
.pill-tag { gap: 12px; padding: 8px 16px; border-color: var(--line); background: transparent; }
.pill-tag i, .j-state i { display: none; }
.live-badge { display: inline-flex; align-items: center; padding-right: 12px; border-right: 1px solid var(--line); color: var(--ready); font: 600 .72rem/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; }
.live-badge[data-phase="soon"], .live-badge[data-phase="open"] { color: var(--heat); }
:root[data-theme="light"] .live-badge[data-phase="soon"], :root[data-theme="light"] .live-badge[data-phase="open"] { color: #B26A00; }
.pill-tag .pt-text { color: var(--muted); font-weight: 500; }

/* The countdown card once the doors are open: just a label and the two dates, no glow. */
.clock[data-phase="live"] { box-shadow: none; padding: 14px 18px; }
.clock[data-phase="live"] .clock-h { margin-bottom: 0; color: var(--ready); letter-spacing: .16em; }
.clock[data-phase="live"] .layers { margin-top: 12px; }
.layers li.on::before { background: var(--ready); box-shadow: none; opacity: .75; height: 3px; }

/* The countdown sits in the right column, above the sign-up card, so the rewards on the left stay in view. */
.j-side { position: sticky; top: 18px; display: grid; gap: 18px; align-content: start; }
.j-side .clock { max-width: none; margin: 0; }
.j-side .j-form { position: static; }
@media (max-width: 900px) { .j-side { position: static; } }
.live-badge { white-space: nowrap; flex: none; }
.pill-tag { white-space: nowrap; max-width: 100%; }
.pill-tag .pt-text { letter-spacing: .09em; overflow: hidden; text-overflow: ellipsis; }
.layers { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .pill-tag { padding-right: 12px; } .pill-tag .pt-text { font-size: .62rem; letter-spacing: .05em; } }
.j-main, .j-side { min-width: 0; }
@media (max-width: 600px) { .pill-tag { white-space: normal; flex-wrap: wrap; border-radius: 22px; padding: 7px 12px; } .pill-tag .pt-text { white-space: normal; font-size: .64rem; line-height: 1.3; } }

/* Coupon: a light mint voucher with a dashed inner edge and the saving in dark green, on both themes. The figure and its label sit on one row, the small print underneath, so it reads the same in any orientation. */
.offer {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "big head" "fine fine"; gap: 2px 20px; align-items: center;
  max-width: 560px; padding: 24px 28px 22px; border: 0; border-radius: 16px; color: #0B2E1A;
  background: linear-gradient(180deg, #F2FBF5, #DDF1E4); box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .75);
}
.offer::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgba(11, 93, 50, .38); border-radius: 11px; pointer-events: none; }
.offer .big { grid-area: big; grid-row: auto; font: 600 clamp(2.9rem, 9vw, 4.4rem)/.95 var(--font-display); color: #0A5C30; text-shadow: none; white-space: nowrap; }
.offer strong { grid-area: head; color: #0B3D22; font-size: 1.1rem; }
.offer span.fine { grid-area: fine; margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(11, 93, 50, .3); color: #2F5A42; font-size: .88rem; line-height: 1.5; }
@media (max-width: 600px) {
  .offer { grid-template-columns: 1fr; grid-template-areas: "big" "head" "fine"; padding: 22px 22px 20px; }
  .pill-tag { white-space: nowrap; flex-wrap: nowrap; border-radius: 999px; padding: 7px 12px; gap: 8px; }
  .live-badge { font-size: .62rem; letter-spacing: .1em; padding-right: 8px; }
  .pill-tag .pt-text { font-size: .6rem; letter-spacing: .06em; white-space: nowrap; }
}
/* Short landscape screens (a phone on its side): the bar scrolls away instead of covering a third of the view. */
@media (max-height: 500px) { .head-wrap { position: static; } .j-hero { padding-top: 8px; } }
