@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600|Source+Code+Pro:400,600);

:root {
  --bg: #101214;
  --card: #15171a;
  --card-2: #181b1e;
  --line: #24272c;
  --line-2: #2e3237;
  --text: #a8abb1;
  --muted: #6a6d73;
  --bright: #e8e9ec;
  --white: #fff;
  --skill: #6f9bd1;   /* cool blue */
  --energy: #e3b34e;  /* warm gold */
  --genius: #e3b34e;
  --trap: #cf8b5a;
  --passion: #6f9bd1;
  --drain: #6a6d73;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Source Sans Pro", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial;
}

html { height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px 120px;
}

a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); transition: color .15s, border-color .15s; }
a:hover { color: var(--white); border-bottom-color: var(--white); }

.page { width: 100%; max-width: 720px; }

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  font-size: 15px;
  color: var(--muted);
}
.site-nav a { border: none; }
.site-nav .brand { color: var(--white); font-weight: 600; letter-spacing: .02em; }

h1 { color: var(--white); font-weight: 400; font-size: 40px; line-height: 1.15; letter-spacing: -.01em; }
h2 { color: var(--white); font-weight: 400; font-size: 22px; margin-bottom: 6px; }

em { color: var(--bright); font-style: italic; }
strong { color: var(--bright); font-weight: 600; }
.muted { color: var(--muted); }

/* ---- screens / transitions ---- */
.screen { width: 100%; }

/* ---- intro ---- */
.intro h1 { margin-bottom: 18px; }
.lede { font-size: 21px; line-height: 1.5; color: var(--text); margin-bottom: 22px; }
.intro-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-family: "Source Code Pro", monospace; font-size: 12px;
  letter-spacing: .04em; color: var(--muted); text-transform: uppercase;
  margin-bottom: 30px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 24px 20px;
  margin-bottom: 22px;
}
.how h2 { margin-bottom: 12px; }
.how p { margin-bottom: 14px; }
.how p:last-child { margin-bottom: 0; }

.name-field { margin-bottom: 26px; }
.name-field label { display: block; font-size: 15px; color: var(--text); margin-bottom: 8px; }
.name-field .muted { font-size: 13px; }
.name-field input {
  width: 100%; max-width: 320px; display: block;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 8px;
  color: var(--white); font-size: 17px; padding: 11px 14px; outline: none;
  transition: border-color .15s;
}
.name-field input:focus { border-color: var(--energy); }

.fineprint { font-size: 13px; line-height: 1.55; color: var(--muted); margin-top: 26px; }
.fineprint em { color: #9a9da3; font-style: italic; }

/* ---- buttons (hover = lift only, no color shift) ---- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  font-size: 16px; font-weight: 600; letter-spacing: .01em;
  padding: 13px 24px; border-radius: 9px; border: 1px solid transparent;
  cursor: pointer; background: none; color: var(--text);
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.sm { padding: 10px 18px; font-size: 15px; }
.btn.primary { background: var(--genius); color: #14110a; }
.btn.ghost { border-color: var(--line-2); color: var(--text); }
.btn:disabled { opacity: .35; cursor: default; }
.btn:disabled:hover { transform: none; }

/* ---- question ---- */
.q-head { margin-bottom: 30px; }
.progress { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--energy); border-radius: 4px; transition: width .3s ease; }
.q-count {
  margin-top: 12px; font-family: "Source Code Pro", monospace;
  font-size: 12px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase;
}
.q-text { color: var(--white); font-size: 25px; line-height: 1.35; font-weight: 400; margin-bottom: 28px; }
.q-sub { font-size: 14px; color: var(--muted); margin-top: -16px; margin-bottom: 24px; }

.options { display: flex; flex-direction: column; gap: 10px; }
.option {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; cursor: pointer; color: var(--text); font-size: 17px;
  transition: transform .12s ease;
}
.option:hover { transform: translateY(-2px); }
.option:active { transform: translateY(0); }
.opt-key {
  flex: none; width: 26px; height: 26px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #1d2024; border: 1px solid var(--line-2);
  font-family: "Source Code Pro", monospace; font-size: 13px; color: var(--muted);
}
.option.selected { border-color: var(--energy); background: rgba(227, 179, 78, .1); color: var(--white); }
.option.selected .opt-key { background: var(--energy); border-color: var(--energy); color: #14110a; }

.q-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; gap: 12px; }
.q-hint { font-size: 13px; color: var(--muted); }
.reflect-input {
  width: 100%; background: var(--card); border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--white); font-size: 17px; line-height: 1.5; padding: 14px 16px; resize: vertical; outline: none;
  transition: border-color .15s;
}
.reflect-input:focus { border-color: var(--energy); }

/* ---- results ---- */
.result-head { text-align: center; margin-bottom: 36px; }
.result-eyebrow {
  font-family: "Source Code Pro", monospace; font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.combo-name { font-size: 46px; color: var(--white); margin-bottom: 14px; }
.combo-blurb { font-size: 19px; line-height: 1.5; color: var(--text); max-width: 560px; margin: 0 auto 16px; }
.combo-zones { font-size: 16px; color: var(--energy); font-weight: 600; }
.combo-zones .plus { color: var(--muted); margin: 0 4px; }

.section { margin-top: 44px; }
.section > h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: "Source Code Pro", monospace; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.section-sub { font-size: 16px; color: var(--text); margin: -6px 0 18px; }

.zone-card { margin-bottom: 16px; border-left: 3px solid var(--line-2); }
.zone-card.quad-genius { border-left-color: var(--genius); }
.zone-card.quad-excellence { border-left-color: var(--trap); }
.zone-card.quad-passion { border-left-color: var(--passion); }
.zone-card.quad-drain { border-left-color: var(--drain); }
.zone-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.zone-name { color: var(--white); font-size: 21px; }
.zone-quad {
  font-family: "Source Code Pro", monospace; font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.quad-genius .zone-quad { color: var(--genius); }
.quad-excellence .zone-quad { color: var(--trap); }
.quad-passion .zone-quad { color: var(--passion); }
.zone-tag { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.zone-def { font-size: 16px; margin: 14px 0; }
.zone-action { font-size: 16px; margin-bottom: 12px; }
.zone-lineage { font-family: "Source Code Pro", monospace; font-size: 11px; color: #56595f; letter-spacing: .02em; }

/* ---- bars ---- */
.bars { display: flex; flex-direction: column; gap: 7px; margin: 4px 0; }
.bar-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.bar-label { flex: none; width: 46px; color: var(--muted); font-family: "Source Code Pro", monospace; font-size: 12px; }
.bar-track { flex: 1; height: 7px; background: var(--line); border-radius: 4px; overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 4px; }
.bar-skill { background: var(--skill); }
.bar-energy { background: var(--energy); }
.bar-val { flex: none; width: 26px; text-align: right; color: var(--text); font-family: "Source Code Pro", monospace; font-size: 12px; }

/* ---- radar ---- */
.radar-wrap { display: flex; flex-direction: column; align-items: center; margin: 8px 0 4px; }
.radar { width: 100%; max-width: 360px; height: auto; overflow: visible; }
.radar-grid { fill: none; stroke: var(--line); stroke-width: 1; }
.radar-spoke { stroke: var(--line); stroke-width: 1; }
.radar-label { fill: var(--muted); font-size: 11px; font-family: "Source Code Pro", monospace; }
.radar-skill { fill: rgba(111, 155, 209, .16); stroke: var(--skill); stroke-width: 2; }
.radar-energy { fill: rgba(227, 179, 78, .16); stroke: var(--energy); stroke-width: 2; }
.radar-legend { display: flex; gap: 18px; align-items: center; margin-top: 14px; font-size: 13px; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.lg { display: inline-flex; align-items: center; gap: 7px; }
.lg::before { content: ""; width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.lg-skill::before { background: var(--skill); }
.lg-energy::before { background: var(--energy); }
.lg-note { font-style: italic; }

/* ---- full profile ---- */
.profile-grid { display: flex; flex-direction: column; gap: 0; }
.profile-row {
  display: grid; grid-template-columns: 110px 1fr 120px; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.profile-row:last-child { border-bottom: none; }
.profile-name { color: var(--white); font-size: 16px; border-left: 3px solid transparent; padding-left: 12px; margin-left: -12px; }
.quad-genius .profile-name { border-left-color: var(--genius); }
.quad-excellence .profile-name { border-left-color: var(--trap); }
.quad-passion .profile-name { border-left-color: var(--passion); }
.quad-drain .profile-name { border-left-color: var(--drain); }
.profile-bars { display: flex; flex-direction: column; gap: 5px; }
.profile-bars .bar-label { width: 14px; }
.profile-quad { font-family: "Source Code Pro", monospace; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-align: right; }
.quad-genius .profile-quad { color: var(--genius); }
.quad-excellence .profile-quad { color: var(--trap); }

/* ---- reflections echo ---- */
.reflect-echo { margin-bottom: 12px; }
.reflect-q { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.reflect-a { font-size: 17px; color: var(--bright); line-height: 1.55; }

.result-actions { margin-top: 44px; }

.method-body p { font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
.sources-head { color: var(--text); }
.sources { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 6px 0 18px; }
.source { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 2px solid var(--line); }
.source a { color: var(--bright); font-weight: 600; font-size: 16px; border-bottom: 1px solid var(--line-2); align-self: flex-start; }
.source a:hover { color: var(--white); border-bottom-color: var(--white); }
.source-by { font-size: 13px; color: var(--muted); font-family: "Source Code Pro", monospace; }
.source-note { font-size: 14px; color: var(--text); line-height: 1.45; margin-top: 2px; }

/* ---- responsive ---- */
@media (max-width: 600px) {
  body { padding: 32px 18px 90px; font-size: 17px; }
  h1 { font-size: 32px; }
  .lede { font-size: 19px; }
  .q-text { font-size: 22px; }
  .combo-name { font-size: 34px; }
  .profile-row { grid-template-columns: 88px 1fr; }
  .profile-quad { grid-column: 1 / -1; text-align: left; padding-left: 12px; }
}

/* ---- print ---- */
@media print {
  body { background: #fff; color: #111; padding: 0; }
  .site-nav, .result-actions, .q-nav, .name-field, .actions { display: none !important; }
  .card { border-color: #ccc; background: #fff; }
  h1, h2, .zone-name, .combo-name, .reflect-a { color: #111; }
  .combo-zones { color: #8a6d1e; }
  .method[open] summary { display: none; }
  .method { display: block; }
  a { color: #111; }
}
