:root {
  color-scheme: dark;
  --ink: #fff7e8;
  --muted: #d8c6e8;
  --panel: #26183f;
  --panel-deep: #1b102e;
  --line: rgba(239, 149, 205, 0.4);
  --pink: #ff70ad;
  --gold: #f3bd45;
  --teal: #35c5b1;
  font-family: Inter, ui-rounded, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 15%, rgba(121, 54, 159, 0.4), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(28, 121, 131, 0.28), transparent 38%),
    #110b1f;
}

button, input, a { font: inherit; }

.page-shell {
  min-height: calc(100vh - 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.75fr);
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(32px, 6vw, 92px);
}

.hero-visual,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-visual {
  background: url('/assets/welcome-creative-sandbox.webp') center / cover no-repeat;
  transform: scale(1.015);
}

.hero-shade {
  background: linear-gradient(90deg, rgba(17, 8, 34, 0.78) 0%, rgba(25, 12, 48, 0.26) 60%, rgba(17, 8, 34, 0.16) 100%);
}

.hero-copy {
  position: relative;
  width: min(570px, 100%);
  text-shadow: 0 2px 18px rgba(22, 7, 44, 0.46);
}

.brand-logo {
  display: block;
  width: min(300px, 65vw);
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 8px 18px rgba(38, 16, 76, 0.38));
}

.eyebrow,
.panel-kicker {
  margin: 0 0 10px;
  color: #ffacd0;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero-text {
  max-width: 540px;
  margin: 24px 0 30px;
  color: #fff4ed;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
}

.primary-action {
  min-width: 250px;
  flex-direction: column;
  padding: 14px 24px;
  color: #281939;
  background: var(--gold);
  border: 1px solid #ffd978;
  box-shadow: 0 10px 28px rgba(56, 24, 68, 0.34);
}

.primary-action small { margin-top: 2px; font-size: 0.73rem; opacity: 0.72; }
.primary-action[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

.secondary-action {
  margin-left: 10px;
  padding: 14px 18px;
  color: var(--ink);
  border: 1px solid rgba(255, 247, 232, 0.55);
  background: rgba(38, 24, 63, 0.5);
}

.primary-action:hover,
.secondary-action:hover,
button:hover { transform: translateY(-1px); }

.account-panel {
  position: relative;
  align-self: stretch;
  padding: clamp(36px, 5vw, 76px) clamp(28px, 4vw, 64px);
  background: linear-gradient(180deg, rgba(44, 27, 70, 0.98), rgba(28, 17, 47, 0.99));
  border-left: 1px solid var(--line);
  box-shadow: -18px 0 50px rgba(12, 6, 22, 0.25);
}

.site-language-control{position:absolute;top:18px;right:20px;display:flex;gap:6px}.site-language-control button{margin:0;width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;display:grid;place-items:center;background:#38224f;color:var(--ink);border:1px solid #765488;font-size:16px}.site-language-control button span{display:none}.site-language-control button.is-active{background:var(--gold);color:#281939;border-color:#ffd77b;box-shadow:0 0 0 2px #f3bd4540}.site-language-control button:focus-visible{outline:3px solid #ff70ad;outline-offset:2px}

.panel-header { display: flex; align-items: center; gap: 14px; }
.panel-header img { border-radius: 11px; }
.panel-header h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.08; }
.panel-kicker { margin-bottom: 5px; }
.panel-intro { margin: 28px 0; color: var(--muted); line-height: 1.55; }

form { display: grid; }
label { margin: 15px 0 7px; font-size: 0.9rem; font-weight: 750; }

input {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(222, 184, 239, 0.32);
  border-radius: 10px;
  outline: none;
}

input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 112, 173, 0.15); }
input::placeholder { color: #9f8caf; }
.field-help { margin: 6px 0 0; color: #a994ba; font-size: 0.74rem; }

button {
  margin-top: 22px;
  min-height: 48px;
  color: #27163b;
  font-weight: 850;
  background: var(--gold);
  border: 1px solid #ffd77b;
  border-radius: 11px;
  cursor: pointer;
}

button:disabled { opacity: 0.55; cursor: wait; }
.account-message { min-height: 24px; margin: 12px 0 0; color: #ffb3d2; font-size: 0.86rem; }
.account-message.success { color: #72e2d1; }

.privacy-note {
  display: grid;
  gap: 4px;
  margin-top: 34px;
  padding: 16px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(222, 184, 239, 0.18);
  border-radius: 11px;
}

.privacy-note strong { color: var(--ink); }

footer {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 24px;
  color: #a995ba;
  font-size: 0.76rem;
  border-top: 1px solid rgba(222, 184, 239, 0.15);
  background: #110b1f;
}

@media (max-width: 900px) {
  .page-shell { grid-template-columns: 1fr; }
  .hero { min-height: 600px; }
  .account-panel { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .hero { min-height: 570px; padding: 28px 22px; }
  .hero-shade { background: linear-gradient(0deg, rgba(17, 8, 34, 0.9), rgba(17, 8, 34, 0.08)); }
  .primary-action, .secondary-action { width: 100%; }
  .secondary-action { margin: 10px 0 0; }
  .account-panel { padding: 34px 22px; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .primary-action, .secondary-action, button { transition: transform 140ms ease, filter 140ms ease; }
}
