:root {
    color-scheme: light;
    --ink: #0d302d;
    --muted: #5e706a;
    --line: #d9e4de;
    --green-dark: #0b4337;
    --gold: #b67b2e;
    --paper: #f4f7f2;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(214, 231, 209, .72), transparent 31rem),
        radial-gradient(circle at 90% 92%, rgba(235, 220, 184, .42), transparent 28rem),
        var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

.shell { width: min(100% - 40px, 880px); margin: 0 auto; }
header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(13, 48, 45, .12); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { display: block; width: auto; height: auto; max-width: 230px; max-height: 54px; object-fit: contain; }
.brand-mark { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: var(--green-dark); color: #f2dc91; font: 700 27px/1 Georgia, serif; }
.brand-name { font-size: 15px; font-weight: 800; }
.live-label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 1.8px; white-space: nowrap; }

main { max-width: 720px; margin: 0 auto; padding: 58px 0 42px; }
.preview { margin: 0 0 24px; padding: 11px 14px; border: 1px solid #e2ca77; border-radius: 10px; background: #fff4bc; color: #5d4a15; font-size: 12px; font-weight: 750; text-align: center; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--green-dark); font-size: 11px; font-weight: 850; letter-spacing: 2.2px; }
.dot { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #2e9868; box-shadow: 0 0 0 5px rgba(46, 152, 104, .1); }
.dot.amber { background: var(--gold); box-shadow: 0 0 0 5px rgba(182, 123, 46, .12); }
.course { margin: 26px 0 8px; color: var(--muted); font-size: 15px; font-weight: 550; }
h1 { max-width: 660px; margin: 0 0 19px; font: 500 clamp(39px, 6.2vw, 60px)/1.05 Georgia, "Times New Roman", serif; letter-spacing: -1.8px; }
.intro { max-width: 630px; margin: 0 0 32px; color: var(--muted); font-size: 17px; }

.session { padding: 34px 36px; border: 1px solid rgba(13, 48, 45, .13); border-radius: 22px; background: rgba(255, 255, 255, .94); box-shadow: 0 18px 60px rgba(17, 61, 47, .08); backdrop-filter: blur(10px); }
.session-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.small-label { color: var(--green-dark); font-size: 10px; font-weight: 850; letter-spacing: 1.8px; }
.timezone { color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: 1.3px; }
.session h2 { margin: 18px 0 2px; font-size: clamp(23px, 4vw, 30px); line-height: 1.3; }
.session-time { margin: 0 0 27px; font-size: clamp(42px, 7vw, 58px); font-weight: 850; line-height: 1.2; letter-spacing: -2px; }
.session-time span { color: var(--muted); font-size: 15px; font-weight: 600; letter-spacing: 0; }

.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.countdown div { min-height: 102px; display: grid; place-content: center; border: 1px solid #dce7df; border-radius: 15px; background: linear-gradient(180deg, #f8faf7, #edf3ed); text-align: center; }
.countdown strong { display: block; font-size: clamp(32px, 5vw, 44px); font-variant-numeric: tabular-nums; line-height: 1.05; letter-spacing: -1px; }
.countdown span { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: 1.3px; text-transform: uppercase; }
.ready { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

.cta { display: flex; width: 100%; min-height: 60px; align-items: center; justify-content: center; gap: 14px; padding: 16px 22px; border: 0; border-radius: 13px; background: linear-gradient(135deg, #147151, #0d523d); box-shadow: 0 12px 26px rgba(18, 99, 72, .2); color: white; font: 800 16px/1.35 inherit; text-align: center; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.cta:hover { transform: translateY(-1px); background: linear-gradient(135deg, #0f6045, #093b30); box-shadow: 0 15px 30px rgba(18, 99, 72, .25); }
.cta:focus-visible, .refresh:focus-visible { outline: 3px solid #c18a39; outline-offset: 4px; }
.cta:disabled { cursor: default; opacity: .72; }
.cta span { font-size: 24px; line-height: 1; }
.micro { margin: 12px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

.urgency { margin-top: 22px; padding: 25px 28px; border: 1px solid #e2d1ad; border-left: 5px solid var(--gold); border-radius: 16px; background: linear-gradient(135deg, #f7edda, #fbf6ec); }
.urgency .small-label { color: #7d551d; }
.urgency h2 { margin: 7px 0; font-size: 23px; line-height: 1.3; }
.urgency p { margin: 0; color: #69573d; font-size: 14px; }
.empty-session p { margin-bottom: 0; color: var(--muted); }
.refresh { display: block; width: max-content; margin: 26px auto 0; color: var(--muted); font-size: 12px; }

@media (max-width: 560px) {
    .shell { width: calc(100% - 28px); }
    header { min-height: 76px; gap: 12px; }
    .brand-logo { max-width: 175px; max-height: 44px; }
    .brand-mark { flex-basis: 36px; width: 36px; height: 36px; font-size: 24px; }
    .brand-name { max-width: 190px; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
    .live-label { display: none; }
    main { padding: 38px 0 30px; }
    .course { margin-top: 22px; }
    h1 { margin-bottom: 16px; font-size: clamp(37px, 11.5vw, 48px); letter-spacing: -1.3px; }
    .intro { margin-bottom: 25px; font-size: 16px; }
    .session { padding: 27px 20px 23px; border-radius: 18px; }
    .session-top { gap: 8px; }
    .small-label { font-size: 9px; letter-spacing: 1.35px; }
    .session h2 { margin-top: 16px; font-size: 22px; }
    .session-time { margin-bottom: 23px; font-size: 44px; }
    .countdown { gap: 7px; }
    .countdown div { min-height: 84px; border-radius: 12px; }
    .countdown strong { font-size: 30px; }
    .countdown span { margin-top: 5px; font-size: 8px; letter-spacing: .9px; }
    .cta { min-height: 58px; padding: 14px 13px; font-size: 15px; }
    .urgency { margin-top: 17px; padding: 21px 20px; }
    .urgency h2 { font-size: 21px; }
}

@media (max-width: 370px) {
    .shell { width: calc(100% - 22px); }
    .session { padding-inline: 15px; }
    .countdown { gap: 5px; }
    .countdown strong { font-size: 27px; }
}
