:root {
  --ink: #16202c;
  --muted: #526071;
  --paper: #fffdf8;
  --soft: #f4f0e8;
  --line: #ded8cd;
  --blue: #215ccf;
  --teal: #07806f;
  --red: #c9464b;
  --gold: #c9952f;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(22, 32, 44, .14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 1000; background: var(--ink); color: white; padding: .65rem .9rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem clamp(1rem, 4vw, 3rem); background: rgba(255,253,248,.92); border-bottom: 1px solid rgba(222,216,205,.78); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; min-width: max-content; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; color: white; background: var(--ink); box-shadow: 0 8px 0 var(--gold); }
.brand strong { display: block; line-height: 1.05; }
.brand small { display: block; color: var(--muted); font-size: .78rem; margin-top: .1rem; }
.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a { text-decoration: none; padding: .65rem .8rem; border-radius: 8px; color: #263443; font-weight: 700; font-size: .94rem; }
.site-nav a:hover, .site-nav a:focus { background: var(--soft); outline: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: white; border-radius: 8px; color: var(--ink); }
.hero { position: relative; min-height: clamp(520px, 72vh, 760px); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; background-image: var(--hero-image); background-size: cover; background-position: center; transform: scale(1.04); animation: heroDrift 16s ease-in-out infinite alternate; z-index: -3; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,21,33,.88), rgba(13,21,33,.55) 48%, rgba(13,21,33,.18)); z-index: -2; }
.hero-content { width: min(760px, calc(100% - 2rem)); margin-left: clamp(1rem, 7vw, 6rem); color: white; padding: 5rem 0 7rem; }
.eyebrow { margin: 0 0 .75rem; color: var(--red); text-transform: uppercase; font-weight: 900; letter-spacing: 0; font-size: .8rem; }
.hero .eyebrow { color: #ffd36f; }
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; margin: 0; }
h1 { font-size: clamp(2.55rem, 7vw, 5.8rem); max-width: 11ch; }
.hero-copy { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 680px; color: rgba(255,255,255,.9); margin: 1.2rem 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 8px; border: 1px solid transparent; padding: .78rem 1rem; font-weight: 900; text-decoration: none; cursor: pointer; font-size: .95rem; }
.btn-primary { color: white; background: var(--blue); box-shadow: 0 8px 0 rgba(0,0,0,.18); }
.btn-secondary { color: var(--ink); background: white; border-color: var(--line); }
.btn-glass { color: white; border-color: rgba(255,255,255,.48); background: rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.btn:hover { transform: translateY(-1px); }
.hero-panel { position: absolute; left: clamp(1rem, 7vw, 6rem); right: clamp(1rem, 7vw, 6rem); bottom: 1.25rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; color: white; }
.hero-panel span { display: flex; align-items: center; gap: .55rem; min-height: 58px; padding: .8rem; border: 1px solid rgba(255,255,255,.28); background: rgba(12,18,28,.55); backdrop-filter: blur(10px); border-radius: 8px; font-weight: 800; }
.section { padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4.5rem); }
.section-heading { max-width: 820px; margin-bottom: 1.5rem; }
.section-heading h2, .content-prose h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.intro-band { background: var(--soft); }
.country-tabs { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 1rem; align-items: start; }
.tab-buttons { display: grid; gap: .5rem; }
.tab-button { min-height: 48px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font-weight: 900; cursor: pointer; text-align: left; padding: .7rem .9rem; }
.tab-button.is-active { background: var(--ink); color: white; border-color: var(--ink); }
.country-panel { display: none; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 1.3rem; box-shadow: var(--shadow); }
.country-panel.is-active { display: block; }
.check-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list svg { color: var(--teal); margin-top: .18rem; }
.inline-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--blue); font-weight: 900; text-decoration: none; }
.inline-link:hover { text-decoration: underline; }
.image-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.image-card { position: relative; min-height: 270px; overflow: hidden; border-radius: 8px; color: white; text-decoration: none; box-shadow: var(--shadow); background: var(--ink); }
.image-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s ease; }
.image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.75)); }
.image-card span { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1; font-size: 1.15rem; font-weight: 950; }
.image-card:hover img { transform: scale(1.06); }
.split-section { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 2rem; align-items: start; background: #f8fbff; }
.tool-snapshot, .converter-panel, .rail-box, .article-card, .store-card, .product-card { border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow); }
.tool-snapshot, .converter-panel, .rail-box, .article-card, .store-card { padding: 1.15rem; }
label { display: grid; gap: .35rem; font-weight: 900; }
input, select { min-height: 46px; width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: .7rem .8rem; font: inherit; background: white; color: var(--ink); }
output { display: block; margin: 1rem 0; padding: .9rem; border-left: 4px solid var(--teal); background: #edf8f5; font-weight: 900; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.article-card h3 { font-size: 1.25rem; margin-bottom: .65rem; }
.article-card h3 a { text-decoration: none; }
.article-card p:not(.eyebrow) { color: var(--muted); }
.ad-slot { min-height: 110px; margin: 0 clamp(1rem, 5vw, 4.5rem); border: 1px dashed #b8b1a5; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--muted); background: #faf7ef; }
.text-button { min-height: 44px; border: 0; background: transparent; color: var(--blue); text-decoration: underline; font-weight: 900; cursor: pointer; padding: .55rem .7rem; }
.notice { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem; border: 1px solid #e4c56f; border-radius: 8px; background: #fff7dc; margin-bottom: 1.25rem; }
.notice p { margin: 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 2rem; align-items: start; }
.content-prose { max-width: 860px; }
.content-prose p, .content-prose li { color: #344252; font-size: 1.04rem; }
.content-prose h2 { margin-top: 2rem; margin-bottom: .75rem; }
.content-prose ol { padding-left: 1.3rem; }
.side-rail { position: sticky; top: 92px; display: grid; gap: 1rem; }
.side-rail .ad-slot { margin: 0; }
.rail-link { display: block; text-decoration: none; color: var(--blue); font-weight: 850; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.faq-section { background: var(--soft); }
.faq-list { display: grid; gap: .7rem; max-width: 920px; }
details { background: white; border: 1px solid var(--line); border-radius: 8px; padding: .95rem 1rem; }
summary { cursor: pointer; font-weight: 950; }
details p { color: var(--muted); }
.filter-bar { display: grid; grid-template-columns: minmax(180px, 280px) minmax(220px, 1fr); gap: 1rem; margin-bottom: 1.25rem; align-items: end; }
.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.store-card-head { display: flex; justify-content: space-between; gap: .8rem; align-items: start; }
.store-card-head span { color: white; background: var(--red); border-radius: 999px; padding: .25rem .55rem; font-size: .76rem; font-weight: 900; }
.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid { display: grid; gap: 1rem; }
.product-card { display: grid; grid-template-columns: 280px 1fr; overflow: hidden; }
.product-card img { width: 100%; height: 100%; object-fit: cover; min-height: 230px; }
.product-card div { padding: 1.2rem; }
.narrow { max-width: 980px; margin: 0 auto; }
.legal-copy { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 1.4rem; box-shadow: var(--shadow); }
.site-footer { background: var(--ink); color: white; padding: 3rem clamp(1rem, 5vw, 4.5rem) 1.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer-brand .brand-mark { background: white; color: var(--ink); }
.site-footer p, .site-footer small { color: rgba(255,255,255,.72); }
.site-footer h2 { font-size: 1rem; margin-bottom: .7rem; }
.site-footer a { display: block; color: rgba(255,255,255,.86); text-decoration: none; margin: .35rem 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2rem; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,.68); font-size: .9rem; }
.cookie-banner { position: fixed; z-index: 120; left: 1rem; right: 1rem; bottom: 1rem; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; max-width: 980px; margin: 0 auto; padding: 1rem; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.cookie-banner p { margin: .25rem 0 0; color: var(--muted); }
.cookie-actions { display: flex; gap: .6rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes heroDrift { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.09) translate3d(-1.5%,0,0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 980px) {
  .menu-toggle { display: grid; place-items: center; }
  .site-nav { position: fixed; top: 70px; left: 1rem; right: 1rem; display: none; flex-direction: column; align-items: stretch; background: white; border: 1px solid var(--line); border-radius: 8px; padding: .7rem; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .hero-panel, .country-tabs, .split-section, .article-layout, .footer-grid, .product-card { grid-template-columns: 1fr; }
  .hero-panel { position: static; padding: 0 1rem 1rem; }
  .side-rail { position: static; }
  .image-card-grid, .article-grid, .store-grid, .compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar { grid-template-columns: 1fr; }
  .cookie-banner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .site-header { padding: .7rem 1rem; }
  .brand small { display: none; }
  .hero { min-height: 640px; align-items: start; }
  .hero-content { margin-left: 1rem; padding-top: 4.5rem; width: calc(100% - 2rem); }
  h1 { font-size: 2.45rem; max-width: 12ch; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-panel, .image-card-grid, .article-grid, .store-grid, .compact { grid-template-columns: 1fr; }
  .image-card { min-height: 220px; }
  .ad-slot { margin-left: 1rem; margin-right: 1rem; flex-direction: column; text-align: center; padding: 1rem; }
  .cookie-banner { padding: .75rem; gap: .65rem; }
  .cookie-banner p { font-size: .9rem; line-height: 1.38; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .cookie-actions .btn { padding: .62rem .55rem; }
  .footer-bottom { flex-direction: column; }
}