@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  font-family: 'DM Sans', sans-serif;
  color: #f4f6fb;
  background: #080b14;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 74% 28%, rgba(39, 78, 178, .18), transparent 38rem),
    radial-gradient(ellipse at 8% 92%, rgba(32, 70, 159, .11), transparent 32rem),
    #080b14;
}

.language-gate {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  text-align: center;
}

.gate-logo { width: 76px; height: 76px; margin-bottom: 24px; border-radius: 20px; object-fit: cover; }
.gate-eyebrow { margin: 0 0 14px; color: #8eafff; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.language-gate h1 { font-size: clamp(29px, 5vw, 42px); line-height: 1.35; letter-spacing: -.045em; }
.language-gate h1 span { color: #7d8ba6; font-weight: 500; }
.gate-options { display: flex; gap: 12px; margin-top: 34px; }
.gate-button {
  display: flex;
  min-width: 160px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
  color: #f4f6fb;
  font: 500 14px 'DM Sans', sans-serif;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.gate-button span { color: #8eafff; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.gate-button:hover { transform: translateY(-2px); border-color: rgba(89, 139, 255, .65); background: rgba(57, 101, 201, .12); }
.gate-button:focus-visible { outline: 2px solid #5788ff; outline-offset: 3px; }

.page-shell {
  width: min(100% - 64px, 1120px);
  min-height: 100vh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.055em;
}

.brand img { width: 35px; height: 35px; border-radius: 9px; object-fit: cover; }
.brand-accent, .brand-dot { color: #4d8fff; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #a6aec0;
  font-size: 13px;
}

.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #697386; }

.notice {
  width: min(100%, 750px);
  margin: auto;
  padding-block: 100px 110px;
}

.language-select {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  margin-bottom: 40px;
  color: #596477;
  font-size: 12px;
}

.language-button {
  border: 0;
  padding: 5px 2px;
  background: transparent;
  color: #818b9f;
  font: inherit;
  cursor: pointer;
}

.language-button:hover, .language-button:focus-visible, .language-button.is-active { color: #8eafff; }
.language-button:focus-visible { outline: 1px solid #5788ff; outline-offset: 3px; border-radius: 2px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: #8eafff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow-line { width: 25px; height: 1px; background: #5788ff; }

h1 {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.08;
  letter-spacing: -.065em;
  font-weight: 700;
}

h1 span {
  color: #7d8ba6;
  font-weight: 500;
}

.intro {
  max-width: 520px;
  margin: 25px 0 0;
  color: #aab2c2;
  font-size: 17px;
  line-height: 1.75;
}

.rule { height: 1px; margin: 42px 0 30px; background: rgba(255, 255, 255, .1); }

.history { display: flex; align-items: flex-start; gap: 17px; }
.history-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(89, 139, 255, .38);
  border-radius: 50%;
  background: rgba(57, 101, 201, .12);
}
.history-mark span { width: 8px; height: 8px; border-radius: 50%; background: #6b9cff; box-shadow: 0 0 16px rgba(92, 145, 255, .75); }
.history-label { margin: 1px 0 5px; color: #8993a7; font-size: 13px; }
.history-date { margin: 0; color: #f0f3fa; font-size: 17px; font-weight: 600; }
.project-note { margin: 25px 0 0; color: #8993a7; font-size: 13px; line-height: 1.65; }
.thanks { margin: 36px 0 0; color: #aab2c2; font-size: 15px; }

.footer {
  display: flex;
  gap: 10px;
  padding-block: 23px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #747e91;
  font-size: 12px;
}
.footer-separator { color: #4a5261; }

@media (max-width: 600px) {
  .gate-options { width: min(100%, 340px); flex-direction: column; }
  .gate-button { width: 100%; }
  .page-shell { width: min(100% - 40px, 1120px); }
  .topbar { padding-block: 20px; }
  .brand { gap: 8px; font-size: 15px; }
  .brand img { width: 30px; height: 30px; }
  .status { font-size: 12px; }
  .notice { padding-block: 82px; }
  .intro { font-size: 16px; }
}

@media (prefers-reduced-motion: no-preference) {
  .notice { animation: arrive .65s ease-out both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}
