/* softcart.games landing page and the expo sign-up page (Nov 15, 2026). Phone first, no framework. */
:root { --ink: #16302e; --cream: #e9e6df; --paper: #f6f3ec; --accent: #3fc1b0; --teal: #1f8a83; --soft: #33504c; --muted: #5a6f6a; --bad: #9b2c1f; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.45 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--cream); }
.px { font-family: "Press Start 2P", ui-monospace, monospace; font-weight: 400; }
[hidden] { display: none !important; }
a { color: var(--teal); }
h1, h2, h3, p { margin: 0; }

.hero, main > section, footer { padding-left: max(24px, calc((100% - 34rem) / 2)); padding-right: max(24px, calc((100% - 34rem) / 2)); }
.hero { padding-top: 26px; padding-bottom: 30px; }
.hero.dark { background: var(--ink); color: var(--cream); }
.hero.bright { background: var(--accent); color: var(--ink); }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.name { font-size: 13px; }
.tag { font-size: 8px; }
.dark .tag { color: var(--accent); }
.hero-row { display: flex; align-items: flex-end; gap: 14px; margin-top: 34px; }
.hero h1 { font-size: clamp(20px, 5.6vw, 34px); line-height: 1.5; flex: 1 1 auto; }
.bright h1 { margin-top: 28px; }
.shadow { text-shadow: 3px 3px 0 var(--teal); }
.thanks .shadow { text-shadow: 3px 3px 0 var(--accent); }
.dcart { flex: 0 0 auto; width: 90px; height: 120px; }
.dcart.big { width: 162px; height: 216px; }
.lead { margin-top: 20px; font-size: 18px; }
.dark .lead { color: #dfe7e3; }
.chip { display: inline-block; margin-top: 16px; padding: 8px 10px; border-radius: 8px; background: var(--accent); color: var(--ink); font-size: 9px; line-height: 1.6; }

main > section { padding-top: 26px; padding-bottom: 10px; }
main > section:last-child { padding-bottom: 34px; }
h2.px { font-size: 12px; line-height: 1.6; }
h2 { font-size: 19px; font-weight: 600; margin-top: 8px; }
section > p { margin-top: 8px; color: var(--soft); }
.kicker { font-size: 10px; color: var(--teal); }
#beta .kicker, #join .kicker { font-size: 11px; }

form { margin-top: 4px; }
label[for], legend { display: block; margin-top: 18px; padding: 0; font-size: 14px; font-weight: 600; }
fieldset { border: 0; margin: 18px 0 0; padding: 0; min-width: 0; }
legend { margin-top: 0; }
input[type=email] { display: block; width: 100%; height: 50px; margin-top: 6px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 10px; }
input:focus-visible, button:focus-visible, a:focus-visible, .seg input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.tick { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; font-size: 16px; line-height: 1.35; cursor: pointer; }
.tick input { flex: 0 0 24px; width: 24px; height: 24px; margin: 0; accent-color: var(--ink); }
.seg { display: flex; gap: 8px; margin-top: 6px; }
.seg label { flex: 1; position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.seg span { display: flex; align-items: center; justify-content: center; height: 46px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; font-size: 15px; font-weight: 500; }
.seg input:checked + span { background: var(--ink); color: var(--cream); }
button, .button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 22px; padding: 8px 14px; border: 0; border-radius: 12px; background: var(--ink); color: var(--cream); font-size: 13px; text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--accent); }
button[disabled] { opacity: 0.6; cursor: default; }
.small { margin-top: 14px; font-size: 13px; color: var(--muted); }
.error { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: #f6e0dc; color: var(--bad); font-size: 15px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.card { margin-top: 14px; padding: 18px; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); }
.card h3 { margin-top: 10px; font-size: 19px; font-weight: 600; line-height: 1.25; }
.card p:not(.kicker) { margin-top: 6px; font-size: 15px; color: var(--soft); }
.card ol { margin: 10px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.5; }

.thanks { text-align: center; padding-top: 40px; }
.thanks:focus { outline: none; }
.thanks h2 { margin-top: 26px; font-size: 22px; line-height: 1.5; }
.thanks .card { text-align: left; margin-top: 24px; }

footer { margin-top: 10px; padding-top: 22px; padding-bottom: 28px; background: var(--ink); color: #a9bcb7; font-size: 12px; line-height: 1.5; }
footer p + p { margin-top: 10px; }
footer .px { font-size: 11px; color: var(--cream); }
footer a { color: #a9bcb7; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
