:root {
    --navy: #14243a;
    --navy-2: #213650;
    --coral: #ff6846;
    --coral-dark: #e95133;
    --mint: #39d4a4;
    --sky: #5c8cff;
    --ink: #172033;
    --muted: #64748b;
    --line: #e5eaf0;
    --soft: #f6f8fa;
    --white: #fff;
    --shadow: 0 24px 70px rgba(20, 36, 58, .11);
    --radius: 24px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; overflow-x: clip; background: #fff; color: var(--ink); font-family: var(--font); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; z-index: -1; inset: 0; background: radial-gradient(circle at 10% 5%, rgba(57,212,164,.08), transparent 23rem), radial-gradient(circle at 92% 16%, rgba(255,104,70,.06), transparent 25rem); pointer-events: none; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow-shell { width: min(920px, calc(100% - 40px)); }
.site-header { width: min(1240px, calc(100% - 36px)); height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 50; }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--navy); text-decoration: none; }
.brand img { filter: drop-shadow(0 8px 13px rgba(20,36,58,.15)); }
.brand-word { font-size: 1.45rem; font-weight: 850; letter-spacing: -.055em; }
.brand-word span { color: var(--coral); }
.language-picker { position: relative; }
.icon-button { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.92); color: var(--navy); font-weight: 800; }
.icon-button:hover { border-color: #bbc6d2; background: var(--soft); }
.icon-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.language-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 190px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.language-menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 11px; text-decoration: none; font-weight: 650; }
.language-menu a:hover, .language-menu a[aria-current="page"] { background: var(--soft); }
.language-menu span { width: 30px; color: var(--muted); font-size: .72rem; letter-spacing: .08em; }
.hero { min-height: calc(100vh - 88px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr); gap: clamp(56px, 8vw, 112px); align-items: center; padding: 58px 0 108px; }
.hero-copy { align-self: center; padding-bottom: 1.5rem; }
.eyebrow { margin: 0 0 16px; color: var(--coral-dark); font-size: .73rem; line-height: 1.3; text-transform: uppercase; letter-spacing: .16em; font-weight: 850; }
h1, h2, h3, p { overflow-wrap: anywhere; }
.hero h1, .result-header h1, .legal-page h1 { margin: 0; color: var(--navy); font-size: clamp(3.2rem, 5.8vw, 5.55rem); line-height: .96; letter-spacing: -.068em; max-width: 620px; }
.hero-text { margin: 25px 0 0; max-width: 540px; color: #526174; font-size: clamp(1.02rem, 1.45vw, 1.17rem); line-height: 1.7; }
.repair-card { position: relative; background: rgba(255,255,255,.96); border: 1px solid rgba(218,225,233,.9); border-radius: 32px; padding: clamp(30px, 4.2vw, 50px); box-shadow: var(--shadow); }
.repair-card::before { content: ""; position: absolute; z-index: -1; width: 110px; height: 110px; top: -26px; right: -25px; border-radius: 32px; background: var(--mint); opacity: .2; transform: rotate(10deg); }
.card-heading { margin-bottom: 32px; }
.card-heading h2 { margin: 0; color: var(--navy); font-size: clamp(1.55rem, 2.3vw, 1.9rem); line-height: 1.2; letter-spacing: -.04em; }
.form-step { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.form-step legend { width: 100%; margin-bottom: 13px; color: #53657a; font-size: .76rem; font-weight: 820; letter-spacing: .07em; text-transform: uppercase; }
label { display: block; margin-bottom: 8px; color: var(--navy); font-size: .9rem; font-weight: 760; }
input[type="text"], input[type="email"], textarea { width: 100%; border: 1.5px solid #dce3ea; border-radius: 14px; background: #fbfcfd; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
input[type="text"], input[type="email"] { height: 54px; padding: 0 15px; }
textarea { min-height: 112px; resize: vertical; padding: 14px 15px; }
input:focus, textarea:focus { background: #fff; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(92,140,255,.12); }
.form-step > small, .country-field > small { display: block; margin-top: 7px; color: var(--muted); font-size: .76rem; }
.input-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 18px; background: #edf1f5; border-radius: 14px; }
.input-tabs button { min-height: 43px; padding: 8px 10px; border: 0; border-radius: 11px; background: transparent; color: #66758a; font-size: .84rem; font-weight: 750; }
.input-tabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 4px 14px rgba(20,36,58,.09); }
.upload-zone { min-height: 185px; margin: 0; padding: 24px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border: 1.5px dashed #b9c5d2; border-radius: 18px; background: #f9fbfc; transition: .2s ease; }
.upload-zone:hover, .upload-zone.is-dragging { border-color: var(--coral); background: #fff8f5; }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-zone strong { margin-top: 10px; color: var(--navy); }
.upload-zone > span:not(.upload-icon):not(.file-name) { color: var(--muted); font-size: .83rem; }
.upload-zone small { margin-top: 5px; color: #8a98a9; font-size: .72rem; }
.upload-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--coral); background: rgba(255,104,70,.1); }
.upload-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.file-name { margin-top: 9px; padding: 5px 9px; border-radius: 8px; background: rgba(57,212,164,.15); color: #157556; font-size: .75rem; font-weight: 750; }
.privacy-note { display: flex; gap: 7px; margin: 8px 2px 0; color: #67768a; font-size: .7rem; }
.privacy-note span { color: var(--mint); }
.combobox-wrap { position: relative; }
.combobox-wrap input[type="text"] { padding-right: 44px; }
.clear-input { position: absolute; z-index: 2; right: 8px; top: 8px; width: 38px; height: 38px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font-size: 1.35rem; }
.clear-input:hover { background: #edf1f5; }
.country-options { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 7px); max-height: 260px; overflow-y: auto; padding: 7px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 18px 45px rgba(20,36,58,.16); }
.country-option { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 11px; border: 0; border-radius: 10px; background: #fff; text-align: left; color: var(--ink); }
.country-option:hover, .country-option[aria-selected="true"], .country-option.is-active { background: var(--soft); }
.country-option span:last-child { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.primary-button, .secondary-button { min-height: 53px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 15px; padding: 12px 20px; text-decoration: none; font-weight: 820; transition: transform .18s, box-shadow .18s, background .18s; }
.primary-button { border: 0; background: var(--coral); color: #fff; box-shadow: 0 12px 24px rgba(255,104,70,.23); }
.primary-button:hover { background: var(--coral-dark); transform: translateY(-1px); box-shadow: 0 16px 30px rgba(255,104,70,.28); }
.primary-button:disabled { opacity: .65; cursor: wait; transform: none; }
.secondary-button { border: 1.5px solid var(--line); background: #fff; color: var(--navy); }
.secondary-button:hover { background: var(--soft); }
.submit-button { width: 100%; }
.submit-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
.submit-hint { margin: 9px 0 0; text-align: center; color: var(--muted); font-size: .7rem; }
.alert { padding: 13px 15px; margin-bottom: 18px; border-radius: 13px; font-size: .85rem; }
.alert ul { margin: 0; padding-left: 20px; }
.alert-error { background: #fff0ec; color: #9c321d; border: 1px solid #ffd5cb; }
.alert-success { background: #eafbf5; color: #126749; border: 1px solid #bcebdc; }
.recent-section { padding: 40px 0 110px; }
.recent-section > h2 { margin: 0 0 28px; color: var(--navy); font-size: clamp(1.7rem,3vw,2.5rem); letter-spacing: -.05em; }
.guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.guide-card { padding: 23px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.guide-card > span { color: var(--muted); font-size: .7rem; }
.guide-card h3 { margin: 11px 0 8px; color: var(--navy); font-size: 1.05rem; }
.guide-card p { color: var(--muted); font-size: .84rem; }
.guide-card a { color: var(--coral-dark); font-size: .82rem; font-weight: 800; text-decoration: none; }
.result-page { padding-top: 55px; padding-bottom: 110px; }
.unlock-card { max-width: 700px; margin: 3vh auto 0; padding: clamp(28px,5vw,58px); text-align: center; border: 1px solid var(--line); border-radius: 30px; background: #fff; box-shadow: var(--shadow); }
.unlock-card h1 { margin: 0; color: var(--navy); font-size: clamp(2rem,5vw,3.3rem); line-height: 1.05; letter-spacing: -.055em; }
.unlock-card > p:not(.eyebrow) { max-width: 530px; margin: 18px auto; color: var(--muted); }
.unlock-card > small { display: block; margin-top: 12px; color: var(--muted); }
.unlock-illustration { width: 100px; height: 86px; margin: 0 auto 25px; position: relative; }
.unlock-illustration img { position: relative; z-index: 2; margin: auto; }
.unlock-illustration span { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.unlock-illustration span:nth-of-type(1) { left: 0; top: 15px; }.unlock-illustration span:nth-of-type(2) { right: 1px; top: 34px; background: var(--coral); }.unlock-illustration span:nth-of-type(3) { left: 15px; bottom: 0; background: var(--sky); }
.request-preview { margin: 28px 0; padding: 10px 19px; border: 1px solid var(--line); border-radius: 17px; background: var(--soft); text-align: left; }
.request-preview div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e2e7ec; }
.request-preview div:last-child { border: 0; }
.request-preview span { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.request-preview strong { font-size: .85rem; }
.analysis-progress { margin-top: 25px; }
.analysis-progress strong { display: block; color: var(--navy); }
.analysis-progress p { margin: 4px 0; color: var(--muted); font-size: .82rem; }
.spinner { width: 31px; height: 31px; margin: 0 auto 10px; display: block; border: 3px solid #e6ebef; border-top-color: var(--coral); border-radius: 50%; animation: spin .85s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-header { margin: 0 0 30px; }
.result-header h1 { font-size: clamp(2.5rem,7vw,4.8rem); }
.safety-banner { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; padding: 22px; margin-bottom: 18px; border-radius: 20px; border: 1px solid; }
.safety-banner strong { display: block; color: var(--navy); font-size: 1.02rem; }
.safety-banner p { margin: 3px 0; color: #536274; font-size: .86rem; }
.safety-banner ul { margin: 7px 0 0; padding-left: 18px; font-size: .8rem; }
.safety-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; font-weight: 900; }
.safety-label { padding: 5px 9px; border-radius: 8px; font-size: .68rem; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.safety-low { background: #ecfbf6; border-color: #b8ecdc; }.safety-low .safety-icon,.safety-low .safety-label { background: #c7f2e5; color: #126a4c; }
.safety-elevated { background: #fff9e8; border-color: #f1dea0; }.safety-elevated .safety-icon,.safety-elevated .safety-label { background: #ffeaa6; color: #755708; }
.safety-high,.safety-professional_only { background: #fff0ec; border-color: #ffc9bd; }.safety-high .safety-icon,.safety-high .safety-label,.safety-professional_only .safety-icon,.safety-professional_only .safety-label { background: #ffd5cb; color: #96331f; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.result-panel { padding: 23px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.result-panel h2 { margin: 10px 0 15px; color: var(--navy); font-size: 1.3rem; line-height: 1.2; }
.result-panel p { margin: 10px 0 0; }
.result-panel ul { margin: 11px 0 0; padding-left: 18px; font-size: .85rem; }
.panel-kicker { color: var(--coral-dark); font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.lead-small { color: #455468; font-size: 1rem; }
.confidence > div { height: 7px; overflow: hidden; border-radius: 10px; background: #edf1f4; }
.confidence > div span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--mint),var(--sky)); }
.confidence small { display: block; margin-top: 6px; color: var(--muted); font-size: .7rem; }
.content-section { padding: clamp(24px,4vw,38px); margin: 18px 0; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.compact-section { padding-bottom: 25px; }
.section-title { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.section-title > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; background: var(--navy); color: #fff; font-size: .68rem; font-weight: 850; }
.section-title h2 { margin: 0; color: var(--navy); font-size: 1.38rem; letter-spacing: -.035em; }
.part-grid,.source-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.part-card { padding: 19px; border-radius: 16px; background: var(--soft); }
.part-card h3 { margin: 0 0 13px; color: var(--navy); font-size: 1rem; }
.part-card dl,.part-card dd { margin: 0; }.part-card dl div { display: flex; justify-content: space-between; gap: 12px; }.part-card dt { color: var(--muted); font-size: .75rem; }.part-card dd { font-weight: 800; font-size: .82rem; }
.part-card p { font-size: .78rem; }.muted { color: var(--muted); }
.repair-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.repair-facts div { padding: 15px; border-radius: 14px; background: var(--soft); }
.repair-facts span,.tool-list > strong { display: block; color: var(--muted); font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.repair-facts strong { display: block; margin-top: 3px; color: var(--navy); }
.tool-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.tool-list > strong { width: 100%; }
.tool-list span { padding: 6px 9px; border-radius: 9px; background: #eaf0ff; color: #36578e; font-size: .75rem; font-weight: 650; }
.step-list { padding: 0; margin: 22px 0 0; list-style: none; counter-reset: steps; }
.step-list li { counter-increment: steps; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.step-list li::before { content: counter(steps); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: rgba(57,212,164,.15); color: #187a5b; font-size: .7rem; font-weight: 850; }
.source-card { display: flex; flex-direction: column; min-height: 135px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; color: var(--navy); text-decoration: none; transition: transform .18s,border-color .18s; }
.source-card:hover { transform: translateY(-2px); border-color: var(--coral); }
.source-card > span { color: var(--muted); font-size: .7rem; }.source-card strong { margin: 8px 0; }.source-card small { margin-top: auto; color: var(--coral-dark); font-weight: 800; }
.link-list { margin: 0; padding-left: 20px; }.link-list li { margin: 7px 0; }.link-list a { color: #315fbe; font-size: .86rem; }
.final-grid .result-panel { background: var(--soft); }
.disclaimer { padding: 20px; border-radius: 17px; border-left: 4px solid var(--coral); background: #fff7f4; }
.disclaimer strong { color: var(--navy); }.disclaimer p { margin: 5px 0 0; color: #596779; font-size: .82rem; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 25px; }
.text-link { color: var(--navy); font-size: .85rem; font-weight: 780; }
.email-dialog { width: min(520px,calc(100% - 28px)); padding: 0; border: 0; border-radius: 24px; box-shadow: var(--shadow); }
.email-dialog::backdrop { background: rgba(13,25,40,.58); backdrop-filter: blur(4px); }
.email-dialog form { position: relative; padding: 32px; }.email-dialog h2 { margin: 0; color: var(--navy); font-size: 1.55rem; }.email-dialog p { color: var(--muted); font-size: .87rem; }.email-dialog .primary-button { width: 100%; margin-top: 14px; }
.dialog-close { position: absolute; right: 15px; top: 14px; width: 38px; height: 38px; border: 0; border-radius: 12px; background: var(--soft); font-size: 1.35rem; }
.dialog-message { margin-top: 12px; padding: 10px; border-radius: 10px; font-size: .82rem; }
.guide-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }.guide-meta p { margin: 0; color: var(--muted); font-size: .74rem; }
.empty-state { min-height: 65vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }.empty-state h1 { color: var(--navy); font-size: 2.3rem; letter-spacing: -.05em; }.empty-state p { color: var(--muted); }
.legal-page { padding: 70px 0 110px; }.legal-page h1 { font-size: clamp(2.8rem,7vw,5rem); margin-bottom: 45px; }.legal-page h2 { margin: 34px 0 10px; color: var(--navy); font-size: 1.25rem; }.legal-page p,.legal-page address { color: #526174; font-style: normal; }.legal-page a { color: #315fbe; }.legal-note { padding: 18px; margin-top: 36px; border-radius: 14px; background: #fff7df; color: #6d5715; font-size: .8rem; }
.site-footer { width: min(1180px,calc(100% - 40px)); margin: auto; padding: 29px 0 calc(29px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr auto; gap: 12px 25px; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.site-footer > div { display: flex; gap: 10px; align-items: center; }.footer-brand { color: var(--navy); font-weight: 900; font-size: .92rem; text-decoration: none; }.site-footer nav { display: flex; gap: 18px; }.site-footer nav a { text-decoration: none; }.site-footer nav a:hover { color: var(--coral-dark); }.site-footer small { grid-column: 1 / -1; }

@media (max-width: 940px) {
    .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 45px; }
    .hero-copy { padding-bottom: 0; text-align: center; }
    .hero-copy h1,.hero-text { margin-left: auto; margin-right: auto; }
    .repair-card { width: min(650px,100%); margin: auto; }
    .guide-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .shell,.narrow-shell { width: min(100% - 24px,1180px); }
    .site-header { width: calc(100% - 24px); height: 72px; }
    .brand img { width: 39px; height: 39px; }.brand-word { font-size: 1.26rem; }
    .icon-button { height: 41px; border-radius: 13px; padding: 0 11px; }
    .hero { min-height: auto; padding: 35px 0 70px; }
    .hero h1 { font-size: clamp(2.75rem,13vw,3.75rem); }
    .hero-text { margin-top: 21px; }
    .repair-card { padding: 21px 17px 24px; border-radius: 23px; }
    .repair-card::before { right: 8px; top: -18px; }
    .card-heading { margin-bottom: 27px; }
    .form-step { margin-bottom: 24px; }
    .input-tabs button { font-size: .76rem; }
    .upload-zone { min-height: 170px; padding: 20px 14px; }
    .guide-grid,.part-grid,.source-grid,.result-grid { grid-template-columns: 1fr; }
    .recent-section { padding-bottom: 75px; }
    .result-page { padding-top: 30px; padding-bottom: 80px; }
    .unlock-card { margin-top: 0; padding: 30px 19px; border-radius: 23px; }
    .request-preview { padding: 7px 13px; }.request-preview div { grid-template-columns: 1fr; gap: 2px; }
    .safety-banner { grid-template-columns: auto 1fr; padding: 17px; }.safety-label { grid-column: 2; justify-self: start; }
    .content-section { padding: 21px 17px; border-radius: 20px; }
    .repair-facts { grid-template-columns: 1fr; }
    .result-actions { flex-direction: column; align-items: stretch; text-align: center; }.result-actions > * { width: 100%; }
    .site-footer { grid-template-columns: 1fr; text-align: center; }.site-footer > div,.site-footer nav { justify-content: center; flex-wrap: wrap; }
    .site-footer small { grid-column: 1; }
    .legal-page { padding-top: 45px; }.legal-page h1 { margin-bottom: 30px; }
    .guide-meta { align-items: flex-start; gap: 8px; flex-direction: column; }
}

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