:root {
    --blue: #1464d2;
    --blue-dark: #0b3f8f;
    --blue-deep: #082f6f;
    --blue-soft: #eaf3ff;
    --blue-pale: #f5f9ff;
    --ink: #0b1729;
    --muted: #5e6b7a;
    --line: #d9e5f4;
    --white: #ffffff;
    --surface: #f3f7fd;
    --radius: 22px;
    --shadow: 0 24px 70px rgba(8, 47, 111, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(circle at 88% 5%, rgba(20, 100, 210, .10), transparent 28rem),
        var(--white);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* Hero */
.hero {
    position: relative;
    isolation: isolate;
    overflow: visible;
    padding-top: clamp(3.75rem, 7vw, 6.5rem);
    padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
    min-height: 0;
}
.hero.shell { width: min(1440px, calc(100% - 64px)); }
.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: min(28rem, 46vw);
    aspect-ratio: 1;
    right: clamp(-10rem, -7vw, -4rem);
    top: clamp(1rem, 4vw, 4rem);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 100, 210, .12), rgba(20, 100, 210, 0) 68%);
    pointer-events: none;
}
.eyebrow,
.section-kicker {
    color: var(--blue);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-weight: 760;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    column-gap: clamp(3rem, 5vw, 5.5rem);
    row-gap: 2.5rem;
    align-items: start;
    margin-top: 26px;
    position: relative;
}
.hero-grid > * { min-width: 0; }
.hero-copy { min-width: 0; }
h1, h2, h3 { margin-top: 0; letter-spacing: -.045em; }
.hero h1 {
    width: 100%;
    max-width: 100%;
    margin: 0 0 28px;
    color: var(--ink);
    font-size: clamp(3.5rem, 5.3vw, 5.75rem);
    line-height: .96;
    font-weight: 720;
}
.hero h1 > span {
    display: block;
    max-width: 100%;
    margin-top: .10em;
    color: var(--blue);
    font-size: clamp(3rem, 4.1vw, 4.65rem);
    line-height: 1.02;
    letter-spacing: -.055em;
    hyphens: manual;
    overflow-wrap: break-word;
}
.lead {
    max-width: 47rem;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.52;
    margin: 0;
}
.event-card {
    position: static;
    inset: auto;
    transform: none;
    margin: 0;
    width: 100%;
    max-width: 25rem;
    min-width: 0;
    justify-self: end;
    align-self: start;
    color: var(--white);
    background: linear-gradient(145deg, var(--blue), var(--blue-dark));
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 1.5rem 4rem rgba(8, 47, 111, .18);
}
.event-card-label { color: rgba(255,255,255,.78); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 700; }
.event-date { font-size: 76px; line-height: 1; letter-spacing: -.07em; margin: 20px 0 14px; font-weight: 700; color: var(--white); }
.event-date span { color: #bcd8ff; }
.event-meta { color: rgba(255,255,255,.78); line-height: 1.55; }
.event-meta strong { color: var(--white); }
.event-divider { height: 1px; background: rgba(255,255,255,.24); margin: 25px 0; }
.event-price { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.event-price strong { color: var(--white); font-size: 30px; }
.event-price span { color: rgba(255,255,255,.78); font-size: 13px; text-align: right; max-width: 130px; }

/* Registration */
.section { padding: 110px 0; }
.registration-section {
    background: linear-gradient(180deg, var(--blue-pale), #ffffff 72%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.registration-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.registration-copy { position: sticky; top: 32px; }
.registration-copy h2 { margin: 22px 0; color: var(--ink); font-size: clamp(38px, 5vw, 62px); line-height: 1.05; }
.registration-copy > p { color: var(--muted); font-size: 18px; line-height: 1.6; }
.summary-card { margin-top: 34px; border-top: 1px solid var(--line); background: rgba(255,255,255,.78); }
.summary-card > div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary-card span { color: var(--blue-dark); }
.summary-card strong { text-align: right; }
.device-note {
    margin-top: 1.1rem;
    padding: 1rem 1.1rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .85rem;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--blue-soft);
}
.device-note-icon {
    width: 2.15rem;
    height: 2.15rem;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--blue);
    color: var(--white);
    font-size: 1.05rem;
    line-height: 1;
}
.device-note strong { display: block; margin-bottom: .2rem; color: var(--blue-dark); }
.device-note p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* Form */
.registration-form {
    background: #fff;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 1.25rem 4rem rgba(8, 47, 111, .08);
}
.form-section-heading { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; margin: 0 0 24px; }
.form-section-heading.compact { margin-bottom: 18px; }
.form-section-number {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}
.form-section-heading h3 { margin: 1px 0 4px; font-size: 20px; letter-spacing: -.025em; }
.form-section-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.form-separator { height: 1px; background: var(--line); margin: 30px 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.billing-location-row { grid-template-columns: minmax(120px, .35fr) minmax(0, 1fr); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.label-optional { color: var(--muted); font-weight: 500; }
input, textarea {
    width: 100%;
    border: 1px solid #c8d7e9;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    padding: 14px 15px;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
input::placeholder, textarea::placeholder { color: #8a97a7; }
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 100, 210, .11); }
textarea { resize: vertical; min-height: 110px; }
.field-help { margin: -6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.check-row { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; color: var(--muted); font-size: 13px; line-height: 1.55; margin: 26px 0 22px; }
.check-row input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.check-row a, .site-footer a { color: var(--blue-dark); text-underline-offset: 2px; }
.submit-button {
    width: 100%;
    min-height: 58px;
    border: 1px solid var(--blue);
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    font: inherit;
    font-size: 15px;
    font-weight: 750;
    cursor: pointer;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 .8rem 2rem rgba(20, 100, 210, .20);
    transition: .2s ease;
}
.submit-button:hover, .submit-button:focus-visible { transform: translateY(-1px); background: var(--blue-dark); border-color: var(--blue-dark); }
.submit-button span { color: #dbeaff; font-size: 22px; }
.form-note { margin: 14px 4px 0; color: #7b8797; font-size: 11px; line-height: 1.5; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* Footer */
.site-footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #728096; font-size: 13px; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { text-decoration: none; }

/* Status / validation pages */
.status-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
    background:
        radial-gradient(circle at 85% 12%, rgba(20,100,210,.13), transparent 26rem),
        var(--blue-pale);
}
.status-card { width: min(680px,100%); background: #fff; padding: 48px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.status-card h1 { font-size: clamp(36px,6vw,58px); margin: 16px 0 22px; line-height: 1.03; }
.status-card p { color: var(--muted); line-height: 1.7; font-size: 17px; }
.status-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue); color: var(--white); font-size: 25px; margin-bottom: 24px; }
.registration-id { margin: 26px 0; padding: 14px 16px; background: var(--blue-soft); color: var(--blue-deep); border-radius: 10px; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; border: 1px solid var(--blue); transition: .2s ease; }
.button.primary { background: var(--blue); color: #fff; }
.button.primary:hover { transform: translateY(-1px); background: var(--blue-dark); border-color: var(--blue-dark); }
code { font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: .9em; }

@media (max-width: 1080px) {
    .hero-grid { grid-template-columns: minmax(0,1fr); gap: 2.25rem; }
    .event-card { justify-self: start; width: min(100%,34rem); max-width: 34rem; }
}
@media (max-width: 900px) {
    .hero { padding-top: clamp(2.75rem,8vw,4.5rem); }
    .registration-grid { grid-template-columns: 1fr; gap: 44px; }
    .registration-copy { position: static; }
    .event-card { justify-self: stretch; max-width: none; }
}
@media (max-width: 620px) {
    .shell, .hero.shell { width: min(100% - 28px, 1440px); }
    .hero { padding-top: 2.5rem; padding-bottom: 3rem; }
    .hero h1 { font-size: clamp(2.8rem,13vw,4rem); }
    .hero h1 > span { font-size: clamp(2.15rem,9.8vw,3.4rem); hyphens: manual; }
    .event-card { width: 100%; max-width: none; }
    .event-date { font-size: clamp(3.5rem,20vw,5.5rem); }
    .section { padding: 72px 0; }
    .form-row, .billing-location-row { grid-template-columns: 1fr; gap: 0; }
    .registration-form { padding: 26px 20px; }
    .summary-card > div { display: block; }
    .summary-card strong { display: block; text-align: left; margin-top: 5px; }
    .site-footer { padding: 26px 0; align-items: flex-start; flex-direction: column; }
    .site-footer nav { flex-wrap: wrap; }
    .status-card { padding: 30px 22px; }
}
