/* PW Class of 2007: public site, checkout and sign-in pages.
   Palette follows the school's navy + red; display face Sorts Mill Goudy, body Inter. */
:root {
  --navy: #002663;
  --navy-900: #001538;
  --navy-800: #001d4d;
  --navy-600: #1a3f80;
  --navy-100: #e6ebf4;
  --red: #cc0000;
  --red-600: #a80000;
  --red-100: #fde8e8;
  --cream: #f8f6f1;
  --ink: #18203a;
  --muted: #5d6680;
  --line: #e2e5ee;
  --white: #fff;
  --ok: #157347;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0, 21, 56, .06), 0 8px 28px rgba(0, 21, 56, .08);
  --display: 'Sorts Mill Goudy', Georgia, 'Times New Roman', serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 16px; }
img, svg { max-width: 100%; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; color: var(--navy); margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #4d8dff; outline-offset: 2px; border-radius: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 1rem/1 var(--body); padding: .95em 1.6em; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(204, 0, 0, .28); }
.btn-red:hover { background: var(--red-600); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-600); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* Header */
.demo-bar { background: #ffd84d; color: #3d3000; font-size: .82rem; text-align: center; padding: 6px 12px; }
.demo-bar a { color: inherit; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0, 21, 56, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 3px solid var(--red); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin-right: auto; }
.brand .seal { flex: none; }
.brand-text { font-family: var(--display); font-size: 1.3rem; line-height: 1; }
.brand-text small { display: block; font-family: var(--body); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #dfe6f5; text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav .btn { padding: .7em 1.2em; margin-left: 6px; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--navy-900); padding: 8px 16px 18px; border-bottom: 3px solid var(--red); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background:
    radial-gradient(1200px 500px at 85% -10%, rgba(204, 0, 0, .35), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(77, 141, 255, .22), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900) 70%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .07; background-image: radial-gradient(#fff 1.2px, transparent 1.3px); background-size: 26px 26px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; padding: 72px 0 84px; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 600; color: #ffb3b3; margin-bottom: 14px; }
.hero h1 { color: #fff; font-size: clamp(3.2rem, 9vw, 6.4rem); margin-bottom: .1em; letter-spacing: -.01em; }
.hero h1 .yr { color: #ff5c5c; }
.hero .sub { font-family: var(--display); font-size: clamp(1.5rem, 3.6vw, 2.2rem); color: #e8edf8; margin-bottom: 18px; }
.hero .sub span { border-bottom: 3px solid var(--red); padding-bottom: 2px; }
.hero .tagline { font-size: 1.12rem; color: #c9d3ea; max-width: 34em; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 30px; color: #fff; font-weight: 500; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { opacity: .7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { display: grid; justify-items: center; gap: 26px; }
.hero-art .seal { width: min(300px, 70vw); height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45)); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: min(340px, 100%); }
.countdown div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 10px 4px; text-align: center; }
.countdown b { display: block; font-family: var(--display); font-size: 2rem; line-height: 1; font-weight: 400; font-variant-numeric: tabular-nums; }
.countdown small { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; opacity: .7; }
.welcome { background: var(--red); color: #fff; text-align: center; padding: 12px 16px; font-weight: 500; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 44px 0 56px; text-align: center; }
  .hero-art { order: -1; }
  .hero-art .seal { width: 190px; }
  .hero .tagline { margin-inline: auto; }
  .hero-meta, .hero-cta { justify-content: center; }
}

/* Stat strip */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip div { padding: 22px 12px; text-align: center; border-left: 1px solid var(--line); }
.strip div:first-child { border-left: 0; }
.strip b { display: block; font-family: var(--display); font-size: 2.2rem; font-weight: 400; color: var(--navy); line-height: 1.1; }
.strip span { font-size: .85rem; color: var(--muted); }
@media (max-width: 560px) { .strip b { font-size: 1.6rem; } .strip span { font-size: .74rem; } }

/* Sections */
.section { padding: 76px 0; }
.section.alt { background: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 30px; }
.section-head p { color: var(--muted); max-width: 36em; margin: 0; }
.kicker { color: var(--red); text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 700; margin-bottom: 8px; }
@media (max-width: 640px) { .section { padding: 54px 0; } }

.details { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.section.alt .card { background: var(--cream); box-shadow: none; border: 1px solid var(--line); }
.facts { display: grid; gap: 16px; margin: 0; }
.facts div { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.facts dt { width: 40px; height: 40px; border-radius: 10px; background: var(--navy-100); color: var(--navy); display: grid; place-items: center; }
.facts dd { margin: 0; }
.facts dd b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
@media (max-width: 760px) { .details { grid-template-columns: 1fr; } }

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.tier { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; border-top: 5px solid var(--navy); }
.tier.featured { border-top-color: var(--red); }
.tier .badge { position: absolute; top: -13px; right: 18px; }
.tier h3 { margin-bottom: 4px; }
.tier .price { font-family: var(--display); font-size: 3rem; color: var(--ink); line-height: 1; margin: 10px 0 12px; }
.tier p { color: var(--muted); font-size: .95rem; flex: 1; }
.tier .left { font-size: .82rem; color: var(--red); font-weight: 600; margin-bottom: 14px; }
.tier.soldout { opacity: .6; }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--red); color: #fff; }
.badge.navy { background: var(--navy); }
.badge.soft { background: var(--navy-100); color: var(--navy); }

/* Updates */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.post { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.post:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0, 21, 56, .06), 0 16px 36px rgba(0, 21, 56, .12); }
.post time { font-size: .8rem; color: var(--muted); font-weight: 500; }
.post h3 { margin: 8px 0 10px; }
.post p { color: var(--muted); font-size: .95rem; flex: 1; }
.post .more { font-weight: 600; color: var(--red); font-size: .9rem; }
.feed { display: grid; gap: 18px; }
.feed article { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.feed article h2 { font-size: 1.9rem; }
.prose { font-size: 1.05rem; }
.prose p:last-child { margin-bottom: 0; }

/* Attendees */
.names { display: flex; flex-wrap: wrap; gap: 10px; }
.names span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 8px; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.section.alt .names span { background: var(--cream); }
.names i { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-style: normal; font-size: .78rem; font-weight: 600; display: grid; place-items: center; }
.names small { color: var(--muted); font-weight: 400; }

/* Join */
.join { background: linear-gradient(135deg, var(--navy), var(--navy-900)); color: #fff; border-radius: 22px; padding: clamp(28px, 5vw, 52px); display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.join::after { content: "★"; position: absolute; right: -10px; bottom: -70px; font-size: 260px; color: rgba(255, 255, 255, .04); line-height: 1; }
.join h2 { color: #fff; }
.join p { color: #c9d3ea; margin: 0; }
.join form { display: grid; gap: 10px; position: relative; z-index: 1; }
.join .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 760px) { .join { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .join .row { grid-template-columns: 1fr; } }

/* Forms */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-weight: 600; font-size: .9rem; }
.field small, .hint { color: var(--muted); font-size: .82rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], textarea, select {
  width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 12px; border: 1.5px solid #cdd2df; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(0, 38, 99, .12); }
.join input { border-color: transparent; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; margin-bottom: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.hp { position: absolute; left: -5000px; }
.alert { padding: 13px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; }
.alert.err { background: var(--red-100); color: #8a0000; }
.alert.ok { background: #e3f4ea; color: #0e5a36; }
.join .alert { margin: 0; }

/* Ticket form */
.buy { display: grid; grid-template-columns: 1.3fr .7fr; gap: 26px; align-items: start; }
.tier-pick { display: grid; gap: 12px; margin-bottom: 22px; }
.tier-pick label { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 16px 18px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.tier-pick label:hover { border-color: #b8c1d6; }
.tier-pick input { width: 20px; height: 20px; accent-color: var(--red); }
.tier-pick label:has(input:checked) { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(0, 38, 99, .1); }
.tier-pick span b { display: block; font-size: 1.05rem; }
.tier-pick span small { color: var(--muted); }
.tier-pick > label > b { font-family: var(--display); font-size: 1.7rem; font-weight: 400; }
.tier-pick label.off { opacity: .5; cursor: not-allowed; }
.qty { justify-self: start; display: inline-flex; align-items: center; border: 1.5px solid #cdd2df; border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { width: 46px; height: 48px; border: 0; background: var(--navy-100); color: var(--navy); font-size: 1.3rem; cursor: pointer; }
.qty input { width: 56px; border: 0; text-align: center; border-radius: 0; padding: 0; height: 48px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; align-items: start; }
.summary { position: sticky; top: 90px; }
.summary h3 { margin-bottom: 14px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0 0 16px; font-size: .95rem; }
.summary dd { margin: 0; text-align: right; font-weight: 500; }
.summary .total { border-top: 1px solid var(--line); padding-top: 12px; font-size: 1.1rem; font-weight: 700; }
.paywith { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: center; margin-top: 14px; color: var(--muted); font-size: .8rem; }
.paywith span { border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; background: #fff; font-weight: 600; color: var(--ink); }
.invited { background: var(--navy-100); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: .95rem; }
@media (max-width: 860px) { .buy { grid-template-columns: 1fr; } .summary { position: static; } }

/* Donate page: big amount box, slider, quick amounts */
.donate { padding: clamp(22px, 5vw, 38px); }
.donate-amt { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 8px 0 4px; font-family: var(--display); color: var(--navy); }
.donate-amt span { font-size: clamp(2rem, 7vw, 3rem); opacity: .55; }
.donate-amt input { width: 3.9ch; max-width: 100%; font: inherit; font-size: clamp(3rem, 12vw, 4.6rem); line-height: 1.1; color: var(--navy); text-align: center; padding: 0 4px; border: 0; border-bottom: 2px dashed #cdd2df; border-radius: 0; background: transparent; -moz-appearance: textfield; }
.donate-amt input::-webkit-inner-spin-button, .donate-amt input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.donate-amt input:focus { box-shadow: none; border-bottom: 2px solid var(--navy); }
.donate-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 36px; margin: 10px 0 0; padding: 0; border: 0; background: transparent; cursor: pointer; --p: 0%; }
.donate-range:focus { box-shadow: none; }
.donate-range::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(to right, var(--red) var(--p), var(--line) var(--p)); }
.donate-range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--red); box-shadow: 0 2px 8px rgba(0, 21, 56, .25); transition: transform .12s; }
.donate-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.donate-range::-moz-range-track { height: 10px; border-radius: 999px; background: var(--line); }
.donate-range::-moz-range-progress { height: 10px; border-radius: 999px; background: var(--red); }
.donate-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--red); box-shadow: 0 2px 8px rgba(0, 21, 56, .25); }
.donate-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(0, 38, 99, .22); }
.donate-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(0, 38, 99, .22); }
.donate-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; font-weight: 600; }
.donate-presets { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 10px; }
.donate-presets button { font: 600 .95rem/1 var(--body); padding: .7em 1.15em; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.donate-presets button:hover { border-color: #b8c1d6; }
.donate-presets button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.donate .hint { text-align: center; margin: 0; }
.donate .field small { text-align: left; }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } }

/* Ticket (confirmation) */
.ticket { background: #fff; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.ticket-top { background: linear-gradient(135deg, var(--navy), var(--navy-900)); color: #fff; padding: 30px; display: flex; gap: 20px; align-items: center; }
.ticket-top h1 { color: #fff; font-size: clamp(2rem, 6vw, 2.8rem); margin: 0; }
.ticket-top p { margin: 4px 0 0; color: #c9d3ea; }
.ticket-mid { border-top: 2px dashed var(--line); margin: 0 22px; position: relative; }
.ticket-body { padding: 26px 30px 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.ticket-body b { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.ticket-body .ref { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.5rem; letter-spacing: .08em; color: var(--navy); }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 30px 30px; }

/* Page header */
.page-head { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; padding: 46px 0 40px; }
.page-head h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 3.6rem); margin: 0; }
.page-head p { color: #c9d3ea; margin: 8px 0 0; }

/* Footer */
.site-footer { background: var(--navy-900); color: #aab6d3; padding: 46px 0 34px; font-size: .9rem; margin-top: 0; }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.site-footer a { color: #fff; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; font-size: .78rem; color: #7f8db0; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.site-footer .credit { white-space: nowrap; color: #aab6d3; }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* Auth (admin sign-in) */
.auth-body { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background:
  radial-gradient(900px 500px at 100% 0%, rgba(204, 0, 0, .22), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-900)); }
.auth-card { width: min(420px, 100%); background: #fff; border-radius: 22px; padding: 34px 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.auth-card .seal { display: block; margin: -80px auto 14px; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .35)); }
.auth-card h1 { text-align: center; font-size: 2rem; margin-bottom: 6px; }
.auth-card .lead { text-align: center; color: var(--muted); margin-bottom: 24px; }
.code-input { font-family: ui-monospace, Menlo, Consolas, monospace !important; font-size: 2rem !important; letter-spacing: .5em; text-align: center; padding-left: .5em !important; }
.demo-code { background: #fff7d1; border: 1px dashed #d9b400; border-radius: 12px; padding: 12px 14px; font-size: .9rem; margin-bottom: 18px; text-align: center; }
.demo-code b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.3rem; letter-spacing: .2em; }
.auth-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; font-size: .88rem; }
.auth-links button { background: none; border: 0; color: var(--navy); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.seg label { border: 1.5px solid #cdd2df; border-radius: 12px; padding: 10px; text-align: center; cursor: pointer; font-weight: 500; font-size: .92rem; }
.seg input { position: absolute; opacity: 0; }
.seg label:has(input:checked) { border-color: var(--navy); background: var(--navy-100); color: var(--navy); }

/* Demo checkout */
.co-body { background: #f3f4f8; min-height: 100vh; }
.co-demo { background: #ffd84d; color: #3d3000; text-align: center; font-size: .85rem; font-weight: 600; padding: 8px 12px; }
.co { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 36px); }
.co-left { background: var(--navy-900); color: #fff; padding: clamp(28px, 6vw, 70px); display: flex; flex-direction: column; gap: 22px; }
.co-left a { color: #c9d3ea; text-decoration: none; font-size: .9rem; }
.co-left .amt { font-size: 2.6rem; font-weight: 700; letter-spacing: -.02em; }
.co-left .line { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); padding-bottom: 12px; color: #dfe6f5; }
.co-right { padding: clamp(28px, 6vw, 70px); display: flex; justify-content: center; }
.co-form { width: min(420px, 100%); }
.co-form h2 { font-family: var(--body); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.cardbox { border: 1.5px solid #cdd2df; border-radius: 12px; overflow: hidden; background: #fff; margin-bottom: 16px; }
.cardbox input { border: 0; border-radius: 0; }
.cardbox input:focus { box-shadow: none; background: #f7f9ff; }
.cardbox .two { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid #e1e4ec; }
.cardbox .two input + input { border-left: 1.5px solid #e1e4ec; }
.lock { display: flex; align-items: center; gap: 6px; justify-content: center; color: var(--muted); font-size: .8rem; margin-top: 14px; }
@media (max-width: 800px) { .co { grid-template-columns: 1fr; } }

.empty { text-align: center; color: var(--muted); padding: 40px 16px; }
.center { text-align: center; }
.mt0 { margin-top: 0; }

/* Announce phase (no date, venue or prices yet) */
.hero.announce .headline { font-family: var(--display); font-size: clamp(1.7rem, 4vw, 2.6rem); color: #fff; line-height: 1.15; margin: 18px 0 12px; max-width: 16em; }
.hero.announce .tagline { margin-bottom: 30px; }
.soon-tag { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #c9d3ea; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 8px 16px; background: rgba(255, 255, 255, .06); }
.status-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.status-cards .card { display: flex; flex-direction: column; border-top: 5px solid var(--navy); }
.status-cards .card p { color: var(--muted); font-size: .95rem; flex: 1; }
.status-cards .card .badge { align-self: flex-start; }
.status-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--navy-100); color: var(--navy); display: grid; place-items: center; margin-bottom: 14px; }
.status-note { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; color: var(--muted); font-size: .95rem; }
.status-note svg { flex: none; color: var(--red); }
.join-fine { display: block; color: #aab6d4; font-size: .78rem; line-height: 1.4; }

/* Pager (updates feed) */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: .9rem; }
.pager-info { color: var(--muted); }
.pager-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pager-links a, .pager-links span { display: inline-block; min-width: 34px; text-align: center; padding: 7px 10px; border-radius: 10px; text-decoration: none; }
.pager-links a { background: #fff; color: var(--navy); border: 1px solid var(--line); font-weight: 600; }
.pager-links a:hover { border-color: var(--navy); }
.pager-links .cur { background: var(--navy); color: #fff; font-weight: 700; }
.pager-links .off { color: var(--muted); opacity: .5; }
.pager-links .gap { min-width: 0; padding: 7px 2px; color: var(--muted); }
