:root {
  --blue: #0058a3;
  --blue-dark: #003e73;
  --yellow: #ffda1a;
  --ink: #162b43;
  --muted: #60748a;
  --line: #dce5ee;
  --soft: #f4f7fa;
  --green: #1c7d54;
  --red: #c44b4b;
  --shadow: 0 16px 40px rgba(23, 51, 79, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #eef3f7;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button, input { font: inherit; }
button { cursor: pointer; }

a { color: inherit; }

.site-shell { min-height: 100vh; }

.topbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 25px 0 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--blue);
  text-decoration: none;
}

.brand-mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
  border: 2px solid var(--blue);
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.1rem; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: .72rem; margin-top: -2px; }

.live-pill {
  color: var(--muted);
  font-size: .78rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.live-pill i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #39a676;
  box-shadow: 0 0 0 4px rgba(57,166,118,.12);
}

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 55px; }

.hero-card {
  overflow: hidden;
  position: relative;
  padding: clamp(30px, 6vw, 65px);
  border-radius: 24px;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -90px;
  top: -110px;
  border-radius: 50%;
  border: 50px solid rgba(255,218,26,.93);
  opacity: .95;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: 56px;
  bottom: -106px;
  border-radius: 50%;
  border: 18px solid rgba(255,255,255,.12);
}

.hero-copy, .lookup-form, .example-row, .quick-products { position: relative; z-index: 1; }
.hero-copy { max-width: 650px; }

.eyebrow {
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .72rem;
  font-weight: 800;
  margin: 0 0 13px;
}

.hero-card h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.35rem);
  line-height: .99;
  letter-spacing: -.065em;
}

.hero-lead {
  max-width: 580px;
  color: rgba(255,255,255,.78);
  font-size: 1.03rem;
  margin: 22px 0 31px;
}

.lookup-form {
  max-width: 670px;
  padding: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
}

.lookup-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 13px 14px;
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
}

.lookup-form input::placeholder { color: #8a9aad; }

.primary-button, .outline-button {
  border: 0;
  border-radius: 9px;
  padding: 13px 17px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.primary-button { color: var(--blue-dark); background: var(--yellow); white-space: nowrap; }
.primary-button:hover, .outline-button:hover { transform: translateY(-1px); box-shadow: 0 7px 16px rgba(0,0,0,.15); }
.primary-button span, .outline-button span { margin-left: 5px; }

.example-row {
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.64);
  font-size: .8rem;
}

.text-button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.45);
  background: transparent;
  color: #fff;
  font-weight: 700;
}

.quick-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.quick-products:empty { display: none; }

.quick-products button {
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 7px 11px;
  color: rgba(255,255,255,.9);
  background: rgba(0,0,0,.09);
  font-size: .78rem;
}

.quick-products button:hover { background: rgba(255,255,255,.13); }

.status-line {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: .78rem;
}

.message-card {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: var(--shadow);
}

.message-card h2 { margin: 0 0 6px; font-size: 1.1rem; }
.message-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.message-card .command-hint { margin-top: 11px; font-size: .78rem; }
.message-icon { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: #e6f0f8; font-weight: 900; }
code { padding: 2px 5px; border-radius: 5px; color: #37546f; background: #edf2f6; font-size: .86em; }

.product-heading {
  display: flex;
  align-items: center;
  gap: 21px;
  padding: 24px 0 20px;
}

.product-visual {
  position: relative;
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 17px;
  background: var(--yellow);
  border: 8px solid #f2ca00;
}

.product-visual::before, .product-visual::after, .shelf { content: ""; position: absolute; background: var(--blue); }
.product-visual::before { left: 19px; top: 15px; bottom: 15px; width: 7px; }
.product-visual::after { right: 19px; top: 15px; bottom: 15px; width: 7px; }
.shelf { left: 12px; right: 12px; height: 7px; border-radius: 2px; }
.shelf-one { top: 15px; }.shelf-two { top: 36px; }.shelf-three { top: 57px; }.shelf-four { top: 78px; }

.product-title-block { min-width: 0; flex: 1; }
.product-title-block .eyebrow { margin-bottom: 5px; color: var(--blue); }
.product-title-block h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.2rem); line-height: 1.1; letter-spacing: -.035em; }
.product-description { color: var(--muted); font-size: .9rem; margin: 8px 0 0; }
.outline-button { flex: 0 0 auto; color: var(--blue); background: #fff; border: 1px solid #c8d8e6; font-size: .83rem; }

.market-filters { display: flex; flex-wrap: wrap; gap: 7px; padding: 2px 0 18px; }
.filter-chip { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; color: var(--muted); background: #fff; font-size: .78rem; }
.filter-chip.active { color: var(--blue); border-color: #8ab2d3; background: #e8f2fa; font-weight: 800; }

.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 16px; }
.summary-card { min-height: 132px; display: flex; flex-direction: column; justify-content: center; padding: 19px 21px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.summary-card.best-summary { background: var(--blue); border-color: var(--blue); color: #fff; }
.summary-label { color: var(--muted); font-size: .74rem; font-weight: 750; }
.best-summary .summary-label { color: rgba(255,255,255,.7); }
.summary-card strong { display: block; margin-top: 5px; font-size: 1.7rem; letter-spacing: -.04em; }
.summary-detail { color: var(--muted); font-size: .78rem; margin-top: 3px; }
.best-summary .summary-detail { color: rgba(255,255,255,.78); }

.table-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow); }
.table-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding: 22px 24px 17px; border-bottom: 1px solid var(--line); }
.table-header h2 { margin: 0; font-size: 1.15rem; }
.table-header p { margin: 4px 0 0; color: var(--muted); font-size: .78rem; }
.sort-label { flex: 0 0 auto; padding: 7px 10px; border-radius: 7px; background: var(--soft); color: var(--muted); font-size: .73rem; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 650px; }
th { padding: 12px 24px; color: #8292a3; text-align: left; text-transform: uppercase; letter-spacing: .08em; font-size: .67rem; font-weight: 800; background: #fbfcfd; }
td { padding: 17px 24px; border-top: 1px solid #edf1f4; vertical-align: middle; font-size: .88rem; }
tbody tr:first-child td { border-top: 0; }
tbody tr.best-row { background: #f2f8fc; }
.country-cell { display: flex; align-items: center; gap: 10px; }
.flag { font-size: 1.35rem; line-height: 1; }
.country-name { display: block; font-weight: 800; }
.country-locale { display: block; color: var(--muted); font-size: .7rem; margin-top: 2px; }
.local-price { font-weight: 800; color: var(--ink); }
.local-currency { color: var(--muted); font-size: .7rem; }
.euro-price { font-weight: 850; color: var(--blue); font-size: 1.02rem; }
.best-badge, .gap-badge { display: inline-block; border-radius: 999px; padding: 4px 8px; font-size: .7rem; font-weight: 800; }
.best-badge { color: #176b47; background: #ddf3e8; }
.gap-badge { color: var(--muted); background: #f0f3f6; }
.gap-badge.more { color: #a34b4b; background: #fbeaea; }
.source-link { color: var(--blue); font-size: .78rem; text-decoration: none; font-weight: 800; white-space: nowrap; }
.source-link:hover { text-decoration: underline; }
.unavailable { color: #9b6d48; font-size: .8rem; }
.fine-print { margin: 12px 5px 0; color: #8392a1; font-size: .72rem; }

.how-it-works { display: grid; grid-template-columns: .8fr 1.2fr; gap: 45px; align-items: center; margin-top: 70px; padding: 28px 0; border-top: 1px solid #d5e0e9; }
.how-it-works .eyebrow { color: var(--blue); margin-bottom: 8px; }
.how-it-works h2 { max-width: 250px; margin: 0; font-size: 1.55rem; line-height: 1.1; letter-spacing: -.04em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding-left: 14px; border-left: 2px solid var(--yellow); }
.step span { color: var(--blue); font-size: .75rem; font-weight: 900; }
.step p { margin: 10px 0 0; color: var(--muted); font-size: .83rem; }

.footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 20px 0 27px; display: flex; justify-content: space-between; gap: 20px; color: #8493a1; font-size: .7rem; }

.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; }
.hidden { display: none !important; }

@media (max-width: 760px) {
  .topbar, main, .footer { width: min(100% - 24px, 1180px); }
  .topbar { padding-top: 17px; }
  .live-pill { display: none; }
  .hero-card { border-radius: 18px; padding: 31px 22px 27px; }
  .hero-card::after { right: -190px; top: -165px; }
  .lookup-form { flex-direction: column; align-items: stretch; background: transparent; border: 0; padding: 0; gap: 9px; }
  .lookup-form input { width: 100%; }
  .primary-button { width: 100%; }
  .product-heading { align-items: flex-start; flex-wrap: wrap; }
  .product-visual { width: 74px; height: 74px; border-width: 6px; }
  .product-visual::before { left: 14px; top: 11px; bottom: 11px; width: 5px; }
  .product-visual::after { right: 14px; top: 11px; bottom: 11px; width: 5px; }
  .shelf { left: 8px; right: 8px; height: 5px; }
  .shelf-one { top: 11px; }.shelf-two { top: 28px; }.shelf-three { top: 45px; }.shelf-four { top: 62px; }
  .product-title-block { flex-basis: calc(100% - 96px); }
  .outline-button { margin-left: 95px; }
  .summary-grid { grid-template-columns: 1fr; }
  .summary-card { min-height: 98px; }
  .table-header { padding: 18px 16px 14px; flex-direction: column; gap: 10px; }
  th, td { padding-left: 16px; padding-right: 16px; }
  .how-it-works { display: block; margin-top: 45px; }
  .steps { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .footer { display: block; }
  .footer span { display: block; margin-top: 5px; }
}
