:root {
  --bg: #ffffff;
  --surface: #f5f5f5;
  --text: #191919;
  --muted: #6b6b6b;
  --faded: #d0d0d0;
  --line: #e6e6e6;
  --brand: #0098ff;
  --ok: #0f8a4b;
  --warn: #b26b00;
  --bad: #c62828;
  --sans: Inter, system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
i, em { font-family: var(--serif); font-style: italic; font-weight: 400; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 40px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-sub { font-size: 13px; color: var(--muted); letter-spacing: .02em; padding-left: 14px; border-left: 1px solid var(--line); }

.tabs { display: flex; gap: 4px; overflow-x: auto; }
.tabs a {
  display: flex; align-items: baseline; gap: 6px;
  padding: 8px 14px; text-decoration: none; font-size: 15px; color: var(--muted); white-space: nowrap;
  border-bottom: 1px solid transparent;
}
.tabs a:hover { color: var(--text); }
.tabs a.on { color: var(--text); border-bottom-color: var(--text); }
.tab-n { font-size: 11px; color: var(--faded); }
.tabs a.on .tab-n { color: var(--brand); }

.page { max-width: 1320px; margin: 0 auto; padding: 48px 40px 96px; }

h1, h2, h3 { font-weight: 400; margin: 0; }
.eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.lede { font-size: 19px; font-weight: 300; max-width: 60ch; color: #3a3a3a; margin: 16px 0 28px; }
.muted { color: var(--muted); }
.hint { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; }
.count { color: var(--faded); }

.hero { padding: 40px 0 72px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.hero h1 { font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: -2px; font-weight: 400; }
.section-title { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.view-title { font-size: clamp(36px, 4.5vw, 56px); letter-spacing: -1.5px; line-height: 1.05; }
.view-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.session-head { display: flex; justify-content: space-between; align-items: baseline; }
.save-note { font-size: 12px; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border: 1px solid var(--text); background: transparent;
  text-decoration: none; cursor: pointer; font-size: 15px; font-weight: 500; line-height: 1;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--text); color: #fff; }
.btn-primary { background: var(--text); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-small { padding: 8px 12px; font-size: 13px; }
.btn-ghost { border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text); }
.btn.danger { color: var(--bad); border-color: transparent; }
.btn.danger:hover { background: var(--bad); color: #fff; }
.icon-btn { border: 0; background: none; cursor: pointer; font-size: 20px; line-height: 1; color: var(--faded); padding: 2px 6px; }
.icon-btn:hover { color: var(--bad); }
.link { border: 0; background: none; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faded); font-size: 14px; }
.link:hover { text-decoration-color: var(--text); }

.session-list { border-top: 1px solid var(--line); }
.session-row {
  display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.session-row:hover .session-client { color: var(--brand); }
.session-client { font-size: 26px; letter-spacing: -.5px; transition: color .15s; }
.session-meta, .session-date { color: var(--muted); font-size: 15px; }

/* brief */
.panel-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.form { display: grid; gap: 22px; }
.form label, .form legend { display: grid; gap: 8px; font-size: 14px; font-weight: 500; }
.form input:not([type=checkbox]), .form textarea, .add-name input, .reg-note, .round-bar input {
  width: 100%; border: 1px solid var(--line); background: var(--bg); padding: 12px 14px; font-size: 16px; font-weight: 400; border-radius: 0;
}
.form input:focus, .form textarea:focus, .add-name input:focus, .reg-note:focus { border-color: var(--text); outline: none; }
fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); font-weight: 400; font-size: 14px; }
.chip input:checked + span { background: var(--text); color: #fff; border-color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }

/* brainstorm */
.approaches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.approach { background: var(--bg); padding: 28px; display: flex; flex-direction: column; gap: 18px; min-height: 340px; }
.approach h2 { font-size: 32px; letter-spacing: -1px; }
.approach header p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.examples { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px !important; }
.examples b { font-weight: 500; color: var(--text); }
.names { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; align-content: start; }
.names .empty { color: var(--faded); font-size: 15px; }
.name-card { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 12px 14px; background: var(--surface); }
.name-card.eliminated .name-text { color: var(--faded); text-decoration: line-through; }
.name-text { font-size: 20px; letter-spacing: -.3px; display: block; }
.name-meaning { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.add-name { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.add-name input[name=meaning] { grid-column: 1; font-size: 14px; padding: 9px 12px; }
.add-name button { grid-row: 1 / span 2; grid-column: 2; }

/* vote */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--text); }
.vote-table { width: 100%; border-collapse: collapse; }
.vote-table th, .vote-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.vote-table thead th { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vote-table tbody th { font-weight: 400; }
.vote-table .name-text { display: inline; font-size: 24px; margin-right: 10px; }
.vote-table .voter, .vote-table td:not(.row-actions) { text-align: center; }
.vote-table tbody th { text-align: left; }
.vote-table td.total { font-size: 22px; text-align: center; }
.vote-table th.total { text-align: center; }
.vote-table tr.winner th .name-text { color: var(--brand); }
.row-actions { white-space: nowrap; text-align: right; }
.row-actions .btn + .btn { margin-left: 6px; }
.tag { font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 2px 8px; vertical-align: middle; }
.vote { width: 34px; height: 34px; border: 1px solid var(--faded); background: var(--bg); cursor: pointer; }
.vote.on { background: var(--brand); border-color: var(--brand); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.stepper button { border: 0; background: none; width: 34px; height: 34px; cursor: pointer; font-size: 18px; }
.stepper button:hover { background: var(--surface); }
.stepper span { min-width: 30px; text-align: center; }
.round-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px 0; }
.round-bar label { display: flex; align-items: center; gap: 10px; }
.round-bar input { width: 80px; }
.round-bar .hint { margin: 0; }
.callout { background: var(--surface); padding: 18px 22px; margin: 0 0 28px; border-left: 3px solid var(--brand); }
.eliminated { margin-top: 48px; }
.eliminated ul { list-style: none; padding: 0; margin: 0; }
.eliminated li { display: flex; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.eliminated li span:first-child { font-size: 18px; color: var(--muted); text-decoration: line-through; flex: 1; }

/* checks */
.picker { display: flex; flex-wrap: wrap; gap: 6px; }
.picker a { padding: 8px 14px; border: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.picker a.on { background: var(--text); color: #fff; border-color: var(--text); }
.block { margin-bottom: 56px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--text); padding-bottom: 12px; margin-bottom: 4px; }
.block-head .section-title { margin: 0; }
.block-head .hint { flex-basis: 100%; margin: 0; }
.domain-table { width: 100%; border-collapse: collapse; }
.domain-table th { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); }
.domain-table td { padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.domain-table .domain { font-size: 18px; white-space: nowrap; }
.domain-table .links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.price { color: var(--muted); font-size: 12px; }
.sub { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.pill { display: inline-block; font-size: 12px; font-weight: 500; padding: 4px 10px; white-space: nowrap; }
.pill-ok { background: #e3f5ea; color: var(--ok); }
.pill-ok-soft { background: #f0faf4; color: var(--ok); border: 1px dashed #9fd3b4; }
.pill-bad { background: #fde8e8; color: var(--bad); }
.pill-bad-soft { background: #fdf3f3; color: var(--bad); border: 1px dashed #ecb0b0; }
.pill-unknown { background: var(--surface); color: var(--muted); }

.reg-group { margin-top: 28px; }
.reg-group h3 { font-size: 22px; letter-spacing: -.4px; margin-bottom: 6px; display: flex; align-items: baseline; gap: 12px; }
.level { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.reg-row { display: grid; grid-template-columns: minmax(200px, 1.2fr) auto auto minmax(160px, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.reg-name span:first-child { display: block; }
.kind { font-size: 12px; color: var(--muted); }
.seg { display: inline-flex; border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: 8px 12px; font-size: 13px; cursor: pointer; color: var(--muted); }
.seg button + button { border-left: 1px solid var(--line); }
.seg button:hover { color: var(--text); }
.seg .seg-clear.on { background: var(--ok); color: #fff; }
.seg .seg-similar.on { background: var(--warn); color: #fff; }
.seg .seg-conflict.on { background: var(--bad); color: #fff; }
.reg-note { padding: 8px 10px !important; font-size: 14px !important; }

/* report */
.report { max-width: 860px; margin: 0 auto; background: var(--bg); border: 1px solid var(--line); padding: 56px; }
.r-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--text); }
.r-head-meta { display: grid; text-align: right; font-size: 13px; color: var(--muted); }
.r-intro { padding: 32px 0; border-bottom: 1px solid var(--line); }
.r-client { font-size: 30px; letter-spacing: -.6px; margin-bottom: 8px; }
.r-intro p { margin: 6px 0; }
.r-winner { padding: 48px 0; border-bottom: 1px solid var(--line); }
.r-name { font-size: clamp(56px, 10vw, 112px); line-height: 1; letter-spacing: -3px; }
.r-approach { font-size: 18px; margin: 18px 0 4px; }
.r-approach b { font-weight: 500; }
.r-meaning { font-size: 20px; margin: 4px 0 0; }
.r-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); margin-top: 32px; border: 1px solid var(--line); }
.r-stats div { background: var(--bg); padding: 16px; font-size: 13px; color: var(--muted); }
.r-stats .big { display: block; font-size: 36px; color: var(--text); letter-spacing: -1px; }
.r-block { padding: 32px 0; border-bottom: 1px solid var(--line); break-inside: avoid-page; }
.r-block h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.r-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.r-table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
.r-table td { padding: 9px 8px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.r-table tr { break-inside: avoid; }
.r-conflict td:nth-child(3) { color: var(--bad); font-weight: 500; }
.r-similar td:nth-child(3) { color: var(--warn); font-weight: 500; }
.r-clear td:nth-child(3) { color: var(--ok); }
.r-unchecked td:nth-child(3) { color: var(--faded); }
.r-disclaimer { font-size: 13px; color: var(--muted); margin-top: 16px; }
.r-foot { padding-top: 24px; font-size: 12px; color: var(--muted); }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--text); color: #fff; padding: 12px 18px; font-size: 14px; z-index: 50; max-width: calc(100% - 32px); }

@media (max-width: 1000px) {
  .approaches { grid-template-columns: repeat(2, 1fr); }
  .panel-grid { grid-template-columns: 1fr; gap: 24px; }
  .reg-row { grid-template-columns: 1fr auto; }
  .reg-row .seg, .reg-row .reg-note { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .topbar { padding: 14px 16px; flex-wrap: wrap; }
  .page { padding: 28px 16px 80px; }
  .approaches { grid-template-columns: 1fr; }
  .session-row { grid-template-columns: 1fr; gap: 4px; }
  .report { padding: 24px 16px; border: 0; }
  .r-stats { grid-template-columns: repeat(2, 1fr); }
  .domain-table .links { display: grid; }
}

@media print {
  @page { size: A4; margin: 14mm; }
  .topbar, .no-print, .session-head, .toast { display: none !important; }
  .page { padding: 0; max-width: none; }
  .report { border: 0; padding: 0; max-width: none; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a { text-decoration: none; }
}
.r-unchecked-list { font-size: 13px; color: var(--muted); margin-top: 14px; }

.quick { grid-column: 1 / -1; margin: 2px 0 0; font-size: 13px; min-height: 18px; color: var(--muted); }
.quick b { font-weight: 500; color: var(--text); margin-right: 4px; }
.add-name input.q-red { border-color: var(--bad); box-shadow: inset 3px 0 0 var(--bad); }
.add-name input.q-amber { border-color: var(--warn); box-shadow: inset 3px 0 0 var(--warn); }
.add-name input.q-green { border-color: var(--ok); box-shadow: inset 3px 0 0 var(--ok); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: middle; position: relative; top: -2px; }
.dot-red { background: var(--bad); }
.dot-amber { background: var(--warn); }
.dot-green { background: var(--ok); }
.dot-unknown { background: var(--faded); }

/* motion */
.loadbar {
  position: fixed; top: 0; left: 0; z-index: 100; height: 2px; width: 0;
  background: var(--brand); opacity: 0; pointer-events: none;
}
.loadbar.on { opacity: 1; width: 72%; transition: width 1.2s cubic-bezier(.1, .7, .2, 1), opacity .15s; }
.loadbar.done { opacity: 0; width: 100%; transition: width .2s ease-out, opacity .3s ease .15s; }
.page.enter > * { animation: rise .24s cubic-bezier(.2, .7, .2, 1) both; }
.page.enter > :nth-child(2) { animation-delay: .03s; }
.page.enter > :nth-child(3) { animation-delay: .06s; }
.page.enter > :nth-child(n+4) { animation-delay: .09s; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .page.enter > * { animation: none; }
  .loadbar.on, .loadbar.done { transition: opacity .15s; }
}

/* continents */
.covers { font-size: 13px; color: var(--muted); margin: 10px 0 0; font-weight: 400; max-width: 70ch; }
.reg-country { font-size: 15px; font-weight: 500; margin: 18px 0 2px; }
.found { background: var(--surface); padding: 14px 18px; margin: -12px 0 40px; font-size: 15px; }
.found p { margin: 2px 0; }
.found b { font-weight: 500; }
.found-conflict { color: var(--bad); }
.found-similar { color: var(--warn); }
.domain-table .grp-c th { font-size: 20px; font-weight: 400; letter-spacing: -.3px; text-transform: none; color: var(--text); padding: 26px 0 6px; border-bottom: 1px solid var(--text); }
.domain-table .grp-k th { font-size: 13px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); padding: 14px 0 6px; }
.r-table .r-grp th { color: var(--text); font-size: 13px; padding-top: 16px; }
.report .found { margin: 0 0 16px; }

.site-foot { max-width: 1320px; margin: 0 auto; padding: 24px 40px 40px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; color: var(--muted); }
.site-foot a { color: inherit; text-decoration-color: var(--faded); text-underline-offset: 2px; }
@media (max-width: 680px) { .site-foot { padding: 20px 16px 32px; } }
