:root {
  --bg: #26262a; /* right panel — dark grey */
  --surface: #2e2e34;
  --text: #fafafa;
  --text-secondary: #a1a1aa;
  --border: #3f3f46;
  --accent: #fafafa;
  --accent-hover: #e4e4e7;
  --radius: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout: brand | divider | flow */
.layout {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  min-height: 100vh;
}

/* Brand panel — darker grey */
.brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  background: #141416;
}

.logo {
  color: #fafafa;
}

.tagline {
  max-width: 320px;
  font-size: 15px;
  line-height: 1.6;
  color: #a1a1aa;
}

.tagline a {
  color: #4caf50;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s ease;
}

.tagline a:hover {
  opacity: 0.8;
}

.divider {
  background: var(--border);
}

/* Flow panel */
.flow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-self: center;
  width: 100%;
  max-width: 440px;
  padding: 48px;
}

.flow-header h1 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.flow-header .sub {
  margin-top: 8px;
  margin-bottom: 32px;
  font-size: 15px;
  color: var(--text-secondary);
}

/* Dropdown */
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  width: 100%;
  padding: 13px 44px 13px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.select-wrap select:hover {
  border-color: #52525b;
}

.select-wrap select:focus {
  outline: none;
  border-color: #fafafa;
  box-shadow: 0 0 0 3px rgba(250, 250, 250, 0.12);
}

.chevron {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
}

/* CTA — appears once a platform is selected */
.cta {
  margin-top: 24px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #18181b;
  text-decoration: none;
  background: var(--accent);
  border-radius: var(--radius);
  cursor: grab;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
  cursor: grabbing;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hint {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Stack on smaller screens */
@media (max-width: 860px) {
  .layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1px 1fr;
  }

  .brand {
    min-height: 40vh;
    padding: 32px 24px;
  }

  .flow {
    padding: 40px 24px 64px;
    justify-content: flex-start;
  }
}
