:root {
    --starbridge-ink: #17201b;
    --starbridge-muted: #5d6a63;
    --starbridge-line: #dce5df;
    --starbridge-soft: #f4f8f5;
    --starbridge-paper: #ffffff;
    --starbridge-green: #169148;
    --starbridge-green-deep: #0e5d35;
    --starbridge-green-dark: #0f3324;
    --starbridge-gold: #d59b35;
    --starbridge-shadow: 0 24px 70px rgba(15, 51, 36, 0.16);
}

.starbridge-page,
.starbridge-form {
    box-sizing: border-box;
    color: var(--starbridge-ink);
    font-family: "Aptos", "Segoe UI", sans-serif;
}

.starbridge-page *,
.starbridge-form * {
    box-sizing: border-box;
}

.starbridge-page {
    width: min(1180px, calc(100vw - 48px)) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 34px 0 56px;
    container-type: inline-size;
}

.starbridge-page-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.8fr);
    gap: 28px;
    overflow: hidden;
    border-radius: 24px;
    padding: 46px;
    background:
        linear-gradient(120deg, rgba(15, 51, 36, 0.96), rgba(17, 91, 55, 0.9)),
        repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 16px);
    box-shadow: var(--starbridge-shadow);
}

.starbridge-page-hero::after {
    position: absolute;
    right: -8%;
    bottom: -36%;
    width: 48%;
    height: 78%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    content: "";
    transform: rotate(-16deg);
}

.starbridge-page-copy,
.starbridge-page-panel {
    position: relative;
    z-index: 1;
}

.starbridge-eyebrow {
    display: inline-flex;
    margin: 0 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 7px 12px;
    color: #dff5e7;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.starbridge-page h1 {
    max-width: 640px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.15rem, 4.4vw, 4rem);
    line-height: 1.02;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: normal;
}

.starbridge-lede {
    max-width: 600px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.7;
}

.starbridge-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 640px;
    margin-top: 34px;
}

.starbridge-proof-grid div {
    min-height: 112px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.starbridge-proof-grid strong {
    display: block;
    margin-bottom: 22px;
    color: var(--starbridge-gold);
    font-size: 1.1rem;
}

.starbridge-proof-grid span {
    display: block;
    color: #fff;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.35;
}

.starbridge-page-panel {
    align-self: end;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.starbridge-panel-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 18px;
}

.starbridge-panel-item:last-child {
    border-bottom: 0;
}

.starbridge-panel-item span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.starbridge-panel-item strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    line-height: 1.35;
}

.starbridge-page-form {
    width: min(980px, calc(100% - 44px));
    max-width: none !important;
    margin: -34px auto 0;
    position: relative;
    z-index: 2;
}

.starbridge-form {
    width: 100%;
    max-width: 980px !important;
    margin: 0 auto !important;
    border: 1px solid var(--starbridge-line);
    border-radius: 24px;
    padding: 30px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.94)),
        radial-gradient(circle at top left, rgba(22, 145, 72, 0.12), transparent 36%);
    box-shadow: 0 20px 54px rgba(23, 32, 27, 0.1);
}

.starbridge-form-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--starbridge-line);
    padding-bottom: 22px;
}

.starbridge-title {
    margin: 0;
    color: var(--starbridge-ink);
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.starbridge-intro {
    max-width: 360px;
    margin: 4px 0 0;
    color: var(--starbridge-muted);
    font-size: 0.96rem;
    line-height: 1.55;
}

.starbridge-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0 12px;
    color: var(--starbridge-green-deep);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.starbridge-section-label::after {
    height: 1px;
    flex: 1;
    background: var(--starbridge-line);
    content: "";
}

.starbridge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.starbridge-field {
    display: block;
    margin-bottom: 16px;
}

.starbridge-field span {
    display: block;
    margin-bottom: 8px;
    color: var(--starbridge-ink);
    font-size: 0.88rem;
    font-weight: 800;
}

.starbridge-field .starbridge-required {
    display: inline;
    margin: 0 0 0 3px;
    color: #b42318;
    font-weight: 900;
}

.starbridge-field input,
.starbridge-field select,
.starbridge-field textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cfdcd4;
    border-radius: 14px;
    padding: 12px 14px;
    background: #fbfdfb;
    color: var(--starbridge-ink);
    font: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.starbridge-field input::placeholder,
.starbridge-field textarea::placeholder {
    color: #88968e;
}

.starbridge-field input:focus,
.starbridge-field select:focus,
.starbridge-field textarea:focus {
    border-color: var(--starbridge-green);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(22, 145, 72, 0.14);
}

.starbridge-field select {
    -webkit-appearance: none;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--starbridge-green-deep) 50%),
        linear-gradient(135deg, var(--starbridge-green-deep) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 21px,
        calc(100% - 12px) 21px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 38px;
}

.starbridge-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 10px;
}

.starbridge-recaptcha {
    margin: 18px 0 6px;
    min-height: 78px;
}

.pac-container {
    z-index: 100000;
}

.starbridge-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    background: var(--starbridge-green);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(22, 145, 72, 0.24);
    transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.starbridge-submit:hover,
.starbridge-submit:focus {
    background: var(--starbridge-green-deep);
    box-shadow: 0 16px 34px rgba(14, 93, 53, 0.28);
    transform: translateY(-1px);
}

.starbridge-footnote {
    max-width: 360px;
    margin: 0;
    color: var(--starbridge-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.starbridge-message {
    margin-bottom: 18px;
    border-radius: 16px;
    padding: 14px 16px;
    font-weight: 700;
}

.starbridge-message-success {
    border: 1px solid #9fd7b2;
    background: #effaf3;
    color: #145c2f;
}

.starbridge-message-error {
    border: 1px solid #efb1a8;
    background: #fff3f1;
    color: #8a2417;
}

.starbridge-hp {
    position: absolute;
    left: -9999px;
}

@media (max-width: 920px) {
    .starbridge-page-hero {
        grid-template-columns: 1fr;
        padding: 38px;
    }

    .starbridge-proof-grid,
    .starbridge-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .starbridge-page-panel {
        align-self: stretch;
    }
}

@container (max-width: 900px) {
    .starbridge-page-hero {
        grid-template-columns: 1fr;
        padding: 34px;
    }

    .starbridge-page h1 {
        max-width: 620px;
        font-size: clamp(2rem, 8cqw, 3.1rem);
    }

    .starbridge-proof-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@container (max-width: 700px) {
    .starbridge-page {
        width: min(100%, calc(100vw - 24px)) !important;
    }

    .starbridge-page-hero {
        border-radius: 18px;
        padding: 28px 20px;
    }

    .starbridge-proof-grid,
    .starbridge-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .starbridge-proof-grid {
        gap: 12px;
    }

    .starbridge-page-form {
        width: calc(100% - 16px);
        margin-top: -20px;
    }

    .starbridge-form-head,
    .starbridge-actions {
        display: block;
    }
}

@media (max-width: 680px) {
    .starbridge-page {
        width: min(100% - 20px, 1180px);
        padding-top: 14px;
    }

    .starbridge-page-hero {
        border-radius: 20px;
        padding: 28px 20px;
    }

    .starbridge-page h1 {
        font-size: 2.45rem;
    }

    .starbridge-proof-grid,
    .starbridge-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .starbridge-proof-grid {
        gap: 12px;
    }

    .starbridge-page-form {
        width: calc(100% - 16px);
        margin-top: -20px;
    }

    .starbridge-form {
        border-radius: 18px;
        padding: 20px;
    }

    .starbridge-form-head,
    .starbridge-actions {
        display: block;
    }

    .starbridge-intro,
    .starbridge-footnote {
        max-width: none;
        margin-top: 10px;
    }

    .starbridge-submit {
        width: 100%;
    }
}
