/* ==========================================================================
   Italian Dreamers — stylesheet
   Rebuilt from the "Wegweiser" design spec (classic Ratgeber/guide portal).
   Namespaced with the id- prefix.
   ========================================================================== */

/* ---------- Fonts (self-hosted, licensed, shipped in /fonts) ------------- */
@font-face { font-family: 'Tiempos Headline'; font-weight: 300; font-style: normal; font-display: swap; src: url('fonts/TiemposHeadline-Light.woff') format('woff'); }
@font-face { font-family: 'Tiempos Headline'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/TiemposHeadline-Regular.woff') format('woff'); }
@font-face { font-family: 'Tiempos Headline'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/TiemposHeadline-Semibold.woff2') format('woff2'); }
@font-face { font-family: 'Tiempos Text'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/TiemposText-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Tiempos Text'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/TiemposText-Semibold.woff2') format('woff2'); }
@font-face { font-family: 'Monument'; font-weight: 400; font-style: normal; font-display: swap; ascent-override: 76%; descent-override: 24%; line-gap-override: 0%; src: url('fonts/MonumentGrotesk-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Monument'; font-weight: 500; font-style: normal; font-display: swap; ascent-override: 76%; descent-override: 24%; line-gap-override: 0%; src: url('fonts/MonumentGrotesk-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Monument'; font-weight: 700; font-style: normal; font-display: swap; ascent-override: 76%; descent-override: 24%; line-gap-override: 0%; src: url('fonts/MonumentGrotesk-Bold.woff2') format('woff2'); }
@font-face { font-family: 'MonumentMono'; font-weight: 400; font-style: normal; font-display: swap; ascent-override: 76%; descent-override: 24%; line-gap-override: 0%; src: url('fonts/MonumentGrotesk-Mono.woff2') format('woff2'); }

/* ---------- Tokens ------------------------------------------------------- */
:root {
  --stone: #F3F1EC;
  --page: #E4E1D9;
  --white: #FFFFFF;
  --ink: #1B2426;
  --body: #3C4648;
  --muted: #5D6668;
  --line: #E2DED5;
  --line-soft: #ECE8E0;
  --line-strong: #D8D3C8;
  --petrol: #0E4F5C;
  --petrol-dark: #0A3A44;
  --petrol-tint: #E3EEF0;
  --petrol-pale: #D5E4E6;
  --foot-text: #BFD3D6;
  --foot-line: #1F5561;
  --ochre: #D9A441;
  --band: #E8B34B;
  --band-hover: #F2C566;
  --band-border: #C9952F;
  --note: #FBF3E2;

  --serif-h: 'Tiempos Headline', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --serif-t: 'Tiempos Text', Georgia, 'Times New Roman', serif;
  --sans: 'Monument', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'MonumentMono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --r-btn: 6px;
  --r-card-sm: 8px;
  --r-card: 10px;
  --r-band: 12px;

  --gut: clamp(18px, 3.75vw, 48px);
  --shell: 1280px;
}

/* ---------- Reset ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--petrol); }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font-family: inherit; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; border-radius: 3px; }

.id-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--petrol); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--r-btn) 0;
  font-size: 14px; font-weight: 500;
}
.id-skip:focus { left: 0; color: #fff; }

/* ---------- Shell ------------------------------------------------------- */
.id-shell {
  max-width: var(--shell);
  margin: 0 auto;
  background: var(--stone);
  overflow-clip-margin: 0;
}
.id-wrap { padding-left: var(--gut); padding-right: var(--gut); }

/* ---------- Disclosure / info bar --------------------------------------- */
.id-topbar {
  background: var(--petrol);
  color: var(--petrol-pale);
  font-size: 12.5px;
  line-height: 1.35;
}
.id-topbar-in {
  min-height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 6px var(--gut);
  flex-wrap: wrap;
}
.id-topbar strong { color: #fff; font-weight: 500; }
.id-topbar-date { font-family: var(--mono); font-size: 11.5px; white-space: nowrap; }

/* ---------- Header ------------------------------------------------------ */
.id-header { background: var(--white); border-bottom: 1px solid var(--line); }
.id-header-in {
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px var(--gut);
}
.id-logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--serif-h);
  font-size: clamp(23px, 3.4vw, 31px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--petrol);
  white-space: nowrap;
}
.id-logo:hover { color: var(--petrol); }
.id-logo-dot { color: var(--ochre); }
.id-logo-tag {
  margin-left: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
  white-space: nowrap;
}

.id-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; line-height: 1; }
.id-nav a { display: flex; align-items: center; gap: 8px; }
.id-nav img { width: 18px; height: 18px; flex: none; }
.id-nav-cta {
  height: 42px; padding: 0 18px;
  border-radius: var(--r-btn);
  background: var(--petrol); color: #fff !important;
}
.id-nav-cta:hover { background: var(--petrol-dark); }
.id-nav-cta img { width: 16px; height: 16px; }

.id-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--r-btn);
  background: var(--white); cursor: pointer; padding: 0;
}
.id-burger span { display: block; width: 19px; height: 2px; background: var(--petrol); position: relative; }
.id-burger span::before, .id-burger span::after {
  content: ''; position: absolute; left: 0; width: 19px; height: 2px; background: var(--petrol);
}
.id-burger span::before { top: -6px; }
.id-burger span::after { top: 6px; }

/* ---------- Hero -------------------------------------------------------- */
.id-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  padding: 40px var(--gut) 0;
  align-items: start;
}
.id-hero-img {
  width: 100%;
  aspect-ratio: 772 / 440;
  object-fit: cover;
  border-radius: var(--r-card);
}
.id-hero-card {
  position: relative;
  margin: -110px 0 0 32px;
  max-width: 640px;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 26px 30px;
  box-shadow: 0 1px 0 var(--line);
}
.id-hero-card h1 { margin: 14px 0 0; }

.id-chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 26px; padding: 0 10px;
  border-radius: 4px;
  background: var(--petrol-tint); color: var(--petrol);
  font-size: 12.5px; font-weight: 500; line-height: 1;
}
.id-chip:hover { color: var(--petrol); }
.id-chip img { width: 14px; height: 14px; flex: none; }

.id-h1-hero {
  font-family: var(--serif-h);
  font-size: clamp(27px, 4.1vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.id-hero-lead {
  margin: 12px 0 0;
  font-family: var(--serif-t);
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.55;
  color: var(--body);
}
.id-meta {
  margin-top: 16px;
  display: flex; gap: 14px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
}

/* ---------- Weekly list card -------------------------------------------- */
.id-aside-card { background: var(--white); border-radius: var(--r-card); padding: 24px 26px; }
.id-aside-title { font-family: var(--serif-h); font-size: 23px; font-weight: 600; line-height: 1.2; }
.id-ranklist { display: flex; flex-direction: column; margin-top: 10px; }
.id-rank {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft); align-items: start;
}
.id-ranklist .id-rank:last-child { border-bottom: 0; padding-bottom: 4px; }
.id-rank-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ochre); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 700; line-height: 1;
}
.id-rank-txt { font-size: 15.5px; line-height: 1.4; font-weight: 500; }

/* ---------- Section headers --------------------------------------------- */
.id-section { padding: 56px var(--gut) 0; }
.id-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.id-h2 { font-family: var(--serif-h); font-size: clamp(24px, 3.1vw, 30px); font-weight: 400; line-height: 1.15; }
.id-more { font-size: 14px; font-weight: 500; color: var(--petrol); white-space: nowrap; }

/* ---------- Topic tiles ------------------------------------------------- */
.id-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px; margin-top: 20px;
}
.id-tile {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 22px 20px;
  transition: border-color .15s ease;
}
.id-tile:hover { border-color: var(--petrol); color: inherit; }
.id-tile-ico {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--petrol-tint);
  display: flex; align-items: center; justify-content: center;
}
.id-tile-ico img { width: 28px; height: 28px; }
.id-tile-name { display: block; margin-top: 16px; font-family: var(--serif-h); font-size: 21px; font-weight: 600; line-height: 1.2; }
.id-tile-sub { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.id-tile-count { display: block; margin-top: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--petrol); }

/* ---------- Article cards ----------------------------------------------- */
.id-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px; margin-top: 20px;
}
.id-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.id-card { display: block; }
.id-card-img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--r-card-sm); background: var(--line);
}
.id-card-cat {
  margin-top: 14px; display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; color: var(--petrol); line-height: 1;
}
.id-card-cat img { width: 14px; height: 14px; flex: none; }
.id-card-title {
  display: block;
  margin-top: 8px; font-family: var(--serif-h);
  font-size: 23px; font-weight: 400; line-height: 1.2; text-wrap: pretty;
}
.id-card:hover .id-card-title { color: var(--petrol); }
.id-card-exc { margin: 8px 0 0; font-family: var(--serif-t); font-size: 16px; line-height: 1.5; color: var(--body); }
.id-card-meta { display: block; margin-top: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

/* list variant (category pages) */
.id-list { margin-top: 24px; display: flex; flex-direction: column; gap: 0; }
.id-row {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 26px;
  padding: 26px 0; border-top: 1px solid var(--line);
  align-items: start;
}
.id-row:first-child { border-top: 0; padding-top: 6px; }
.id-row-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-card-sm); background: var(--line); }
.id-row-title { display: block; margin-top: 8px; font-family: var(--serif-h); font-size: 25px; font-weight: 400; line-height: 1.18; text-wrap: pretty; }
.id-row:hover .id-row-title { color: var(--petrol); }

/* ---------- Newsletter band --------------------------------------------- */
.id-band {
  margin: 60px var(--gut) 0;
  background: var(--band);
  border-radius: var(--r-band);
  padding: 40px 44px;
  display: grid; grid-template-columns: minmax(0, 1fr) 470px;
  gap: 48px; align-items: center;
}
.id-band-kicker {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--petrol); line-height: 1;
}
.id-band-kicker img { width: 16px; height: 16px; flex: none; }
.id-band-title {
  margin-top: 12px; font-family: var(--serif-h);
  font-size: clamp(26px, 3.7vw, 36px); font-weight: 400; line-height: 1.12; color: var(--ink);
  text-wrap: pretty;
}
.id-band-facts {
  margin-top: 14px; display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 14.5px; color: #2B3436;
}
.id-band-note { margin-top: 10px; font-size: 12px; line-height: 1.5; color: #3A3220; }
.id-band-note a { text-decoration: underline; }

/* ---------- Forms ------------------------------------------------------- */
.id-form { display: flex; gap: 8px; flex-wrap: wrap; }
.id-input {
  flex: 1 1 200px; min-width: 0; height: 52px;
  padding: 0 16px;
  font-family: var(--sans); font-size: 15.5px;
  border: 1px solid var(--band-border); border-radius: var(--r-btn);
  background: var(--white); color: var(--ink); outline: none;
}
.id-input::placeholder { color: #8A9294; }
.id-input:focus { border-color: var(--petrol); }
.id-btn {
  height: 52px; padding: 0 24px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1;
  border: 0; border-radius: var(--r-btn);
  background: var(--petrol); color: #fff; cursor: pointer;
  transition: background .15s ease;
}
.id-btn:hover { background: var(--petrol-dark); color: #fff; }
.id-btn-ochre { background: var(--band); color: var(--ink); }
.id-btn-ochre:hover { background: var(--band-hover); color: var(--ink); }

.id-consent {
  margin-top: 12px;
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px;
  font-size: 12.5px; line-height: 1.5; color: #3A3220;
  align-items: start;
}
.id-consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--petrol); cursor: pointer; }
.id-consent a { text-decoration: underline; }
.id-form-msg { margin-top: 10px; font-size: 13px; line-height: 1.45; min-height: 0; }
.id-form-msg.is-err { color: #8C2B1E; font-weight: 500; }
.id-form-msg.is-ok { color: var(--petrol-dark); font-weight: 500; }

/* ---------- FAQ accordion ----------------------------------------------- */
.id-faq { padding: 56px var(--gut) 0; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; }
.id-faq-list { background: var(--white); border-radius: var(--r-card); padding: 0 26px; }
.id-faq-item { border-bottom: 1px solid var(--line-soft); }
.id-faq-list .id-faq-item:last-child { border-bottom: 0; }
.id-faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; color: var(--ink);
  font-family: var(--sans); font-size: 17px; font-weight: 500; line-height: 1.4;
}
.id-faq-sign {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  border: 1px solid var(--petrol); color: var(--petrol);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1;
}
.id-faq-a {
  display: none; padding: 0 0 20px;
  font-family: var(--serif-t); font-size: 17px; line-height: 1.6; color: var(--body);
  max-width: 68ch;
}
.id-faq-item.is-open .id-faq-a { display: block; }
.id-faq-item.is-open .id-faq-sign { background: var(--petrol); color: #fff; }

/* ---------- Article page ------------------------------------------------ */
.id-article-shell { background: var(--white); padding: 36px var(--gut) 56px; }
.id-crumbs { font-size: 13.5px; color: var(--muted); }
.id-crumbs a:hover { color: var(--petrol); }
.id-crumbs span { color: var(--ink); }

.id-article-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px; margin-top: 22px; align-items: start;
}
.id-h1 {
  margin: 14px 0 0;
  font-family: var(--serif-h);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; text-wrap: pretty;
}

.id-byline {
  display: flex; align-items: center; gap: 14px;
  margin-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft);
}
.id-byline-mark {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  background: var(--petrol-tint); color: var(--petrol);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif-h); font-size: 17px; font-weight: 600;
}
.id-byline-txt { font-size: 14px; line-height: 1.45; }
.id-byline-txt b { font-weight: 500; }
.id-byline-sub { color: var(--muted); }

/* key-facts box */
.id-key { margin-top: 26px; border: 1px solid var(--petrol); border-radius: var(--r-card); overflow: hidden; }
.id-key-head {
  min-height: 42px; display: flex; align-items: center; padding: 10px 20px;
  background: var(--petrol); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.3;
}
.id-key-body { padding: 18px 22px; display: flex; flex-direction: column; gap: 10px; }
.id-key-row {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px;
  font-family: var(--serif-t); font-size: 17px; line-height: 1.5;
}
.id-key-dot { width: 7px; height: 7px; margin-top: 9px; background: var(--ochre); border-radius: 50%; }

/* figures */
.id-figure { margin-top: 28px; }
.id-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-card); background: var(--line); }
.id-figure figcaption { margin-top: 8px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }

/* prose */
.id-prose > p {
  margin: 20px 0 0;
  font-family: var(--serif-t);
  font-size: clamp(17px, 1.9vw, 19px);
  line-height: 1.7; color: var(--ink);
  max-width: 70ch;
}
.id-prose > p:first-child { margin-top: 28px; }
.id-prose h2 {
  margin: 34px 0 0;
  font-family: var(--serif-h);
  font-size: clamp(22px, 3vw, 28px); font-weight: 600; line-height: 1.22; text-wrap: pretty;
}
.id-prose h3 {
  margin: 26px 0 0;
  font-family: var(--serif-h);
  font-size: clamp(19px, 2.3vw, 22px); font-weight: 600; line-height: 1.25;
}
.id-prose strong, .id-prose b { font-weight: 600; }
.id-prose a { color: var(--petrol); text-decoration: underline; text-underline-offset: 2px; }
.id-prose a:hover { color: var(--petrol-dark); }
.id-prose ul, .id-prose ol {
  margin: 18px 0 0; padding-left: 0; list-style: none;
  max-width: 70ch;
}
.id-prose ul > li {
  position: relative; padding-left: 22px; margin-top: 10px;
  font-family: var(--serif-t); font-size: clamp(16px, 1.8vw, 18px); line-height: 1.6; color: var(--ink);
}
.id-prose ul > li::before {
  content: ''; position: absolute; left: 2px; top: 11px;
  width: 7px; height: 7px; background: var(--ochre); border-radius: 50%;
}
.id-prose ol { counter-reset: idol; }
.id-prose ol > li {
  position: relative; padding-left: 30px; margin-top: 12px; counter-increment: idol;
  font-family: var(--serif-t); font-size: clamp(16px, 1.8vw, 18px); line-height: 1.6; color: var(--ink);
}
.id-prose ol > li::before {
  content: counter(idol) '.'; position: absolute; left: 0; top: 0;
  font-family: var(--mono); font-size: 14px; color: var(--petrol); font-weight: 400;
}

/* data table */
.id-table-wrap { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; font-size: 15.5px; }
.id-table-scroll { overflow-x: auto; }
.id-table { min-width: 420px; }
.id-table th, .id-table td { padding: 12px 20px; text-align: left; font-weight: 400; }
.id-table thead th { background: var(--stone); font-weight: 500; }
.id-table tbody tr { border-top: 1px solid var(--line-soft); }
.id-table td + td, .id-table th + th { text-align: right; font-family: var(--mono); width: 150px; }
.id-table thead th + th { font-family: var(--sans); }
.id-table tbody tr.id-table-total {
  border-top: 1px solid var(--petrol); font-weight: 700; color: var(--petrol);
}
.id-table-note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); font-style: italic; max-width: 70ch; }

/* note box */
.id-note {
  margin-top: 28px; background: var(--note); border-radius: var(--r-card);
  padding: 20px 22px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px;
}
.id-note-ico {
  width: 40px; height: 40px; border-radius: 50%; background: var(--band);
  display: flex; align-items: center; justify-content: center;
}
.id-note-ico img { width: 20px; height: 20px; }
.id-note-title { font-size: 15px; font-weight: 700; }
.id-note p { margin: 6px 0 0; font-family: var(--serif-t); font-size: 17px; line-height: 1.55; }

/* inline petrol opt-in */
.id-inline-optin {
  margin-top: 36px; background: var(--petrol); border-radius: var(--r-card);
  padding: 26px 28px; color: #fff;
}
.id-inline-optin .id-band-title { color: #fff; font-size: clamp(21px, 2.6vw, 25px); margin-top: 0; line-height: 1.2; }
.id-inline-optin p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--petrol-pale); max-width: 60ch; }
.id-inline-optin .id-form { margin-top: 16px; }
.id-inline-optin .id-input { height: 50px; border: 0; font-size: 15px; }
.id-inline-optin .id-btn { height: 50px; padding: 0 22px; }
.id-inline-optin .id-consent { color: var(--petrol-pale); }
.id-inline-optin .id-consent a { color: #fff; }
.id-inline-optin .id-form-msg.is-err { color: #FFD9D2; }
.id-inline-optin .id-form-msg.is-ok { color: #fff; }

/* sources + disclaimer */
.id-sources { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 24px; }
.id-sources-title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--petrol); }
.id-sources ul { margin: 14px 0 0; padding: 0; list-style: none; }
.id-sources li { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--body); padding-left: 16px; position: relative; }
.id-sources li::before { content: '—'; position: absolute; left: 0; color: var(--ochre); }
.id-sources a { color: var(--petrol); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }

.id-disclaimer {
  margin-top: 28px; padding: 18px 20px;
  background: var(--stone); border-left: 3px solid var(--line-strong); border-radius: 0 var(--r-card-sm) var(--r-card-sm) 0;
  font-size: 13.5px; line-height: 1.6; color: var(--muted);
}
.id-disclaimer b { color: var(--body); }

/* author box */
.id-authorbox {
  margin-top: 36px; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card);
}
.id-authorbox-mark {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--petrol-tint); color: var(--petrol);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif-h); font-size: 25px; font-weight: 600;
}
.id-authorbox-name { font-size: 16px; font-weight: 700; }
.id-authorbox p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--body); }

/* sidebar */
.id-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }
.id-toc { background: var(--stone); border-radius: var(--r-card); padding: 20px 22px; }
.id-side-label { font-size: 13px; font-weight: 700; color: var(--petrol); }
.id-toc-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; font-size: 14.5px; line-height: 1.35; }
.id-toc-list a { display: grid; grid-template-columns: 22px minmax(0, 1fr); }
.id-toc-list a:hover { color: var(--petrol); }
.id-side-box { border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 22px; }
.id-side-box-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; line-height: 1; }
.id-side-box-label img { width: 15px; height: 15px; }
.id-side-box p { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--body); }
.id-side-btn {
  margin-top: 14px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-btn); background: var(--petrol); color: #fff !important;
  font-size: 14.5px; font-weight: 500; line-height: 1;
}
.id-side-btn:hover { background: var(--petrol-dark); }

/* ---------- Static / legal pages ---------------------------------------- */
.id-page { background: var(--white); padding: 36px var(--gut) 56px; }
.id-page-narrow { max-width: 760px; }
.id-page h1 {
  font-family: var(--serif-h); font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; margin-top: 14px;
}
.id-page-intro { margin: 14px 0 0; font-family: var(--serif-t); font-size: 18px; line-height: 1.6; color: var(--body); max-width: 70ch; }
.id-legal h2 {
  margin: 36px 0 0; font-family: var(--serif-h); font-size: clamp(20px, 2.6vw, 25px);
  font-weight: 600; line-height: 1.25;
}
.id-legal h3 { margin: 22px 0 0; font-family: var(--serif-h); font-size: 18px; font-weight: 600; }
.id-legal p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.68; color: var(--body); max-width: 72ch; }
.id-legal ul { margin: 14px 0 0; padding: 0; list-style: none; max-width: 72ch; }
.id-legal li { position: relative; padding-left: 20px; margin-top: 9px; font-size: 15.5px; line-height: 1.6; color: var(--body); }
.id-legal li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; background: var(--ochre); border-radius: 50%; }
.id-legal a { color: var(--petrol); text-decoration: underline; text-underline-offset: 2px; }
.id-legal dl { margin: 14px 0 0; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 10px 18px; max-width: 72ch; font-size: 15.5px; }
.id-legal dt { color: var(--muted); }
.id-legal dd { margin: 0; color: var(--body); }

/* the prominent company-identifier block */
.id-idblock {
  margin-top: 22px; background: var(--stone);
  border-left: 3px solid var(--petrol); border-radius: 0 var(--r-card) var(--r-card) 0;
  padding: 24px 26px;
}
.id-idblock-name { font-family: var(--serif-h); font-size: clamp(24px, 3.2vw, 30px); font-weight: 600; line-height: 1.15; }
.id-idblock-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.id-idblock-label {
  display: block;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.id-idblock-val {
  display: block; margin-top: 5px;
  font-family: var(--mono); font-size: clamp(20px, 2.6vw, 26px);
  color: var(--petrol); font-weight: 400; word-break: break-all;
}
.id-idblock-sub { margin-top: 20px; font-size: 15px; line-height: 1.65; color: var(--body); }

.id-contact-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.id-contact-card { background: var(--stone); border-radius: var(--r-card); padding: 20px 22px; }
.id-contact-card .id-idblock-label { color: var(--petrol); }
.id-contact-card .id-val { display: block; margin-top: 8px; font-size: 17px; line-height: 1.5; font-weight: 500; }
.id-contact-card a { color: var(--petrol); text-decoration: underline; }
.id-contact-card .id-hint { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ---------- Thank-you --------------------------------------------------- */
.id-ty { background: var(--white); padding: 72px var(--gut) 80px; text-align: center; }
.id-ty-mark {
  width: 68px; height: 68px; margin: 0 auto; border-radius: 50%;
  background: var(--petrol-tint); display: flex; align-items: center; justify-content: center;
}
.id-ty-mark img { width: 32px; height: 32px; }
.id-ty h1 {
  margin: 22px auto 0; max-width: 20ch;
  font-family: var(--serif-h); font-size: clamp(28px, 4.6vw, 40px);
  font-weight: 400; line-height: 1.12; letter-spacing: -0.01em;
}
.id-ty p { margin: 16px auto 0; max-width: 56ch; font-family: var(--serif-t); font-size: 18px; line-height: 1.6; color: var(--body); }
.id-ty-actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.id-ty-actions .id-btn { text-decoration: none; }
.id-btn-ghost { background: transparent; color: var(--petrol); border: 1px solid var(--petrol); }
.id-btn-ghost:hover { background: var(--petrol-tint); color: var(--petrol); }

/* ---------- Footer ------------------------------------------------------ */
.id-footer { background: var(--petrol-dark); color: var(--foot-text); padding: 36px var(--gut) 28px; }
.id-footer a:hover { color: #fff; }
.id-footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 24px; border-bottom: 1px solid var(--foot-line);
}
.id-footer-brand { font-family: var(--serif-h); font-size: 25px; font-weight: 600; color: #fff; }
.id-footer-brand .id-logo-dot { color: var(--ochre); }
.id-footer-about { margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; max-width: 36ch; }
.id-footer-col { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.id-footer-col-h { color: #fff; font-weight: 500; }
.id-footer-bottom {
  padding-top: 16px; font-family: var(--mono); font-size: 11.5px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.id-footer-legal { font-family: var(--sans); font-size: 12.5px; line-height: 1.6; max-width: 90ch; margin-top: 14px; color: #9FBAC0; }

/* ---------- Cookie banner ----------------------------------------------- */
.id-cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: var(--white); border-top: 1px solid var(--line-strong);
  box-shadow: 0 -4px 24px rgba(27, 36, 38, .13);
  padding: 18px var(--gut);
  display: none;
}
.id-cookie.is-on { display: block; }
.id-cookie-in {
  max-width: var(--shell); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
}
.id-cookie-title { font-size: 15px; font-weight: 700; }
.id-cookie p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--body); max-width: 78ch; }
.id-cookie p a { color: var(--petrol); text-decoration: underline; }
.id-cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.id-cookie-btns .id-btn { height: 44px; padding: 0 20px; font-size: 14.5px; }

/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 1080px) {
  .id-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .id-hero-card { margin: -80px 0 0 20px; max-width: none; width: calc(100% - 20px); }
  .id-article-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .id-side { position: static; }
  .id-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .id-faq { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .id-band { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 32px 28px; }
  .id-footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}

@media (max-width: 860px) {
  .id-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%; z-index: 110;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(27, 36, 38, .1);
    padding: 8px var(--gut) 18px;
  }
  .id-nav.is-on { display: flex; }
  .id-nav a { height: 50px; border-bottom: 1px solid var(--line-soft); }
  .id-nav-cta { margin-top: 14px; height: 48px; justify-content: center; border-bottom: 0; }
  .id-burger { display: flex; }
  .id-header-in { position: relative; }
  .id-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .id-row { grid-template-columns: 180px minmax(0, 1fr); gap: 18px; }
  .id-cookie-in { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .id-legal dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .id-legal dt { margin-top: 12px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
}

@media (max-width: 760px) {
  /* the tagline would push the burger off-screen on narrow headers */
  .id-logo-tag { display: none; }
  .id-logo { font-size: clamp(21px, 6vw, 26px); }
}

@media (max-width: 620px) {
  .id-hero { padding-top: 24px; }
  .id-hero-card { margin: -52px 0 0 0; width: 100%; padding: 22px 20px; }
  .id-hero-img { border-radius: var(--r-card-sm); }
  .id-section, .id-faq { padding-top: 40px; }
  .id-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .id-tile { padding: 18px 16px; }
  .id-tile-ico { width: 46px; height: 46px; }
  .id-tile-ico img { width: 23px; height: 23px; }
  .id-cards { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .id-cards-2 { grid-template-columns: minmax(0, 1fr); }
  .id-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .id-row-img { max-width: 100%; }
  .id-band { margin-top: 44px; padding: 26px 20px; border-radius: var(--r-card); }
  .id-article-shell, .id-page { padding-top: 26px; }
  .id-footer-top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .id-authorbox { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .id-note { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .id-idblock { padding: 20px 18px; }
  .id-key-body { padding: 16px 18px; }
  .id-table th, .id-table td { padding: 11px 14px; }
  .id-form { flex-direction: column; }
  .id-input, .id-btn { width: 100%; flex: none; }
}

/* ---------- Print ------------------------------------------------------- */
@media print {
  .id-topbar, .id-nav, .id-burger, .id-band, .id-inline-optin, .id-cookie, .id-side, .id-footer { display: none !important; }
  body, .id-shell, .id-article-shell { background: #fff; }
  .id-article-grid { grid-template-columns: 1fr; }
}
