:root {
  color-scheme: light;
  --ink: #17243b;
  --muted: #718096;
  --line: #e7ebf1;
  --accent: #e94f37;
  --accent-dark: #c93d2a;
  --surface: #fff;
  --page: #f5f7fb;
  --soft: #fff3ef;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--page); }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner, main, .footer-inner { width: min(1040px, calc(100% - 64px)); margin: 0 auto; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { display: block; width: auto; max-width: 190px; height: 44px; object-fit: contain; }
.brand-divider { width: 1px; height: 34px; background: var(--line); }
.brand-caption { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.header-mark { width: auto; max-width: 130px; height: 42px; object-fit: contain; }
main { padding: 50px 0 64px; }
.intro { margin-bottom: 26px; }
.eyebrow { margin: 0 0 9px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(30px, 4vw, 42px); line-height: 1.12; letter-spacing: -.04em; }
.intro-copy { margin: 12px 0 0; color: var(--muted); font-size: 16px; }
.search-card, .data-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 30px rgba(27, 43, 67, .045); }
.search-card { width: 100%; max-width: 840px; margin: 0 auto; padding: 25px; }
.search-label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.search-row { display: flex; gap: 12px; }
.search-input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid #d8dee8; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.search-input::placeholder { color: #a0aaba; }
.search-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(233, 79, 55, .12); }
.search-button { min-width: 145px; height: 52px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.search-button:hover { background: var(--accent-dark); transform: translateY(-1px); }
.search-hint { margin: 11px 0 0; color: var(--muted); font-size: 12px; }
.results { margin-top: 34px; }
.section-heading { display: flex; align-items: center; gap: 11px; margin: 0 0 14px; font-size: 20px; letter-spacing: -.02em; }
.section-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--soft); color: var(--accent); font-size: 17px; }
.data-card { margin-bottom: 22px; overflow: hidden; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
table.t1, table.t2 { min-width: 760px; }
table th { padding: 14px 16px; background: #f8f9fc; color: #64748b; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-align: left; text-transform: uppercase; white-space: nowrap; }
table td { padding: 15px 16px; color: #35435a; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.5; vertical-align: top; }
table tbody tr:last-child td { border-bottom: 0; }
table tbody tr:nth-child(even) td { background: #fcfcfe; }
.footer { padding: 18px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { color: var(--muted); font-size: 12px; text-align: center; }
@media (max-width: 620px) {
  .header-inner, main, .footer-inner { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 70px; }
  .brand img { max-width: 150px; height: 38px; }
  .brand-caption { display: none; }
  .brand-divider { display: none; }
  .header-mark { max-width: 92px; height: 34px; }
  main { padding: 36px 0 48px; }
  .intro-copy { font-size: 14px; line-height: 1.6; }
  .search-card { padding: 19px; border-radius: 14px; }
  .search-row { flex-direction: column; }
  .search-button { width: 100%; }
  .results { margin-top: 28px; }
  .section-heading { margin-bottom: 12px; font-size: 18px; }
  .data-card { padding: 10px; border-radius: 14px; }
  .table-scroll { overflow: visible; }
  table.t1, table.t2 { display: block; min-width: 0; }
  table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  table tbody { display: grid; gap: 10px; }
  table tbody tr { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
  table tbody tr:nth-child(even) td { background: #fff; }
  table td { display: grid; grid-template-columns: minmax(86px, 30%) minmax(0, 1fr); gap: 12px; padding: 10px 12px; border-bottom: 1px solid #f0f2f6; text-align: left; font-size: 13px; overflow-wrap: anywhere; }
  table tbody tr td:last-child { border-bottom: 0; }
  table td::before { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  table.t1 td:nth-child(1)::before { content: "Ref"; }
  table.t1 td:nth-child(2)::before { content: "Zip code"; }
  table.t1 td:nth-child(3)::before { content: "Name"; }
  table.t1 td:nth-child(4)::before { content: "Status"; }
  table.t1 td:nth-child(5)::before { content: "Status date"; }
  table.t1 td:nth-child(6)::before { content: "Comment"; }
  table.t1 td:nth-child(7)::before { content: "Issue"; }
  table.t2 td:nth-child(1)::before { content: "Ref"; }
  table.t2 td:nth-child(2)::before { content: "Zip code"; }
  table.t2 td:nth-child(3)::before { content: "Name"; }
  table.t2 td:nth-child(4)::before { content: "Issue"; }
  table.t2 td:nth-child(5)::before { content: "Result"; }
  table.t2 td:nth-child(6)::before { content: "Notes"; }
  table.t2 td:nth-child(7)::before { content: "CC date"; }
}
