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

:root {
  --bg: #ffffff;
  --surface: #f5f3ef;
  --border: #e0dbd0;
  --border-hover: #c8c0b0;
  --text: #1a1818;
  --text-muted: #999;
  --accent: #a07830;
  --accent-light: #c8a86b;
  --radius: 3px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Assistant', sans-serif;
  font-weight: 300;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ── Header ─────────────────────────────── */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo img {
  display: block;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  overflow: hidden;
}

.lang-btn {
  padding: 6px 16px;
  font-size: 11px;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  transition: all 0.2s;
}

.lang-btn + .lang-btn {
  border-left: 1px solid var(--border);
}

.lang-btn.active {
  background: var(--text);
  color: var(--bg);
}

.lang-btn:hover:not(.active) {
  color: var(--text);
}

/* ── Progress ───────────────────────────── */
.progress-wrap {
  height: 2px;
  background: var(--border);
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.4s ease;
}

/* ── Main ───────────────────────────────── */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 60px;
}

/* ── Step ───────────────────────────────── */
.step {
  width: 100%;
  max-width: 580px;
  animation: fadein 0.35s ease both;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.step-question {
  font-size: clamp(22px, 4.5vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 36px;
}

/* ── Options ────────────────────────────── */
.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option {
  padding: 16px 22px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  background: transparent;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.3;
}

.option:hover {
  border-color: var(--border-hover);
  background: var(--surface);
}

.option-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--border-hover);
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.option:hover .option-dot {
  border-color: var(--accent);
  background: rgba(200,168,107,0.15);
}

/* ── Intro screen ──────────────────────── */
.intro {
  width: 100%;
  max-width: 560px;
  animation: fadein 0.5s ease both;
  text-align: center;
}

.intro-brush {
  display: none;
}

.intro-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 20px;
}

.intro-sub {
  font-size: 18px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-block;
  padding: 16px 44px;
  background: var(--text);
  color: var(--bg);
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-primary:hover {
  background: var(--accent);
}

/* ── Result ─────────────────────────────── */
.result {
  width: 100%;
  max-width: 620px;
  animation: fadein 0.55s ease both;
  text-align: center;
}

.result-eyebrow {
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.result-title {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 28px;
}

.result-title .eu-part {
  display: block;
  font-size: 0.65em;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-top: 6px;
}

.result-message {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: #666;
  margin-bottom: 44px;
}

.colors-section {
  margin-bottom: 52px;
}

.colors-label {
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 900;
  color: #555;
  margin-bottom: 24px;
}

.colors-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: center;
}

.color-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.color-brush-svg {
  width: 140px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.color-name {
  font-size: 11px;
  text-align: center;
  color: var(--text-muted);
  max-width: 80px;
  line-height: 1.3;
}

.result-cta-intro {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: #666;
  text-align: center;
  margin-bottom: 32px;
}
.result-cta-intro strong {
  font-weight: 900;
}

.result-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-btn {
  display: inline-block;
  padding: 16px 44px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.cta-btn:hover { background: var(--accent); }

.restart-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.restart-btn:hover { color: var(--text); }

/* ── Divider ────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 44px 0;
}

@media (hover: none) {
  .option:hover {
    border-color: var(--border);
    background: transparent;
  }
  .option:hover .option-dot {
    border-color: var(--border-hover);
    background: transparent;
  }
  .lang-btn:hover:not(.active) {
    background: transparent;
    color: var(--text-muted);
  }
  .btn-primary:hover { background: var(--text); }
  .cta-btn:hover { background: var(--text); }
  .restart-btn:hover { color: var(--text-muted); }
}

@media (max-width: 480px) {
  .header { padding: 0 18px; }
  .main { padding: 36px 18px 48px; }
  .colors-row { gap: 16px; }
  .color-brush-svg { width: 106px; }
}
