:root {
  --bg: #f4f5ff;
  --surface: #ffffff;
  --dark: #17171c;
  --ink: #1d1e27;
  --muted: #707487;
  --line: #e5e8f2;
  --purple: #673de6;
  --purple-2: #5b31dc;
  --yellow: #ffcd35;
  --bad: #d14343;
  --good: #0f8f73;
  --focus-ring: rgba(255, 205, 53, 0.88);
  --shadow: 0 24px 70px rgba(23, 23, 28, 0.08);
  --shell: min(1280px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  background: linear-gradient(180deg, var(--dark) 0 360px, var(--bg) 360px 100%);
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: -64px;
  z-index: 120;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  background: white;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 12px;
}

input,
button {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.announcement-bar {
  min-height: 38px;
  padding: 8px 18px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  background: var(--yellow);
  color: #161616;
  text-align: center;
  font-size: 13px;
}

.announcement-copy {
  font-weight: 700;
}

.announcement-timer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}

.announcement-timer span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.announcement-timer strong,
.announcement-bar a {
  font-weight: 800;
}

.announcement-timer small {
  font-size: 11px;
  font-weight: 700;
}

.announcement-bar a {
  text-decoration: none;
}

.site-header {
  background: var(--dark);
  color: white;
  padding-bottom: 64px;
}

.nav-shell,
.page-shell {
  width: var(--shell);
  margin: 0 auto;
}

.topbar {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 26px;
  height: 26px;
  position: relative;
  display: inline-block;
}

.brand-mark i {
  position: absolute;
  display: block;
  background: white;
}

.brand-mark i:nth-child(1) {
  left: 0;
  top: 0;
  width: 9px;
  height: 11px;
  transform: skewY(18deg);
}

.brand-mark i:nth-child(2) {
  left: 11px;
  top: 6px;
  width: 13px;
  height: 6px;
}

.brand-mark i:nth-child(3) {
  left: 0;
  bottom: 0;
  width: 19px;
  height: 8px;
  clip-path: polygon(0 0, 64% 0, 100% 100%, 0 100%);
}

.brand-word,
h1,
h2 {
  font-family: "Sora", sans-serif;
}

.brand-word {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.top-links a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 16px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.locale-pill,
.account-button {
  min-height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 700;
}

.locale-pill {
  gap: 10px;
  color: white;
}

.locale-flag {
  width: 24px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, transparent 25%, #f7d246 25% 75%, transparent 75%),
    linear-gradient(0deg, #1f8f4f, #1f8f4f);
  position: relative;
}

.locale-flag::after {
  content: "";
  position: absolute;
  inset: 4px 8px;
  border-radius: 999px;
  background: #243f92;
}

.account-button {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: white;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding-top: 18px;
}

.toolbar-field {
  min-height: 76px;
  padding: 0 18px;
  border-radius: 18px;
  background: white;
  display: flex;
  align-items: center;
  gap: 16px;
}

.toolbar-icon {
  width: 18px;
  height: 18px;
  border: 2px solid #7e8194;
  border-radius: 999px;
  position: relative;
  flex: none;
}

.toolbar-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  background: #7e8194;
  border-radius: 999px;
  transform: rotate(45deg);
}

.toolbar-field input {
  width: 100%;
  border: none;
  outline: none;
  color: var(--ink);
  font-size: 18px;
  background: transparent;
}

.toolbar-button,
.button {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
}

.toolbar-button {
  min-width: 156px;
  min-height: 76px;
  color: white;
  background: linear-gradient(90deg, var(--purple), #7d55f8);
  box-shadow: 0 18px 36px rgba(103, 61, 230, 0.28);
}

.toolbar-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
  font-size: 15px;
}

.login-stage {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
  gap: 22px;
  align-items: stretch;
}

.visual-card,
.login-card {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.visual-card {
  min-height: 620px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(0deg, rgba(10, 10, 12, 0.7), rgba(10, 10, 12, 0.26)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.eyebrow,
.eyebrow-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow-light {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.12);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple);
  background: rgba(103, 61, 230, 0.12);
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(44px, 6vw, 70px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.02;
  color: var(--ink);
}

.visual-card h1,
.visual-text,
.visual-points span {
  color: white;
}

.visual-text,
.lede {
  font-size: 18px;
  line-height: 1.62;
}

.visual-text {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.86);
}

.visual-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.visual-points span {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.login-card {
  padding: 34px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  align-self: center;
}

.lede {
  margin: 12px 0 24px;
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

.login-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.button {
  border: none;
  color: white;
  cursor: pointer;
  background: linear-gradient(90deg, var(--purple), var(--purple-2));
  box-shadow: 0 18px 34px rgba(103, 61, 230, 0.22);
}

.status-message {
  min-height: 22px;
  margin: 0;
  color: var(--bad);
}

.status-message.good {
  color: var(--good);
}

.login-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.login-footer a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 1180px) {
  .topbar,
  .toolbar,
  .login-stage {
    grid-template-columns: 1fr;
  }

  .top-links,
  .nav-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .announcement-bar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px;
  }

  .announcement-timer {
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-shell,
  .page-shell {
    width: min(100vw - 16px, 1280px);
  }

  .toolbar-field,
  .toolbar-button {
    min-height: 62px;
  }

  .visual-card,
  .login-card {
    padding: 24px;
  }

  .visual-card {
    min-height: 420px;
  }

  .login-footer {
    flex-direction: column;
  }
}

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