
:root {
  --bg: #140d1f;
  --bg-2: #241232;
  --surface: #f3e2bd;
  --surface-2: #e4c794;
  --ink: #281a31;
  --muted: #7a6d84;
  --accent: #8f62c0;
  --accent-2: #d8b06a;
  --accent-3: #4fd2d3;
  --line: rgba(88, 55, 109, .16);
  --button-text: #fff;
  --choice: rgba(255, 255, 255, .78);
  --choice-hover: rgba(255, 255, 255, .94);
  --shadow: 0 26px 64px rgba(8, 4, 16, .28);
  --radius: 24px;
  --panel: rgba(255, 255, 255, .82);
  --panel-border: rgba(255, 255, 255, .18);
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

body[data-theme="business"] {
  --bg: #161516;
  --bg-2: #262327;
  --surface: #f7f2ea;
  --surface-2: #e7ddd1;
  --ink: #211f23;
  --muted: #6d6b70;
  --accent: #7a4f56;
  --accent-2: #b99866;
  --accent-3: #7f8e9a;
  --line: rgba(52, 44, 48, .14);
  --choice: rgba(255,255,255,.82);
  --choice-hover: rgba(255,255,255,.97);
  --shadow: 0 22px 56px rgba(0,0,0,.24);
  --panel: rgba(255,255,255,.84);
  --panel-border: rgba(255,255,255,.14);
  --font-display: "Times New Roman", Georgia, serif;
}

body[data-theme="bright"] {
  --bg: #eef3f2;
  --bg-2: #f8efe7;
  --surface: #ffffff;
  --surface-2: #f7efe6;
  --ink: #27363d;
  --muted: #66767f;
  --accent: #eb7d6d;
  --accent-2: #4fa7b2;
  --accent-3: #f0c454;
  --line: rgba(39, 54, 61, .12);
  --button-text: #fff;
  --choice: rgba(255,255,255,.94);
  --choice-hover: #ffffff;
  --shadow: 0 22px 54px rgba(77, 99, 104, .16);
  --panel: rgba(255,255,255,.88);
  --panel-border: rgba(255,255,255,.44);
  --font-display: var(--font-body);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  background: linear-gradient(145deg, var(--bg), var(--bg-2));
  position: relative;
  overflow-x: hidden;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
body[data-theme="magic"]::before {
  background:
    radial-gradient(circle at 14% 18%, rgba(143, 98, 192, .28), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(216, 176, 106, .16), transparent 20%),
    radial-gradient(circle at 72% 68%, rgba(79, 210, 211, .10), transparent 20%),
    radial-gradient(circle at 18% 80%, rgba(255,255,255,.07), transparent 18%);
}
body[data-theme="magic"]::after {
  opacity: .35;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.7) 0 1.5px, transparent 2px) 0 0/120px 120px,
    radial-gradient(circle at 75% 45%, rgba(255,255,255,.55) 0 1.2px, transparent 2px) 0 0/150px 150px,
    radial-gradient(circle at 42% 80%, rgba(255,255,255,.35) 0 1px, transparent 2px) 0 0/110px 110px;
}
body[data-theme="business"]::before {
  background:
    linear-gradient(135deg, rgba(255,255,255,.04), transparent 42%),
    radial-gradient(circle at 78% 20%, rgba(185, 152, 102, .12), transparent 22%),
    radial-gradient(circle at 20% 85%, rgba(255,255,255,.04), transparent 20%);
}
body[data-theme="business"]::after {
  opacity: .22;
  background:
    repeating-linear-gradient(135deg, transparent 0 16px, rgba(255,255,255,.03) 16px 17px, transparent 17px 34px);
}
body[data-theme="bright"]::before {
  background:
    radial-gradient(circle at 14% 18%, rgba(235, 125, 109, .15), transparent 25%),
    radial-gradient(circle at 84% 16%, rgba(79, 167, 178, .16), transparent 22%),
    radial-gradient(circle at 76% 78%, rgba(240, 196, 84, .14), transparent 18%),
    radial-gradient(circle at 20% 76%, rgba(79,167,178,.12), transparent 18%);
}
body[data-theme="bright"]::after {
  opacity: .22;
  background:
    radial-gradient(circle at 0 0, rgba(79, 167, 178, .30) 0 2px, transparent 2.2px) 0 0/32px 32px;
  mask: linear-gradient(180deg, rgba(0,0,0,.45), transparent 75%);
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, white);
  outline-offset: 2px;
}
a { color: inherit; }

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto;
  padding: 16px 0 32px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 12px 16px;
  color: #fff;
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 34px rgba(7, 4, 12, .14);
}
body[data-theme="business"] .topbar {
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
}
body[data-theme="bright"] .topbar {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.76), rgba(255,255,255,.56));
  box-shadow: 0 12px 26px rgba(77, 99, 104, .10);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 78%, white), var(--accent));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 12px 22px color-mix(in srgb, var(--accent) 26%, transparent);
}
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: .01em; }
.topbar-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
.control-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.control-label {
  font-size: 13px;
  font-weight: 700;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.segmented {
  display: inline-flex;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
body[data-theme="bright"] .segmented {
  background: rgba(255,255,255,.66);
  border-color: rgba(39,54,61,.10);
}
.segmented button {
  min-height: 38px;
  padding: 7px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}
.segmented button.is-active {
  color: #fff;
  background: var(--accent);
}
body[data-theme="bright"] .segmented button.is-active {
  color: #fff;
}

.app-main {
  min-height: calc(100vh - 124px);
  display: grid;
  align-items: center;
}
.screen { width: 100%; }
.hero-layout,
.question-layout,
.result-layout {
  display: grid;
  grid-template-columns: minmax(360px, .96fr) minmax(470px, 1.04fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  min-height: 640px;
}

.visual-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}
.art-object {
  position: relative;
  width: min(100%, 530px);
  height: 540px;
  display: grid;
  place-items: center;
}
.art-object::before,
.art-object::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

/* Magic visual */
.art-object--magic::before {
  inset: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,.06) 0 28%, transparent 28% 100%),
    radial-gradient(circle at center, rgba(143, 98, 192, .24), rgba(143, 98, 192, .02) 62%, transparent 70%),
    conic-gradient(from 0deg, rgba(216,176,106,.28), transparent 18%, rgba(79,210,211,.26) 36%, transparent 54%, rgba(216,176,106,.22) 72%, transparent 88%, rgba(143,98,192,.18));
  filter: blur(.2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 0 60px rgba(143,98,192,.16);
}
.art-object--magic::after {
  inset: 10% 8%;
  border-radius: 40px;
  background: radial-gradient(circle at 50% 50%, rgba(216,176,106,.10), transparent 58%);
  filter: blur(26px);
}
.paper--magic {
  position: relative;
  width: 82%;
  min-height: 430px;
  padding: 56px 42px 54px;
  color: #30203a;
  background:
    radial-gradient(circle at 50% 16%, rgba(255,255,255,.20), transparent 28%),
    repeating-linear-gradient(0deg, rgba(92,65,41,.04) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #f5e7c8, #ecd5ac 70%, #e5c996);
  border: 1px solid rgba(144, 99, 54, .28);
  border-radius: 18px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.45), inset 0 0 34px rgba(122,76,32,.08);
}
.paper--magic::before,
.paper--magic::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c7955f, #8f643c);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 16px rgba(65,35,13,.16);
  z-index: -1;
}
.paper--magic::before { top: -10px; }
.paper--magic::after { bottom: -10px; }
.paper--magic .paper-kicker,
body[data-theme="magic"] .paper-kicker { color: #8a5b12; }
body[data-theme="magic"] .reveal-line strong { color: #7c50b0; }

/* Business visual */
.art-object--business::before {
  inset: 30px 20px 24px;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(0,0,0,.08));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 34px rgba(0,0,0,.16);
}
.art-object--business::after {
  inset: 56px 40px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
}
.paper--business {
  position: relative;
  width: 82%;
  min-height: 430px;
  padding: 42px 42px 42px 74px;
  color: var(--ink);
  background:
    linear-gradient(90deg, #e5d8c8 0 44px, transparent 44px),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(76,72,76,.10) 31px 32px),
    linear-gradient(180deg, #fbf7f2, #f2eadf);
  border-radius: 24px;
  border: 1px solid rgba(109, 89, 74, .18);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.58);
}
.paper--business::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 34px;
  bottom: 34px;
  width: 16px;
  background: radial-gradient(circle at 50% 8px, #c9b9a4 0 4px, transparent 4.6px) 0 0/16px 36px repeat-y;
}
.paper--business::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 18px;
  border: 1px solid rgba(185, 152, 102, .18);
}
body[data-theme="business"] .paper-kicker { color: #7a4f56; }
body[data-theme="business"] .reveal-line strong { color: #7a4f56; }

/* Bright visual */
.art-object--bright::before {
  inset: 34px 26px 24px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 18% 22%, rgba(235,125,109,.20), transparent 18%),
    radial-gradient(circle at 82% 20%, rgba(79,167,178,.22), transparent 16%),
    radial-gradient(circle at 74% 78%, rgba(240,196,84,.18), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.18));
  box-shadow: 0 18px 34px rgba(77,99,104,.10);
}
.art-object--bright::after {
  inset: 52px 44px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 28px 28px, rgba(79,167,178,.18) 0 2px, transparent 2.2px) 0 0/22px 22px;
  opacity: .55;
}
.paper--bright {
  position: relative;
  width: 82%;
  min-height: 430px;
  padding: 54px 40px 42px 64px;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0 54px, rgba(235, 125, 109, .22) 54px 57px, transparent 57px),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(79, 167, 178, .14) 28px 30px),
    linear-gradient(180deg, #ffffff, #fbf6ef);
  border-radius: 28px;
  border: 1px solid rgba(79, 167, 178, .16);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.72);
}
.paper--bright::before {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  top: -12px;
  height: 24px;
  background: radial-gradient(circle at 12px 50%, #7cc7d1 0 6px, transparent 6.8px) 0 0/36px 24px repeat-x;
}
.paper--bright::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 16px;
  width: 74px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd96a, #f4c14b);
  transform: rotate(5deg);
  opacity: .92;
}
body[data-theme="bright"] .paper-kicker { color: #4fa7b2; }
body[data-theme="bright"] .reveal-line strong { color: #eb7d6d; }

.paper-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.paper-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.reveal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.reveal-line {
  min-height: 42px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-size: 18px;
  line-height: 1.35;
}
.reveal-empty {
  margin: 18px 0 0;
  color: color-mix(in srgb, var(--ink) 70%, var(--muted));
  font-size: 18px;
}

.copy-panel {
  max-width: 720px;
  color: #f8f4fb;
}
.copy-panel .lead { color: rgba(248, 244, 251, .82); }
.copy-panel .start-note { color: rgba(248, 244, 251, .68); }
body[data-theme="business"] .copy-panel { color: #f4efea; }
body[data-theme="business"] .copy-panel .lead { color: rgba(244, 239, 234, .82); }
body[data-theme="business"] .copy-panel .start-note { color: rgba(244, 239, 234, .70); }
body[data-theme="bright"] .copy-panel { color: var(--ink); }
body[data-theme="bright"] .copy-panel .lead { color: color-mix(in srgb, var(--ink) 82%, var(--muted)); }
body[data-theme="bright"] .copy-panel .start-note { color: var(--muted); }

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-weight: 850;
  font-size: 14px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
body[data-theme="bright"] .eyebrow { color: var(--accent-2); }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -.03em;
}
h1 { font-size: clamp(42px, 5vw, 74px); line-height: 1.02; }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.08; }
h3 { font-size: 25px; line-height: 1.2; }
.lead {
  margin: 24px 0 0;
  max-width: 650px;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.5;
}
.start-note {
  margin: 24px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--accent-2);
  font-size: 19px;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.button {
  min-height: 54px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  appearance: none;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  color: var(--button-text);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 82%, white), var(--accent));
  box-shadow: 0 12px 24px color-mix(in srgb, var(--accent) 22%, transparent), inset 0 1px 0 rgba(255,255,255,.18);
}
.button.secondary {
  color: var(--ink);
  background: rgba(255,255,255,.76);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42);
}
.text-link {
  min-height: 48px;
  padding: 10px 4px;
  border: 0;
  background: transparent;
  color: var(--accent-2);
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.question-card,
.result-card {
  padding: clamp(28px, 4vw, 50px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 97%, white), color-mix(in srgb, var(--surface-2) 10%, white));
  border: 1px solid color-mix(in srgb, var(--accent-2) 18%, white);
  box-shadow: 0 18px 44px rgba(10, 6, 18, .14), inset 0 1px 0 rgba(255,255,255,.56);
}
.question-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 750;
}
.progress-track {
  width: 46%;
  height: 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 11%, transparent);
  overflow: hidden;
}
.progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.question-help {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 28px;
}
.choice {
  position: relative;
  min-height: 74px;
  padding: 17px 52px 17px 19px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--choice), rgba(255,255,255,.66));
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.48);
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.choice:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(12, 9, 18, .05), inset 0 1px 0 rgba(255,255,255,.58);
}
.choice::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--ink) 35%, transparent);
  transform: translateY(-50%);
}
.choice.is-selected {
  border-color: color-mix(in srgb, var(--accent) 80%, var(--accent-2));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 7%, transparent), inset 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent);
}
.choice.is-selected::after {
  content: "✓";
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 82%, white), var(--accent));
  border-color: var(--accent);
  font-size: 13px;
}
.question-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
}

.calculating {
  min-height: 620px;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
}
body[data-theme="bright"] .calculating { color: var(--ink); }
.calc-mark {
  width: 92px;
  height: 92px;
  margin: 0 auto 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 18px 38px color-mix(in srgb, var(--accent) 22%, transparent);
}

.result-card { overflow: visible; }
.result-prefix { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.result-title { margin-top: 4px; color: var(--accent); }
.result-reason { margin: 18px 0 0; font-size: 20px; color: color-mix(in srgb, var(--ink) 82%, var(--muted)); }
.result-section {
  margin-top: 27px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}
.result-section h3 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 17px;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--muted);
}
.feature-list {
  margin: 0;
  padding-left: 23px;
  display: grid;
  gap: 8px;
  font-size: 19px;
}
.result-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.metric {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 5%, white), rgba(255,255,255,.72));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.48);
}
.metric span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.metric strong {
  display: block;
  margin-top: 5px;
  font-size: 21px;
  line-height: 1.25;
}
.result-note {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-2) 13%, transparent);
  font-size: 17px;
}
.extra-list { display: flex; flex-wrap: wrap; gap: 9px; }
.extra-chip {
  padding: 7px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, white);
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
}
.secondary-result { margin: 18px 0 0; color: var(--muted); font-size: 17px; }

.contact-block {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.contact-block h3 {
  font-family: var(--font-body);
  font-size: 19px;
  letter-spacing: 0;
}
.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 15px;
}
.contact-button { min-height: 58px; }
.contact-button.telegram {
  background: linear-gradient(180deg, #2d86c7, #267bbd);
  color: #fff;
}
.contact-button.vk {
  background: linear-gradient(180deg, #3780df, #3078d8);
  color: #fff;
}
.email-line { margin: 16px 0 0; color: var(--muted); font-size: 17px; }
.email-line strong { color: var(--ink); }
.email-line a {
  color: var(--accent);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.result-footer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}
.copy-status { color: var(--muted); font-size: 15px; }

.examples-dialog {
  width: min(760px, calc(100% - 28px));
  max-height: min(760px, calc(100vh - 40px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 98%, white), color-mix(in srgb, var(--surface-2) 12%, white));
  box-shadow: 0 32px 100px rgba(0,0,0,.42);
}
.examples-dialog::backdrop {
  background: rgba(11,8,15,.72);
  backdrop-filter: blur(5px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 { font-size: 38px; }
.icon-button {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--choice);
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
}
.examples-list {
  display: grid;
  gap: 0;
  padding: 0 28px;
}
.example-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.example-item h3 { font-size: 21px; }
.example-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.dialog-actions {
  padding: 22px 28px 28px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1050px) {
  .hero-layout,
  .question-layout,
  .result-layout {
    grid-template-columns: minmax(310px, .82fr) minmax(440px, 1.18fr);
    gap: 28px;
  }
  .choices { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  body { font-size: 17px; }
  .app-shell { width: min(1220px, calc(100% - 18px)); padding: 10px 0 24px; }
  .topbar {
    align-items: flex-start;
    min-height: auto;
    padding: 10px 12px 14px;
  }
  .brand-name { display: none; }
  .topbar-controls { align-items: flex-end; gap: 8px; }
  .theme-control .control-label { display: none; }
  .segmented button { min-height: 42px; padding: 8px 10px; }
  .hero-layout,
  .question-layout,
  .result-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 18px;
    padding: 14px 0 28px;
  }
  .visual-stage { min-height: 300px; }
  .art-object { width: min(100%, 500px); height: 300px; }
  .paper,
  .paper--magic,
  .paper--business,
  .paper--bright {
    width: 89%;
    min-height: 250px;
    max-height: 280px;
    padding: 26px 24px 24px 24px;
    overflow: hidden;
  }
  .paper--business { padding-left: 56px; }
  .paper--bright { padding-left: 56px; }
  .paper-title { font-size: 30px; margin-bottom: 12px; }
  .paper-kicker { font-size: 11px; margin-bottom: 6px; }
  .reveal-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .reveal-line {
    min-height: 34px;
    padding: 6px 0;
    font-size: 15px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .reveal-empty { font-size: 16px; }
  .copy-panel { padding: 10px 5px 0; }
  h1 { font-size: clamp(39px, 10vw, 56px); }
  .lead { font-size: 21px; }
  .question-card, .result-card { padding: 26px 20px; border-radius: 20px; }
  .question-layout .visual-stage, .result-layout .visual-stage { min-height: 235px; }
  .question-layout .art-object, .result-layout .art-object { height: 235px; }
}

@media (max-width: 560px) {
  .topbar { gap: 8px; }
  .brand-mark { width: 40px; height: 40px; }
  .topbar-controls { flex: 1; justify-content: flex-end; }
  .theme-control .segmented button { font-size: 12px; padding-inline: 8px; }
  .language-switch button { padding-inline: 8px; }
  .visual-stage { min-height: 280px; }
  .art-object { height: 286px; }
  .paper,
  .paper--magic,
  .paper--business,
  .paper--bright {
    width: 92%;
    min-height: 230px;
    max-height: 240px;
    padding: 22px 20px;
  }
  .paper--business,
  .paper--bright { padding-left: 50px; }
  .paper-title { font-size: 27px; }
  .reveal-list { grid-template-columns: 1fr; }
  .reveal-line { font-size: 14px; min-height: 28px; padding: 4px 0; }
  .reveal-line:nth-child(n+6) { display: none; }
  .actions, .question-actions, .result-footer-actions { align-items: stretch; }
  .actions .button, .question-actions .button { flex: 1 1 auto; }
  .choice { min-height: 68px; font-size: 18px; }
  .result-metrics, .contact-actions { grid-template-columns: 1fr; }
  .email-line { overflow-wrap: anywhere; }
  .examples-dialog { max-height: calc(100vh - 20px); }
  .dialog-head, .examples-list, .dialog-actions { padding-left: 20px; padding-right: 20px; }
}

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