:root {
    color-scheme: dark;
    --blue-950: #03115f;
    --blue-900: #061a82;
    --blue-800: #08299f;
    --blue-600: #1557e8;
    --cyan: #62eaff;
    --violet: #a98cff;
    --white: #f7fbff;
    --muted: #bfd1ef;
    --muted-soft: #8fa9d7;
    --line: rgba(183, 224, 255, .25);
    --line-strong: rgba(116, 232, 255, .62);
    --danger: #ff9ab0;
}

* {
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: var(--blue-950) url("/static/index/tech-blue-invite-bg.png") center / cover fixed no-repeat;
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    letter-spacing: 0;
}

button,
input,
textarea {
    font: inherit;
}

button,
a,
label {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.page-shell {
    height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
}

.page-section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: max(56px, env(safe-area-inset-top)) 72px max(56px, env(safe-area-inset-bottom));
    scroll-snap-align: start;
    isolation: isolate;
}

.page-section::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image:
        linear-gradient(rgba(170, 220, 255, .038) 1px, transparent 1px),
        linear-gradient(90deg, rgba(170, 220, 255, .038) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

.page-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: -8%;
    right: -8%;
    bottom: 3%;
    height: 24%;
    background:
        linear-gradient(176deg, transparent 0 53%, rgba(255, 255, 255, .42) 53.3%, rgba(98, 234, 255, .6) 53.7%, rgba(169, 140, 255, .46) 54.4%, transparent 55.4%),
        linear-gradient(181deg, transparent 0 68%, rgba(98, 234, 255, .24) 68.4%, transparent 69.2%);
    opacity: .32;
    pointer-events: none;
}

.meeting-section {
    background: linear-gradient(118deg, rgba(3, 18, 103, .96), rgba(11, 53, 190, .88) 58%, rgba(14, 80, 223, .76));
}

.agenda-section {
    background: linear-gradient(118deg, rgba(4, 20, 103, .97), rgba(9, 40, 150, .92));
}

.agenda-section::after,
.register-section::after {
    opacity: .18;
}

.register-section {
    background: linear-gradient(118deg, rgba(3, 17, 84, .98), rgba(8, 43, 151, .94));
}

.section-inner {
    width: min(1160px, 100%);
    margin: 0 auto;
}

.section-index {
    color: var(--cyan);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
}

.meeting-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

.meeting-main {
    max-width: 1000px;
}

.event-series {
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 0;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 850;
}

.event-invitation {
    margin-bottom: 10px;
    color: #d8e7ff;
    font-size: 17px;
    font-weight: 700;
}

h1 {
    max-width: 1040px;
    margin-bottom: 20px;
    color: #fff;
    font-size: 62px;
    line-height: 1.1;
    font-weight: 900;
    text-shadow: 0 2px 0 rgba(205, 229, 255, .48), 0 8px 28px rgba(1, 10, 66, .55);
}

.meeting-lead {
    max-width: 820px;
    margin-bottom: 0;
    color: #d6e5fb;
    font-size: 17px;
    line-height: 1.75;
}

.meeting-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.meeting-facts > div {
    min-height: 96px;
    padding: 18px 24px;
    border-left: 1px solid var(--line);
}

.meeting-facts > div:first-child {
    border-left: 0;
    padding-left: 0;
}

.meeting-facts span,
.address-main > span,
.address-details span,
.field > span,
.pickup-field legend {
    display: block;
    color: var(--muted-soft);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.meeting-facts strong {
    display: block;
    margin-top: 9px;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
}

.meeting-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.primary-action,
.submit-btn,
.success-box button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #f6fbff;
    color: #08238f;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.primary-action {
    min-width: 142px;
    padding: 0 24px;
}

.text-action {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-strong);
    color: #e9f6ff;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.section-heading {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 32px;
    align-items: end;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.section-heading h2 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 40px;
    line-height: 1.15;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.agenda-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 50px;
}

.agenda-row {
    display: grid;
    grid-template-columns: 66px 1fr;
    gap: 16px;
    min-height: 76px;
    padding: 13px 0;
    border-top: 1px solid rgba(183, 224, 255, .18);
}

.agenda-row:nth-child(-n + 2) {
    border-top-color: var(--line-strong);
}

.agenda-row time {
    color: var(--cyan);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 900;
}

.agenda-row h3 {
    margin-bottom: 4px;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
}

.agenda-row p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.address-layout {
    display: grid;
    grid-template-columns: 1fr;
}

.address-main {
    padding: 24px 0 30px;
}

.address-main > span {
    color: var(--cyan);
}

.address-main h3 {
    max-width: 980px;
    margin: 14px 0 12px;
    color: #fff;
    font-size: 50px;
    line-height: 1.15;
}

.address-main p {
    margin-bottom: 26px;
    color: #d8e8ff;
    font-size: 21px;
    line-height: 1.55;
}

.map-action {
    background: var(--cyan);
}

.address-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.address-details > div {
    min-height: 110px;
    padding: 20px 28px;
    border-left: 1px solid var(--line);
}

.address-details > div:first-child {
    border-left: 0;
    padding-left: 0;
}

.address-details strong,
.address-details a {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    text-decoration: none;
}

.address-details a {
    width: fit-content;
    color: var(--cyan);
    font-weight: 850;
}

.register-layout {
    padding-top: 8px;
}

.register-form {
    margin-left: 222px;
}

.form-group-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.form-group-heading > span {
    flex: 0 0 auto;
    color: var(--cyan);
    font-size: 12px;
    line-height: 1.6;
    font-weight: 850;
}

.form-group-heading h3 {
    margin-bottom: 3px;
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
}

.form-group-heading p {
    margin-bottom: 0;
    color: var(--muted-soft);
    font-size: 12px;
    line-height: 1.5;
}

.arrival-heading {
    margin: 28px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
}

.field {
    display: block;
}

.field-wide {
    grid-column: 1 / -1;
}

.field > span {
    margin-bottom: 8px;
    color: #c5d9f6;
}

.field input,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 13px;
    border: 1px solid rgba(190, 224, 255, .28);
    border-radius: 0;
    background: rgba(3, 18, 84, .42);
    color: #fff;
    outline: 0;
    transition: border-color .18s ease, background .18s ease;
}

.field input {
    font-size: 16px;
}

.field textarea {
    min-height: 86px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(189, 210, 239, .58);
}

.field input:focus,
.field textarea:focus {
    border-color: var(--cyan);
    background: rgba(4, 28, 114, .62);
}

.field > small {
    display: block;
    margin-top: 7px;
    color: var(--muted-soft);
    font-size: 12px;
    line-height: 1.5;
}

.field > .field-error {
    color: var(--danger);
    font-weight: 700;
}

.field-error:empty {
    display: none;
}

.field.has-error input {
    border-color: var(--danger);
}

.vehicle-field input {
    max-width: 360px;
    text-transform: uppercase;
}

.pickup-field {
    min-width: 0;
    margin: 18px 0 0;
    padding: 0;
    border: 0;
}

.pickup-field legend {
    padding: 0 14px 0 0;
    color: #c5d9f6;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 850;
}

.pickup-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 4px 0 18px;
}

.pickup-tools p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.locate-btn {
    flex: 0 0 auto;
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px 0 15px;
    border: 1px solid var(--line-strong);
    background: rgba(9, 48, 169, .54);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.locate-btn b {
    min-width: 52px;
    padding: 4px 7px;
    background: rgba(98, 234, 255, .12);
    color: var(--cyan);
    font-size: 11px;
    text-align: center;
}

.locate-btn:disabled {
    cursor: wait;
    opacity: .72;
}

.pickup-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.pickup-option {
    position: relative;
    padding: 18px 0 0;
    border-top: 2px solid rgba(190, 224, 255, .26);
    transition: border-color .18s ease;
}

.pickup-option.is-selected {
    border-top-color: var(--cyan);
}

.pickup-option.is-nearest::after {
    content: "距您最近";
    position: absolute;
    right: 0;
    top: -27px;
    padding: 4px 8px;
    background: var(--cyan);
    color: var(--blue-950);
    font-size: 11px;
    font-weight: 900;
}

.pickup-choice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.pickup-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.choice-mark {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 1px solid rgba(205, 234, 255, .55);
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px transparent;
}

.pickup-choice input:checked + .choice-mark {
    border-color: var(--cyan);
    background: var(--cyan);
    box-shadow: inset 0 0 0 4px var(--blue-900);
}

.pickup-title {
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.pickup-title strong {
    color: #fff;
    font-size: 17px;
    line-height: 1.45;
}

.pickup-title em {
    flex: 0 0 auto;
    padding: 4px 7px;
    border: 1px solid rgba(180, 223, 255, .26);
    color: var(--muted-soft);
    font-style: normal;
    font-size: 12px;
    line-height: 1.2;
}

.pickup-option.is-selected .pickup-title em {
    border-color: var(--line-strong);
    color: var(--cyan);
}

.pickup-details {
    margin: 18px 0 0 28px;
}

.pickup-details > div {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 10px;
    padding: 7px 0;
    border-top: 1px solid rgba(183, 224, 255, .12);
}

.pickup-details dt,
.pickup-details dd {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
}

.pickup-details dt {
    color: var(--muted-soft);
}

.pickup-details dd {
    color: #e6f1ff;
}

.pickup-details a {
    color: var(--cyan);
    font-weight: 800;
    text-decoration: none;
}

.pickup-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 12px 0 0 28px;
    background: rgba(183, 224, 255, .18);
}

.pickup-actions a,
.pickup-actions button {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: rgba(5, 28, 116, .92);
    color: #e9f5ff;
    font-size: 12px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.submit-btn {
    width: 220px;
    min-height: 50px;
    margin-top: 20px;
}

.submit-btn:disabled {
    cursor: wait;
    opacity: .72;
}

.form-message {
    min-height: 20px;
    margin-top: 10px;
    color: var(--danger);
    font-size: 13px;
    line-height: 1.5;
}

.section-nav {
    position: fixed;
    z-index: 5;
    right: 22px;
    top: 50%;
    display: grid;
    gap: 12px;
    transform: translateY(-50%);
}

.section-nav a {
    position: relative;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 18px;
    color: rgba(221, 237, 255, .58);
    font-size: 11px;
    text-decoration: none;
}

.section-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    width: 7px;
    height: 7px;
    border: 1px solid rgba(208, 236, 255, .55);
    background: transparent;
}

.section-nav a.is-active {
    color: #fff;
}

.section-nav a.is-active::after {
    border-color: var(--cyan);
    background: var(--cyan);
}

.success-mask {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(1, 8, 49, .76);
}

.success-mask[hidden] {
    display: none !important;
}

.success-box {
    width: min(100%, 380px);
    padding: 34px 28px 26px;
    border: 1px solid var(--line-strong);
    background: #071c79;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0, 7, 53, .48);
}

.success-mark {
    position: relative;
    width: 46px;
    height: 46px;
    display: block;
    margin: 0 auto 18px;
    border: 1px solid var(--cyan);
}

.success-mark::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 8px;
    width: 12px;
    height: 22px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.success-box h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.success-box p {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.success-box button {
    width: 100%;
}

@media (max-width: 900px) {
    .page-section {
        align-items: flex-start;
        padding: max(46px, env(safe-area-inset-top)) 20px calc(82px + env(safe-area-inset-bottom));
    }

    .page-section::before {
        background-size: 44px 44px;
    }

    .page-section::after {
        bottom: 1%;
        height: 16%;
        opacity: .42;
    }

    .meeting-section {
        align-items: center;
    }

    .meeting-layout {
        gap: 20px;
    }

    h1 {
        font-size: 38px;
        line-height: 1.14;
    }

    .meeting-lead {
        font-size: 15px;
        line-height: 1.65;
    }

    .meeting-facts {
        grid-template-columns: 1fr;
    }

    .meeting-facts > div,
    .meeting-facts > div:first-child {
        min-height: 0;
        padding: 12px 0;
        border-left: 0;
        border-top: 1px solid rgba(183, 224, 255, .15);
    }

    .meeting-facts > div:first-child {
        border-top: 0;
    }

    .meeting-actions {
        gap: 18px;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 20px;
        padding-bottom: 18px;
    }

    .section-heading h2 {
        font-size: 31px;
    }

    .agenda-list {
        grid-template-columns: 1fr;
    }

    .agenda-row:nth-child(2) {
        border-top-color: rgba(183, 224, 255, .18);
    }

    .agenda-row {
        grid-template-columns: 58px 1fr;
        min-height: 0;
        padding: 12px 0;
    }

    .agenda-row time {
        font-size: 16px;
    }

    .address-main {
        padding-top: 16px;
    }

    .address-main h3 {
        font-size: 36px;
    }

    .address-main p {
        font-size: 17px;
    }

    .address-details {
        grid-template-columns: 1fr;
    }

    .address-details > div,
    .address-details > div:first-child {
        min-height: 0;
        padding: 16px 0;
        border-left: 0;
        border-top: 1px solid rgba(183, 224, 255, .15);
    }

    .address-details > div:first-child {
        border-top: 0;
    }

    .register-form {
        margin-left: 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .field-wide {
        grid-column: auto;
    }

    .vehicle-field input {
        max-width: none;
    }

    .pickup-tools {
        display: grid;
        gap: 12px;
    }

    .locate-btn {
        width: 100%;
        justify-content: space-between;
    }

    .pickup-options {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .pickup-option {
        padding-top: 16px;
    }

    .pickup-details,
    .pickup-actions {
        margin-left: 0;
    }

    .pickup-actions a,
    .pickup-actions button {
        min-width: 0;
        padding: 0 4px;
    }

    .submit-btn {
        width: 100%;
    }

    .section-nav {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 1px solid rgba(179, 224, 255, .2);
        background: rgba(3, 17, 84, .94);
        transform: none;
    }

    .section-nav a {
        min-height: 56px;
        justify-content: center;
        padding: 12px 4px 18px;
        font-size: 12px;
    }

    .section-nav a::after {
        left: 50%;
        right: auto;
        bottom: 9px;
        width: 16px;
        height: 2px;
        border: 0;
        background: rgba(208, 236, 255, .26);
        transform: translateX(-50%);
    }

    .section-nav a.is-active::after {
        background: var(--cyan);
    }
}

@media (max-width: 380px) {
    h1 {
        font-size: 33px;
    }

    .event-series {
        font-size: 13px;
    }

    .primary-action {
        min-width: 130px;
        padding: 0 18px;
    }

    .address-main h3 {
        font-size: 31px;
    }
}
