:root {
  color-scheme: light;
  --ink: #142134;
  --text: #27384c;
  --muted: #516076;
  --blue: #205d9b;
  --amber: #ffbc32;
  --amber-hover: #eea924;
  --line: #d8e1ed;
  --paper: #fff;
  --background: #f7f9fc;
  --footer: #0d1119;
  --gutter: 16px;
  --measure: 68ch;
  font-family: Inter, 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font-size: 1rem; line-height: 1.55; }
img { display: block; max-width: 100%; }
h1, h2, p, ul, ol { margin: 0; }
h1, h2 { color: var(--ink); line-height: 1.2; letter-spacing: -.025em; }
h1 { font-size: 1.75rem; font-weight: 760; text-wrap: balance; }
h2 { font-size: 1.375rem; font-weight: 740; }
a { color: var(--blue); text-underline-offset: .15em; }
a:hover { color: #134577; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1965b2; outline-offset: 3px; }

.skip-link { position: absolute; z-index: 2; padding: 10px 16px; background: var(--paper); font-weight: 700; transform: translateY(-120%); }
.skip-link:focus { transform: none; }
.review-bar { padding: 5px var(--gutter); background: #e7eef7; color: #314b6b; font-size: .8125rem; font-weight: 650; text-align: center; }

.hero { background: linear-gradient(180deg, #e4eefc 0%, #eef5fe 100%); border-bottom: 1px solid #cbd9ea; }
.hero-inner { padding-block: 25px 27px; }
.hero h1 { max-width: 26ch; margin-bottom: 12px; }
.hero p { max-width: 65ch; }
.search-form { max-width: 690px; margin-top: 18px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 3px 12px #1d365b0c; }
.search-form label { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 680; }
.search-control { display: grid; gap: 8px; }
.search-control input, .search-control button { min-width: 0; min-height: 48px; border-radius: 8px; }
.search-control input { width: 100%; border: 1px solid #91a5bf; padding: 10px 12px; background: #f9fbff; color: var(--ink); }
.search-control input::placeholder { color: #55667d; opacity: 1; }
.search-control button { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #e5a515; padding: 10px 16px; background: var(--amber); color: #211806; font-weight: 750; }
.search-control button:hover { background: var(--amber-hover); }
.search-icon { position: relative; width: 12px; height: 12px; margin-right: 2px; border: 2px solid currentColor; border-radius: 50%; }
.search-icon::after { position: absolute; right: -5px; bottom: -2px; width: 6px; height: 2px; border-radius: 1px; background: currentColor; content: ''; transform: rotate(45deg); }
.search-status { margin-top: 8px; color: var(--muted); font-size: .875rem; }

.home-ad { display: grid; place-content: center; grid-template-columns: minmax(0, 1fr); width: min(970px, 100%); min-height: 108px; margin: 14px auto 20px; border-block: 1px solid #e0e7f0; background: #f0f4f9; color: var(--muted); text-align: center; font-size: .875rem; }
.hero + .content-flow { padding-top: 20px; }
.content-flow { padding-bottom: 34px; }
.weekly { padding: 15px; border: 1px solid #b9831d; border-radius: 12px; background: #fffaf0; }
.section-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.period-badge, .review-tag { display: inline-block; padding: 3px 8px; border: 1px solid #d7b46b; border-radius: 6px; background: #fff3d6; color: #70470c; font-size: .8125rem; font-weight: 650; white-space: nowrap; }
.prototype-note { margin-top: 7px; color: #635033; font-size: .875rem; }

.page-section { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.reports { margin-top: 26px; padding-top: 0; border-top: 0; }
.section-intro { margin-bottom: 16px; }
.section-intro p { max-width: var(--measure); margin-top: 8px; }
.text-action { display: inline-block; width: fit-content; color: var(--blue); font-weight: 700; }

.report-list, .directory-list, .guide-list, .related-links { list-style: none; padding: 0; }
.report-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.report-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 14px 14px 13px 19px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.rating-edge { position: absolute; top: -1px; bottom: -1px; left: -1px; width: 6px; border-radius: 10px 0 0 10px; background: var(--rating); pointer-events: none; }
.danger { --rating: #b0202a; }
.harassing { --rating: #c24f08; }
.unknown { --rating: #5f6368; }
.neutral { --rating: #255c9a; }
.safe { --rating: #277a48; }
.report-title, .report-labels, .report-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.report-title > a { font-size: 1.25rem; font-weight: 760; line-height: 1.25; text-decoration: none; }
.report-title > a:hover { text-decoration: underline; }
.report-country { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: .875rem; }
.report-country img { width: 15px; height: 10px; object-fit: cover; border-radius: 2px; }
.report-labels { margin-top: 8px; gap: 5px; }
.report-rating, .report-feature { padding: 2px 7px; border-radius: 5px; font-size: .8125rem; font-weight: 650; overflow-wrap: anywhere; }
.report-rating { background: var(--rating); color: #fff; }
.report-feature { background: #edf3fb; color: #304966; }
.report-excerpt { margin-top: 9px; margin-bottom: 12px; overflow-wrap: anywhere; }
.report-meta { margin-top: auto; color: var(--muted); font-size: .875rem; }
.report-meta a { margin-left: auto; font-weight: 650; }
.reports-end { display: grid; gap: 9px; margin-top: 14px; }
.reports-end p { max-width: var(--measure); color: var(--muted); font-size: .875rem; }

.directory-list, .guide-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.directory-list a, .guide-list li { min-height: 53px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.directory-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 100%; font-weight: 700; text-decoration: none; }
.directory-list a:hover { background: #edf4fd; text-decoration: underline; }
.guide-list li { display: flex; align-items: center; color: var(--ink); font-weight: 620; }
.prose { margin-bottom: 0; }
.prose p + p { margin-top: 10px; }
.prose .text-action { margin-top: 11px; }
.insights { margin-bottom: 0; padding: 15px; border: 1px solid #cbd9ea; border-radius: 12px; background: #edf4fc; }
.review-tag { border-color: #b8cde4; background: #f8fbff; color: #314b6b; }
.related-links { display: flex; flex-wrap: wrap; gap: 7px 15px; margin-top: 11px; font-weight: 650; }

.faq h2 { margin-bottom: 14px; }
.faq-list { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; color: var(--ink); font-weight: 670; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { flex: 0 0 8px; height: 8px; margin-right: 3px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); content: ''; transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 7px; }
.faq details p { max-width: var(--measure); padding: 0 14px 14px; }

@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .hero-inner { padding-block: 34px; }
  .search-form { padding: 16px; }
  .search-control { grid-template-columns: minmax(0, 1fr) auto; }
  .home-ad { margin-top: 18px; margin-bottom: 24px; }
  .weekly, .insights { padding: 18px; }
  .page-section { margin-top: 32px; padding-top: 30px; }
  .reports { padding-top: 0; }
  .directory-list, .guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

@media (min-width: 960px) {
  :root { --gutter: 32px; }
  h1 { max-width: none; font-size: 2.5rem; }
  h2 { font-size: 1.625rem; }
  .hero-inner { padding-block: 42px 36px; }
  .hero h1, .hero-inner > p { max-width: 900px; margin-inline: auto; text-align: center; }
  .hero-inner > p { max-width: 68ch; }
  .search-form { margin: 21px auto 0; }
  .home-ad { width: min(972px, 100%); min-height: 112px; border: 1px solid #e0e7f0; border-radius: 8px; }
  .weekly, .insights { padding: 20px 22px; }
  .hero + .content-flow { padding-top: 28px; }
  .content-flow { padding-bottom: 42px; }
  .report-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .report-card { padding: 16px 16px 15px 21px; }
  .directory-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
