:root {
  color-scheme: light;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #250c01;
  background: #fff7f1;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #fff7f1;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background:
    linear-gradient(rgba(168, 141, 128, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 141, 128, 0.1) 1px, transparent 1px),
    #fff7f1;
  background-size: 72px 72px;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #fff7f1;
  background: #250c01;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1440px, 100%);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 24px clamp(16px, 4vw, 64px) 20px;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar {
  min-height: 72px;
  padding: 4px 0 20px;
}

.brand-logo {
  display: block;
  width: 205px;
  height: auto;
}

.build-status {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid #e4cfc1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.7);
}

.build-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5500;
  box-shadow: 0 0 0 4px rgba(255, 85, 0, 0.14);
}

.stage {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(720px, calc(100dvh - 150px));
  overflow: hidden;
  grid-template-columns: minmax(0, 1.38fr) minmax(360px, 0.72fr);
  border: 1px solid #d9bfb0;
  border-radius: 36px;
  background: #ff5500;
  box-shadow: 0 28px 80px rgba(71, 23, 3, 0.15);
}

.stage::before {
  position: absolute;
  z-index: -1;
  inset: 0 36% 0 0;
  content: '';
  opacity: 0.38;
  background:
    radial-gradient(ellipse 36px 23px at 12% 14%, rgba(255, 247, 241, 0.45) 0 94%, transparent 100%),
    radial-gradient(ellipse 46px 28px at 37% 8%, rgba(255, 247, 241, 0.33) 0 94%, transparent 100%),
    radial-gradient(ellipse 40px 25px at 64% 19%, rgba(255, 247, 241, 0.35) 0 94%, transparent 100%),
    radial-gradient(ellipse 52px 31px at 86% 11%, rgba(255, 247, 241, 0.34) 0 94%, transparent 100%),
    radial-gradient(ellipse 45px 27px at 22% 43%, rgba(255, 247, 241, 0.35) 0 94%, transparent 100%),
    radial-gradient(ellipse 38px 24px at 52% 54%, rgba(255, 247, 241, 0.32) 0 94%, transparent 100%),
    radial-gradient(ellipse 50px 30px at 79% 39%, rgba(255, 247, 241, 0.34) 0 94%, transparent 100%),
    radial-gradient(ellipse 44px 28px at 10% 79%, rgba(255, 247, 241, 0.32) 0 94%, transparent 100%),
    radial-gradient(ellipse 54px 32px at 43% 87%, rgba(255, 247, 241, 0.36) 0 94%, transparent 100%),
    radial-gradient(ellipse 40px 25px at 78% 74%, rgba(255, 247, 241, 0.3) 0 94%, transparent 100%);
}

.announcement {
  display: flex;
  max-width: 850px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(40px, 7vw, 96px);
}

.eyebrow,
.access-kicker {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 9px 13px;
  border: 1px solid rgba(37, 12, 1, 0.24);
  border-radius: 999px;
  background: rgba(255, 194, 39, 0.78);
}

h1,
h2,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 5.6vw, 82px);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 690px;
  margin: 30px 0 0;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.65;
}

.signal-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.exchange-mark {
  font-weight: 500;
}

.workstream {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.workstream li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.workstream li span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(37, 12, 1, 0.3);
  border-radius: 50%;
  font-size: 10px;
}

.access-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  margin: 22px;
  padding: clamp(30px, 4.2vw, 58px);
  border: 1px solid rgba(37, 12, 1, 0.14);
  border-radius: 26px;
  background:
    linear-gradient(rgba(228, 207, 193, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228, 207, 193, 0.18) 1px, transparent 1px),
    rgba(255, 247, 241, 0.98);
  background-size: 48px 48px;
  box-shadow: 0 24px 60px rgba(71, 23, 3, 0.17);
}

.access-kicker {
  color: #c33f00;
}

.access-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.access-heading > p:last-child {
  margin: 18px 0 0;
  color: #65483b;
  font-size: 15px;
  line-height: 1.65;
}

form {
  margin-top: 34px;
}

label {
  display: block;
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.password-field {
  position: relative;
}

input {
  width: 100%;
  min-height: 54px;
  padding: 13px 108px 13px 16px;
  border: 1px solid #a88d80;
  border-radius: 12px;
  color: #250c01;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:hover {
  border-color: #715549;
}

input:focus-visible {
  border-color: #ff5500;
  box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.2);
}

.toggle-password {
  position: absolute;
  top: 5px;
  right: 5px;
  min-width: 92px;
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  color: #65483b;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.toggle-password:hover {
  color: #250c01;
  background: #fff0e5;
}

.toggle-password:focus-visible,
.submit-button:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid #ff5500;
  outline-offset: 3px;
}

.field-hint,
.form-error,
.noscript-message,
.privacy-note {
  font-size: 12px;
  line-height: 1.5;
}

.field-hint {
  margin: 8px 0 0;
  color: #715549;
}

.form-error {
  min-height: 18px;
  margin: 8px 0 0;
  color: #9d271b;
  font-weight: 700;
}

.submit-button {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 13px 18px;
  border: 1px solid #ff5500;
  border-radius: 12px;
  color: #250c01;
  background: #ff5500;
  font-weight: 800;
  transition: background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.submit-button:hover:not(:disabled) {
  border-color: #ff7f00;
  background: #ff7f00;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.noscript-message {
  padding: 12px;
  border: 1px solid #a88d80;
  border-radius: 10px;
}

.privacy-note {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid #e4cfc1;
  color: #715549;
}

.footer {
  min-height: 56px;
  color: #715549;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .stage {
    grid-template-columns: 1fr;
  }

  .stage::before {
    inset: 0 0 42% 0;
  }

  .announcement {
    max-width: none;
    min-height: 540px;
  }

  .access-card {
    min-height: 500px;
  }
}

@media (max-width: 640px) {
  body {
    background-size: 48px 48px;
  }

  .shell {
    padding: 12px 12px 16px;
  }

  .topbar {
    min-height: 66px;
    padding: 2px 4px 12px;
  }

  .brand-logo {
    width: 154px;
  }

  .build-status {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 10px;
  }

  .stage {
    min-height: auto;
    border-radius: 26px;
  }

  .announcement {
    min-height: 550px;
    padding: 38px 24px 44px;
  }

  .eyebrow {
    margin-bottom: 26px;
    font-size: 10px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .lead {
    margin-top: 26px;
    font-size: 16px;
    line-height: 1.6;
  }

  .signal-line {
    margin-top: 30px;
  }

  .workstream {
    display: grid;
    margin-top: 30px;
  }

  .access-card {
    min-height: 480px;
    margin: 0 10px 10px;
    padding: 32px 22px;
    border-radius: 20px;
  }

  .footer {
    align-items: flex-start;
    padding: 16px 4px 0;
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 390px) {
  .build-status {
    overflow: hidden;
    width: 32px;
    justify-content: center;
    padding: 0;
    color: transparent;
    white-space: nowrap;
  }

  .build-status span {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
