:root {
    --bg: #f2fbff;
    --surface: #ffffff;
    --surface-blue: #e9f8ff;
    --surface-cyan: #dff7fb;
    --ink: #08213f;
    --ink-soft: #45637f;
    --muted: #6f879b;
    --blue: #117ee8;
    --blue-dark: #0759b5;
    --cyan: #23b6d5;
    --mint: #40c991;
    --coral: #ef675b;
    --line: rgba(17, 126, 232, 0.14);
    --line-strong: rgba(8, 33, 63, 0.12);
    --focus: rgba(35, 182, 213, 0.35);
    --shadow-soft: 0 18px 44px rgba(8, 33, 63, 0.08);
    --shadow-card: 0 20px 52px rgba(8, 33, 63, 0.1);
    --radius-card: 8px;
    --radius-ui: 8px;
    --font: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background:
        linear-gradient(180deg, #effaff 0%, #ffffff 48%, #eef9ff 100%);
    color: var(--ink);
    font-family: var(--font);
    line-height: 1.55;
    letter-spacing: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(17, 126, 232, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 126, 232, 0.06) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 76%);
}

body::after {
    content: "";
    position: fixed;
    inset: auto 0 0;
    z-index: -1;
    height: 42vh;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(35, 182, 213, 0.08), rgba(64, 201, 145, 0.08));
    clip-path: polygon(0 32%, 100% 0, 100% 100%, 0 100%);
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

button {
    border: 0;
}

.buy-header {
    position: sticky;
    top: 12px;
    z-index: 30;
    border-bottom: 1px solid rgba(17, 126, 232, 0.12);
    background: rgba(242, 251, 255, 0.88);
    backdrop-filter: blur(18px);
}

.buy-header::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
    background: rgba(242, 251, 255, 0.88);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 48px, 1180px);
    min-height: 82px;
    margin-inline: auto;
    gap: 1.2rem;
}

.brand {
    display: grid;
    gap: 0.42rem;
    min-width: 0;
    color: var(--ink);
    text-decoration: none;
}

.brand-name {
    display: inline-flex;
    align-items: baseline;
    gap: 0.02em;
    width: fit-content;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
}

.brand-name-main {
    color: var(--ink);
}

.brand-name-accent {
    color: var(--blue);
    text-shadow: 0 0 18px rgba(17, 126, 232, 0.22);
}

.brand-powered {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    width: fit-content;
    min-height: 32px;
    padding: 0.34rem 0.72rem;
    border: 1px solid rgba(17, 126, 232, 0.16);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(225, 246, 255, 0.96));
    box-shadow: 0 10px 22px rgba(17, 126, 232, 0.12);
    color: var(--blue-dark);
    font-size: 0.8rem;
    font-weight: 900;
    line-height: 1;
}

.brand-powered::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 0 5px rgba(35, 182, 213, 0.12);
    flex: 0 0 auto;
}

.brand-powered-label {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-powered strong {
    color: var(--blue-dark);
    font-weight: 900;
}

.buy-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.52rem;
    min-height: 44px;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(17, 126, 232, 0.14);
    border-radius: var(--radius-ui);
    background: #ffffff;
    color: var(--blue-dark);
    box-shadow: 0 10px 28px rgba(8, 33, 63, 0.08);
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    white-space: nowrap;
}

.back-button:hover {
    transform: translateY(-2px);
    border-color: rgba(17, 126, 232, 0.24);
    box-shadow: 0 14px 32px rgba(8, 33, 63, 0.12);
}

.back-button:focus-visible,
input:focus-visible,
.country-option:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.back-icon {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.buy-page {
    min-height: calc(100vh - 94px);
    padding: 76px 24px 88px;
}

.buy-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.buy-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 3.6rem;
    align-items: start;
}

.buy-copy {
    position: sticky;
    top: 126px;
    display: grid;
    align-content: start;
    padding-top: 20px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    margin-bottom: 1rem;
    padding: 0.42rem 0.78rem;
    border: 1px solid rgba(17, 126, 232, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--blue-dark);
    font-size: 0.8rem;
    font-weight: 900;
}

h1 {
    max-width: 620px;
    margin: 0;
    color: var(--ink);
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.04;
}

.buy-copy p {
    max-width: 590px;
    margin: 1.2rem 0 0;
    color: var(--ink-soft);
    font-size: 1.15rem;
}

.assurance-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
    margin-top: 1.65rem;
}

.assurance-list span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 38px;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--ink-soft);
    font-size: 0.86rem;
    font-weight: 850;
}

.assurance-list span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--mint);
    box-shadow: 0 0 0 5px rgba(64, 201, 145, 0.12);
}

.form-panel {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 28px;
    border: 1px solid rgba(17, 126, 232, 0.13);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-card);
    overflow: visible;
}

.form-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    background: linear-gradient(90deg, rgba(35, 182, 213, 0.9), rgba(17, 126, 232, 0.96), rgba(64, 201, 145, 0.82));
}

.alert {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 18px;
    padding: 13px 14px;
    border-radius: var(--radius-ui);
    font-size: 0.92rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.alert-error {
    border: 1px solid rgba(239, 103, 91, 0.24);
    background: rgba(239, 103, 91, 0.09);
    color: #9f3128;
}

.form-error-summary {
    display: grid;
    gap: 0.65rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.form-error-summary-title {
    display: block;
    min-width: 0;
}

.form-error-summary-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 1.25rem;
    min-width: 0;
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.84rem;
    font-weight: 700;
}

.form-error-summary-list li {
    min-width: 0;
    padding-left: 0.1rem;
    overflow-wrap: anywhere;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.alert-success {
    border: 1px solid rgba(64, 201, 145, 0.24);
    background: rgba(64, 201, 145, 0.1);
    color: #13764e;
}

.access-form {
    display: grid;
    gap: 18px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.form-steps {
    display: grid;
    grid-template-columns: 34px 1fr 34px;
    align-items: center;
    gap: 10px;
}

.form-step-indicator {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(8, 33, 63, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.form-step-indicator.is-active,
.form-step-indicator.is-complete {
    border-color: rgba(17, 126, 232, 0.46);
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(17, 126, 232, 0.22);
}

.form-step-line {
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(17, 126, 232, 0.34), rgba(35, 182, 213, 0.16));
}

.form-step-panel {
    display: grid;
    gap: 18px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.field {
    display: grid;
    gap: 7px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

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

.buyer-type-field {
    display: grid;
    gap: 10px;
}

.buyer-type-field legend {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 900;
}

.buyer-type-field {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.buyer-type-field legend,
.buyer-type-field em {
    grid-column: 1 / -1;
}

.buyer-type-field label {
    display: flex;
    align-items: center;
    position: relative;
    gap: 0.76rem;
    min-height: 64px;
    padding: 0.9rem 0.95rem;
    border: 1px solid rgba(8, 33, 63, 0.14);
    border-radius: var(--radius-ui);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 250, 255, 0.72));
    color: var(--ink-soft);
    cursor: pointer;
    font-size: 0.94rem;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(8, 33, 63, 0.06);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.buyer-type-field label::before {
    content: "";
    display: grid;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(8, 33, 63, 0.16);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: inset 0 0 0 6px #ffffff;
    flex: 0 0 auto;
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.buyer-type-field label:hover {
    transform: translateY(-1px);
    border-color: rgba(17, 126, 232, 0.3);
    box-shadow: 0 16px 30px rgba(8, 33, 63, 0.1);
}

.buyer-type-field input {
    position: absolute;
    width: 1px;
    min-height: 1px;
    opacity: 0;
    pointer-events: none;
}

.buyer-type-field label:has(input:checked) {
    border-color: rgba(17, 126, 232, 0.56);
    background:
        linear-gradient(135deg, rgba(233, 248, 255, 0.96), rgba(236, 255, 247, 0.9));
    color: var(--blue-dark);
    box-shadow: 0 18px 34px rgba(17, 126, 232, 0.16);
}

.buyer-type-field label:has(input:checked)::before {
    border-color: rgba(17, 126, 232, 0.78);
    background: var(--blue);
    box-shadow: inset 0 0 0 6px #ffffff, 0 0 0 5px rgba(17, 126, 232, 0.12);
}

.buyer-type-field label:has(input:focus-visible) {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.field > span {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 900;
    white-space: normal;
    overflow-wrap: anywhere;
}

.field small {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.field .tax-number-help {
    display: grid;
    gap: 3px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    color: var(--muted);
    font-size: clamp(0.72rem, 0.69rem + 0.12vw, 0.78rem);
    font-weight: 600;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
}

.tax-number-help > span {
    display: block;
}

input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 50px;
    border: 1px solid rgba(8, 33, 63, 0.14);
    border-radius: var(--radius-ui);
    background: #ffffff;
    color: var(--ink);
    padding: 0.78rem 0.84rem;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input::placeholder {
    color: rgba(69, 99, 127, 0.66);
}

input:focus {
    border-color: rgba(17, 126, 232, 0.7);
    box-shadow: 0 0 0 4px var(--focus);
}

input[aria-invalid="true"] {
    border-color: rgba(239, 103, 91, 0.78);
    background: rgba(239, 103, 91, 0.045);
}

.field em {
    color: #a03228;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 800;
}

.legal-consent {
    position: relative;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 0.78rem;
    align-items: start;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(17, 126, 232, 0.16);
    border-radius: var(--radius-ui);
    background: linear-gradient(135deg, rgba(233, 248, 255, 0.78), rgba(255, 255, 255, 0.94));
    color: var(--ink-soft);
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(8, 33, 63, 0.06);
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.legal-consent:hover {
    border-color: rgba(17, 126, 232, 0.3);
    box-shadow: 0 16px 30px rgba(8, 33, 63, 0.1);
}

.legal-consent.has-error {
    border-color: rgba(239, 103, 91, 0.62);
    background: linear-gradient(135deg, rgba(239, 103, 91, 0.07), rgba(255, 255, 255, 0.94));
}

.legal-consent input {
    position: absolute;
    width: 1px;
    min-height: 1px;
    opacity: 0;
    pointer-events: none;
}

.legal-consent-box {
    position: relative;
    width: 26px;
    height: 26px;
    border: 2px solid rgba(8, 33, 63, 0.16);
    border-radius: 7px;
    background: #ffffff;
    box-shadow: inset 0 0 0 2px #ffffff;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.legal-consent input:checked + .legal-consent-box {
    border-color: rgba(17, 126, 232, 0.78);
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 0 0 5px rgba(17, 126, 232, 0.12);
}

.legal-consent input:checked + .legal-consent-box::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 12px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
}

.legal-consent:has(input:focus-visible) {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.legal-consent-copy {
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.45;
}

.legal-consent-link {
    color: var(--blue-dark);
    font-weight: 950;
    text-decoration: underline;
    text-decoration-color: rgba(17, 126, 232, 0.38);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.legal-consent-link:hover {
    color: var(--blue);
    text-decoration-color: rgba(17, 126, 232, 0.72);
}

.legal-consent em {
    display: block;
    margin-top: 0.38rem;
    color: #a03228;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 850;
}

.tax-declaration {
    position: relative;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 0.68rem;
    align-items: center;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-top: -2px;
    padding: 0.72rem 0.82rem;
    border: 1px dashed rgba(69, 99, 127, 0.34);
    border-radius: calc(var(--radius-ui) - 2px);
    background: rgba(247, 250, 252, 0.86);
    color: var(--muted);
    cursor: pointer;
    box-shadow: none;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.tax-declaration:hover {
    border-color: rgba(69, 99, 127, 0.58);
    background: rgba(241, 246, 249, 0.96);
}

.tax-declaration:has(input:checked) {
    border-style: solid;
    border-color: rgba(69, 99, 127, 0.46);
    background: rgba(239, 245, 248, 0.98);
    color: var(--ink-soft);
}

.tax-declaration input {
    position: absolute;
    width: 1px;
    min-height: 1px;
    opacity: 0;
    pointer-events: none;
}

.tax-declaration-box {
    position: relative;
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(69, 99, 127, 0.5);
    border-radius: 5px;
    background: #ffffff;
    transition: background 160ms ease, border-color 160ms ease;
}

.tax-declaration input:checked + .tax-declaration-box {
    border-color: #45637f;
    background: #45637f;
}

.tax-declaration input:checked + .tax-declaration-box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 5px;
    height: 9px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
}

.tax-declaration:has(input:focus-visible) {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.tax-declaration-copy {
    min-width: 0;
    color: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.recaptcha-field {
    display: grid;
    justify-items: center;
    gap: 0.65rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 1rem;
    border: 1px solid rgba(17, 126, 232, 0.16);
    border-radius: var(--radius-ui);
    background: linear-gradient(135deg, rgba(233, 248, 255, 0.78), rgba(255, 255, 255, 0.96));
    box-shadow: 0 12px 26px rgba(8, 33, 63, 0.06);
    overflow: hidden;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.recaptcha-field.has-error {
    border-color: rgba(239, 103, 91, 0.62);
    background: linear-gradient(135deg, rgba(239, 103, 91, 0.07), rgba(255, 255, 255, 0.96));
}

.recaptcha-widget {
    position: relative;
    left: 50%;
    width: 304px;
    min-height: 78px;
    margin-left: -152px;
    justify-self: start;
}

.recaptcha-error {
    color: #a03228;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 850;
    text-align: center;
}

.password-live-check {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: -4px;
    padding: 0.8rem;
    border: 1px solid rgba(17, 126, 232, 0.12);
    border-radius: var(--radius-ui);
    background: linear-gradient(135deg, rgba(233, 248, 255, 0.72), rgba(255, 255, 255, 0.86));
}

.password-rule {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 28px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 850;
}

.password-rule::before {
    content: "";
    display: grid;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(8, 33, 63, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 18px;
    text-align: center;
    place-items: center;
    flex: 0 0 auto;
}

.password-rule.is-valid {
    color: #15794f;
}

.password-rule.is-valid::before {
    content: "";
    border-color: rgba(64, 201, 145, 0.6);
    background: var(--mint);
}

.password-rule.is-invalid {
    color: #a03228;
}

.password-rule.is-invalid::before {
    content: "!";
    border-color: rgba(239, 103, 91, 0.55);
    background: var(--coral);
}

.country-field {
    position: relative;
}

.country-combobox {
    position: relative;
}

.country-input {
    padding-right: 2.5rem;
}

.country-combobox::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 16px;
    width: 0.52rem;
    height: 0.52rem;
    border-right: 2px solid rgba(8, 33, 63, 0.45);
    border-bottom: 2px solid rgba(8, 33, 63, 0.45);
    transform: rotate(45deg);
    pointer-events: none;
}

.country-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.5rem);
    z-index: 40;
    display: none;
    max-height: 260px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.45rem;
    border: 1px solid rgba(17, 126, 232, 0.16);
    border-radius: var(--radius-ui);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 44px rgba(8, 33, 63, 0.14);
    backdrop-filter: blur(18px);
}

.country-combobox.is-open .country-results {
    display: grid;
    gap: 0.25rem;
}

.country-option {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
    padding: 0.58rem 0.68rem;
    border-radius: var(--radius-ui);
    background: transparent;
    color: var(--ink-soft);
    cursor: pointer;
    font-weight: 800;
    text-align: left;
    transition: background 160ms ease, color 160ms ease;
}

.country-option:hover,
.country-option.is-active,
.country-option[aria-selected="true"] {
    background: linear-gradient(135deg, rgba(17, 126, 232, 0.1), rgba(35, 182, 213, 0.1));
    color: var(--blue-dark);
}

.country-option.is-hidden {
    display: none;
}

.country-empty {
    display: none;
    padding: 0.7rem;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.country-empty.is-visible {
    display: block;
}

[hidden] {
    display: none !important;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    border-radius: var(--radius-ui);
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #ffffff;
    cursor: pointer;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(17, 126, 232, 0.26);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(17, 126, 232, 0.34);
}

.submit-button:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.form-actions {
    display: grid;
    grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
    gap: 12px;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(17, 126, 232, 0.16);
    border-radius: var(--radius-ui);
    background: #ffffff;
    color: var(--blue-dark);
    cursor: pointer;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(8, 33, 63, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.secondary-button:hover {
    transform: translateY(-2px);
    border-color: rgba(17, 126, 232, 0.28);
    box-shadow: 0 16px 34px rgba(8, 33, 63, 0.12);
}

.secondary-button:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.buy-upgrade-action {
    display: flex;
    align-items: center;
    margin-top: 1.4rem;
}

.upgrade-account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 48px;
    padding: 0.78rem 1rem;
    border: 1px solid rgba(17, 126, 232, 0.18);
    border-radius: var(--radius-ui);
    background: rgba(255, 255, 255, 0.86);
    color: var(--blue-dark);
    box-shadow: 0 12px 28px rgba(8, 33, 63, 0.08);
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.upgrade-account-link:hover {
    transform: translateY(-2px);
    border-color: rgba(17, 126, 232, 0.3);
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(8, 33, 63, 0.12);
}

.upgrade-account-link:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.upgrade-plan-panel,
.upgrade-email-panel,
.upgrade-payment-panel {
    align-self: start;
}

.upgrade-plan-card {
    display: grid;
    gap: 1rem;
}

.upgrade-plan-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.upgrade-plan-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    background: rgba(17, 126, 232, 0.12);
    color: var(--blue-dark);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.upgrade-plan-card h2,
.upgrade-form-heading h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.72rem;
    font-weight: 900;
    line-height: 1.1;
}

.upgrade-plan-summary,
.upgrade-form-heading p,
.verified-account,
.form-note {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
    font-weight: 750;
}

.upgrade-plan-price {
    color: var(--ink);
    font-size: 2.35rem;
    font-weight: 900;
    line-height: 1;
}

.upgrade-feature-list {
    display: grid;
    gap: 0.78rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.upgrade-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.62rem;
    min-width: 0;
    color: var(--ink-soft);
    font-weight: 850;
}

.feature-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-top: 0.04rem;
    border-radius: 999px;
    background: var(--mint);
    box-shadow: 0 0 0 5px rgba(64, 201, 145, 0.12);
    flex: 0 0 auto;
}

.feature-mark-check::after {
    content: "";
    width: 6px;
    height: 10px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg) translate(-1px, -1px);
}

.feature-mark-plus {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 0 0 5px rgba(17, 126, 232, 0.12);
}

.feature-mark-plus::before,
.feature-mark-plus::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: #ffffff;
}

.feature-mark-plus::before {
    width: 10px;
    height: 2px;
}

.feature-mark-plus::after {
    width: 2px;
    height: 10px;
}

.upgrade-form {
    display: grid;
    gap: 18px;
}

.upgrade-form-heading {
    display: grid;
    gap: 0.62rem;
}

.verified-account {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 38px;
    padding: 0.45rem 0.72rem;
    border: 1px solid rgba(64, 201, 145, 0.22);
    border-radius: 999px;
    background: rgba(64, 201, 145, 0.11);
    color: #13764e;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.readonly-field input {
    background: linear-gradient(135deg, rgba(233, 248, 255, 0.72), rgba(255, 255, 255, 0.94));
    color: var(--ink-soft);
}

.form-note {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(17, 126, 232, 0.12);
    border-radius: var(--radius-ui);
    background: rgba(233, 248, 255, 0.7);
    font-weight: 850;
}

.submit-button:disabled {
    cursor: not-allowed;
    opacity: 0.72;
    transform: none;
    box-shadow: 0 12px 24px rgba(17, 126, 232, 0.16);
}

@media (max-width: 940px) {
    .buy-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .buy-copy {
        position: static;
        padding-top: 0;
    }

    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 720px) {
    .header-inner {
        width: min(100% - 32px, 1180px);
        min-height: 74px;
        gap: 0.8rem;
    }

    .brand-name {
        font-size: 1.34rem;
    }

    .brand-powered {
        max-width: 220px;
        min-height: 0;
        padding: 0.3rem 0.58rem;
        gap: 0.4rem;
        font-size: 0.72rem;
        line-height: 1.15;
    }

    .brand-powered-label {
        font-size: 0.62rem;
    }

    .back-button {
        min-height: 42px;
        padding-inline: 0.82rem;
        font-size: 0.9rem;
    }

    .buy-page {
        padding: 46px 16px 68px;
    }

    h1 {
        font-size: 2.35rem;
        line-height: 1.1;
    }

    .buy-copy p {
        font-size: 1.02rem;
    }

    .form-panel {
        padding: 20px 16px 18px;
    }

    .form-error-summary-list {
        grid-template-columns: 1fr;
    }

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

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

    .password-live-check {
        grid-template-columns: 1fr;
    }

    .buyer-type-field {
        grid-template-columns: 1fr;
    }

    .form-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 460px) {
    .header-inner {
        align-items: flex-start;
        padding: 0.8rem 0;
    }

    .brand-powered {
        max-width: 190px;
    }

    .back-button span {
        display: none;
    }

    .back-button {
        width: 44px;
        padding: 0;
    }

    .form-panel {
        padding: 18px 12px 16px;
    }

    .form-error-summary {
        padding: 11px 12px;
        font-size: 0.86rem;
    }

    .form-error-summary-list {
        gap: 0.3rem;
        padding-left: 1.05rem;
        font-size: 0.78rem;
    }

    .recaptcha-field {
        padding-inline: 0.35rem;
    }

    .recaptcha-widget {
        margin-bottom: -8px;
        transform: scale(0.9);
        transform-origin: center top;
    }

    .field .tax-number-help {
        gap: 2px;
        line-height: 1.45;
    }
}

@media (max-width: 340px) {
    .recaptcha-widget {
        margin-bottom: -17px;
        transform: scale(0.78);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
