/* Public pages: landing, confirmation, listing, cancel. */
:root {
  --ink: #0d1220;
  --muted: #586174;
  --bg: #f6f5f0;
  --card: #ffffff;
  --line: #e4e1d8;
  --accent: #2f5bff;
  --accent-ink: #ffffff;
  --tint: color-mix(in srgb, var(--accent) 9%, #fff);
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased;
  position: relative; overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; }
.ico { flex: none; }

.glow {
  position: absolute; inset: 0 0 auto 0; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(620px 420px at 12% -8%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
    radial-gradient(560px 460px at 92% 4%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 72%),
    radial-gradient(420px 320px at 58% 30%, rgba(255, 196, 120, .16), transparent 70%);
}

.preview-bar { background: var(--ink); color: #fff; text-align: center; padding: 10px 16px; font-size: 14px; }
.preview-bar a { color: #fff; font-weight: 600; margin-left: 8px; }

.top {
  max-width: 1180px; margin: 0 auto; padding: 26px 28px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px;
}
.brand { font: 700 18px var(--display); letter-spacing: -0.01em; }
.top-right { display: inline-flex; align-items: center; gap: 10px; }
.top-admin {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--ink); text-decoration: none; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); backdrop-filter: blur(6px);
}
.top-admin:hover { border-color: var(--ink); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line); font-size: 13px; font-weight: 600;
  backdrop-filter: blur(6px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 0 rgba(229, 72, 77, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(229, 72, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); } }

/* ------------------------------------------------------------ landing */
.landing {
  max-width: 1180px; margin: 0 auto; padding: 44px 28px 80px;
  display: grid; grid-template-columns: minmax(0, 1fr) 430px; column-gap: 64px;
  grid-template-areas: "intro signup" "details signup"; align-items: start;
}
.intro { grid-area: intro; padding-top: 8px; }
.details { grid-area: details; }
.signup { grid-area: signup; align-self: stretch; }
.signup > .card { position: sticky; top: 24px; }

.eyebrow {
  margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 80%, var(--ink));
}
.intro h1 { font-size: clamp(2.3rem, 4.7vw, 3.75rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.022em; text-wrap: balance; }
.sub { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--muted); margin: 20px 0 0; max-width: 34em; line-height: 1.5; }

.when { display: flex; gap: 16px; align-items: center; margin-top: 30px; }
.when-ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex: none;
  background: var(--card); border: 1px solid var(--line); color: var(--accent);
  box-shadow: 0 6px 18px -10px rgba(13, 18, 32, .3);
}
.when strong { display: block; font: 700 1.2rem var(--display); letter-spacing: -0.01em; }
.when span { color: var(--muted); font-size: 15px; }

.host { display: flex; gap: 14px; align-items: center; margin-top: 22px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--ink); color: #fff; font: 700 17px var(--display);
}
img.avatar { width: 60px; height: 60px; object-fit: cover; object-position: 50% 25%; background: var(--line); }
.host-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.host strong { font-size: 16px; }
.host-title { color: var(--muted); font-size: 14px; margin-left: 8px; }

/* form card */
.card {
  background: var(--card); border-radius: 24px; padding: 28px; border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 40px 70px -40px rgba(13, 18, 32, .35), 0 12px 24px -18px rgba(13, 18, 32, .2);
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card h2 { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.025em; }
.countdown { display: flex; gap: 6px; }
.countdown[hidden] { display: none; }
.countdown div { min-width: 42px; padding: 5px 4px 4px; border-radius: 10px; background: var(--tint); text-align: center; }
.countdown b { display: block; font: 700 16px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.countdown span { display: block; font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }

.sessions { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.sessions legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.session {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 13px; cursor: pointer;
  border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; transition: border-color .15s, background .15s;
}
.session:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.session input { position: absolute; opacity: 0; pointer-events: none; }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c9c5b8; flex: none; display: grid; place-items: center; transition: border-color .15s; }
.radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .15s; }
.session:has(input:checked) { border-color: var(--accent); background: var(--tint); }
.session:has(input:checked) .radio { border-color: var(--accent); }
.session:has(input:checked) .radio::after { transform: scale(1); }
.session:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 2px; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: block; margin-bottom: 14px; }
.field > span, .sessions legend { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field em, .check em { font-style: normal; font-weight: 500; color: #8a91a1; margin-left: 4px; }
.field input, .field select, .field textarea, .copy-row input {
  width: 100%; font: inherit; color: inherit; background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px;
  transition: border-color .15s, box-shadow .15s; appearance: none;
}
.field textarea { resize: vertical; min-height: 76px; line-height: 1.45; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23586174' stroke-width='2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input::placeholder, .field textarea::placeholder { color: #a3a8b5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}
.field.bad input, .field.bad select, .field.bad textarea { border-color: #d92d20; }
.err { display: block; color: #b42318; font-size: 13px; margin-top: 5px; font-weight: 500; }
.form-error { background: #fef3f2; color: #b42318; border-radius: 12px; padding: 10px 14px; font-size: 14px; margin: 0 0 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 14px; flex-wrap: wrap; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.check span:first-of-type { flex: 1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  font: 600 15px var(--body); text-decoration: none; border-radius: 13px; padding: 12px 18px;
  border: 1.5px solid transparent; background: var(--ink); color: #fff; transition: transform .12s, box-shadow .15s, background .15s;
}
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.cta {
  width: 100%; min-height: 58px; font-size: 17px; font-weight: 700; margin-top: 6px;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 14px 28px -12px color-mix(in srgb, var(--accent) 75%, transparent), 0 1px 0 rgba(255, 255, 255, .25) inset;
}
.btn.cta:hover { transform: translateY(-1px); box-shadow: 0 18px 32px -12px color-mix(in srgb, var(--accent) 85%, transparent); }
.btn.cta:active { transform: translateY(0); }
.btn.cta .ico { transition: transform .15s; }
.btn.cta:hover .ico { transform: translateX(4px); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 3px; }

.assure { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; margin: 14px 0 0; text-align: center; }
.assure .ico { width: 16px; height: 16px; color: #17a35a; stroke-width: 2.6; }
.proof { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.proof strong { color: var(--ink); margin-right: -4px; }
.proof-dots { display: inline-flex; }
.proof-dots i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; background: color-mix(in srgb, var(--accent) 70%, #fff); }
.proof-dots i:first-child { margin-left: 0; background: var(--ink); }
.proof-dots i:last-child { background: #ffc478; }
.card.closed { text-align: center; }
.card.closed p { color: var(--muted); }

/* details */
.details { margin-top: 40px; }
.hero-img { width: 100%; border-radius: var(--radius); display: block; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(13, 18, 32, .45); margin-bottom: 44px; }
.block { margin-bottom: 44px; }
.block h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 18px; }
.learn { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.learn li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.06rem; line-height: 1.5; }
.tick { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: none; margin-top: 1px; }
.tick .ico { width: 15px; height: 15px; stroke-width: 3; }
.prose p { margin: 0 0 1.1em; font-size: 1.06rem; color: #2b3345; max-width: 40em; }
.prose h3 { font-size: 1.2rem; margin: 1.4em 0 .5em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose a { color: var(--accent); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.perks div { background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 4px; align-content: start; }
.perks .ico { color: var(--accent); margin-bottom: 6px; }
.perks strong { font-size: 15px; }
.perks span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 0 20px 40px; }
.sticky-cta { display: none; }

/* ------------------------------------------------------------ confirmation / simple pages */
.confirm, .simple, .listing { max-width: 680px; margin: 0 auto; padding: 40px 20px 80px; }
.confirm-card, .simple-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 40px;
  box-shadow: 0 40px 70px -40px rgba(13, 18, 32, .35);
}
.simple { padding-top: 12vh; }
.simple-card { text-align: center; }
.simple-card h1 { font-size: 1.9rem; font-weight: 800; }
.quick-join { max-width: 380px; margin: 22px auto 0; text-align: left; }
.quick-join .btn { width: 100%; justify-content: center; }
.quick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quick-note { text-align: center; color: var(--muted); font-size: 13px; margin: 12px 0 0; }
@media (max-width: 480px) { .quick-row { grid-template-columns: 1fr; gap: 0; } }
.simple-card p { color: var(--muted); margin: 12px 0 24px; }
.simple-card .btn.cta { margin-bottom: 14px; }
.quiet { color: var(--muted); font-size: 14px; }
.badge-ok { width: 56px; height: 56px; border-radius: 50%; background: #17a35a; color: #fff; display: grid; place-items: center; margin-bottom: 20px; animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
.badge-ok .ico { width: 28px; height: 28px; stroke-width: 3; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.confirm-card h1 { font-size: clamp(2rem, 5vw, 2.7rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.lead { font-size: 1.12rem; color: var(--muted); margin: 12px 0 0; }
.lead strong { color: var(--ink); }
.ticket { margin: 26px 0 6px; padding: 18px 20px; border-radius: 18px; background: var(--tint); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ticket-when { display: flex; gap: 14px; align-items: center; }
.ticket-when .ico { color: var(--accent); width: 26px; height: 26px; }
.ticket-when strong { display: block; font: 700 1.1rem var(--display); }
.ticket-when span { color: var(--muted); font-size: 14.5px; }
.ticket .btn.cta { width: auto; min-height: 48px; margin: 0; padding: 0 22px; }
.confirm-card h2 { font-size: 1.08rem; font-weight: 700; margin: 30px 0 12px; }
.cal-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.copy-row { display: flex; gap: 10px; }
.copy-row input { font-size: 14px; color: var(--muted); }
.hint { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.hint strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------ listing */
.listing { max-width: 860px; }
.listing h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 28px; }
.list { display: grid; gap: 16px; }
.list-item { display: flex; gap: 22px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.list-item:hover { transform: translateY(-2px); box-shadow: 0 30px 50px -36px rgba(13, 18, 32, .4); }
.list-item img { width: 200px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; flex: none; }
.list-when { font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.list-item h2 { font-size: 1.45rem; font-weight: 800; margin: 6px 0; line-height: 1.15; }
.list-item p { margin: 0 0 10px; color: var(--muted); }
.list-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.list-cta .ico { width: 17px; height: 17px; }

/* ------------------------------------------------------------ small screens */
@media (max-width: 940px) {
  .landing { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "signup" "details"; padding: 26px 18px 110px; }
  .signup { margin-top: 28px; }
  .signup > .card { position: static; padding: 22px; }
  .top { padding: 18px 18px 0; min-height: 0; }
  .perks { grid-template-columns: 1fr; }
  .sticky-cta {
    position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 20; min-height: 54px; border-radius: 15px;
    display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none;
    background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 16px;
    box-shadow: 0 16px 34px -10px rgba(13, 18, 32, .5); transform: translateY(140%); transition: transform .25s;
  }
  .sticky-cta.show { transform: none; }
  .confirm-card, .simple-card { padding: 26px 22px; }
  .list-item { flex-direction: column; align-items: stretch; }
  .list-item img { width: 100%; }
}
@media (max-width: 420px) {
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .card-head { flex-direction: column; align-items: flex-start; }
  .copy-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.when-ico .ico { color: var(--accent); width: 24px; height: 24px; }
.session small { margin-left: auto; font-weight: 500; color: var(--muted); font-size: 13px; }
