:root {
  color-scheme: light;
  --page: #b4c6e6;
  --ink: #182b42;
  --muted: #354b64;
  --panel: linear-gradient(135deg, rgb(225 234 247 / .82), rgb(210 224 243 / .74));
  --control: linear-gradient(135deg, rgb(222 232 247 / .87), rgb(211 224 243 / .83));
  --button: linear-gradient(135deg, rgb(247 251 255 / .94), rgb(234 243 255 / .88));
  --hover: linear-gradient(135deg, #fff, rgb(243 249 255 / .96));
  --line: rgb(238 245 252 / .64);
  --solid: #e1eaf7;
  --shadow: 0 28px 70px -34px rgb(24 28 32 / .30), inset 0 1px 0 rgb(255 255 255 / .64), inset -1px -1px 0 rgb(255 255 255 / .14);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
}
:root[data-theme="night"] {
  color-scheme: dark;
  --page: #23364c;
  --ink: #f8fbff;
  --muted: #f6faff;
  --panel: linear-gradient(125deg, rgb(67 92 119 / .84), rgb(53 79 108 / .76));
  --control: linear-gradient(135deg, rgb(102 130 159 / .23), rgb(80 111 143 / .35));
  --button: linear-gradient(135deg, rgb(86 114 145 / .96), rgb(73 103 135 / .96));
  --hover: linear-gradient(135deg, rgb(88 116 146 / .98), rgb(78 108 139 / .98));
  --line: rgb(196 220 243 / .30);
  --solid: #354f6b;
  --shadow: 0 28px 70px -34px rgb(4 13 25 / .55), inset 0 1px 0 rgb(219 236 252 / .25), inset -1px -1px 0 rgb(215 234 252 / .08);
}
/* Layout proportions and carousel geometry match partners.imperialalfa.com. */
:root { --card-w: 420px; --card-h: 454px; --offset: 345px; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: 'Century Gothic', CenturyGothic, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.5; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.2; letter-spacing: -.025em; }
button, a, input { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
[hidden] { display: none !important; }
.backdrop { position: fixed; z-index: 0; inset: 0; background: var(--page) url('assets/workshop.webp') center / cover no-repeat; background-blend-mode: luminosity; }
.backdrop::after, .backdrop::before { content: ''; position: absolute; inset: 0; }
.backdrop::after { background: rgb(180 198 230 / .72); }
.backdrop::before { z-index: 1; background: rgb(255 255 255 / .2775); }
[data-theme="night"] .backdrop::after { background: linear-gradient(150deg, rgb(26 44 67 / .86), rgb(30 52 77 / .80) 60%, rgb(37 64 79 / .84)); }
[data-theme="night"] .backdrop::before { background: transparent; }
.glass { background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.header { position: absolute; z-index: 10; top: 24px; left: 24px; right: 24px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.home-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; }
.home-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--control); box-shadow: inset 0 1px rgb(255 255 255 / .15), 0 6px 22px rgb(24 43 66 / .15); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.home-mark svg { display: block; width: 27px; height: 23px; fill: currentColor; }
.home-copy { font-size: 11px; }
.home-arrow { font-size: 12px; margin-inline-start: -6px; }
.home-link:hover .home-copy { text-decoration: underline; text-underline-offset: 4px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.language-control { position: relative; display: flex; align-items: center; height: 38px; border-radius: 22px; padding: 0 11px; gap: 7px; background: var(--control); }
.language-control > svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; pointer-events: none; }
.language-control select { appearance: none; -webkit-appearance: none; border: 0; width: 76px; font-size: 12px; background: transparent; padding: 5px 0; }
.language-control select option { color: var(--ink); background: var(--solid); }
.language-control .chevron { width: 13px; height: 13px; }
.icon-button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--control); }
.icon-button svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.sun, [data-theme="night"] .moon { display: none; }
[data-theme="night"] .sun { display: block; }
.experience { position: relative; z-index: 1; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 32px 0; overflow-x: clip; }
.navigation { display: flex; align-items: center; gap: 4px; padding: 6px; margin-bottom: 22px; border-radius: 999px; background: var(--control); position: relative; z-index: 5; box-shadow: inset 0 1px rgb(255 255 255 / .18), 0 12px 40px rgb(24 43 66 / .08); }
.navigation button { border: 0; background: transparent; padding: 9px 14px; border-radius: 99px; font-size: 12px; line-height: 1.2; min-height: 34px; }
.navigation button[aria-pressed="true"] { background: var(--button); }
.navigation .contact-button { display: grid; place-items: center; width: 36px; padding: 8px; }
.contact-button svg { width: 16px; height: 16px; display: block; }
.deck { position: relative; width: 100%; height: var(--card-h); isolation: isolate; touch-action: pan-y; }
.partner-card { position: absolute; top: 0; left: 50%; width: var(--card-w); height: var(--card-h); margin-left: calc(var(--card-w) / -2); border-radius: 26px; border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(24px) saturate(.72); -webkit-backdrop-filter: blur(24px) saturate(.72); box-shadow: var(--shadow); transition: transform .65s cubic-bezier(.22,1,.36,1), background .5s; transform: translateX(0) scale(1); z-index: 3; overflow: hidden; }
.partner-card[data-position="left"] { transform: translateX(calc(-1 * var(--offset))) scale(.88); z-index: 1; background: var(--control); cursor: pointer; }
.partner-card[data-position="right"] { transform: translateX(var(--offset)) scale(.88); z-index: 1; background: var(--control); cursor: pointer; }
.card-inner { height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 28px 25px; }
.brand-logo { display: block; background: currentColor; mask: url('assets/logo.svg') center / contain no-repeat; -webkit-mask: url('assets/logo.svg') center / contain no-repeat; width: 68px; height: 19px; margin-bottom: 8px; flex: none; }
.card-inner h2 { font-size: 21px; font-weight: 600; line-height: 1.22; text-wrap: balance; }
.program-for { font-size: 12px; color: var(--muted); line-height: 1.45; margin-top: 6px; min-height: 18px; text-wrap: balance; }
.commission-visual { display: flex; flex: 1; flex-direction: column; justify-content: center; align-items: center; width: 100%; min-height: 148px; margin: 10px 0; }
.commission-label { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.commission-number { font-size: 86px; font-weight: 400; line-height: 1.16; letter-spacing: -.075em; margin: 1px 0 3px; white-space: nowrap; }
.commission-number sup { vertical-align: top; font-size: 20px; letter-spacing: 0; position: relative; top: 15px; margin-inline-start: 4px; }
.commission-basis { font-size: 12px; line-height: 1.5; color: var(--muted); }
.agreed-fee { font-size: 40px; line-height: 1.15; letter-spacing: -.04em; white-space: normal; max-width: 290px; margin: 10px 0 12px; }
.overview-visual { min-height: 140px; gap: 8px; font-size: 30px; line-height: 1.2; letter-spacing: -.04em; }
.card-summary { font-size: 13px; line-height: 1.55; color: var(--muted); margin-bottom: 18px; min-height: 41px; white-space: pre-line; text-wrap: balance; }
.card-summary strong { color: var(--ink); font-weight: 600; }
.ship-stage { position: relative; width: 100%; flex: 1; min-height: 108px; margin: 7px 0 11px; display: grid; place-items: center; isolation: isolate; }
.ship-poster { position: absolute; width: 106%; height: 106%; object-fit: contain; pointer-events: none; user-select: none; transition: opacity .35s; filter: drop-shadow(0 12px 9px rgb(24 43 66 / .10)); }
.commission-offer { flex: none; width: 100%; margin-bottom: 12px; min-height: 48px; }
.commission-label { font-size: 10px; line-height: 1.5; }
.offer-line { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; column-gap: 7px; row-gap: 2px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.offer-value { color: var(--ink); font-size: 28px; font-weight: 600; line-height: 1.25; letter-spacing: -.04em; }
.offer-value sup { font-size: 12px; vertical-align: top; position: relative; top: 4px; margin-inline-start: 1px; }
.offer-value.agreed-fee { font-size: 21px; line-height: 1.3; margin: 0; max-width: 100%; }
.text-card .commission-offer { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; margin: 18px 0 22px; min-height: 120px; }
.text-card .commission-label { font-size: 12px; font-weight: 400; }
.text-card .offer-line { flex-direction: column; align-items: center; gap: 9px; width: 100%; font-size: 13px; text-wrap: balance; }
.text-card .offer-value { font-size: 78px; line-height: 1.05; letter-spacing: -.06em; }
.text-card .offer-value sup { font-size: 20px; top: 10px; margin-inline-start: 3px; }
.text-card .offer-value.agreed-fee { font-size: 34px; line-height: 1.2; letter-spacing: -.035em; max-width: 260px; text-wrap: balance; }
[data-theme="night"] .ship-poster { filter: drop-shadow(0 14px 10px rgb(4 13 25 / .26)); }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin-top: auto; }
.action, .button { border: 1px solid var(--line); border-radius: 999px; min-height: 40px; font-size: 11px; letter-spacing: .035em; text-transform: uppercase; background: transparent; padding: 11px 12px; text-decoration: none; text-align: center; line-height: 1.2; transition: background .2s; }
.action:hover, .button:hover, .icon-button:hover { background: var(--hover); }
.action.primary, .button.primary { background: var(--button); }
.action.primary:hover, .button.primary:hover { background: var(--hover); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-size: 13px; }
.terms-note { text-align: center; max-width: 660px; margin: 24px 22px 0; font-size: 12px; line-height: 1.8; color: var(--muted); }
.terms-note span { display: block; }
.terms-note button { display: inline-block; background: transparent; color: var(--muted); font-size: 11px; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.deck-hint { height: 3px; width: 52px; background: var(--ink); opacity: .25; border-radius: 5px; margin-top: 17px; }
.skip-link { position: fixed; inset-block-start: 8px; inset-inline-start: 16px; z-index: 100; background: var(--solid); border-radius: 12px; padding: 12px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:root[dir="rtl"] .header { direction: ltr; }
:root[dir="rtl"] .home-copy, :root[dir="rtl"] .language-control { direction: rtl; }
:root[dir="rtl"] .overview-visual { letter-spacing: 0; }
.modal { color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); padding: 0; width: min(500px, calc(100% - 32px)); max-height: calc(100svh - 40px); overflow: auto; }
.modal::backdrop { background: rgb(14 31 51 / .4); backdrop-filter: blur(7px); }
.modal-inner { padding: 26px 30px 28px; }
.modal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 25px; }
.modal-top img { width: 68px; height: auto; }
[data-theme="night"] .modal-top img { filter: brightness(0) invert(1); }
.close-button { border-radius: 50%; width: 34px; height: 34px; background: var(--control); border: 1px solid var(--line); display: grid; place-items: center; font-size: 23px; line-height: 1; }
.modal h2 { font-size: 23px; line-height: 1.2; margin-bottom: 12px; }
.modal p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.info-list { margin: 18px 0 22px; padding-inline-start: 22px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.info-list li + li { margin-top: 12px; }
.info-cta { margin-top: 20px; width: 100%; }
.faq-item + .faq-item { margin-top: 18px; }
.faq-item h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.faq-item p { margin: 0; }
.form-modal { width: min(500px, calc(100% - 32px)); }
.modal-lead { margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.span-two { grid-column: 1 / -1; }
form label:not(.consent) { display: flex; flex-direction: column; gap: 7px; font-size: 12px; line-height: 1.4; font-weight: 600; }
input:not([type="checkbox"]), textarea, form select { background: var(--control); border: 1px solid rgb(70 98 132 / .25); border-radius: 10px; width: 100%; padding: 10px 12px; font-weight: 400; min-height: 40px; font-size: 13px; }
[data-theme="night"] input:not([type="checkbox"]), [data-theme="night"] textarea, [data-theme="night"] form select { border-color: var(--line); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
textarea { resize: vertical; }
#application-fields { margin-top: 14px; }
fieldset { border: 0; padding: 0; margin: 24px 0 0; }
legend { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
fieldset > label { margin-top: 14px; }
.consent { margin-top: 20px; display: flex; align-items: flex-start; gap: 9px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.consent input { flex-shrink: 0; width: 15px; height: 15px; margin: 2px 0 0; accent-color: #354f6b; }
.modal .privacy-note { font-size: 11px; margin: 10px 0 18px; }
.form-actions { display: flex; gap: 10px; }
.form-actions .primary { flex: 1; }
.modal .send-note { font-size: 11px; margin-bottom: 0; }
.modal .form-status { font-size: 12px; margin: 12px 0 0; }
.form-status:empty { display: none; }
.manual-copy { margin-top: 10px; direction: ltr; text-align: left; min-height: 160px; }
.manual-copy[dir="rtl"] { direction: rtl; text-align: right; }
.body-locked { overflow: hidden; }
.noscript-note { position: fixed; bottom: 10px; left: 10px; right: 10px; z-index: 5; padding: 16px; border-radius: 14px; background: var(--solid); }
:root[dir="rtl"] h1, :root[dir="rtl"] h2, :root[dir="rtl"] .fee { letter-spacing: 0; }

/* The same 420 × 454 centre card and 88% side cards as the live Alfa page. */
@media (min-width: 901px) {
  .partner-card[data-position="left"] .card-inner { padding-right: 77px; }
  .partner-card[data-position="right"] .card-inner { padding-left: 77px; }
  .partner-card:not([data-position="center"]) h2 { font-size: 20px; }
  .partner-card:not([data-position="center"]) .commission-number { font-size: 78px; }
  .partner-card:not([data-position="center"]) .offer-value.agreed-fee { font-size: 30px; }
  .partner-card:not([data-position="center"]) .overview-visual { font-size: 26px; }
}
@media (min-width: 901px) and (max-width: 1150px) {
  :root { --card-w: 350px; --offset: 260px; --card-h: 448px; }
  .card-inner { padding: 25px 23px; }
  .partner-card[data-position="left"] .card-inner { padding-right: 98px; padding-left: 20px; }
  .partner-card[data-position="right"] .card-inner { padding-left: 98px; padding-right: 20px; }
  .partner-card:not([data-position="center"]) h2 { font-size: 17px; }
  .partner-card:not([data-position="center"]) .program-for, .partner-card:not([data-position="center"]) .commission-basis { font-size: 11px; }
  .partner-card:not([data-position="center"]) .commission-number { font-size: 68px; }
  .partner-card:not([data-position="center"]) .offer-value.agreed-fee { font-size: 25px; }
  .partner-card:not([data-position="center"]) .overview-visual { font-size: 22px; }
  .partner-card:not([data-position="center"]) .card-summary { font-size: 13px; }
  .partner-card:not([data-position="center"]) .actions { gap: 7px; }
  .partner-card:not([data-position="center"]) .action { padding: 11px 5px; font-size: 10px; }
}
@media (max-width: 900px) {
  :root { --card-w: min(350px, calc(100vw - 48px)); --card-h: 444px; --offset: calc(100vw - 94px); }
  .backdrop { background-position: 55% center; }
  .header { top: 18px; left: 18px; right: 18px; gap: 12px; }
  .home-mark { width: 46px; height: 46px; }
  .home-mark svg { width: 26px; height: 22px; }
  .home-link { gap: 7px; }
  .home-copy { font-size: 10px; max-width: 62px; line-height: 1.4; }
  .home-arrow { display: none; }
  .experience { padding: 94px 0 24px; }
  .navigation { margin-bottom: 18px; max-width: calc(100vw - 24px); gap: 1px; }
  .navigation button { font-size: 12px; padding: 10px 12px; min-height: 38px; }
  .navigation .contact-button { width: 35px; }
  .partner-card { border-radius: 25px; }
  .card-inner { padding: 25px 23px; }
  .brand-logo { margin-bottom: 10px; }
  .card-inner h2 { font-size: 22px; }
  .commission-number { font-size: 84px; }
  .commission-label, .commission-basis { font-size: 13px; }
  .agreed-fee { font-size: 38px; }
  .overview-visual { font-size: 28px; }
  .card-summary { font-size: 13px; margin-bottom: 18px; }
  .action { font-size: 12px; min-height: 44px; padding: 12px 10px; }
  .terms-note { margin: 20px 27px 0; font-size: 12px; max-width: 350px; line-height: 1.65; }
  .terms-note button { font-size: 11px; margin-top: 6px; }
  .deck-hint { margin-top: 16px; }
  .modal-inner { padding: 24px; }
  .modal h2 { font-size: 23px; }
}
@media (max-height: 680px) and (min-width: 901px) {
  :root { --card-h: 400px; }
  .experience { padding-block: 24px; }
  .card-inner { padding-top: 22px; padding-bottom: 22px; }
  .card-summary { margin-bottom: 14px; }
  .ship-stage { min-height: 80px; margin-block: 4px 8px; }
  .commission-offer { margin-bottom: 8px; min-height: 44px; }
  .commission-visual { min-height: 120px; }
}
@media (max-width: 420px) {
  .language-control { gap: 5px; padding-inline: 8px; }
  .language-control select { width: 67px; }
  .header-actions { gap: 5px; }
  .navigation button { font-size: 11px; padding-inline: 9px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; }
}
@media (max-width: 360px) {
  .header { left: 14px; right: 14px; }
  .home-link { gap: 6px; }
  .home-mark { width: 40px; height: 40px; }
  .home-copy { max-width: 50px; font-size: 9px; }
  .navigation button { padding-inline: 8px; }
  .card-inner { padding: 24px 19px; }
  .card-inner h2 { font-size: 21px; }
  .card-summary { font-size: 14px; }
  .commission-number { font-size: 78px; }
  .agreed-fee { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
