:root {
  --ink: #173242;
  --muted: #536c78;
  --brand: #123b4e;
  --teal: #12616a;
  --paper: #ffffff;
  --ground: #f2f7f8;
  --line: #d6e2e6;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--ground);
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 18px; line-height: 1.55; }
body.large { font-size: 22px; }
button, input { font: inherit; }
button, a, input { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 4px solid #0b8790; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 1rem; top: -10rem; padding: 1rem; background: white; z-index: 10; }
.skip:focus { top: 1rem; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.header { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header img { width: min(430px, 65vw); height: auto; }
.text-button { min-height: 48px; padding: 10px 14px; color: var(--teal); background: transparent; border: 1px solid var(--teal); border-radius: 10px; font-weight: 700; }
.setup-notice { margin-bottom: 18px; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 6px 12px; color: #684d09; background: #fff4cf; border: 1px solid #dfc166; border-radius: 12px; }
.setup-notice code { font-size: .9em; }
.card { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 18px 60px rgba(23,50,66,.08); }
.event { position: relative; min-height: 650px; padding: 54px 48px 40px; color: white; background: var(--brand); display: flex; flex-direction: column; overflow: hidden; }
.watermark { position: absolute; width: 240px; right: -45px; top: 24px; opacity: .08; }
.eyebrow { position: relative; color: #b9e5e7; text-transform: uppercase; font-weight: 700; letter-spacing: .14em; font-size: .78em; }
h1 { position: relative; margin: 24px 0; font: 400 clamp(2.75rem, 5vw, 4.25rem)/1.06 Georgia, serif; letter-spacing: -.04em; }
h1 em { color: #a7ddd9; font-style: normal; }
.help { position: relative; width: min(100%, 400px); min-height: 92px; padding: 15px 18px; display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--brand); background: white; border-radius: 16px; border: 2px solid white; box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.help-icon { width: 58px; height: 58px; display: grid; place-items: center; font-size: 32px; background: #dff3ee; border-radius: 50%; }
.help span:last-child { display: flex; flex-direction: column; }
.help strong { font-size: 1.12em; }
.help small { color: #45616e; font-size: .92em; }
.date { position: relative; margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; gap: 22px; }
.date strong { font: 400 4rem/1 Georgia, serif; }
.date span { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.25); color: #d8e7eb; }
.access { padding: 48px 46px; }
.section-label { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .76em; font-weight: 700; }
.access h2 { margin: 24px 0 8px; font-size: 2rem; line-height: 1.15; letter-spacing: -.025em; }
.access p { color: var(--muted); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 28px 0; }
.countdown span { min-width: 0; padding: 15px 6px; text-align: center; background: #edf4f5; border-radius: 12px; }
.countdown strong, .countdown small { display: block; }
.countdown strong { font-size: 1.75em; line-height: 1; }
.countdown small { margin-top: 6px; color: var(--muted); font-size: .72em; }
label { display: block; margin: 28px 0 8px; font-weight: 700; }
input { width: 100%; min-height: 64px; padding: 12px 16px; border: 2px solid #91a8b2; border-radius: 12px; font-size: 1.35em; color: var(--ink); }
.primary, .secondary { width: 100%; min-height: 64px; margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-weight: 700; text-align: center; cursor: pointer; }
.primary { border: 2px solid var(--teal); color: white; background: var(--teal); }
.primary:disabled { opacity: .65; cursor: wait; }
.secondary { border: 2px solid var(--teal); color: var(--teal); background: white; }
.join { display: block; text-decoration: none; }
.result { padding: 10px 0; }
.result.allowed { padding: 22px; background: #eaf7ef; border: 1px solid #a9d5b8; border-radius: 14px; }
.privacy { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .86em; }
@media (max-width: 820px) {
  .wrap { width: min(100% - 24px, 680px); }
  .header { min-height: 88px; }
  .header img { width: min(310px, 61vw); }
  .text-button { font-size: .85em; }
  .card { grid-template-columns: 1fr; border-radius: 18px; }
  .event { min-height: auto; padding: 38px 28px 30px; }
  h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .help { margin-bottom: 32px; }
  .date { margin-top: 10px; }
  .access { padding: 34px 26px; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  body.large { font-size: 20px; }
  .header img { width: 66vw; }
  .text-button { padding: 8px; }
  .event { padding-inline: 22px; }
  .access { padding-inline: 20px; }
  .countdown { gap: 5px; }
  .countdown strong { font-size: 1.4em; }
}
