/* LooksIndex · shared, dependency-free styles. Mobile breakpoints follow content. */
:root {
  --paper: #f6f5f1;
  --surface: #ffffff;
  --ink: #1e2927;
  --muted: #626b67;
  --line: #dedfd8;
  --accent: #b7472e;
  --accent-hover: #94351f;
  --forest: #193735;
  --positive: #17644d;
  --positive-soft: #e6f2eb;
  --negative: #a73726;
  --radius: 14px;
  --font: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img, svg { display: block; max-width: 100%; }
button, input, select { touch-action: manipulation; }
:focus-visible { outline: 3px solid #2b6f97; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; font-weight: 650; letter-spacing: -.04em; }
h1 { font-size: clamp(2.2rem, 4.7vw, 3.85rem); }
h2 { font-size: 1.65rem; }
h3 { font-size: 1rem; letter-spacing: -.015em; }
p + p { margin-top: 14px; }
fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
legend { padding: 0; font-weight: 650; }
input, select { width: 100%; min-width: 0; border: 1px solid #c6ccc5; border-radius: 7px; background: var(--surface); color: var(--ink); padding: 11px 12px; min-height: 46px; }
select { padding-right: 28px; }
input:disabled, select:disabled { background: #eeefeb; color: #59625d; opacity: 1; cursor: not-allowed; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; min-height: 18px; flex: 0 0 18px; margin: 3px 0 0; accent-color: var(--forest); }
input::placeholder { color: #6a746e; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.page-main { padding-top: 48px; padding-bottom: 64px; min-height: calc(100vh - 270px); }
.icon { width: 20px; height: 20px; flex: 0 0 20px; }
.muted { color: var(--muted); }
.fine-print { color: var(--muted); font-size: .79rem; line-height: 1.6; }
.eyebrow, .field-eyebrow { display: block; font-size: .65rem; font-weight: 750; letter-spacing: .12em; line-height: 1.5; }
.eyebrow { color: var(--muted); margin-bottom: 16px; }
.field-eyebrow { color: var(--muted); font-size: .6rem; letter-spacing: .1em; }
.text-accent { color: var(--accent); }
.mono { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 0; transform: translateY(-110%); padding: 12px 16px; color: white; background: var(--forest); border-radius: 0 0 8px 8px; }
.skip-link:focus { transform: none; color: white; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.header-inner { width: min(1344px, calc(100% - 64px)); margin-inline: auto; display: flex; align-items: center; min-height: 88px; gap: 58px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.45rem; font-weight: 650; letter-spacing: -.075em; color: var(--ink); white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand-index { font-weight: 450; }
.brand-dot { color: var(--accent); font-weight: 800; }
.brand-mark { width: 31px; height: 30px; display: inline-flex; align-items: flex-end; gap: 3px; padding: 5px 2px; }
.brand-mark i { width: 6px; height: 9px; background: var(--forest); border-radius: 1px; }
.brand-mark i:nth-child(2) { height: 15px; }
.brand-mark i:nth-child(3) { height: 21px; background: var(--accent); }
.site-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 24px; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 26px; }
.nav-links a, .login-link { font-size: .86rem; color: #515c57; font-weight: 550; position: relative; padding-block: 18px; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { content: ""; height: 2px; width: 20px; position: absolute; bottom: 9px; left: 0; background: var(--accent); }
.nav-links a:hover, .login-link:hover { color: var(--accent); }
.nav-actions { gap: 20px; }
.menu-toggle { display: none; }
.preview-ribbon { border-bottom: 1px solid var(--line); color: #5e625b; font-size: .7rem; background: #eeede7; }
.preview-ribbon .container { display: flex; align-items: center; gap: 14px; padding-block: 9px; }
.preview-label { font-size: .6rem; font-weight: 750; letter-spacing: .1em; flex-shrink: 0; }
.page-heading { margin-bottom: 38px; }
.page-lead { margin-top: 20px; color: var(--muted); font-size: 1rem; line-height: 1.75; max-width: 710px; }
.compare-heading { display: flex; align-items: flex-end; justify-content: space-between; }
.heading-note { color: var(--forest); font-size: .9rem; line-height: 1.65; padding: 0 12px 9px 20px; }
.note-line { display: block; margin-top: 14px; height: 1px; background: var(--accent); width: 52px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: middle; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 12px 20px; background: var(--accent); color: white; border: 1px solid transparent; border-radius: 7px; font-size: .85rem; font-weight: 600; line-height: 1.25; text-align: center; transition: background .16s ease, border-color .16s ease; }
.button:hover:not(:disabled) { color: white; background: var(--accent-hover); }
.button-small { min-height: 41px; padding: 10px 14px; font-size: .8rem; }
.button-small .icon { width: 16px; height: 16px; flex-basis: 16px; }
.button-secondary { background: transparent; border-color: #b9c3ba; color: var(--forest); }
.button-secondary:hover:not(:disabled) { background: #e6eae3; color: var(--forest); border-color: var(--forest); }
.button-dark { background: var(--forest); }
.button-dark:hover:not(:disabled) { background: #0e2624; }
.button-full { width: 100%; }
.text-button { padding: 8px 0; border: 0; background: transparent; color: var(--muted); font-size: .82rem; text-decoration: underline; text-underline-offset: 4px; }
.text-button:hover { color: var(--ink); }
.inline-link { display: inline-flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 650; color: var(--forest); }
.inline-link .icon { width: 16px; height: 16px; flex-basis: 16px; }
.compare-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; }
.comparison-section { min-width: 0; }
.section-topline { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 15px; }
.cohort-label { font-size: .76rem; color: #4c5951; }
.photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.photo-card { min-width: 0; background: var(--surface); border: 1px solid #ced2ca; border-radius: var(--radius); overflow: hidden; transition: border-color .16s, box-shadow .16s; }
.photo-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; gap: 8px; min-height: 57px; font-size: .73rem; color: #47554f; }
.photo-toolbar > span { display: flex; align-items: center; gap: 8px; }
.photo-letter { display: inline-grid; place-items: center; width: 23px; height: 23px; border: 1px solid var(--line); border-radius: 5px; font-family: var(--mono); font-size: .65rem; }
.report-button { background: none; border: 0; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; font-size: .69rem; padding: 6px 0 6px 6px; }
.report-button .icon { width: 13px; height: 13px; flex-basis: 13px; }
.report-button:hover { color: var(--negative); }
.photo-choice { position: relative; display: flex; width: 100%; min-height: 270px; aspect-ratio: 1 / 1.05; border: 0; border-radius: 0; flex-direction: column; justify-content: center; align-items: center; padding: 25px; color: #756e5f; overflow: hidden; }
.tone-sand { background: #e5dfd0; }
.tone-slate { background: #d9e1de; color: #536f68; }
.photo-choice::before { content: ""; position: absolute; border-radius: 50%; width: 78%; aspect-ratio: 1; border: 1px solid currentColor; opacity: .13; top: 13%; }
.portrait-placeholder { width: 120px; height: 138px; display: grid; place-items: center; opacity: .5; }
.portrait-icon { width: 92px; height: 92px; stroke-width: .8; }
.placeholder-caption { font-family: var(--mono); font-size: .55rem; letter-spacing: .18em; opacity: .9; margin-top: 16px; }
.frame-corner { position: absolute; width: 22px; height: 22px; border-color: currentColor; border-style: solid; opacity: .25; }
.corner-tl { top: 22px; left: 22px; border-width: 1px 0 0 1px; }
.corner-tr { top: 22px; right: 22px; border-width: 1px 1px 0 0; }
.corner-bl { bottom: 69px; left: 22px; border-width: 0 0 1px 1px; }
.corner-br { bottom: 69px; right: 22px; border-width: 0 1px 1px 0; }
.choice-prompt { position: absolute; left: 14px; right: 14px; bottom: 14px; border-radius: 6px; min-height: 38px; background: rgba(255,255,255,.76); display: flex; align-items: center; justify-content: center; gap: 10px; font-size: .77rem; font-weight: 650; color: var(--ink); transition: background .16s; }
.choice-prompt .icon { width: 16px; height: 16px; flex-basis: 16px; }
.photo-choice:hover:not(:disabled) .choice-prompt { background: white; }
.photo-choice:focus-visible { outline-offset: -6px; }
.photo-choice:disabled { cursor: default; opacity: 1; }
.photo-card.is-selected { border-color: var(--positive); box-shadow: 0 0 0 2px var(--positive); }
.photo-card.is-selected .choice-prompt { background: var(--positive); color: white; }
.photo-card.is-other .choice-prompt { background: rgba(255,255,255,.5); color: #5d6660; }
.choice-check { display: none; position: absolute; top: 17px; right: 17px; width: 31px; height: 31px; background: var(--positive); color: white; border-radius: 50%; align-items: center; justify-content: center; }
.is-selected .choice-check { display: flex; }
.photo-score { min-height: 77px; padding: 14px 17px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.score-value { display: block; margin-top: 5px; color: var(--muted); font-size: .72rem; }
.is-selected .score-value, .is-other .score-value { font-size: 1.2rem; font-family: var(--mono); color: var(--ink); margin-top: 0; }
.score-delta { color: var(--positive); background: var(--positive-soft); padding: 4px 8px; border-radius: 5px; font-family: var(--mono); font-size: .9rem; font-weight: 600; }
.score-delta.negative { color: var(--negative); background: #faeeea; }
.vote-status { min-height: 39px; padding-top: 16px; font-size: .8rem; color: var(--muted); }
.comparison-actions { display: flex; align-items: center; gap: 22px; padding: 14px 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 13px; }
.keyboard-hint { color: var(--muted); font-size: .7rem; margin-right: auto; }
kbd { border: 1px solid #c9cfc8; padding: 3px 6px; border-radius: 4px; margin-inline: 1px; font-size: .65rem; font-family: var(--mono); background: var(--surface); }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--surface); }
.side-stack { display: grid; gap: 25px; }
.context-panel { margin-top: 36px; background: #e9ede6; border-color: #d9e0d5; padding: 26px 23px; }
.panel-icon { width: 33px; height: 33px; display: flex; align-items: center; justify-content: center; border: 1px solid #c3cebf; border-radius: 9px; margin-bottom: 24px; color: var(--forest); }
.context-panel .eyebrow { margin-bottom: 10px; }
.context-panel h2 { font-size: 1.65rem; }
.context-panel > p:not(.eyebrow) { color: #586359; font-size: .82rem; line-height: 1.65; margin-top: 12px; }
.stack-form { display: flex; flex-direction: column; gap: 10px; }
.stack-form > label { font-weight: 600; font-size: .8rem; }
.context-panel .stack-form { margin-top: 24px; }
.context-panel .stack-form .button { margin-top: 2px; font-size: .77rem; }
.context-divider { height: 1px; background: #cdd7c8; margin: 25px 0 20px; }
.context-profile { display: block; margin: 7px 0; line-height: 1.5; font-size: .8rem; }
.mini-feature { display: flex; align-items: start; gap: 12px; padding-inline: 5px; }
.mini-feature > .icon { color: var(--forest); margin-top: 1px; }
.mini-feature h3 { margin-bottom: 8px; }
.mini-feature p { color: var(--muted); font-size: .8rem; }
.mini-feature .inline-link { margin-top: 13px; font-size: .76rem; }
.ad-placeholder { margin-top: 44px; min-height: 105px; border-block: 1px dashed #cfd2c8; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); }
.ad-placeholder > span { font-size: .55rem; letter-spacing: .16em; font-weight: 650; }
.ad-placeholder > p { font-size: .75rem; margin-top: 5px; }
.board-panel { padding: 0; overflow: hidden; }
.board-toolbar { padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.board-toolbar p { font-size: .8rem; margin-top: 8px; }
.compact-field { display: flex; flex-direction: column; gap: 5px; font-size: .75rem; color: var(--muted); }
.compact-field select { font-size: .8rem; }
.board-summary { display: grid; grid-template-columns: repeat(3, 1fr); padding: 22px 30px; background: #f0f2ec; border-block: 1px solid var(--line); gap: 24px; }
.board-summary strong { display: block; font-size: 1.8rem; letter-spacing: -.055em; line-height: 1.4; font-weight: 600; }
.board-summary strong.summary-text { font-size: 1rem; line-height: 2.5; letter-spacing: -.02em; }
.view-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 8px; background: #eeefe9; }
.board-panel > .view-switch { margin: 22px 30px; }
.view-switch button { padding: 9px 17px; border: 0; background: none; border-radius: 5px; color: #626c63; font-size: .8rem; font-weight: 600; }
.view-switch button.is-active { background: var(--surface); color: var(--forest); box-shadow: 0 1px 3px #1e292715; }
.table-scroll { overflow-x: auto; }
.ranking-table { border-collapse: collapse; width: 100%; text-align: left; white-space: nowrap; }
.ranking-table th { color: var(--muted); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; background: #fafaf7; padding: 14px 20px; border-block: 1px solid var(--line); }
.ranking-table td { padding: 16px 20px; border-bottom: 1px solid #ebece6; font-size: .85rem; }
.ranking-table th:first-child, .ranking-table td:first-child { padding-left: 30px; }
.ranking-table tr:last-child td { border-bottom: 0; }
.ranking-table td:first-child { color: var(--muted); font-family: var(--mono); }
.sample-photo-name { display: flex; align-items: center; gap: 12px; }
.sample-avatar { display: inline-grid; place-items: center; width: 36px; height: 39px; background: #e5e9df; border-radius: 6px; color: #4d6b5a; font-size: .6rem; font-family: var(--mono); }
.rating-number { font-family: var(--mono); font-weight: 600; }
.badge { display: inline-block; border-radius: 5px; padding: 4px 8px; font-size: .65rem; font-weight: 550; line-height: 1.4; }
.badge-neutral { background: #f0f1eb; color: #586458; border: 1px solid #e1e5db; }
.explainer-row { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-top: 24px; font-size: .81rem; color: var(--muted); }
.explainer-row > div { display: flex; align-items: start; gap: 12px; max-width: 710px; }
.explainer-row .inline-link { flex-shrink: 0; }
.distribution { padding: 5px 30px 30px; }
.distribution h3 { margin-bottom: 10px; }
.distribution > p { font-size: .8rem; }
.histogram { padding: 26px 0; display: grid; gap: 13px; }
.histogram-row { display: grid; grid-template-columns: 90px 1fr 23px; align-items: center; gap: 15px; font-size: .75rem; font-family: var(--mono); }
.histogram-track { height: 28px; background: #f0f2ed; border-radius: 4px; overflow: hidden; }
.histogram-bar { height: 100%; background: #547c6b; border-radius: 4px; }
.results-empty { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 36px; align-items: center; padding: 40px; }
.empty-portrait { min-height: 195px; background: #e5e9df; display: grid; place-items: center; border-radius: 10px; color: #5c7563; }
.results-empty h2 { margin: 14px 0 12px; }
.results-empty p { color: var(--muted); font-size: .9rem; max-width: 650px; }
.results-empty .button { margin-top: 23px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 20px 0; }
.metric strong { display: block; font-size: 2.5rem; font-weight: 500; letter-spacing: -.06em; margin: 6px 0; }
.metric p { color: var(--muted); font-size: .78rem; }
.audience-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 20px; }
.audience-preview h2 { font-size: 1.4rem; margin-bottom: 10px; }
.audience-preview p { color: var(--muted); font-size: .84rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.field-grid label { display: flex; flex-direction: column; gap: 8px; font-size: .77rem; font-weight: 550; }
.field-grid input, .field-grid select { font-size: .8rem; }
.upload-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 30px; }
.upload-dropzone { display: grid; place-items: center; position: relative; min-height: 300px; padding: 26px; border: 1px dashed #a9b5a6; border-radius: 10px; background: #f0f2eb; cursor: pointer; margin-top: 20px; overflow: hidden; }
.upload-dropzone:hover, .upload-dropzone.is-dragging { background: #e5eadf; border-color: var(--forest); }
.upload-dropzone:focus-within { outline: 3px solid #2b6f97; outline-offset: 3px; }
.upload-dropzone input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; left: 50%; bottom: 5px; }
.upload-empty { display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--muted); }
.upload-empty strong { color: var(--forest); font-size: 1.05rem; }
.upload-empty > span:not(.upload-symbol) { font-size: .85rem; }
.upload-empty small { font-size: .72rem; margin-top: 9px; }
.upload-symbol { width: 50px; height: 50px; border: 1px solid #c5cfbe; border-radius: 12px; display: grid; place-items: center; margin-bottom: 10px; color: var(--forest); }
#photo-preview { max-height: 390px; width: 100%; object-fit: contain; border-radius: 5px; }
.file-details { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 10px; font-size: .78rem; }
#file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-details .text-button { flex-shrink: 0; }
.form-feedback { font-size: .8rem; color: var(--muted); padding-block: 16px; }
.form-feedback.is-error { color: var(--negative); }
.check-label { display: flex; align-items: start; gap: 10px; font-size: .8rem; line-height: 1.6; margin: 10px 0 22px; }
.upload-panel > .fine-print { margin-top: 12px; }
.check-list { display: grid; gap: 16px; list-style: none; margin: 25px 0; padding: 0; font-size: .85rem; }
.check-list li { display: flex; align-items: start; gap: 10px; }
.check-list .icon { color: var(--positive); width: 17px; height: 17px; flex-basis: 17px; margin-top: 4px; }
.account-layout { display: grid; grid-template-columns: minmax(0, 610px) 1fr; gap: 70px; align-items: start; }
.account-panel { padding: 30px; }
.account-panel .stack-form > fieldset.stack-form { margin-top: 20px; }
.text-button { border: 0; background: transparent; color: var(--forest); padding: 10px 0; text-align: left; text-decoration: underline; font-size: .84rem; }
.text-button:hover { color: var(--accent); }
.notice.is-error { color: var(--negative); background: #faeae5; }
.account-session { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.session-email { font-size: 1.2rem; overflow-wrap: anywhere; max-width: 100%; }
.verification-panel { font-size: .85rem; color: var(--muted); }
.account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.profile-panel { margin-top: 25px; border-top: 1px solid var(--line); padding-top: 25px; }
.profile-panel > .fine-print { margin-block: 12px 22px; }
.profile-panel .check-label { margin-top: 22px; }
#profile-saved { margin-top: 15px; }
.notice { background: #f3f0e7; color: #6b5941; padding: 13px 16px; border-radius: 7px; font-size: .8rem; line-height: 1.6; margin-block: 20px; }
.account-panel .stack-form > label:not(:first-child) { margin-top: 6px; }
.account-panel .stack-form > .button { margin-top: 12px; }
.signup-fields { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 22px; }
.signup-fields > .fine-print { margin: 10px 0 18px; }
.optional { font-weight: 400; color: var(--muted); display: contents; }
.signup-fields .check-label { margin-bottom: 0; }
.account-aside { padding-top: 45px; }
.account-aside h2 { font-size: 2rem; margin: 35px 0 20px; }
.account-aside p { font-size: .9rem; color: var(--muted); max-width: 310px; }
.account-aside .inline-link { margin-top: 25px; }
.large-index-mark { display: inline-flex; align-items: flex-end; height: 110px; gap: 12px; }
.large-index-mark i { width: 31px; height: 50px; border-radius: 6px 6px 0 0; background: #b6c4b1; }
.large-index-mark i:nth-child(2) { height: 80px; background: #5c7863; }
.large-index-mark i:nth-child(3) { height: 110px; background: var(--accent); }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 42px; }
.step-number { display: inline-block; font-family: var(--mono); color: var(--accent); font-size: .9rem; margin-bottom: 30px; }
.step-card h2 { font-size: 1.3rem; margin-bottom: 13px; }
.step-card p { color: var(--muted); font-size: .85rem; }
.explainer-section { display: grid; grid-template-columns: 1fr 1.65fr; gap: 55px; padding: 55px 0; border-bottom: 1px solid var(--line); }
.explainer-section > div > p:not(.eyebrow):not(.fine-print) { font-size: .9rem; color: #536057; }
.elo-example { padding: 22px; background: #e9ede5; border-radius: 9px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 22px 0 14px; font-size: .8rem; color: #526155; }
.elo-example strong { display: block; color: var(--ink); font-family: var(--mono); font-size: 1.25rem; font-weight: 550; margin-top: 3px; }
.elo-example em { color: var(--positive); font-style: normal; font-size: .9rem; }
.elo-example em.negative { color: var(--negative); }
.example-separator { color: #adb9a6; font-size: 2rem; font-weight: 300; }
.editorial-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.editorial-list li { font-size: .88rem; color: #536057; }
.editorial-list strong { color: var(--ink); }
.editorial-list + p { margin-top: 24px; }
.closing-cta { padding-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.closing-cta p { margin-top: 12px; color: var(--muted); font-size: .85rem; }
.site-footer { background: #eeefe8; border-top: 1px solid var(--line); }
.footer-inner { min-height: 140px; padding-block: 30px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-footer .brand { font-size: 1.1rem; }
.site-footer .brand-mark { transform: scale(.8); transform-origin: left center; margin-right: -5px; }
.site-footer p { font-size: .73rem; color: var(--muted); margin-top: 7px; }
.footer-links { display: flex; gap: 22px; font-size: .75rem; color: #536057; }
.footer-inner > small { font-size: .68rem; color: var(--muted); }
.report-dialog { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow: auto; border: 1px solid var(--line); border-radius: 15px; padding: 28px; background: var(--surface); color: var(--ink); box-shadow: 0 20px 80px #15292033; }
.report-dialog::backdrop { background: #14231dcc; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-heading .eyebrow { margin: 0; font-size: .58rem; }
.icon-button { border: 0; background: #f0f1eb; width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; }
.icon-button .icon { width: 17px; height: 17px; }
.report-dialog h2 { margin-top: 18px; }
.report-dialog > p { font-size: .8rem; margin: 8px 0 22px; }
.report-reasons legend { font-size: .8rem; margin-bottom: 14px; }
.report-reasons label { display: flex; align-items: start; gap: 10px; font-size: .82rem; padding: 12px 0; border-top: 1px solid #ebede5; }
#report-form > .fine-print { margin-block: 15px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 50; width: max-content; max-width: calc(100% - 32px); border-radius: 9px; background: var(--forest); color: white; padding: 14px 20px; font-size: .8rem; box-shadow: 0 5px 25px #15292025; }
@media (max-width: 1100px) {
  .header-inner { gap: 30px; }
  .nav-links { gap: 18px; }
  .nav-actions { gap: 15px; }
  .compare-layout { grid-template-columns: minmax(0, 1fr) 255px; gap: 24px; }
  .photo-toolbar { padding: 11px; }
  .photo-toolbar .photo-letter { display: none; }
  .photo-choice { min-height: 240px; }
  .keyboard-hint { display: none; }
  .comparison-actions { justify-content: flex-end; }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 0; min-height: 76px; padding-block: 18px; justify-content: space-between; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; padding-top: 22px; }
  .nav-links { flex-wrap: wrap; gap: 8px 24px; }
  .nav-actions { padding-top: 4px; }
  .menu-toggle { align-items: center; gap: 8px; border: 1px solid #cfd5cb; background: transparent; padding: 7px 12px; border-radius: 6px; color: var(--ink); font-size: .77rem; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav:not(.is-open) { display: none; }
  .nav-links a { padding-block: 12px; }
  .nav-links a[aria-current="page"]::after { bottom: 3px; }
  .compare-layout { grid-template-columns: 1fr; }
  .context-panel { margin-top: 0; }
  .side-stack { grid-template-columns: 1fr 1fr; gap: 24px; }
  .photo-choice { aspect-ratio: 1 / 1.07; }
  .photo-toolbar .photo-letter { display: inline-grid; }
  .mini-feature { padding-top: 20px; }
  .upload-layout { grid-template-columns: minmax(0, 1fr); }
  .account-layout { gap: 40px; grid-template-columns: minmax(0, 1.5fr) 1fr; }
  .audience-preview { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-links { gap: 16px; }
  .steps-grid { gap: 14px; }
  .step-card { padding: 22px; }
  .step-card h2 { font-size: 1.2rem; }
}
@media (max-width: 620px) {
  .container, .header-inner { width: calc(100% - 32px); }
  .header-inner { padding-block: 14px; min-height: 70px; }
  .brand { font-size: 1.3rem; }
  .preview-ribbon .container { align-items: start; gap: 10px; font-size: .65rem; }
  .preview-label { padding-top: 2px; }
  .page-main { padding-top: 30px; padding-bottom: 38px; }
  .page-heading { margin-bottom: 28px; }
  h1 { font-size: clamp(2.15rem, 8.2vw, 3rem); }
  .page-lead { font-size: .87rem; margin-top: 16px; }
  .heading-note { display: none; }
  .eyebrow { font-size: .59rem; margin-bottom: 12px; }
  .section-topline { gap: 10px; align-items: start; }
  .cohort-label { font-size: .69rem; }
  .photo-pair { gap: 10px; }
  .photo-toolbar { flex-wrap: wrap; gap: 3px; padding: 9px 10px; }
  .photo-toolbar > span { font-size: .68rem; }
  .photo-toolbar .photo-letter { display: none; }
  .report-button { padding: 6px 0; font-size: .63rem; }
  .photo-choice { min-height: 200px; padding: 16px 10px 40px; aspect-ratio: .7; }
  .portrait-placeholder { width: 70px; height: 90px; }
  .portrait-icon { width: 64px; height: 64px; }
  .placeholder-caption { font-size: .4rem; letter-spacing: .08em; margin-top: 10px; }
  .choice-prompt { left: 8px; right: 8px; bottom: 10px; gap: 5px; font-size: .63rem; min-height: 33px; }
  .choice-prompt .icon { width: 13px; height: 13px; flex-basis: 13px; }
  .frame-corner { width: 15px; height: 15px; }
  .corner-tl { left: 14px; top: 17px; }
  .corner-tr { right: 14px; top: 17px; }
  .corner-bl { left: 14px; bottom: 59px; }
  .corner-br { right: 14px; bottom: 59px; }
  .photo-score { align-items: start; flex-direction: column; min-height: 103px; padding: 12px 10px; gap: 4px; }
  .score-value { font-size: .64rem; }
  .score-delta { font-size: .73rem; padding: 2px 7px; }
  .is-selected .score-value, .is-other .score-value { font-size: 1.1rem; }
  .field-eyebrow { font-size: .55rem; }
  .comparison-actions { gap: 18px; padding-top: 8px; }
  .comparison-actions .button { font-size: .75rem; padding: 11px 13px; gap: 7px; }
  .comparison-actions .text-button { font-size: .72rem; }
  .vote-status { font-size: .73rem; min-height: 52px; }
  .side-stack { grid-template-columns: 1fr; gap: 20px; }
  .context-panel { padding: 23px; }
  .mini-feature { padding-top: 0; }
  .panel-icon { margin-bottom: 18px; }
  .ad-placeholder { margin-top: 28px; min-height: 85px; }
  .board-toolbar { padding: 23px 20px; flex-direction: column; align-items: stretch; }
  .board-toolbar h2 { font-size: 1.5rem; }
  .board-summary { padding: 20px; gap: 10px; }
  .board-summary strong { font-size: 1.5rem; }
  .board-summary strong.summary-text { font-size: .74rem; }
  .board-summary .field-eyebrow { min-height: 27px; }
  .board-panel > .view-switch { margin-inline: 20px; }
  .ranking-table th, .ranking-table td { padding: 13px 15px; }
  .ranking-table th:first-child, .ranking-table td:first-child { padding-left: 20px; }
  .explainer-row { flex-direction: column; align-items: start; gap: 18px; }
  .distribution { padding: 5px 20px 25px; }
  .histogram-row { grid-template-columns: 73px 1fr 16px; gap: 9px; font-size: .63rem; }
  .results-empty { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
  .empty-portrait { width: 100px; min-height: 115px; }
  .results-empty h2 { font-size: 1.45rem; }
  .metric-grid { grid-template-columns: 1fr; gap: 12px; }
  .metric { padding: 20px 24px; }
  .metric strong { font-size: 2rem; }
  .audience-preview { padding: 24px; }
  .field-grid { grid-template-columns: 1fr; }
  .upload-panel { padding: 22px; }
  .upload-panel h2 { font-size: 1.4rem; }
  .upload-dropzone { padding: 20px; min-height: 240px; }
  .account-layout { grid-template-columns: 1fr; gap: 30px; }
  .account-panel { padding: 22px; }
  .account-aside { padding-top: 0; }
  .account-aside p { max-width: none; }
  .large-index-mark { height: 65px; gap: 8px; }
  .large-index-mark i { width: 23px; height: 30px; }
  .large-index-mark i:nth-child(2) { height: 47px; }
  .large-index-mark i:nth-child(3) { height: 65px; }
  .account-aside h2 { font-size: 1.7rem; margin-top: 22px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-number { margin-bottom: 18px; }
  .explainer-section { grid-template-columns: 1fr; gap: 24px; padding: 35px 0; }
  .elo-example { padding: 15px; gap: 9px; }
  .elo-example strong { font-size: 1.05rem; }
  .elo-example em { font-size: .78rem; }
  .closing-cta { flex-direction: column; align-items: start; gap: 22px; }
  .footer-inner { align-items: start; gap: 22px; }
  .footer-links { flex-wrap: wrap; flex-basis: 100%; font-size: .72rem; }
  .footer-inner > small { flex-basis: 100%; }
  .report-dialog { padding: 22px; }
  .dialog-actions .button { padding-inline: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
