@import url("https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&family=Inter:wght@300;400;600;700;800;900&display=swap");

:root {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
  --bg: #050505;
  --ink: #ffffff;
  --muted: #a3a3a3;
  --soft: #707070;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(10, 10, 10, 0.72);
  --panel-strong: rgba(17, 17, 17, 0.92);
  --danger: #ff4d4d;
  --success: #77dd88;
  --vh: 1vh;
}

* {
  box-sizing: border-box;
}

.sr-only,
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.hp-field {
  left: -9999px !important;
}

html {
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.66), rgba(5, 5, 5, 0.34) 48%, rgba(5, 5, 5, 0.62)),
    radial-gradient(circle at 50% 44%, rgba(5, 5, 5, 0.2), rgba(5, 5, 5, 0.72) 68%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  background-image: url("./assets/cby-monogram-updated.png");
  background-repeat: no-repeat;
  background-position: center 46%;
  background-size: clamp(900px, 72vw, 1500px) auto;
  opacity: 0.13;
  mix-blend-mode: screen;
  pointer-events: none;
  user-select: none;
}

.scene-art {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  opacity: 0.82;
  filter: brightness(1.12) contrast(1.04);
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
}

body[data-lang="ar"] .hero-lockup,
body[data-lang="ar"] .hero-panel,
body[data-lang="ar"] .application-shell,
body[data-lang="ar"] .confirmation-panel {
  direction: rtl;
  text-align: right;
  font-family: Tahoma, Arial, sans-serif;
}

input[type="email"],
input[inputmode="email"],
input[name="whatsapp"] {
  direction: ltr;
  text-align: left;
}

body[data-lang="ar"] h1 {
  line-height: 1.05;
}

body[data-lang="ar"] .onboarding-title {
  font-size: 3.55rem;
}

body.home-page[data-lang="ar"] .hero-lockup {
  direction: ltr;
  text-align: center;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.home-page[data-lang="ar"] .home-title {
  direction: ltr;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 0.78;
}

body.home-page[data-lang="ar"] .input-row {
  direction: ltr;
}

body.home-page[data-lang="ar"] .hero-copy,
body.home-page[data-lang="ar"] .eyebrow,
body.home-page[data-lang="ar"] .waitlist-success {
  direction: rtl;
  font-family: Tahoma, Arial, sans-serif;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow-x: clip;
}

.home-page {
  height: 100vh;
  height: calc(var(--vh) * 100);
  min-height: 100svh;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: manipulation;
}

.home-page .site-shell {
  height: 100vh;
  height: calc(var(--vh) * 100);
  min-height: 100svh;
  overflow: hidden;
}

.site-header {
  width: 100%;
  margin: 0;
  direction: ltr;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 3.2vw, 34px) clamp(20px, 4vw, 56px);
}

.brand-mark {
  display: block;
  width: clamp(64px, 7vw, 92px);
  height: auto;
}

.lang-toggle {
  flex: 0 0 auto;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.44);
  border-radius: 8px;
  overflow: hidden;
  direction: ltr;
}

.lang-toggle button,
.segment button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 10px 14px;
  cursor: pointer;
}

.lang-toggle button[aria-pressed="true"],
.segment button[aria-pressed="true"] {
  background: var(--ink);
  color: #000000;
}

.hero-minimal {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 0;
  padding: 0 0 clamp(24px, 5vh, 72px);
  transform: translateY(-7vh);
}

.hero-lockup {
  max-width: 820px;
  text-align: center;
}

.home-title {
  direction: ltr;
  margin-left: auto;
  margin-right: auto;
  white-space: pre-line;
  font-size: clamp(5.6rem, 9.1vw, 10rem);
  line-height: 0.78;
  max-width: 100%;
}

.home-page[data-lang="ar"] .hero-lockup {
  direction: ltr;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(3.3rem, 7.1vw, 5.6rem);
  line-height: 0.91;
  font-weight: 950;
  text-transform: uppercase;
}

.home-title {
  max-width: 760px;
}

.hero-copy {
  max-width: 660px;
  margin: 28px auto 0;
  color: #e0e0e0;
  font-size: 1.16rem;
  line-height: 1.68;
}

.waitlist-form,
.application-form {
  margin-top: 34px;
}

.waitlist-stage {
  position: relative;
  width: min(100%, 700px);
  min-height: 106px;
  margin: 34px auto 0;
}

.waitlist-stage .waitlist-form {
  margin-top: 0;
}

.waitlist-form {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.waitlist-form.is-submitted {
  opacity: 0;
  transform: translateY(-2px) scale(0.996);
  filter: blur(1px);
  pointer-events: none;
}

.input-row {
  display: flex;
  flex-direction: row;
  width: min(100%, 700px);
  gap: 12px;
  margin: 0 auto;
}

.waitlist-form .input-row {
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.waitlist-form.is-submitted .input-row {
  opacity: 0;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  font: inherit;
  font-size: 1.03rem;
  padding: 15px 16px;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
  opacity: 1;
}

.application-form textarea::placeholder {
  line-height: 1.45;
}

.waitlist-form input {
  font-family: "Courier Prime", ui-monospace, SFMono-Regular, Consolas, monospace;
  text-align: center;
  flex: 1 1 auto;
  min-width: 0;
  border-color: rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  min-height: 68px;
  font-size: 1.13rem;
  caret-color: #ffffff;
}

.waitlist-form input::placeholder {
  opacity: 1;
}

.waitlist-form input:focus::placeholder {
  color: transparent !important;
  opacity: 0 !important;
}

.waitlist-form.is-invalid input {
  border-color: rgba(255, 77, 77, 0.9);
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.13);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select,
.field.is-invalid .segment,
.field.is-invalid .phone-input {
  border-color: rgba(255, 77, 77, 0.9);
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.13);
}

.field.is-invalid label,
.field.is-invalid .field-label {
  color: #ffb3b3;
}

.consent-row.is-invalid input {
  outline: 2px solid rgba(255, 77, 77, 0.9);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.14);
}

button.primary,
a.primary,
a.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #000000;
  font: inherit;
  font-size: 1.03rem;
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 18px;
  cursor: pointer;
  white-space: nowrap;
}

a.secondary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.07);
  color: #f4f4f4;
}

.waitlist-form button.primary {
  flex: 0 0 230px;
  border-radius: 8px;
  min-height: 68px;
  width: auto;
}

button.primary:hover,
a.primary:hover {
  background: #d9d9d9;
}

button.primary:focus-visible,
a.primary:focus-visible {
  background: #ffffff;
}

button.primary:disabled,
button.primary[aria-disabled="true"] {
  cursor: wait;
  background: rgba(255, 255, 255, 0.82);
  color: rgba(0, 0, 0, 0.76);
}

.is-submitted-success button.primary:disabled,
.is-submitted-success button.primary[aria-disabled="true"] {
  cursor: default;
  background: rgba(255, 255, 255, 0.66);
}

a.secondary:hover,
a.secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.12);
}

a[aria-disabled="true"] {
  opacity: 0.56;
  pointer-events: none;
}

.microcopy {
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.form-note {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  transition: color 180ms ease, opacity 180ms ease;
}

.form-note.is-loading {
  color: #d7d7d7;
}

.form-note.success {
  color: var(--success);
}

.form-note.error {
  color: var(--danger);
}

.waitlist-success {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  max-width: 620px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(4px);
  color: var(--ink);
  text-align: center;
  pointer-events: none;
  transition:
    opacity 780ms cubic-bezier(0.22, 1, 0.36, 1) 260ms,
    transform 780ms cubic-bezier(0.22, 1, 0.36, 1) 260ms;
}

.waitlist-success.visible {
  opacity: 1;
  transform: translateY(0);
}

.waitlist-success strong,
.waitlist-success span {
  display: block;
}

.waitlist-success strong {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 950;
  text-transform: uppercase;
}

.waitlist-success span {
  margin-top: 8px;
  color: #c8c8c8;
  font-size: 0.96rem;
  line-height: 1.5;
}

.site-footer {
  width: 100%;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px clamp(20px, 4vw, 56px) calc(18px + env(safe-area-inset-bottom));
  color: #5d5d5d;
  font-size: clamp(0.68rem, 1.8vw, 0.82rem);
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  direction: ltr;
}

.footer-brand {
  color: #595959;
  letter-spacing: 0.2em;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #777;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 2px;
  color: inherit;
  text-decoration: none;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  color: #cfcfcf;
}

.onboarding-main {
  width: min(1180px, calc(100% - 40px));
  max-width: 100%;
  margin: 0 auto;
  padding: 42px 0 82px;
}

.onboarding-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 44px;
  align-items: start;
}

.hero-panel {
  padding-top: 34px;
}

.route-badge {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
  color: #d6d6d6;
  background: rgba(0, 0, 0, 0.42);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.onboarding-title {
  margin-top: 22px;
  font-size: 4.35rem;
}

.section-band {
  margin-top: 42px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.section-band h2 {
  margin: 0 0 18px;
  font-size: 1.38rem;
  text-transform: uppercase;
}

.video-band {
  display: grid;
  gap: 18px;
}

.video-kicker {
  display: inline-flex;
  margin-bottom: 9px;
  color: #bdbdbd;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.video-band .hero-copy {
  max-width: 660px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: min(100%, 720px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.035)),
    rgba(8, 8, 8, 0.44);
  backdrop-filter: blur(18px) saturate(138%);
  -webkit-backdrop-filter: blur(18px) saturate(138%);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 38%),
    radial-gradient(circle at 28% 12%, rgba(255, 255, 255, 0.14), transparent 30%);
  opacity: 0.72;
  pointer-events: none;
}

.video-frame-art {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.54)),
    url("./assets/performance-scene.png") center / cover;
  filter: grayscale(1);
}

.video-frame-art::after {
  content: "CAMP 001 BRIEFING";
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.82rem, 1.45vw, 1.08rem);
  font-weight: 950;
  letter-spacing: 0.14em;
}

.play-mark {
  position: relative;
  width: clamp(62px, 8.2vw, 92px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.play-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid #ffffff;
  transform: translate(-42%, -50%);
}

.briefing-card .play-mark {
  width: clamp(52px, 7vw, 76px);
  border-radius: 8px;
}

.briefing-card .play-mark::before {
  content: "";
  position: absolute;
  inset: 16px 18px;
  border-top: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
}

.briefing-card .play-mark::after {
  display: none;
}

.video-duration {
  position: absolute;
  right: 16px;
  bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.58);
  color: #f4f4f4;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 7px 9px;
  text-transform: uppercase;
}

.video-caption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 14px 16px;
}

.video-caption strong {
  color: #ffffff;
  font-size: 0.96rem;
  text-transform: uppercase;
}

.video-caption span {
  color: #bdbdbd;
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: right;
}

.video-actions {
  display: flex;
  justify-content: flex-start;
}

.video-actions .primary {
  min-width: min(100%, 260px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
}

.feature {
  position: relative;
  overflow: hidden;
  min-height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(8, 8, 8, 0.42);
  backdrop-filter: blur(14px) saturate(132%);
  -webkit-backdrop-filter: blur(14px) saturate(132%);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  padding: 14px;
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent 44%);
  opacity: 0.28;
  pointer-events: none;
}

.feature strong,
.feature span {
  position: relative;
  z-index: 1;
}

.feature strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.feature span {
  color: #b9b9b9;
  font-size: 0.98rem;
  line-height: 1.52;
}

.application-shell {
  position: sticky;
  top: 18px;
  scroll-margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  padding: 22px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
  max-width: 100%;
  overflow-x: clip;
}

.application-shell.is-attention {
  animation: applicationAttention 1150ms ease-out;
}

@keyframes applicationAttention {
  0% {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
  }
  24% {
    border-color: rgba(255, 255, 255, 0.68);
    box-shadow:
      0 20px 48px rgba(0, 0, 0, 0.42),
      0 0 0 4px rgba(255, 255, 255, 0.12);
  }
  100% {
    border-color: var(--line);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
  }
}

.application-shell h2 {
  margin: 0;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.application-shell p {
  margin: 8px 0 0;
  color: #bdbdbd;
  font-size: 1.03rem;
  line-height: 1.58;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.phone-input {
  display: grid;
  position: relative;
  grid-template-columns: minmax(176px, 0.36fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  isolation: isolate;
}

.phone-input select,
.phone-code-button,
.phone-input input {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone-code-button {
  appearance: none;
  min-width: 0;
  min-height: 54px;
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border-right: 1px solid var(--line);
  color: #efefef;
  font: inherit;
  font-size: 1rem;
  font-weight: 850;
  padding: 14px 12px;
  cursor: pointer;
  text-align: left;
}

.phone-code-button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(255, 255, 255, 0.72);
  border-bottom: 2px solid rgba(255, 255, 255, 0.72);
  transform: translateY(-2px) rotate(45deg);
}

.phone-code-button[aria-expanded="true"]::after {
  transform: translateY(2px) rotate(225deg);
}

.phone-flag {
  font-size: 1.15rem;
  line-height: 1;
}

.phone-code-label {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.phone-code-menu {
  position: absolute;
  z-index: 12;
  top: calc(100% + 8px);
  left: 0;
  width: min(420px, 100%);
  max-height: 292px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(9, 9, 9, 0.96);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.5);
  padding: 6px;
}

.phone-code-option {
  width: 100%;
  min-height: 44px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #d8d8d8;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 750;
  padding: 9px 10px;
  text-align: left;
  cursor: pointer;
}

.phone-code-option:hover,
.phone-code-option:focus-visible,
.phone-code-option[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.phone-option-country {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-option-code {
  color: #a9a9a9;
  font-weight: 900;
}

.phone-input select {
  min-width: 0;
  border-right: 1px solid var(--line);
  padding-right: 8px;
  color: #dcdcdc;
}

.phone-input input {
  text-align: left;
}

.phone-input:focus-within {
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

body[data-lang="ar"] .phone-input {
  direction: ltr;
}

body[data-lang="ar"] .phone-input select {
  border-right: 1px solid var(--line);
  border-left: 0;
}

label,
.field-label {
  color: #d7d7d7;
  font-size: 0.94rem;
  font-weight: 800;
}

.segment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.segment input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segment label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  padding: 9px 6px;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.segment.three label {
  font-size: clamp(0.82rem, 1.15vw, 0.98rem);
}

.segment label:last-child {
  border-right: 0;
}

body[data-lang="ar"] .segment label {
  border-right: 0;
  border-left: 1px solid var(--line);
}

body[data-lang="ar"] .segment label:last-child {
  border-left: 0;
}

body[data-lang="ar"] .video-caption {
  direction: rtl;
}

body[data-lang="ar"] .video-caption span {
  text-align: left;
}

.segment input:checked + label {
  background: var(--ink);
  color: #000000;
}

.payment-segment {
  grid-template-columns: 1fr 1.22fr 0.82fr;
}

body[data-lang="ar"] .payment-segment {
  grid-template-columns: 0.82fr 1.22fr 1fr;
}

.price-note {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: #d8d8d8;
  background: rgba(255, 255, 255, 0.045);
  font-size: 1.02rem;
  line-height: 1.58;
}

.success-panel {
  display: none;
  margin-top: 18px;
  border: 1px solid rgba(119, 221, 136, 0.45);
  border-radius: 8px;
  padding: 16px;
  color: var(--success);
  background: rgba(119, 221, 136, 0.08);
  line-height: 1.5;
}

.success-panel.visible {
  display: block;
}

.application-form button.primary {
  margin-top: 26px;
}

.confirmation-main {
  width: min(920px, calc(100% - 40px));
}

.confirmation-panel {
  text-align: left;
}

.confirmation-panel h1 {
  margin-top: 22px;
}

.confirmation-panel p {
  max-width: 760px;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.confirmation-name {
  width: min(480px, 100%);
  margin-top: 22px;
}

.confirmation-name label {
  display: block;
  margin-bottom: 8px;
}

.confirmation-name input {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.confirmation-name.is-invalid input {
  border-color: rgba(255, 77, 77, 0.92);
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.14);
}

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

.step-card {
  min-height: 148px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 16px;
}

.step-card strong,
.step-card span {
  display: block;
}

.step-card strong {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1.04rem;
  text-transform: uppercase;
}

.step-card span {
  color: #bdbdbd;
  font-size: 1rem;
  line-height: 1.58;
}

.support-note {
  margin-top: 24px;
  color: #9a9a9a;
}

.consent-row {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #bdbdbd;
  font-size: 0.96rem;
  line-height: 1.52;
}

.consent-row input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #ffffff;
}

.legal-main {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 82px;
}

.legal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.82);
  padding: clamp(22px, 4vw, 42px);
}

.legal-panel h1 {
  font-size: clamp(2.1rem, 6vw, 4.2rem);
}

.legal-panel h2 {
  margin: 28px 0 10px;
  font-size: 1.12rem;
  text-transform: uppercase;
}

.legal-panel p,
.legal-panel li {
  color: #c8c8c8;
  font-size: 1.04rem;
  line-height: 1.7;
}

.legal-panel ul {
  padding-left: 20px;
}

.legal-main.confirmation-main {
  width: min(1060px, calc(100% - 40px));
  padding: clamp(6px, 1.4vh, 18px) 0 64px;
}

.confirmation-page {
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
}

.confirmation-page .site-shell {
  min-height: 100vh;
  min-height: 100svh;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.confirmation-page .legal-main.confirmation-main {
  min-height: 0;
  padding: 0;
  align-self: start;
}

.confirmation-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    rgba(8, 8, 8, 0.56);
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
}

.confirmation-page .confirmation-panel {
  padding: clamp(20px, 3vw, 34px);
  max-height: 100%;
  overflow: hidden;
}

.confirmation-page .confirmation-panel h1 {
  font-size: clamp(2.25rem, 4.7vw, 4rem);
  line-height: 0.9;
}

.confirmation-page .confirmation-panel p {
  line-height: 1.55;
}

.confirmation-page .confirmation-actions {
  margin-top: 20px;
}

.confirmation-page .section-band {
  margin-top: 28px;
  padding-top: 20px;
}

.confirmation-page .step-card {
  min-height: 118px;
  padding: 14px;
}

.confirmation-page .step-card span {
  line-height: 1.45;
}

.confirmation-page .support-note {
  margin-top: 16px;
}

.confirmation-page .site-footer {
  padding-top: 8px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

@media (min-width: 921px) and (min-height: 860px) {
  .confirmation-page {
    height: 100vh;
    height: 100svh;
    overflow: hidden;
  }

  .confirmation-page .site-shell {
    height: 100vh;
    height: 100svh;
    min-height: 0;
    overflow: hidden;
  }
}

.confirmation-actions .confirmation-action {
  min-height: 60px;
  gap: 10px;
  border-radius: 8px;
  padding: 16px 22px;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.confirmation-actions .whatsapp-action {
  background: #f4f4f4;
  color: #030303;
}

.confirmation-actions .training-action {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.88);
  color: #050505;
}

.confirmation-actions .training-action:hover,
.confirmation-actions .training-action:focus-visible,
.confirmation-actions .whatsapp-action:hover,
.confirmation-actions .whatsapp-action:focus-visible {
  background: #ffffff;
  color: #000000;
}

.confirmation-actions a[aria-disabled="true"] {
  opacity: 1;
}

.confirmation-actions .training-action.is-disabled,
.confirmation-actions .training-action.is-disabled:hover,
.confirmation-actions .training-action.is-disabled:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
  color: #d8d8d8;
  cursor: not-allowed;
  white-space: normal;
}

.confirmation-actions .training-action.is-disabled .action-icon {
  stroke: #d8d8d8;
}

.confirmation-actions .action-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.confirmation-actions .whatsapp-action .action-icon {
  fill: #25d366;
  stroke: #25d366;
  stroke-width: 0;
}

.confirmation-actions .training-action .action-icon {
  fill: none;
  stroke: #050505;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 920px) {
  h1 {
    font-size: 4rem;
  }

  .onboarding-title {
    font-size: 3.35rem;
  }

  .onboarding-hero {
    grid-template-columns: 1fr;
  }

  .application-shell {
    position: static;
  }

  .scene-art {
    opacity: 0.64;
    object-position: center center;
  }
}

@media (max-width: 620px) {
  body::after {
    background-position: center 42%;
    background-size: 152vw auto;
    opacity: 0.1;
  }

  .hero-minimal {
    width: min(1180px, calc(100% - 28px));
    max-width: calc(100% - 28px);
  }

  .site-shell,
  .site-header,
  .onboarding-main {
    width: 100vw;
    max-width: 100vw;
  }

  .onboarding-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .onboarding-hero,
  .hero-panel,
  .section-band,
  .video-band,
  .video-frame,
  .hero-copy {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .brand-mark {
    width: 56px;
  }

  h1,
  .onboarding-title {
    font-size: 3.05rem;
  }

  .home-page h1 {
    font-size: clamp(3.25rem, 15.7vw, 4.25rem);
    line-height: 0.82;
  }

  .hero-minimal {
    padding: 18px 0 24px;
    transform: translateY(-4vh);
  }

  .input-row {
    flex-direction: column;
  }

  button.primary,
  a.primary {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .feature-grid,
  .form-grid,
  .next-step-grid {
    grid-template-columns: 1fr;
  }

  .video-frame-art::after {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 120px);
  }

  .video-duration {
    right: 12px;
    bottom: 10px;
  }

  .video-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .video-caption span,
  body[data-lang="ar"] .video-caption span {
    text-align: inherit;
  }

  .video-actions .primary {
    width: 100%;
  }

  .confirmation-actions {
    flex-direction: column;
  }

  .site-footer {
    gap: 7px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }

  .home-page .hero-copy {
    margin-top: 16px;
    font-size: 0.92rem;
    line-height: 1.46;
  }

  .segment label {
    font-size: clamp(0.7rem, 3vw, 0.86rem);
    padding-left: 6px;
    padding-right: 6px;
    min-height: 52px;
  }

  .phone-input {
    grid-template-columns: minmax(168px, 0.54fr) minmax(0, 1fr);
  }

  .phone-code-button,
  .phone-input select,
  .phone-input input {
    font-size: 0.9rem;
    padding-left: 10px;
    padding-right: 10px;
  }

  .phone-code-menu {
    width: 100%;
    max-height: 248px;
  }

  .payment-segment,
  body[data-lang="ar"] .payment-segment {
    grid-template-columns: 1fr;
  }

  .payment-segment label,
  body[data-lang="ar"] .payment-segment label {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .payment-segment label:last-child,
  body[data-lang="ar"] .payment-segment label:last-child {
    border-bottom: 0;
  }

  .home-page .waitlist-stage {
    min-height: 140px;
    margin-top: 20px;
  }

  .home-page .waitlist-stage .waitlist-form {
    margin-top: 0;
  }

  .home-page .microcopy {
    display: none;
  }

  .home-page input,
  .home-page button.primary {
    min-height: 54px;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .waitlist-form button.primary {
    flex-basis: auto;
    width: 100%;
  }

  .home-page .form-note {
    min-height: 18px;
    margin-top: 8px;
    font-size: 0.76rem;
  }

  .footer-brand {
    font-size: 0.58rem;
  }

  .legal-links {
    gap: 4px 10px;
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-height: 720px) {
  .home-page h1 {
    font-size: clamp(2.8rem, 10vh, 4.5rem);
  }

  .home-page .hero-copy {
    margin-top: 16px;
  }

  .home-page .waitlist-stage {
    margin-top: 20px;
  }

  .home-page .site-footer {
    padding-top: 8px;
  }
}

@media (max-height: 640px) {
  .home-page .eyebrow {
    margin-bottom: 10px;
  }

  .home-page h1 {
    font-size: clamp(2.8rem, 14vh, 3.7rem);
  }

  .home-page .hero-copy {
    margin-top: 10px;
    font-size: 0.84rem;
  }

  .home-page .waitlist-stage {
    margin-top: 14px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .home-page .eyebrow,
  .home-page .hero-copy,
  .home-page .form-note {
    display: none;
  }

  .home-page h1 {
    font-size: clamp(2rem, 16vh, 3rem);
  }

  .home-page .waitlist-stage {
    margin-top: 10px;
  }

  .home-page .input-row {
    flex-direction: column;
  }
}
