:root {
    --canvas: #fff9f4;
    --surface: #fff;
    --warm: #fff1e8;
    --ink: #2b1917;
    --muted: #725d58;
    --coral: #f65e3b;
    --coral-soft: #ffdfd1;
    --red: #a91f17;
    --red-dark: #76140f;
    --yellow: #f5b82e;
    --line: #e9dcd5;
    --shadow: 0 24px 80px rgb(90 35 20 / 10%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--canvas);
    line-height: 1.6;
    color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: radial-gradient(circle at 4% 7%, #f65e3b12, transparent 32rem), radial-gradient(circle at 90% 24%, #f5b82e19, transparent 28rem); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--red); text-underline-offset: 4px; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
main, .site-header { width: min(1180px, calc(100% - 80px)); margin: auto; }
.site-header { min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 23px; font-weight: 650; text-decoration: none; color: var(--ink); letter-spacing: -.8px; }
.brand strong { color: var(--red); font-weight: 850; }
nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
nav a { color: var(--muted); }
.badge { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); }
.hero { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; padding: 35px 0; gap: 45px; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 1.8px; color: var(--red); }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
h1 { margin: 18px 0; font-size: clamp(44px, 4.7vw, 63px); line-height: 1.06; letter-spacing: -3px; font-weight: 850; }
h1 em { font-style: normal; color: var(--red); }
.intro { font-size: 18px; line-height: 1.65; color: var(--muted); }
.trust-list { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; padding: 0; margin: 25px 0 0; font-size: 12px; color: var(--muted); }
.trust-list li::before { content: '✓'; color: var(--red); font-weight: 800; margin-right: 6px; }
.hero-visual { position: relative; padding-bottom: 32px; }
.orbit { width: 290px; height: 290px; margin: auto; position: relative; border-radius: 50%; background: #ffdfd159; border: 1px solid #e9c7b8; }
.orbit::after { content: ''; position: absolute; inset: -17px; border: 1px dashed #e7c8b5; border-radius: 50%; }
.orbit img { position: absolute; width: 250px; height: auto; left: 20px; top: -15px; transform: rotate(8deg); }
.orbit-dot { position: absolute; height: 20px; width: 20px; background: var(--yellow); border-radius: 50%; top: 18px; right: 0; z-index: 1; }
.speech-card { position: absolute; bottom: 0; right: 0; margin: 0; width: 270px; padding: 17px 21px; background: white; box-shadow: var(--shadow); border-radius: 16px; transform: rotate(-4deg); font-size: 15px; }
.speech-card strong { font-size: 14px; }
.speech-card span { display: block; margin-top: 9px; font-size: 8px; letter-spacing: 1.6px; color: var(--muted); }
.search-card { padding: 32px 36px 26px; border: 1px solid var(--line); border-radius: 25px; background: var(--surface); box-shadow: var(--shadow); position: relative; z-index: 2; }
.search-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 24px; }
.step { display: grid; place-items: center; width: 45px; height: 45px; background: var(--warm); color: var(--red); border-radius: 14px; font-size: 15px; font-weight: 800; flex: none; }
.search-heading .eyebrow { font-size: 9px; margin-bottom: 3px; }
h2 { font-size: 25px; font-weight: 800; letter-spacing: -.8px; line-height: 1.25; }
.source-tag { margin-left: auto; color: var(--muted); font-size: 11px; }
.field-label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 7px; }
.search-row { display: flex; align-items: stretch; gap: 12px; }
.autocomplete { flex: 1; min-width: 0; position: relative; }
input { width: 100%; height: 57px; border: 1px solid #b6a59d; border-radius: 12px; padding: 12px 17px; background: #fffdfa; color: var(--ink); font-size: 15px; }
input::placeholder { color: var(--muted); }
input:disabled { background: #f6f1ed; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 15px; padding: 15px 21px; min-height: 50px; border-radius: 12px; font-size: 13px; font-weight: 750; cursor: pointer; border: 1px solid transparent; transition: background .15s; }
.primary { background: var(--red); color: #fff; }
.primary:hover:not(:disabled) { background: var(--red-dark); }
.button:disabled { cursor: not-allowed; background: #e9dcd5; color: #705a51; }
.secondary { color: var(--red); background: var(--surface); border-color: var(--line); }
.help { color: var(--muted); font-size: 11px; margin-top: 12px; }
.status { font-size: 13px; color: var(--red-dark); margin-top: 10px; }
.status:empty { margin: 0; }
#suggestions { position: absolute; width: 100%; max-height: 300px; overflow: auto; top: 100%; padding: 6px; margin: 5px 0 0; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 12px; list-style: none; z-index: 5; }
#suggestions li { padding: 12px; border-radius: 7px; cursor: pointer; font-size: 14px; }
#suggestions li[aria-selected="true"], #suggestions li:hover { background: var(--warm); }
#suggestions small { display: block; font-size: 11px; color: var(--muted); }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 52px 0 56px; }
.how article + article { border-left: 1px solid var(--line); padding-left: 32px; }
.how span { font-size: 9px; font-weight: 750; color: var(--red); letter-spacing: 1.2px; }
.how h3 { font-size: 16px; margin: 10px 0 6px; }
.how p { font-size: 13px; color: var(--muted); max-width: 260px; }
.results { margin-top: 50px; scroll-margin-top: 30px; }
.result-heading { display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.result-heading h2 { margin: 8px 0; font-size: 30px; }
#result-job { font-size: 13px; color: var(--muted); }
.count { display: grid; text-align: right; flex: none; }
.count strong { font-size: 42px; color: var(--red); line-height: 1.1; }
.count span { font-size: 11px; color: var(--muted); }
.notice { font-size: 13px; padding: 15px 18px; background: var(--warm); border-radius: 12px; margin: 22px 0; color: var(--muted); }
.demo { border: 1px solid var(--coral); }
.skill-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.skill-card { padding: 25px; border-radius: 20px; background: white; border: 1px solid var(--line); }
.skill-card h3 { font-size: 19px; color: var(--red-dark); }
.skill-card ul { padding-left: 20px; margin-bottom: 0; }
.skill-card li { padding: 5px 0; font-size: 14px; overflow-wrap: anywhere; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; align-items: center; }
.text-button { background: none; color: var(--red); border: 0; text-decoration: underline; padding: 12px; cursor: pointer; font-size: 13px; }
.source-detail { color: var(--muted); font-size: 11px; margin-top: 16px; }
.gpec { padding: 22px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; margin-bottom: 35px; }
footer { padding: 30px 40px; text-align: center; border-top: 1px solid var(--line); background: #fff5ed; color: var(--muted); font-size: 11px; }
.footer-brand { font-size: 16px; color: var(--ink); }
.footer-brand strong { color: var(--red); }
footer p { margin: 5px 0 9px; }
.footer-note { max-width: 650px; margin: 15px auto 0; font-size: 10px; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 12px; background: white; z-index: 10; }
.skip-link:focus { top: 10px; }
@media (max-width: 900px) {
    main, .site-header { width: calc(100% - 40px); }
    .hero { gap: 20px; }
    .orbit { width: 250px; height: 250px; }
    .orbit img { width: 220px; left: 15px; }
    .speech-card { width: 230px; }
    .search-row { flex-direction: column; }
    .search-row .button { align-self: flex-start; }
}
@media (max-width: 600px) {
    .site-header { min-height: 80px; }
    .brand { font-size: 20px; }
    .badge { display: none; }
    nav { gap: 12px; font-size: 11px; }
    .hero { grid-template-columns: 1fr; padding: 35px 0 30px; gap: 28px; }
    h1 { font-size: clamp(35px, 10vw, 44px); letter-spacing: -2px; margin: 18px 0; }
    .intro { font-size: 16px; }
    .desktop-break { display: none; }
    .trust-list { gap: 13px; font-size: 11px; }
    .hero-visual { display: none; }
    .orbit { width: 180px; height: 180px; margin-left: 30px; }
    .orbit img { width: 160px; left: 10px; top: -5px; }
    .speech-card { width: 203px; padding: 12px 15px; margin-top: -22px; font-size: 12px; }
    .speech-card strong { font-size: 12px; }
    .speech-card span { font-size: 7px; }
    .search-card { padding: 23px 20px; border-radius: 20px; }
    .search-heading { flex-wrap: wrap; gap: 10px; }
    .search-heading h2 { font-size: 20px; max-width: 210px; }
    .source-tag { display: none; }
    .step { width: 35px; height: 40px; }
    .search-row .button { width: 100%; padding-inline: 10px; font-size: 12px; }
    input { font-size: 16px; }
    .how { grid-template-columns: 1fr; gap: 22px; padding-block: 35px; }
    .how article + article { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); }
    .how p { max-width: none; }
    .skill-groups { grid-template-columns: 1fr; }
    .result-heading { align-items: flex-start; flex-direction: column; }
    .count { text-align: left; }
    .result-heading h2 { font-size: 26px; }
    footer { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print {
    .site-header, .hero, .search-card, .how, .result-actions, .gpec, .skip-link { display: none; }
    main { width: 100%; }
    body { background: white; }
    .skill-card { break-inside: avoid; }
    .skill-groups { display: block; }
}
