/* Cricko website. Tokens match the Cricko app (navy / flare / gold, Saira + Figtree). */
:root {
  --night: #0A1640;
  --navy-deep: #0F2667;
  --navy: #19398A;
  --flare: #D8381C;
  --gold: #F7B500;
  --gold-ink: #4A3600;
  --turf: #178A43;
  --page: #EEF1FB;
  --ink: #13204A;
  --muted: #56658F;
  --line: #D9E0F2;
  --white: #FFFFFF;
  --display: "Saira Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--flare); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

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

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.04; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(42px, 6.4vw, 82px); }
h2 { font-size: clamp(32px, 4.2vw, 52px); }
h3 { font-size: 24px; line-height: 1.15; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 58ch; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 17px/1 var(--body); text-decoration: none;
  padding: 16px 24px; border-radius: 12px; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-hot { background: var(--flare); color: var(--white); }
.btn-hot:hover { background: #B92D14; color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(10,22,64,.92); backdrop-filter: blur(10px); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--white); }
.logo-word { font: 800 30px/1 var(--display); letter-spacing: -0.01em; display: inline-flex; align-items: baseline; }
.logo-ball { width: .62em; height: .62em; margin-left: .04em; align-self: center; transform: translateY(.08em); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--white); }
.site-head .btn { padding: 11px 18px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--white); font: 700 15px var(--body); padding: 10px; cursor: pointer; }

/* hero: the floodlit night */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(ellipse 40% 50% at 8% -6%, rgba(255,226,150,.28), transparent 70%),
    radial-gradient(ellipse 40% 50% at 92% -6%, rgba(255,226,150,.28), transparent 70%),
    radial-gradient(ellipse 110% 46% at 50% 120%, #1E8A4C 0%, #13603A 40%, transparent 72%),
    linear-gradient(180deg, #08123A 0%, #13296B 60%, #0B1A4A 100%);
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 120px);
}
.hero::before { /* the swoosh angle, as faint light rays */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 13ch; }
.hero .lede { color: rgba(232,238,255,.82); margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: rgba(232,238,255,.66); }

/* the live lot (hero mock) */
.lot {
  position: relative; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px; padding: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.lot-top { display: flex; align-items: center; gap: 18px; }
.lot-ring {
  flex: none; width: 108px; height: 108px; border-radius: 50%; border: 5px solid var(--gold);
  display: grid; place-items: center; background: linear-gradient(160deg, #2A55C4, #142E78);
  box-shadow: 0 0 0 6px rgba(247,181,0,.16), 0 0 50px rgba(247,181,0,.4);
  font: 700 38px var(--display); color: var(--white); position: relative;
}
.lot-no { position: absolute; top: -6px; left: -8px; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); border: 3px solid var(--white); display: grid; place-items: center; font: 700 15px var(--display); }
.ribbon { display: inline-block; transform: skewX(-14deg); padding: 6px 16px; border-radius: 5px; }
.ribbon > span { display: inline-block; transform: skewX(14deg); }
.r-name { background: var(--white); color: var(--navy-deep); font: 700 26px/1.1 var(--display); }
.r-role { background: var(--flare); color: var(--white); font: 700 17px/1.1 var(--display); margin-top: 8px; margin-left: 18px; }
.lot-meta { color: rgba(232,238,255,.75); font-size: 14px; margin-top: 10px; margin-left: 4px; }
.lot-bid { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 18px 20px; border-radius: 16px; background: rgba(10,22,64,.55); border: 1px solid rgba(255,255,255,.12); }
.bid-label { font-size: 13px; color: rgba(232,238,255,.7); font-weight: 700; }
.bid-amount { font: 700 72px/0.95 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.bid-amount small { font: 600 16px var(--body); color: rgba(232,238,255,.7); margin-left: 6px; }
.bid-team { display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--navy-deep); border-radius: 999px; padding: 6px 16px 6px 6px; font: 700 17px var(--display); white-space: nowrap; }
.bid-team i { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font: 700 12px var(--display); font-style: normal; }
.timer { height: 6px; border-radius: 3px; background: rgba(255,255,255,.14); margin-top: 16px; overflow: hidden; }
.timer > b { display: block; height: 100%; width: 100%; background: #3DDC84; border-radius: 3px; transform-origin: left; }
.history { margin-top: 14px; display: grid; gap: 4px; font-size: 14px; color: rgba(232,238,255,.72); min-height: 66px; }
.history div { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 3px; }
.stamp {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-9deg) scale(2.4); opacity: 0;
  border: 7px solid var(--flare); color: var(--flare); background: rgba(255,255,255,.96);
  font: 800 76px/1 var(--display); letter-spacing: 6px; padding: 6px 26px 2px; border-radius: 14px; pointer-events: none;
}
.stamp.on { animation: stamp .45s cubic-bezier(.2,1.4,.4,1) forwards; }
@keyframes stamp { to { opacity: 1; transform: translate(-50%, -50%) rotate(-9deg) scale(1); } }

/* languages line */
.langs { background: var(--white); border-bottom: 1px solid var(--line); }
.langs .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; padding-top: 22px; padding-bottom: 22px; }
.langs p { font-weight: 700; color: var(--muted); font-size: 15px; margin-right: 6px; }
.langs ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; font-size: 19px; font-weight: 600; color: var(--ink); }

/* sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lede { margin-top: 16px; }

/* auction day: a real sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 28px; right: calc(20% - 28px); top: 27px; height: 3px; background: linear-gradient(90deg, var(--navy), var(--flare)); border-radius: 2px; }
.steps li { position: relative; padding-right: 22px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--navy); color: var(--navy); font: 700 26px var(--display); position: relative;
}
.steps li:last-child::before { border-color: var(--flare); color: var(--flare); }
.steps h3 { margin-top: 18px; font-size: 22px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* projector showcase */
.showcase { background: var(--night); color: var(--white); }
.showcase .wrap { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.showcase .lede { color: rgba(232,238,255,.78); margin-top: 16px; }
.showcase ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; color: rgba(232,238,255,.88); }
.showcase li { padding-left: 26px; position: relative; }
.showcase li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.screen {
  aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 10px solid #1B2440; position: relative;
  background:
    radial-gradient(ellipse 34% 30% at 8% 4%, rgba(255,226,150,.4), transparent 70%),
    radial-gradient(ellipse 34% 30% at 92% 4%, rgba(255,226,150,.4), transparent 70%),
    radial-gradient(ellipse 95% 42% at 50% 112%, #1E8A4C 0%, #13603A 42%, transparent 72%),
    linear-gradient(180deg, #08123A 0%, #13296B 52%, #0B1A4A 100%);
  box-shadow: 0 40px 90px rgba(0,0,0,.45);
  font-size: clamp(7px, 1.05vw, 12px);
}
.scr-head { display: flex; justify-content: space-between; padding: 3% 4% 0; font: 700 1.5em var(--display); }
.scr-body { display: grid; grid-template-columns: auto 1fr; gap: 5%; align-items: center; padding: 3% 6% 0; }
.scr-ring { width: 13em; height: 13em; border-radius: 50%; border: .5em solid var(--gold); background: linear-gradient(160deg, #2A55C4, #142E78); display: grid; place-items: center; font-family: var(--display); font-weight: 700; box-shadow: 0 0 3em rgba(247,181,0,.45); }
.scr-ring span { font-size: 4em; }
.scr-info { display: grid; gap: .6em; justify-items: start; }
.scr-info .ribbon { font-size: 1.4em; }
.scr-chips { display: flex; gap: .6em; flex-wrap: wrap; }
.scr-chips b { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: .5em; padding: .3em .7em; font-weight: 700; }
.scr-bid { display: flex; align-items: center; gap: 1.4em; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 1em; padding: .8em 1.2em; }
.scr-bid strong { font: 700 4.6em/1 var(--display); color: var(--gold); }
.scr-teams { position: absolute; left: 3%; right: 3%; bottom: 4%; display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; }
.scr-teams div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: .7em; padding: .5em .8em; display: flex; justify-content: space-between; font-weight: 700; }
.scr-teams div.lead { border-color: var(--gold); background: rgba(247,181,0,.16); }
.scr-teams em { font-style: normal; color: var(--gold); }

/* three audiences */
.who { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.who-col h3 { margin-bottom: 14px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 6px; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.checks b { display: block; }
.checks span { color: var(--muted); font-size: 16px; }
.owner { display: grid; grid-template-columns: 210px 1fr; gap: 28px; align-items: center; background: var(--white); border-radius: 26px; padding: 28px; border: 1px solid var(--line); }
.phone { width: 210px; border-radius: 34px; background: #0D1530; padding: 10px; box-shadow: 0 24px 60px rgba(19,32,74,.25); }
.phone-screen { border-radius: 26px; overflow: hidden; background: var(--page); font-size: 12px; }
.ph-bar { background: var(--navy); color: var(--white); padding: 12px 14px; font: 700 14px var(--display); display: flex; justify-content: space-between; }
.ph-body { padding: 12px; display: grid; gap: 8px; }
.ph-card { background: var(--white); border-radius: 12px; padding: 10px; border: 1px solid var(--line); }
.ph-card strong { font: 700 15px var(--display); display: block; }
.ph-big { font: 700 34px/1 var(--display); color: var(--flare); }
.ph-btns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.ph-btns span { background: var(--flare); color: var(--white); border-radius: 9px; text-align: center; padding: 9px 0; font: 700 13px var(--display); }
.ph-btns span + span { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.ph-auto { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.ph-auto i { width: 34px; height: 20px; border-radius: 10px; background: var(--turf); position: relative; }
.ph-auto i::after { content: ""; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); }
.hall { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hall div { border-top: 3px solid var(--gold); padding-top: 12px; }
.hall b { font: 700 20px var(--display); display: block; }
.hall span { color: var(--muted); font-size: 15px; }

/* fair-play tools: uneven grid */
.tools { background: var(--white); }
.tool-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tool { border-radius: 20px; padding: 26px; border: 1px solid var(--line); background: var(--page); }
.tool p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.tool.wide { grid-column: span 3; }
.tool.third { grid-column: span 2; }
.tool.auto { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tool.auto p { color: rgba(232,238,255,.8); }
.tool.mvp { background: var(--gold); border-color: var(--gold); }
.tool.mvp p { color: var(--gold-ink); }
.mvp-list { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: mvp; display: grid; gap: 8px; }
.mvp-list li { counter-increment: mvp; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; column-gap: 10px; background: rgba(255,255,255,.55); border-radius: 12px; padding: 8px 14px; color: var(--gold-ink); }
.mvp-list li::before { content: counter(mvp); grid-row: span 2; font: 700 22px var(--display); }
.mvp-list b { font-weight: 800; color: var(--ink); }
.mvp-list span { grid-column: 2; font-size: 13px; }
.mvp-list strong { grid-column: 3; grid-row: 1 / span 2; font: 700 26px var(--display); color: var(--ink); }
.meter { margin-top: 18px; display: grid; gap: 8px; font-size: 14px; }
.meter div { display: grid; grid-template-columns: 110px 1fr 40px; align-items: center; gap: 10px; }
.meter u { text-decoration: none; height: 8px; border-radius: 4px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.meter u::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--gold); border-radius: 4px; }

/* pricing */
.price-note { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; color: var(--muted); font-size: 15px; }
.plans { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--white); }
.plan { padding: 28px 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.plan:first-child { border-left: 0; }
.plan h3 { font-size: 22px; }
.plan .teams { color: var(--muted); font-size: 15px; }
.plan .amount { font: 700 46px/1 var(--display); margin-top: 14px; }
.plan .amount small { display: block; margin-top: 8px; font: 600 14px var(--body); color: var(--muted); }
.plan .btn { margin-top: auto; padding: 12px 14px; font-size: 15px; }
.plan .spacer { height: 18px; }
.plan.pick { background: var(--navy); color: var(--white); position: relative; }
.plan.pick .teams, .plan.pick .amount small { color: rgba(232,238,255,.75); }
.plan.pick .tag { position: absolute; top: 14px; right: 14px; background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.included { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 28px; list-style: none; padding: 0; font-size: 16px; }
.included li { padding-left: 22px; position: relative; }
.included li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--turf); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font: 700 21px/1.3 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 32px var(--body); color: var(--navy); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* closing call */
.closer { background: var(--flare); color: var(--white); }
.closer .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.closer p { margin-top: 14px; font-size: 19px; color: rgba(255,255,255,.88); max-width: 50ch; }
.contact { display: grid; gap: 12px; }
.contact .btn { width: 100%; }
.btn-white { background: var(--white); color: var(--flare); }
.btn-white:hover { background: var(--page); color: var(--flare); }
.btn-outline-white { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }

/* footer */
.foot { background: var(--night); color: rgba(232,238,255,.7); padding: 48px 0 36px; font-size: 15px; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot a { color: rgba(232,238,255,.85); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.foot h3 { font-size: 18px; color: var(--white); }
.foot .small { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: 13px; }

/* legal pages */
.legal { max-width: 760px; padding: 56px 0 80px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); }
.legal h2 { font-size: 26px; margin-top: 36px; }
.legal p, .legal li { color: #2E3B63; margin-top: 12px; }
.legal .updated { color: var(--muted); margin-top: 10px; }

/* responsive */
@media (max-width: 1020px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 3px; height: auto; background: linear-gradient(180deg, var(--navy), var(--flare)); }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 0; }
  .steps li::before { grid-row: span 2; }
  .steps h3 { margin-top: 4px; }
  .showcase .wrap, .who, .closer .wrap { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan { border-left: 0; border-top: 1px solid var(--line); }
  .plan:nth-child(-n+2) { border-top: 0; }
  .plan:nth-child(even) { border-left: 1px solid var(--line); }
  .tool.wide, .tool.third { grid-column: span 6; }
  .included { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--night); padding: 12px var(--gutter) 20px; gap: 14px; }
  .menu-btn { display: block; }
  .site-head .btn { display: none; }
  .owner { grid-template-columns: 1fr; justify-items: center; }
  .hall { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .lot { padding: 18px; }
  .lot-ring { width: 84px; height: 84px; font-size: 30px; }
  .r-name { font-size: 21px; }
  .bid-amount { font-size: 56px; }
  .lot-bid { flex-direction: column; align-items: flex-start; }
  .plans { grid-template-columns: 1fr; }
  .plan, .plan:nth-child(even) { border-left: 0; border-top: 1px solid var(--line); }
  .plan:first-child { border-top: 0; }
  .included { grid-template-columns: 1fr; }
  .scr-teams { grid-template-columns: repeat(2, 1fr); }
  .scr-teams div:nth-child(n+5) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .stamp.on { animation: none; opacity: 1; transform: translate(-50%, -50%) rotate(-9deg) scale(1); }
  .btn { transition: none; }
}

/* "Create an auction" inside the phone menu only */
.nav-cta { display: none; }
@media (max-width: 860px) { .nav.open .nav-cta { display: inline-flex; justify-content: center; background: var(--flare); color: var(--white) !important; border-radius: 12px; padding: 12px; } }

/* ---------- account pages: sign up, log in, my auctions, create, auctions, results ---------- */
.page-head { background: var(--night); color: var(--white); padding: clamp(36px, 5vw, 64px) 0; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; opacity: .5; background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px); pointer-events: none; }
.page-head .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); }
.page-head p { color: rgba(232,238,255,.8); margin-top: 10px; max-width: 60ch; }
.page { padding-top: clamp(28px, 4vw, 48px); padding-bottom: 80px; }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.narrow { max-width: 520px; margin: 0 auto; }
.mid { max-width: 820px; margin: 0 auto; }

.form { display: grid; gap: 18px; }
.form h2 { font-size: 24px; margin-top: 6px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 700; font-size: 15px; }
.field .hint { color: var(--muted); font-size: 14px; }
.field input, .field select {
  font: 500 17px var(--body); color: var(--ink); background: var(--page); border: 2px solid var(--line);
  border-radius: 12px; padding: 13px 14px; width: 100%; min-width: 0;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); background: var(--white); }
.field input[aria-invalid="true"] { border-color: var(--flare); }
.pw { position: relative; }
.pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--navy); font: 700 14px var(--body); cursor: pointer; padding: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { cursor: pointer; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--line); background: var(--white); border-radius: 12px; padding: 10px 14px; font-weight: 700; }
.choices input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--white); }
.choices input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-error { background: #FDECE8; color: #9C2A12; border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.form-error:empty { display: none; }
.form-ok { background: #E6F6EE; color: #11603A; border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.form-ok:empty { display: none; }
.code-input { font: 700 26px var(--display); letter-spacing: 8px; text-align: center; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }
.linkish:hover { color: var(--flare); }
.callout.warn { background: #FFF6D6; border-color: var(--gold); margin-bottom: 18px; }
.form-foot { color: var(--muted); font-size: 15px; text-align: center; }
.callout { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--ink); font-size: 15px; }
.callout b { font-family: var(--display); font-size: 18px; }
.form .btn[disabled] { opacity: .55; cursor: wait; }

.done-code { font: 800 clamp(40px, 8vw, 64px)/1 var(--display); letter-spacing: 6px; color: var(--navy); }
.secret { background: #FFF6D6; border: 2px dashed var(--gold); border-radius: 14px; padding: 14px 16px; }
.secret code { font: 700 20px var(--display); letter-spacing: 2px; color: var(--gold-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* tabs (Live / Upcoming / Past) */
.tabs { display: flex; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 5px; width: fit-content; max-width: 100%; overflow-x: auto; }
.tabs button { border: 0; background: none; font: 700 16px var(--body); color: var(--muted); padding: 10px 18px; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--navy); color: var(--white); }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.search { flex: 1; max-width: 340px; min-width: 200px; }
.search input { width: 100%; font: 500 16px var(--body); border: 2px solid var(--line); border-radius: 12px; padding: 11px 14px; background: var(--white); }

/* auction cards */
.a-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.a-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 12px; align-content: start; }
.a-top { display: flex; gap: 14px; align-items: center; }
.a-logo { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); color: var(--white); display: grid; place-items: center; font: 800 20px var(--display); flex: none; overflow: hidden; }
.a-logo img { width: 100%; height: 100%; object-fit: cover; }
.a-card h3 { font-size: 22px; }
.a-meta { color: var(--muted); font-size: 14px; }
.a-stats { display: flex; gap: 18px; font-size: 14px; color: var(--muted); }
.a-stats b { display: block; font: 700 22px var(--display); color: var(--ink); }
.a-card .actions .btn { padding: 11px 14px; font-size: 15px; flex: 1; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; border-radius: 999px; padding: 4px 10px; }
.badge.live { background: #FDECE8; color: var(--flare); }
.badge.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--flare); animation: pulse 1.4s ease-in-out infinite; }
.badge.upcoming { background: #E6ECFA; color: var(--navy); }
.badge.past { background: #E7F4EC; color: var(--turf); }
.badge.private { background: var(--page); color: var(--muted); }
@keyframes pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .badge.live::before { animation: none; } }
.empty { text-align: center; color: var(--muted); padding: 48px 16px; background: var(--white); border: 1px dashed var(--line); border-radius: 18px; }
.empty .btn { margin-top: 16px; }

/* results page */
.r-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.r-stats div { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.r-stats b { display: block; font: 700 30px var(--display); }
.r-stats span { color: var(--muted); font-size: 14px; }
.teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.team { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.team-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy); color: var(--white); }
.team-head h3 { font-size: 21px; flex: 1; }
.team-head span { font-weight: 700; color: var(--gold); }
.team table { width: 100%; border-collapse: collapse; font-size: 15px; }
.team td { padding: 9px 16px; border-top: 1px solid var(--line); }
.team td:last-child { text-align: right; font: 700 17px var(--display); }
.team tr.icon td { background: #FFF6D6; }
.team .none { padding: 16px; color: var(--muted); }

@media (max-width: 640px) {
  .form .row, .form .row3 { grid-template-columns: 1fr; }
  .r-stats { grid-template-columns: repeat(2, 1fr); }
  .teams { grid-template-columns: 1fr; }
}

#done, .form-error { scroll-margin-top: 96px; }

/* ---- demo page ---- */
.demo-list { display: grid; gap: 10px; padding-left: 20px; margin: 0; font-size: 16px; }
.demo-list b { color: var(--navy); }
.demo-keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.demo-keys .label { font-weight: 700; color: var(--muted, #5B6788); font-size: 14px; }
.demo-pins { width: 100%; border-collapse: collapse; font-size: 15px; }
.demo-pins th { text-align: left; font-size: 13px; color: var(--muted, #5B6788); padding: 8px 10px; border-bottom: 2px solid var(--line); }
.demo-pins td { padding: 10px; border-bottom: 1px solid var(--line); }
.demo-pins td:last-child { font: 800 20px var(--display); letter-spacing: 2px; color: var(--navy); font-variant-numeric: tabular-nums; }
.demo-steps { display: grid; gap: 8px; padding-left: 22px; margin: 0; }
.badge.trial { background: #FFF6D6; color: var(--gold-ink); }
.plan-demo { display: block; text-align: center; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--navy); }
.hint.email-fix, .field .email-fix { color: var(--flare); font-weight: 600; }
.email-fix .linkish { font-weight: 700; }
