:root {
  --bg: #f7f7f3;
  --surface: #ffffff;
  --ink: #101317;
  --muted: #626a75;
  --line: #e5e7ea;
  --line-strong: #d7dbe0;
  --blue: #315efb;
  --blue-dark: #2148d8;
  --blue-soft: #eef2ff;
  --green: #1f9d68;
  --green-soft: #eaf8f1;
  --red: #d94747;
  --red-soft: #fff0ef;
  --navy: #111820;
  --shadow: 0 20px 55px rgba(16, 24, 40, .09);
  --shadow-soft: 0 8px 24px rgba(16, 24, 40, .06);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.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; }

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  height: 72px;
  border-bottom: 1px solid rgba(229, 231, 234, .9);
  background: rgba(247, 247, 243, .92);
  backdrop-filter: blur(18px);
}
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; white-space: nowrap; }
.brand-logo { display: block; width: 168px; height: auto; }
.footer-brand .brand-logo { width: 180px; }
.main-nav { display: flex; align-items: center; gap: 27px; margin-inline: auto; }
.main-nav a { color: #4f5661; font-size: 14px; font-weight: 560; transition: color .18s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.button { min-height: 48px; border: 0; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 19px; font-weight: 690; cursor: pointer; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--navy); box-shadow: 0 6px 18px rgba(17, 24, 32, .15); }
.button-primary:hover { background: #05080b; }
.button-blue { color: #fff; background: var(--blue); box-shadow: 0 7px 20px rgba(49, 94, 251, .22); }
.button-blue:hover { background: var(--blue-dark); }
.button-ghost { border: 1px solid var(--line); background: var(--surface); }
.button-small { min-height: 42px; padding-inline: 16px; font-size: 14px; border-radius: 12px; }
.menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.menu-toggle span { display: block; width: 17px; height: 1.5px; margin: 5px auto; background: var(--ink); }

.hero { padding: 70px 0 82px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(380px, .82fr); gap: clamp(52px, 7vw, 96px); align-items: center; }
.eyebrow, .topic-label { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(49,94,251,.09); }
.hero h1 { max-width: 680px; margin: 25px 0 12px; font-size: clamp(58px, 6.8vw, 92px); line-height: .94; letter-spacing: -.067em; }
.hero-lede { max-width: 650px; margin: 0; font-size: clamp(29px, 3.25vw, 47px); line-height: 1.04; letter-spacing: -.05em; font-weight: 710; }
.hero-copy { max-width: 640px; margin: 24px 0 29px; color: var(--muted); font-size: 17px; line-height: 1.66; }

.finder-card { position: relative; padding: 10px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); box-shadow: var(--shadow); }
.finder-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
.finder-input-wrap { min-height: 60px; display: flex; align-items: center; gap: 11px; padding: 0 14px; border: 1px solid transparent; border-radius: 13px; background: #f6f7f8; transition: border-color .2s, background .2s; }
.finder-input-wrap:focus-within { border-color: rgba(49,94,251,.45); background: #fff; }
.finder-input-wrap svg { width: 20px; flex: 0 0 20px; fill: none; stroke: #7e8792; stroke-width: 1.8; }
.finder-input { width: 100%; height: 58px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 15px; }
.finder-input::placeholder { color: #9299a2; }
.finder-submit { min-width: 172px; min-height: 60px; }
.finder-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 10px 5px 2px; color: #7a828d; font-size: 12px; }
.finder-foot strong { color: #4b535d; }
.platform-list { display: flex; gap: 8px; flex-wrap: wrap; }
.platform-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); color: #535b66; font-size: 11px; font-weight: 650; }
.platform-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #aab0b8; }
.platform-pill.detected { border-color: rgba(49,94,251,.25); color: var(--blue); background: var(--blue-soft); }
.platform-pill.detected::before { background: var(--blue); }
.search-message { display: none; margin-top: 13px; padding: 13px 15px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.search-message.visible { display: block; }
.search-message.info { color: #2347b6; background: var(--blue-soft); }
.search-message.error { color: #9c3030; background: var(--red-soft); }
.search-message.success { color: #176a49; background: var(--green-soft); }

.result-preview { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow); transform: rotate(.7deg); }
.result-preview::before { content: ""; position: absolute; inset: -35px 28px auto; height: 110px; border-radius: 50%; background: rgba(49,94,251,.13); filter: blur(42px); z-index: -1; }
.preview-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.preview-title { font-size: 13px; font-weight: 720; }
.preview-state { display: inline-flex; align-items: center; gap: 6px; color: #59616c; font-size: 11px; }
.preview-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c2c7ce; }
.preview-stage { display: grid; place-items: center; aspect-ratio: 1.3; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg,#f7f8fa,#eceff3); overflow: hidden; }
.preview-placeholder { width: 70%; max-width: 255px; text-align: center; }
.placeholder-icon { width: 60px; height: 60px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); color: var(--blue); font-size: 24px; }
.preview-placeholder strong { display: block; font-size: 15px; }
.preview-placeholder p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.preview-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 12px; }
.preview-fact { min-width: 0; padding: 11px; border: 1px solid var(--line); border-radius: 12px; }
.preview-fact span { display: block; margin-bottom: 5px; color: #858c95; font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.preview-fact strong { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.trust-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 35px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.65); }
.trust-item { padding: 14px 18px; font-size: 12px; color: var(--muted); text-align: center; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { color: var(--ink); }

.section { padding: 94px 0; }
.section-white { background: var(--surface); }
.section-soft { background: #f1f2ee; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-head h2, .article-cards-head h2 { max-width: 720px; margin: 12px 0 0; font-size: clamp(37px,4.2vw,58px); line-height: 1.02; letter-spacing: -.055em; }
.section-head > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.step-card { position: relative; min-height: 220px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.step-number { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 38px; border-radius: 12px; color: var(--blue); background: var(--blue-soft); font-size: 13px; font-weight: 760; }
.step-card h3 { margin: 0 0 9px; font-size: 21px; letter-spacing: -.035em; }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.62; }

.guide-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.72fr); gap: 16px; }
.guide-visual { position: relative; min-height: 560px; overflow: hidden; border-radius: var(--radius-xl); background: #d9dbdd; }
.guide-visual img { width: 100%; height: 100%; object-fit: cover; }
.guide-badge { position: absolute; inset: auto auto 18px 18px; padding: 9px 12px; border-radius: 999px; background: rgba(255,255,255,.93); font-size: 11px; font-weight: 680; box-shadow: var(--shadow-soft); }
.guide-badge::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--blue); }
.guide-points { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); }
.guide-point { width: 100%; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 15px 13px; border: 0; border-radius: 13px; background: transparent; text-align: left; cursor: pointer; }
.guide-point:hover, .guide-point.active { background: var(--blue-soft); }
.guide-point > span { color: #98a0aa; font-size: 11px; }
.guide-point strong { display: block; font-size: 14px; }
.guide-point small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.4; }

.resources { padding: 84px 0; }
.article-cards-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.article-cards-head a { color: var(--blue); font-size: 13px; font-weight: 700; }
.article-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.article-card { min-height: 295px; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: transform .18s, box-shadow .18s; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.article-card .card-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 42px; border-radius: 13px; color: var(--blue); background: var(--blue-soft); font-weight: 760; }
.article-card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.17; letter-spacing: -.035em; }
.article-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.article-card .card-link { margin-top: auto; padding-top: 24px; color: var(--blue); font-size: 13px; font-weight: 700; }

.faq-grid { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(330px,.72fr); gap: 70px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; list-style: none; padding: 22px 42px 22px 0; font-size: 15px; font-weight: 680; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 3px; top: 20px; color: var(--blue); font-size: 22px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 680px; margin: -5px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.67; }
.independent-panel { padding: 31px; border: 1px solid #dde3ff; border-radius: var(--radius-lg); background: var(--blue-soft); }
.independent-panel .panel-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; color: var(--blue); background: white; font-weight: 760; }
.independent-panel h3 { margin: 23px 0 10px; font-size: 24px; letter-spacing: -.04em; }
.independent-panel p { margin: 0; color: #5f6878; font-size: 14px; line-height: 1.65; }
.clean-list { display: grid; gap: 10px; margin: 22px 0 0; padding: 19px 0 0; border-top: 1px solid #dbe1fa; list-style: none; }
.clean-list li { font-size: 13px; font-weight: 620; }
.clean-list li::before { content: "✓"; margin-right: 8px; color: var(--blue); }

.page-hero { padding: 76px 0 56px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 28px; color: #7c848e; font-size: 12px; }
.breadcrumbs a:hover { color: var(--blue); }
.page-hero h1 { max-width: 900px; margin: 17px 0 16px; font-size: clamp(44px,6vw,70px); line-height: 1; letter-spacing: -.06em; }
.page-hero .intro { max-width: 760px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.meta-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 24px; color: #7c848e; font-size: 12px; }

.tool-layout { padding-bottom: 88px; }
.tool-shell { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-soft); }
.tool-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 18px; }
.tool-head h2 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.tool-head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.tool-status { min-height: 290px; display: grid; place-items: center; margin-top: 16px; border: 1px dashed var(--line-strong); border-radius: 18px; background: #fafaf8; }
.state-panel { max-width: 540px; padding: 40px 25px; text-align: center; }
.state-icon { width: 56px; height: 56px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 17px; background: var(--blue-soft); color: var(--blue); font-size: 22px; }
.state-panel h3 { margin: 0 0 9px; font-size: 23px; letter-spacing: -.035em; }
.state-panel p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.62; }
.detected-data { display: none; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 14px; }
.detected-data.visible { display: grid; }
.data-box { padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.data-box span { display: block; margin-bottom: 5px; color: #8a919b; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.data-box strong { display: block; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.recent-searches { margin-top: 18px; }
.recent-head { display: flex; justify-content: space-between; align-items: center; }
.recent-head h3 { font-size: 14px; }
.text-button { border: 0; background: none; color: var(--blue); font-size: 12px; cursor: pointer; }
.recent-list { display: flex; gap: 8px; flex-wrap: wrap; padding: 0; list-style: none; }
.recent-list button { max-width: 260px; padding: 8px 11px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #555e69; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }

.compare-section { padding: 0 0 95px; }
.compare-card { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.upload-panel { position: relative; min-height: 350px; display: grid; place-items: center; overflow: hidden; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); }
.upload-panel img { width: 100%; height: 100%; object-fit: contain; background: #e9ebee; }
.upload-empty { padding: 35px; text-align: center; }
.upload-empty strong { display: block; margin-bottom: 8px; font-size: 16px; }
.upload-empty p { margin: 0 0 17px; color: var(--muted); font-size: 13px; }
.upload-empty label { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 15px; border: 1px solid var(--line); border-radius: 11px; background: #fff; font-size: 12px; font-weight: 680; cursor: pointer; }
.zoom-tools { display: none; position: absolute; inset: auto 12px 12px; gap: 6px; padding: 6px; border-radius: 11px; background: rgba(17,24,32,.85); }
.zoom-tools.visible { display: flex; }
.zoom-tools button { width: 34px; height: 30px; border: 0; border-radius: 7px; color: white; background: rgba(255,255,255,.1); cursor: pointer; }

.article-layout { display: grid; grid-template-columns: 235px minmax(0,760px); gap: 70px; align-items: start; padding-bottom: 105px; }
.toc { position: sticky; top: 104px; }
.toc strong { display: block; margin-bottom: 13px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.toc nav { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { padding: 8px 0 8px 15px; color: #727a84; font-size: 12px; line-height: 1.35; }
.toc a:hover { color: var(--blue); border-left: 1px solid var(--blue); margin-left: -1px; }
.article-body { min-width: 0; }
.article-body h2 { scroll-margin-top: 100px; margin: 64px 0 19px; font-size: 35px; line-height: 1.12; letter-spacing: -.045em; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { scroll-margin-top: 100px; margin: 37px 0 13px; font-size: 23px; letter-spacing: -.035em; }
.article-body p, .article-body li { color: #4f5864; font-size: 17px; line-height: 1.75; }
.article-body p { margin: 0 0 22px; }
.article-body ul, .article-body ol { margin: 0 0 25px; padding-left: 23px; }
.article-body li + li { margin-top: 9px; }
.article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.tip, .warning { margin: 30px 0; padding: 22px 24px; border-radius: 16px; }
.tip { border: 1px solid #dce4ff; background: var(--blue-soft); }
.warning { border: 1px solid #f4dcda; background: #fff5f3; }
.tip strong, .warning strong { display: block; margin-bottom: 7px; font-size: 14px; }
.tip p, .warning p { margin: 0; font-size: 15px; }
.checklist-block { display: grid; gap: 8px; margin: 28px 0; padding: 0; list-style: none; }
.checklist-block li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 15px; }
.checklist-block li::before { content: "✓"; margin-right: 10px; color: var(--green); font-weight: 800; }
.table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; line-height: 1.5; }
th { background: #f5f6f4; }
tr:last-child td { border-bottom: 0; }
.inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 46px 0; padding: 23px; border-radius: 18px; color: white; background: var(--navy); }
.inline-cta strong { display: block; font-size: 18px; }
.inline-cta span { display: block; margin-top: 5px; color: #aab2bc; font-size: 12px; }
.related-guides { padding: 78px 0 92px; border-top: 1px solid var(--line); }
.related-guides h2 { margin: 0 0 25px; font-size: 35px; letter-spacing: -.045em; }

.contact-card { max-width: 780px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.contact-card p { color: var(--muted); line-height: 1.7; }

.site-footer { padding: 58px 0 24px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 55px; }
.footer-brand p { max-width: 250px; margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.footer-col strong { display: block; margin-bottom: 15px; font-size: 12px; }
.footer-col a { display: block; margin: 10px 0; color: var(--muted); font-size: 12px; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 43px; padding-top: 20px; border-top: 1px solid var(--line); color: #9298a1; font-size: 11px; }

@media (max-width: 980px) {
  .main-nav { gap: 18px; }
  .main-nav a:nth-last-child(-n+2) { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .result-preview { width: min(100%,620px); transform: none; }
  .section-head { align-items: start; flex-direction: column; }
  .guide-grid, .faq-grid { grid-template-columns: 1fr; }
  .guide-visual { min-height: 520px; }
  .article-layout { grid-template-columns: 1fr; gap: 35px; }
  .toc { position: static; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
  .toc nav { grid-template-columns: repeat(2,1fr); border: 0; }
  .toc a { border-left: 0; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .site-header { height: 64px; }
  .nav-wrap { gap: 12px; }
  .brand-logo { width: 150px; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .main-nav { position: fixed; inset: 64px 0 auto; display: none; gap: 0; padding: 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
  .main-nav.open { display: grid; }
  .main-nav a, .main-nav a:nth-last-child(-n+2) { display: block; padding: 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .hero { padding: 48px 0 62px; }
  .hero h1 { margin-top: 22px; font-size: 61px; }
  .hero-lede { font-size: 32px; }
  .hero-copy { margin: 20px 0 24px; font-size: 15px; }
  .finder-card { padding: 8px; }
  .finder-row { grid-template-columns: 1fr; }
  .finder-submit { width: 100%; }
  .finder-foot { align-items: flex-start; flex-direction: column; }
  .result-preview { padding: 13px; }
  .preview-stage { aspect-ratio: 1.15; }
  .preview-facts { grid-template-columns: 1fr 1fr; }
  .preview-fact:last-child { grid-column: 1/-1; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 70px 0; }
  .section-head h2, .article-cards-head h2 { font-size: 39px; }
  .steps-grid, .article-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 190px; }
  .guide-visual { min-height: 390px; }
  .article-cards-head { align-items: start; flex-direction: column; }
  .faq-grid { gap: 36px; }
  .page-hero { padding: 50px 0 40px; }
  .page-hero h1 { font-size: 43px; }
  .page-hero .intro { font-size: 17px; }
  .tool-shell { padding: 13px; }
  .tool-head { align-items: flex-start; flex-direction: column; }
  .detected-data { grid-template-columns: 1fr; }
  .compare-card { grid-template-columns: 1fr; }
  .upload-panel { min-height: 300px; }
  .article-layout { padding-bottom: 76px; }
  .toc nav { grid-template-columns: 1fr; }
  .article-body h2 { margin-top: 50px; font-size: 30px; }
  .article-body h3 { font-size: 21px; }
  .article-body p, .article-body li { font-size: 16px; }
  .inline-cta { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 54px; }
  .hero-lede { font-size: 29px; }
  .preview-facts { grid-template-columns: 1fr; }
  .preview-fact:last-child { grid-column: auto; }
}

/* Approved light editorial direction: blue actions, readable copy, restrained cards. */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #11141a;
  --muted: #687180;
  --line: #e5e8ee;
  --line-strong: #d8dde6;
  --blue: #3568ff;
  --blue-dark: #2455e8;
  --blue-soft: #f0f4ff;
  --green-soft: #effaf4;
  --red-soft: #fff1f1;
  --navy: #11141a;
  --shadow: 0 20px 50px rgba(23,35,61,.10);
  --shadow-soft: 0 8px 24px rgba(23,35,61,.08);
}
body { background: var(--bg); color: var(--ink); }
.site-header { height: 78px; border-color: var(--line); background: rgba(255,255,255,.94); }
.nav-wrap { width: min(calc(100% - 52px), 1260px); gap: 23px; }
.brand-logo { width: 142px; }
.footer-brand .brand-logo { width: 160px; }
.main-nav { gap: 25px; margin: 0 0 0 auto; }
.main-nav a { color: #596273; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.button-primary { color: #fff; background: var(--navy); box-shadow: none; }
.button-primary:hover { background: #2c3440; }
.menu-toggle { border-color: var(--line-strong); background: #fff; }
.menu-toggle span { background: var(--ink); }

.hero { min-height: 610px; display: flex; align-items: center; padding: 72px 0 78px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 50% 20%, #edf2ff, transparent 42%); }
.hero-centered { max-width: 900px; text-align: center; }
.hero-centered .eyebrow { justify-content: center; }
.hero-centered h1 { max-width: none; margin: 24px 0 12px; font-size: clamp(52px,7vw,86px); letter-spacing: -.07em; }
.hero-centered h1 em { color: var(--blue); font-style: normal; }
.hero-centered .hero-lede { max-width: none; font-size: clamp(25px,3vw,37px); color: #303744; }
.hero-centered .hero-copy { max-width: 720px; margin: 24px auto 28px; color: #5e6877; }
.hero-centered .finder-card { max-width: 760px; margin: 0 auto; }
.hero-note { max-width: 650px; margin: 18px auto 0; color: #778293; font-size: 12px; line-height: 1.55; }
.eyebrow, .topic-label { color: var(--blue); }
.eyebrow::before { background: var(--blue); box-shadow: 0 0 0 5px rgba(53,104,255,.12); }
.finder-card { border-color: var(--line-strong); background: #fff; box-shadow: var(--shadow); }
.finder-input-wrap { border-color: var(--line); background: #f8f9fb; }
.finder-input-wrap:focus-within { border-color: var(--blue); background: #fff; }
.finder-input-wrap svg { stroke: #707b8b; }
.finder-input { color: var(--ink); }
.finder-input::placeholder { color: #8a94a3; }
.finder-foot { color: #778293; }
.finder-foot strong { color: #36404d; }
.platform-pill { border-color: var(--line); background: #fff; color: #687384; }
.platform-pill.detected { border-color: #9db4ff; color: #2455e8; background: var(--blue-soft); }
.platform-select-label { display:inline-flex; align-items:center; gap:5px; color:#778293; font-size:11px; }
.platform-select { border:1px solid var(--line); border-radius:999px; padding:5px 8px; color:#4f5a68; background:#fff; font:inherit; }
.search-message.info { color: #2455e8; }
.search-message.error { color: #c33b3b; }
.search-message.success { color: #16744d; }

.section-white, .site-footer { background: #fff; }
.section-soft { background: #f2f5f9; }
.section { border-bottom: 1px solid var(--line); }
.section-head > p, .article-card p, .step-card p, .faq-list details p, .independent-panel p { color: var(--muted); }
.step-card, .article-card, .guide-points, .tool-shell, .upload-panel, .contact-card, .toc { border-color: var(--line); background: var(--surface); }
.step-card:hover, .article-card:hover { border-color: #b9c5d8; }
.step-number, .card-icon, .panel-icon, .state-icon { background: var(--blue-soft) !important; color: var(--blue) !important; }
.guide-point:hover, .guide-point.active { background: #f2f5ff; }
.guide-point > span { color: #7c8796; }
.guide-point small { color: #758092; }
.guide-badge { color: #1b2230; background: #fff; }
.resources { background: #f2f5f9; }
.article-cards-head a, .article-card .card-link, .text-button, .article-body a { color: var(--blue); }
.faq-list, .faq-list details { border-color: var(--line); }
.independent-panel { border-color: #cbd8ff; background: var(--blue-soft); }
.independent-panel .clean-list { border-color: #d7e0ff; }
.clean-list li::before { color: var(--blue); }

.page-hero { border-bottom: 1px solid var(--line); background: linear-gradient(180deg,#f5f7fb,#fff); }
.breadcrumbs, .meta-row { color: #778293; }
.page-hero .intro { color: #5e6877; }
.tool-status { border-color: var(--line); background: #f8f9fb; }
.data-box { border-color: var(--line); background: #f8f9fb; }
.data-box span { color: #778293; }
.recent-list button { border-color: var(--line); background: #fff; color: #596575; }
.upload-panel img { background: #f4f6f9; }
.upload-empty p { color: var(--muted); }
.upload-empty label { border-color: var(--line); background: #fff; }
.article-body p, .article-body li { color: #4f5a68; }
.tip { border-color: #cbd8ff; background: var(--blue-soft); }
.warning { border-color: #f0caca; background: var(--red-soft); }
.checklist-block li { border-color: var(--line); background: var(--surface); }
.table-wrap { border-color: var(--line); }
table { background: var(--surface); }
th { background: #f3f5f8; }
th, td { border-color: var(--line); }
.inline-cta { background: #f5f7fb; border: 1px solid var(--line); }
.related-guides { border-color: var(--line); }
.site-footer { border-color: var(--line); }
.footer-col a, .footer-brand p { color: #6f7a89; }
.footer-bottom { border-color: var(--line); color: #778293; }

.guide-visual-empty { display:flex; align-items:center; justify-content:center; background:linear-gradient(145deg,#edf2ff,#f7f8fb); }
.qc-summary-card { width:min(82%,390px); padding:32px; border:1px solid #d7e0f5; border-radius:24px; background:#fff; box-shadow:var(--shadow-soft); }
.qc-summary-kicker { display:block; margin-bottom:14px; color:var(--blue); font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.qc-summary-card strong { display:block; font-size:25px; letter-spacing:-.04em; }
.qc-summary-card p { margin:12px 0 22px; color:#657184; line-height:1.65; }

@media (max-width: 1080px) {
  .header-search { width: min(31vw, 310px); }
  .main-nav { gap: 17px; }
  .main-nav a { font-size: 13px; }
}

@media (max-width: 860px) {
  .site-header { height: 70px; }
  .brand-logo { width: 154px; }
  .header-search { display: none; }
  .main-nav { inset: 70px 0 auto; background: #111113; }
  .main-nav a { border-color: #29292e; color: #c0c0c7; }
  .hero { min-height: auto; padding: 66px 0 72px; }
}

@media (max-width: 760px) {
  .nav-wrap { width: min(calc(100% - 28px),1260px); }
  .brand-logo { width: 154px; }
  .hero-centered h1 { font-size: 65px; }
  .hero-centered .hero-lede { font-size: 28px; line-height: 1.12; }
  .hero-centered .hero-copy { font-size: 15px; }
  .section-head h2, .article-cards-head h2 { font-size: 38px; }
}
