*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: clip; }
body { max-width: 100%; overflow-x: clip; font-family: 'Google Sans', 'Roboto', system-ui, -apple-system, Arial, sans-serif; background: #fff; color: #202124; font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: #1a73e8; text-decoration: none; }
a:hover { text-decoration: underline; }
@supports not (overflow: clip) {
  html,
  body { overflow-x: hidden; }
}
:root {
  --blue:   #1a73e8;
  --blue-d: #1557b0;
  --blue-pale: #e8f0fe;
  --red:    #ea4335;
  --red-d:  #c5221f;
  --yellow: #fbbc05;
  --green:  #34a853;
  --green-d: #2d8f47;
  --text:   #202124;
  --muted:  #5f6368;
  --border: #dadce0;
  --surface: #f8f9fa;
  --radius: 8px;
  --shadow: 0 1px 6px rgba(32,33,36,.12), 0 1px 4px rgba(32,33,36,.08);
  --shadow-lg: 0 4px 24px rgba(32,33,36,.16);
}

/* HEADER */
.site-header {
  position: relative; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.header-inner { width: 100%; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.logo img { display: block; width: auto; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { font-size: 14px; color: var(--muted); padding: 8px 12px; border-radius: var(--radius); transition: background .15s; }
.site-nav a:hover { background: var(--blue-pale); color: var(--blue); text-decoration: none; }
.header-cta {
  background: var(--blue); color: #fff;
  border: none; padding: 10px 20px; border-radius: 4px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background .15s, box-shadow .15s; white-space: nowrap; text-decoration: none;
}
.header-cta:hover { background: var(--blue-d); box-shadow: 0 1px 3px rgba(0,0,0,.2); text-decoration: none; color: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--muted); border-radius: 2px; }

.mobile-menu {
  display: none;
  position: absolute;
  top: var(--mobile-menu-top, 64px);
  left: 0;
  right: 0;
  background: #fff;
  z-index: 99;
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0px));
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(32,33,36,.12);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 8px; font-size: 15px; color: var(--text); border-radius: var(--radius); }
.mobile-menu a:hover { background: var(--blue-pale); text-decoration: none; }

/* HERO */
.hero {
  padding: 60px 24px 48px;
  text-align: center;
  background: #fff;
}
.hero .container { max-width: 680px; margin: 0 auto; }

.hero-tagline {
  font-size: 20px; color: var(--muted); margin-bottom: 32px;
  font-weight: 400;
}

/* SEARCH BOX */
.search-box {
  background: #fff; border: 1px solid var(--border);
  border-radius: 24px; padding: 8px 8px 8px 20px;
  box-shadow: var(--shadow);
  transition: box-shadow .15s;
  text-align: left;
}
.search-box:hover { box-shadow: var(--shadow-lg); border-color: #c0c0c0; }

.search-tabs { display: flex; gap: 0; margin-bottom: 12px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.tab-btn {
  background: none; border: none; font-size: 14px; color: var(--muted);
  padding: 6px 14px; cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -9px; transition: color .15s, border-color .15s;
  font-family: inherit;
}
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); font-weight: 500; }
.tab-btn:hover { color: var(--text); }

.search-input-wrap { display: flex; align-items: center; gap: 8px; min-width: 0; }
.search-input {
  flex: 1; min-width: 0; border: none; outline: none; font-size: 18px; color: var(--text);
  background: transparent; padding: 4px 0; font-family: inherit;
}
.search-input::placeholder { color: #bec1c6; }
.btn-search {
  background: var(--blue); color: #fff;
  border: none; padding: 10px 20px; border-radius: 20px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background .15s; white-space: nowrap; font-family: inherit;
  flex-shrink: 0;
}
.btn-search:hover { background: var(--blue-d); }

.form-error { font-size: 13px; color: var(--red); padding: 6px 0 2px; }
.search-hint { font-size: 12px; color: var(--muted); padding: 6px 0 0; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.search-inline-error { min-height: 20px; padding-top: 8px; text-align: center; }
.cta-banner .search-inline-error { color: rgba(255,255,255,.88); font-size: 13px; margin-bottom: 0; }
.input-invalid { border: 1px solid var(--red) !important; box-shadow: none !important; }
.cta-search .search-input.input-invalid,
.cta-search .search-input.input-invalid:focus { border: 1px solid var(--red) !important; }

.search-trust {
  display: flex; gap: 16px; flex-wrap: wrap;
  padding: 10px 0 4px; border-top: 1px solid var(--border); margin-top: 12px;
}
.trust-item { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }

/* STATS ROW */
.stats-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 24px; }
.stats-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; text-align: center; }
.stat-item .num { font-size: 24px; font-weight: 700; color: var(--text); }
.stat-item:nth-child(1) .num { color: var(--blue); }
.stat-item:nth-child(2) .num { color: var(--red); }
.stat-item:nth-child(3) .num { color: var(--yellow); }
.stat-item:nth-child(4) .num { color: var(--green); }
.stat-item .lbl { font-size: 12px; color: var(--muted); }

/* SECTION COMMON */
.section { padding: 56px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.block-head { text-align: center; margin-bottom: 40px; }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.block-head h2 { font-size: 28px; font-weight: 400; color: var(--text); margin-bottom: 10px; }
.block-head p { font-size: 16px; color: var(--muted); }

/* RISK SECTION */
.risk-section { background: var(--surface); }
.risk-intro {
  display: flex; align-items: center; gap: 12px;
  background: #fce8e6; border: 1px solid #f5c6c2; border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 28px; max-width: 700px; margin-left: auto; margin-right: auto;
}
.risk-intro-icon { flex-shrink: 0; }
.risk-intro p { font-size: 15px; color: #c5221f; }
.risk-intro strong { color: #a50e0e; }

.risk-bars { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.risk-bar-item { display: flex; align-items: center; gap: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; }
.risk-bar-item > div:first-child { flex: 1; }
.risk-bar-label { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 2px; }
.risk-bar-sub { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.risk-bar-track { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.risk-bar-fill { height: 100%; border-radius: 3px; background: var(--red); }
.risk-bar-fill.mild { background: var(--yellow); }
.risk-num { text-align: center; flex-shrink: 0; width: 56px; }
.risk-num .big { font-size: 28px; font-weight: 700; color: var(--red); }
.risk-num .big.mild { color: #e37400; }
.risk-num .small { font-size: 11px; color: var(--muted); }

/* HOW */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; position: relative;
}
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff;
  margin-bottom: 16px;
}
.step:nth-child(1) .step-num { background: var(--blue); }
.step:nth-child(2) .step-num { background: var(--red); }
.step:nth-child(3) .step-num { background: var(--green); }
.step h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* FEATURES */
.features-section { background: var(--surface); }
.features-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 16px; text-align: center;
  transition: box-shadow .15s, border-color .15s;
}
.feature-card:hover { box-shadow: var(--shadow); border-color: #c0c0c0; }
.feature-icon { width: 40px; height: 40px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; background: var(--blue-pale); border-radius: 50%; }
.feature-card strong { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.feature-card span { font-size: 12px; color: var(--muted); line-height: 1.4; display: block; }

/* PREVIEW */
.preview-section { }
.preview-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.preview-img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.preview-img-wrap img { width: 100%; display: block; }
.preview-img-lock { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(32,33,36,.85); backdrop-filter: blur(4px); display: flex; align-items: center; gap: 10px; padding: 16px 20px; color: rgba(255,255,255,.8); font-size: 14px; }
.preview-text h2 { font-size: 24px; font-weight: 400; color: var(--text); margin-bottom: 12px; }
.preview-text p { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.preview-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.preview-list li { font-size: 14px; color: var(--text); padding-left: 20px; position: relative; }
.preview-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--green); border-radius: 50%; }
.btn-preview {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--border); color: var(--blue);
  padding: 10px 20px; border-radius: 4px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background .15s, border-color .15s; font-family: inherit;
}
.btn-preview:hover { background: var(--blue-pale); border-color: var(--blue); }

/* SOURCES */
.sources-section { background: var(--surface); }
.sources-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.source-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; display: flex; align-items: center; gap: 14px; transition: box-shadow .15s; }
.source-card:hover { box-shadow: var(--shadow); }
.source-info strong { display: block; font-size: 14px; font-weight: 500; color: var(--text); }
.source-info span { font-size: 12px; color: var(--muted); }

/* FOR WHOM */
.forwho-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.forwho-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: box-shadow .15s, border-color .15s; }
.forwho-card:hover { box-shadow: var(--shadow); border-color: #c0c0c0; }
.forwho-icon { width: 44px; height: 44px; background: var(--blue-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.forwho-card h3 { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.forwho-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* REVIEWS */
.reviews-section { background: var(--surface); }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.review-stars { display: flex; gap: 2px; margin-bottom: 12px; }
.review-text { font-size: 14px; color: var(--text); line-height: 1.6; flex: 1; }
.review-author { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.review-name strong { display: block; font-size: 13px; font-weight: 500; color: var(--text); }
.review-name span { font-size: 12px; color: var(--muted); }

/* FAQ */
.faq-section { }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 18px 0; font-size: 15px; font-weight: 400; color: var(--text);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; font-family: inherit;
}
.faq-q:hover { color: var(--blue); }
.faq-arrow { flex-shrink: 0; color: var(--muted); transition: transform .2s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { font-size: 14px; color: var(--muted); padding-bottom: 18px; line-height: 1.6; display: none; }
.faq-item.open .faq-a { display: block; }

/* CTA SECTION */
.cta-section { background: var(--blue); padding: 56px 24px; }
.cta-banner { max-width: 680px; margin: 0 auto; text-align: center; }
.cta-banner h2 { font-size: 32px; font-weight: 400; color: #fff; margin-bottom: 12px; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 28px; }
.cta-search { background: #fff; border-radius: 24px; padding: 6px 6px 6px 20px; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-lg); }
.cta-search .search-input { font-size: 16px; }
#cta-submit { border-radius: 20px; }

/* FOOTER */
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 24px; }
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col a { font-size: 13px; color: var(--muted); }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--border); padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 12px; color: var(--muted); }

/* POPUP */
#popup-overlay[hidden], #sample-modal[hidden] { display: none !important; }
.popup {
  background: #fff; border-radius: 8px;
  padding: 36px 32px; max-width: 440px; width: 100%;
  position: relative; box-shadow: var(--shadow-lg);
}
.popup-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--muted); line-height: 1; }
.popup-icon { width: 52px; height: 52px; background: var(--blue-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.popup-title { font-size: 22px; font-weight: 400; text-align: center; color: var(--text); margin-bottom: 6px; }
.popup-subtitle { font-size: 14px; color: var(--muted); text-align: center; margin-bottom: 16px; }
.popup-echo { background: var(--surface); border-radius: 4px; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text); text-align: center; margin-bottom: 14px; border: 1px solid var(--border); }
.popup-input {
  width: 100%; border: 1px solid var(--border); border-radius: 4px;
  padding: 12px 14px; font-size: 15px; color: var(--text); margin-bottom: 12px;
  font-family: inherit; outline: none; transition: border-color .15s;
}
.popup-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,115,232,.1); }
.popup-submit {
  width: 100%; background: var(--blue); color: #fff; border: none;
  padding: 13px; border-radius: 4px; font-size: 15px; font-weight: 500;
  cursor: pointer; transition: background .15s; font-family: inherit;
}
.popup-submit:hover { background: var(--blue-d); }
.popup-fine { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
#popup-error { color: var(--red); font-size: 13px; margin-bottom: 8px; }

/* SAMPLE MODAL */
.sample-modal-box {
  background: #fff; border-radius: 8px; max-width: 500px; width: 100%;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.sample-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.sample-modal-header h3 { font-size: 16px; font-weight: 500; }
.sample-modal-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--muted); }
.sample-modal-body { padding: 24px; }
.sample-plate { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 10px 20px; text-align: center; font-size: 20px; font-weight: 700; letter-spacing: 2px; margin-bottom: 16px; }
.sample-indicators { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-bottom: 16px; }
.indicator { display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 10px; font-size: 12px; font-weight: 500; }
.indicator-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.indicator.green .indicator-dot { background: var(--green); }
.indicator.amber .indicator-dot { background: var(--yellow); }
.indicator.red .indicator-dot { background: var(--red); }
.indicator.green { color: var(--text); }
.indicator.amber { color: #e37400; }
.sample-rows { display: flex; flex-direction: column; gap: 0; }
.sample-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.sample-row .label { color: var(--muted); }
.sample-row .value { font-weight: 500; }
.sample-row .value.warn { color: var(--red); }
.sample-row .value.ok { color: var(--green); }
.sample-locked { text-align: center; margin-top: 16px; padding: 16px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.sample-locked p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.sample-modal-cta {
  background: var(--blue); color: #fff; border: none;
  padding: 11px 24px; border-radius: 4px; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: inherit;
}

/* STICKY DOCK */
#sticky-dock {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: #fff; border-top: 1px solid var(--border);
  padding: 12px 24px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  box-shadow: 0 -2px 8px rgba(32,33,36,.12);
  transform: translateY(100%); transition: transform .3s;
}
#sticky-dock.visible { transform: translateY(0); }
#sticky-input {
  flex: 1; border: 1px solid var(--border); border-radius: 20px;
  padding: 10px 18px; font-size: 15px; outline: none; font-family: inherit;
  transition: border-color .15s;
}
#sticky-input:focus { border-color: var(--blue); }
#sticky-btn {
  background: var(--blue); color: #fff; border: none;
  padding: 10px 22px; border-radius: 20px; font-size: 14px; font-weight: 500;
  cursor: pointer; white-space: nowrap; font-family: inherit;
}
#sticky-error { flex: 0 0 100%; min-height: 0; padding-top: 0; text-align: left; }
#scroll-top-btn {
  position: fixed;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 112px);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 26px rgba(26,115,232,.28);
  cursor: pointer;
  z-index: 91;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .22s, transform .22s, background .15s;
}
#scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#scroll-top-btn:hover { background: var(--blue-d); }

/* COLOR DOT ROW */
.google-dots { display: flex; justify-content: center; gap: 6px; margin-bottom: 16px; }
.google-dot { width: 10px; height: 10px; border-radius: 50%; }
.google-dot.b { background: var(--blue); }
.google-dot.r { background: var(--red); }
.google-dot.y { background: var(--yellow); }
.google-dot.g { background: var(--green); }

@media (max-width: 1023px) {
  .features-grid { grid-template-columns: repeat(3,1fr); }
  .forwho-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 767px) {
  .site-header { padding: 0 16px; }
  .site-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { padding-top: 14px; }
  .search-box { border-radius: 16px; padding: 12px 14px; }
  .search-input-wrap { flex-direction: column; align-items: stretch; }
  .btn-search {
    width: 100%;
    min-height: 52px;
    border-radius: 12px;
    font-size: 16px;
  }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .preview-wrap { grid-template-columns: 1fr; }
  .btn-preview { width: 100%; justify-content: center; }
  .sources-grid { grid-template-columns: repeat(2,1fr); }
  .forwho-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-search { flex-direction: column; border-radius: 8px; padding: 12px; }
  #cta-submit { width: 100%; border-radius: 12px; min-height: 52px; }
  #sticky-dock { padding: 12px 16px; }
  #sticky-btn {
    width: 100%;
    min-height: 56px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 17px;
  }
  #scroll-top-btn { right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 132px); }
}
@media (max-width: 479px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .sources-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* REPORT PAGE */
.report-page {
  background: var(--surface);
  --radius: 12px;
  --shadow: 0 1px 6px rgba(32, 33, 36, .12);
  --shadow-soft: 0 8px 24px rgba(26, 115, 232, .12);
}

.report-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 20;
}

.report-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.report-logo img {
  width: auto;
  height: 28px;
}

.report-plate-echo {
  background: var(--blue-pale);
  border: 1px solid #c5d9f7;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .04em;
  white-space: nowrap;
}

.report-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.loader-state {
  text-align: center;
  padding: 80px 24px;
}

.google-spinner {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.gs-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out;
}

.gs-dot.b { background: var(--blue); animation-delay: 0s; }
.gs-dot.r { background: var(--red); animation-delay: .15s; }
.gs-dot.y { background: var(--yellow); animation-delay: .3s; }
.gs-dot.g { background: var(--green); animation-delay: .45s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(.8); opacity: .5; }
  40% { transform: scale(1.2); opacity: 1; }
}

.loader-state strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.loader-state p {
  font-size: 14px;
  color: var(--muted);
}

#report-content {
  display: none;
  padding-top: 24px;
}

.report-cta-top {
  background: #fff;
  border: 1px solid #c5d9f7;
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.report-cta-top p {
  font-size: 15px;
  font-weight: 500;
}

.report-cta-top button {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s ease, transform .15s ease;
}

.report-cta-top button:hover {
  background: var(--blue-d);
  transform: translateY(-1px);
}

.report-indicators {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.r-indicator {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  box-shadow: var(--shadow);
}

.r-indicator .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.r-indicator strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.r-indicator span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
}

.r-indicator.ok { border-color: #ceead6; background: #f5fbf7; }
.r-indicator.warn { border-color: #fce8a3; background: #fff9eb; }
.r-indicator.ok .dot { background: var(--green); }
.r-indicator.warn .dot { background: var(--yellow); }

.r-indicator.checking {
  border-color: #d2e3fc;
  background: #f8fbff;
}

.r-indicator.checking .dot {
  background: #8ab4f8;
  animation: dotPulse 1s ease-in-out infinite;
}

.r-indicator.checking strong {
  color: var(--muted);
  font-weight: 600;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .3; transform: scale(.7); }
}

.trust-score-banner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.trust-score-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.trust-score-circle {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.trust-score-circle svg { transform: rotate(-90deg); }

.trust-score-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
}

.trust-score-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.trust-score-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.trust-score-bars {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tsb-item {
  display: grid;
  gap: 8px;
  font-size: 12px;
}

.tsb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tsb-lbl {
  color: var(--muted);
  line-height: 1.25;
  min-width: 0;
}

.tsb-track {
  width: 100%;
  height: 8px;
  background: #e8f0fe;
  border-radius: 999px;
  overflow: hidden;
}

.tsb-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--blue);
}

.tsb-fill.ok { background: var(--blue); }
.tsb-fill.warn { background: var(--yellow-d); }
.tsb-fill.tsb-animate { transition: width 1.4s cubic-bezier(.2, .7, .2, 1); }

.tsb-badge {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tsb-badge.ok { background: #e6f4ea; color: var(--green); }
.tsb-badge.warn { background: #fef7e0; color: var(--yellow-d); }

.report-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.report-section-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.report-section-head h3 {
  font-size: 15px;
  font-weight: 700;
}

.section-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}

.section-badge.ok {
  background: #e6f4ea;
  color: var(--green-d);
}

.section-badge svg {
  flex-shrink: 0;
  display: block;
}

.report-rows {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.report-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.report-row:last-child { border-bottom: none; }
.report-row .lbl { color: var(--muted); }
.report-row .val { font-weight: 600; color: var(--text); text-align: right; }
.report-row .val.ok { color: var(--green); }
.report-row .val.warn { color: var(--yellow-d); }

.row-loader {
  display: inline-block;
  width: 80px;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #e8f0fe 0%, #d2e3fc 50%, #e8f0fe 100%);
  background-size: 200% 100%;
  animation: rowShimmer 1.2s linear infinite;
  vertical-align: middle;
}

@keyframes rowShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.report-row.loading-row .val {
  min-width: 120px;
  text-align: right;
}

.report-row.loaded .val {
  color: var(--green);
  font-weight: 700;
}

.locked-section {
  position: relative;
  margin-bottom: 12px;
  min-height: 164px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid #c5d9f7;
  box-shadow: var(--shadow);
}

.locked-inner {
  min-height: inherit;
  background: #fff;
  border: 0;
  border-radius: 0;
  padding: 0;
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
}

.lock-overlay {
  position: absolute;
  inset: 0;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .78) 0%, rgba(248, 251, 255, .9) 100%);
  backdrop-filter: blur(2px);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(197, 217, 247, .88);
}

.lock-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(197, 217, 247, .9);
}

.lock-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  color: var(--blue);
}

.lock-icon svg rect,
.lock-icon svg path { stroke: var(--blue); }

.lock-overlay strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.lock-overlay span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

.lock-cta {
  background: var(--blue);
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  margin-top: 2px;
  transition: background .15s ease, transform .15s ease;
}

.lock-cta:hover {
  background: var(--blue-d);
  transform: translateY(-1px);
}

.report-freshness {
  margin: 32px 0 16px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
  border: 1px solid #c5d9f7;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.report-freshness.is-expired {
  border-color: #fce8a3;
  background: linear-gradient(135deg, #fffef7 0%, #fff9e6 100%);
}

.report-freshness-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.report-freshness-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.report-freshness-copy {
  flex: 1;
  min-width: 0;
}

.report-freshness-copy h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.report-freshness-copy p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.report-freshness-timer {
  min-width: 112px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  color: var(--blue);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 8px 20px rgba(26, 115, 232, .12);
}

.tariff-section {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.tariff-section h2 {
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  color: var(--text);
  margin-bottom: 6px;
}

.tariff-sub {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.tariff-email-line {
  margin: -12px 0 24px;
  text-align: center;
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
}

.tariff-primary {
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
}

.tariff-primary-badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.tariff-primary-top {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tariff-primary-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.tariff-primary-price {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 4px;
}

.tariff-price-current {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -.03em;
}

.tariff-price-old {
  font-size: 16px;
  line-height: 1.1;
  font-weight: 700;
  color: #9aa0a6;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #9aa0a6;
  text-decoration-skip-ink: none;
}

.tariff-primary-desc {
  font-size: 13px;
  color: var(--muted);
}

.tariff-primary-features {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.tpf {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}

.tariff-primary-btn {
  display: block;
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s ease, transform .15s ease;
}

.tariff-primary-btn:hover {
  background: var(--blue-d);
  transform: translateY(-1px);
}

.tariff-consent {
  margin: 10px 0 10px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  font-size: clamp(10.5px, 2.8vw, 12px);
  line-height: 1.45;
  color: var(--muted);
  text-align: left;
}

.tariff-consent-check {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--blue);
}

.tariff-consent span { color: inherit; }

.tariff-consent a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.tariff-primary-footer {
  text-align: center;
  font-size: clamp(10.5px, 2.8vw, 12px);
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: -.01em;
}

.purchase-check-note {
  margin-top: 16px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid #c5d9f7;
  border-radius: 16px;
  text-align: left;
  box-shadow: var(--shadow);
}

.purchase-check-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.purchase-check-note h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.purchase-check-list {
  display: grid;
  gap: 10px;
}

.purchase-check-list p {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.purchase-check-list p::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

#report-jump-cta {
  position: fixed;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  z-index: 92;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 12px 14px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(26, 115, 232, .26);
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}

#report-jump-cta:hover {
  background: var(--blue-d);
  transform: translateY(-1px);
  opacity: .96;
}

#report-jump-cta span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

footer#report-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 20px 24px;
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
}

footer#report-footer[hidden] { display: none !important; }
footer#report-footer a { color: var(--blue); }

@media (max-width: 767px) {
  .report-header-inner {
    padding: 14px 16px;
  }

  .report-logo img {
    height: 24px;
  }

  .report-plate-echo {
    max-width: 48vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .report-wrap {
    padding: 0 16px 48px;
  }

  .report-cta-top {
    flex-direction: column;
    text-align: center;
  }

  .report-indicators {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .r-indicator {
    padding: 14px 12px;
  }

  .trust-score-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 18px;
  }

  .trust-score-left {
    width: 100%;
  }

  .trust-score-bars {
    width: 100%;
    flex: none;
  }

  .report-row {
    align-items: flex-start;
  }

  .report-row .val {
    max-width: 45%;
  }

  .report-freshness {
    margin-top: 28px;
    padding: 18px 16px;
  }

  .report-freshness-content {
    flex-direction: column;
    align-items: stretch;
  }

  .report-freshness-copy h3 {
    font-size: 18px;
  }

  .report-freshness-timer {
    width: 100%;
    min-width: 0;
    font-size: 28px;
  }

  .tariff-primary {
    padding: 22px 18px;
  }

  .tariff-primary-top {
    flex-direction: column;
    gap: 14px;
  }

  .tariff-primary-price {
    gap: 10px;
    flex-wrap: wrap;
  }

  .tariff-price-current {
    font-size: 38px;
  }

  .tariff-price-old {
    font-size: 15px;
  }

  .tariff-primary-footer {
    font-size: 10.5px;
  }

  .purchase-check-note {
    padding: 20px 16px;
  }

  .purchase-check-note h3 {
    font-size: 18px;
  }

  #report-jump-cta {
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
    padding: 11px 13px;
  }

  #report-jump-cta span {
    font-size: 12px;
  }
}
