:root {
  
  --bg:            #FBFAFA;
  --bg-alt:        #F4EFF1;
  --fw-label:      300;
  --bg-header:     #DADBD6;
  --sec-a:         #FFFFFF;
  --sec-b:         #DADBD6;
  --bg-deep:       #241A1F;
  --surface:       #FFFFFF;
  --surface-2:     #FAF6F7;
  --border:        #E8DFE3;
  --border-strong: #D2C3C9;

  
  --ink:           #1C171A;
  --ink-2:         #453C41;
  --ink-muted:     #5E535A;
  --ink-inverse:   #FBFAFA;

  
  --brand:         #772C49;
  --brand-deep:    #591F36;
  --brand-bright:  #9B3B60;
  --brand-soft:    #F7EBEF;
  --brand-line:    #E4CBD5;

  
  --accent:        #A9521D;
  --accent-soft:   #FCEEE5;
  --accent-line:   #F2CDB5;

  
  --flag-eu:       #274B8E;
  --flag-eu-soft:  #E9EEF8;
  --flag-cz:       #772C49;
  --flag-cz-soft:  #F7EBEF;
  --warn:          #9C5A0C;
  --warn-soft:     #FBF0E1;

  
  --f-sans:  "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  
  --wrap: 1150px;
  --pad:  clamp(20px, 5vw, 44px);
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(28, 23, 26, .06), 0 4px 14px rgba(28, 23, 26, .05);
  --shadow-md: 0 2px 6px rgba(28, 23, 26, .07), 0 18px 44px rgba(28, 23, 26, .09);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:            #161114;
    --bg-alt:        #1E171B;
    --bg-header:     var(--bg);
    --sec-a:         var(--bg);
    --sec-b:         var(--bg-alt);
    --bg-deep:       #120D10;
    --surface:       #201920;
    --surface-2:     #261E25;
    --border:        #372B32;
    --border-strong: #4C3C44;

    --ink:           #F3EEF0;
    --ink-2:         #D5CACF;
    --ink-muted:     #A99CA3;
    --ink-inverse:   #161114;

    --brand:         #E7A2B9;
    --brand-deep:    #F4C8D6;
    --brand-bright:  #F0B2C6;
    --brand-soft:    #35202A;
    --brand-line:    #4E323D;

    --accent:        #F0A575;
    --accent-soft:   #3A2519;
    --accent-line:   #5A3A26;

    --flag-eu:       #9DB8EA;
    --flag-eu-soft:  #1D2739;
    --flag-cz:       #E7A2B9;
    --flag-cz-soft:  #35202A;
    --warn:          #E3AC66;
    --warn-soft:     #33261A;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 14px rgba(0, 0, 0, .3);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, .45), 0 18px 44px rgba(0, 0, 0, .45);
  }
}

:root[data-theme="dark"] {
  --bg:            #161114;
  --bg-alt:        #1E171B;
  --bg-header:     var(--bg);
  --sec-a:         var(--bg);
  --sec-b:         var(--bg-alt);
  --bg-deep:       #120D10;
  --surface:       #201920;
  --surface-2:     #261E25;
  --border:        #372B32;
  --border-strong: #4C3C44;

  --ink:           #F3EEF0;
  --ink-2:         #D5CACF;
  --ink-muted:     #A99CA3;
  --ink-inverse:   #161114;

  --brand:         #E7A2B9;
  --brand-deep:    #F4C8D6;
  --brand-bright:  #F0B2C6;
  --brand-soft:    #35202A;
  --brand-line:    #4E323D;

  --accent:        #F0A575;
  --accent-soft:   #3A2519;
  --accent-line:   #5A3A26;

  --flag-eu:       #9DB8EA;
  --flag-eu-soft:  #1D2739;
  --flag-cz:       #E7A2B9;
  --flag-cz-soft:  #35202A;
  --warn:          #E3AC66;
  --warn-soft:     #33261A;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 14px rgba(0, 0, 0, .3);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, .45), 0 18px 44px rgba(0, 0, 0, .45);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--sec-a);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--f-sans);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.021em;
  text-wrap: balance;
  color: var(--ink);
  margin: 0;
}
h1 { font-size: clamp(2.15rem, 1.35rem + 2.9vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.55vw, 2.3rem); }
h3 { font-size: clamp(1.16rem, 1.02rem + 0.5vw, 1.38rem); line-height: 1.3; }
h4 { font-size: 1.02rem; line-height: 1.35; }
p  { margin: 0; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-bright); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 3px;
}

hr { border: 0; border-top: 1px solid var(--border); margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { max-width: 820px; }

.section { padding-block: clamp(52px, 7vw, 92px); }
.section-tight { padding-block: clamp(38px, 5vw, 60px); }
.band { background: var(--bg-alt); }
.band-line { border-block: 1px solid var(--border); }

.route-main > section { border-block: 0; }
.route-main > section:nth-of-type(odd) { background: var(--sec-a); }
.route-main > section:nth-of-type(even) { background: var(--sec-b); }

.stack { display: flex; flex-direction: column; }
.stack-3  { gap: 6px; }  .stack-8  { gap: 8px; }
.stack-12 { gap: 12px; } .stack-16 { gap: 16px; }
.stack-24 { gap: 24px; } .stack-32 { gap: 32px; }
.stack-48 { gap: 48px; }

.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.lead {
  font-family: var(--f-serif);
  font-size: clamp(1.09rem, 1rem + 0.42vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
}

.muted { color: var(--ink-muted); }
.small { font-size: .92rem; }
.tnum  { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-sans);
  font-size: .705rem;
  font-weight: var(--fw-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 12px; flex: none;
  background:
    linear-gradient(var(--brand) 0 0) 0    100% / 3px 55%  no-repeat,
    linear-gradient(var(--brand) 0 0) 42%  100% / 3px 100% no-repeat,
    linear-gradient(var(--brand) 0 0) 74%  100% / 3px 34%  no-repeat,
    linear-gradient(var(--brand) 0 0) 100% 100% / 3px 78%  no-repeat;
}
.eyebrow-plain::before { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-sans);
  font-size: .95rem; font-weight: 600; line-height: 1;
  padding: 13px 22px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #FFF; }
.btn-primary:hover { background: var(--brand-deep); color: #FFF; }
:root[data-theme="dark"] .btn-primary,
:root[data-theme="dark"] .btn-primary:hover { color: #1B0F15; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-primary,
  :root:not([data-theme="light"]) .btn-primary:hover { color: #1B0F15; }
}

.btn-accent { background: #B85A22; color: #FFF; }
.btn-accent:hover { background: #9C4A1A; color: #FFF; }
:root[data-theme="dark"] .btn-accent { background: #E08956; color: #1B0F15; }
:root[data-theme="dark"] .btn-accent:hover { background: #F0A575; color: #1B0F15; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-accent { background: #E08956; color: #1B0F15; }
  :root:not([data-theme="light"]) .btn-accent:hover { background: #F0A575; color: #1B0F15; }
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface); border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 9px 15px; font-size: .875rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: .94rem;
  text-decoration: none;
  color: var(--brand);
}
.arrow-link::after { content: "→"; transition: transform .16s ease; }
.arrow-link:hover::after { transform: translateX(3px); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-sans);
  font-size: .68rem; font-weight: var(--fw-label); letter-spacing: .09em; text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--ink-muted);
  background: var(--surface);
  white-space: nowrap;
}
button.chip { cursor: pointer; font-family: var(--f-sans); font-weight: var(--fw-label); }
button.chip:hover { border-color: var(--brand); color: var(--brand); }
button.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #FFF; }
:root[data-theme="dark"] button.chip[aria-pressed="true"] { color: #1B0F15; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) button.chip[aria-pressed="true"] { color: #1B0F15; }
}
.chip-eu { color: var(--flag-eu); background: var(--flag-eu-soft); border-color: transparent; }
.chip-cz { color: var(--flag-cz); background: var(--flag-cz-soft); border-color: transparent; }
.chip-accent { color: var(--accent); background: var(--accent-soft); border-color: transparent; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 68px;
}
.brand-lockup { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand-lockup:hover { color: inherit; }
.brand-mark { height: 32px; width: auto; display: block; }
.brand-div { width: 1px; height: 22px; background: var(--border-strong); }
.brand-sub {
  font-family: var(--f-sans);
  font-size: .655rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-muted); line-height: 1.25; max-width: 96px;
  font-weight: var(--fw-label);
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: .93rem; font-weight: 500; color: var(--ink-2);
  text-decoration: none; padding: 8px 11px; border-radius: 7px;
}
.nav a:hover { background: var(--brand-soft); color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }

.header-tools { display: flex; align-items: center; gap: 10px; margin-left: 6px; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--border-strong); border-radius: 999px; overflow: hidden;
  font-family: var(--f-sans); font-size: .7rem; font-weight: var(--fw-label); letter-spacing: .07em;
}
.lang-switch a { padding: 5px 10px; text-decoration: none; color: var(--ink-muted); }
.lang-switch a[aria-current="true"] { background: var(--brand); color: #FFF; }
:root[data-theme="dark"] .lang-switch a[aria-current="true"] { color: #1B0F15; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lang-switch a[aria-current="true"] { color: #1B0F15; }
}

.nav-toggle {
  display: none; margin-left: auto;
  background: transparent; border: 1px solid var(--border-strong);
  border-radius: 8px; padding: 8px 11px; color: var(--ink);
  font-family: var(--f-sans); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer;
  font-weight: var(--fw-label);
}

@media (max-width: 1000px) {
  .nav a { padding: 8px 8px; font-size: .88rem; }
  .brand-div, .brand-sub { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 8px var(--pad) 18px; box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .header-tools { order: -1; margin-left: 0; }
  .site-header { position: relative; }
}
@media (max-width: 480px) {
  .header-inner { gap: 10px; }
  .header-tools { gap: 6px; }
  .brand-mark { height: 24px; }
  .header-tools .btn-sm { padding-left: 12px; padding-right: 12px; font-size: .8rem; }
  .lang-switch a { padding: 5px 8px; }
}
@media (max-width: 360px) {
  .header-inner { gap: 6px; }
  .brand-mark { height: 20px; }
  .header-tools .btn-sm { padding-left: 9px; padding-right: 9px; font-size: .74rem; }
  .lang-switch a { padding: 5px 6px; }
  .nav-toggle { padding: 7px 8px; }
}

.hero { padding-top: clamp(44px, 6vw, 78px); padding-bottom: clamp(30px, 4vw, 46px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-top: 14px; }
.hero .lead { margin-top: 18px; }
.hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .87rem; color: var(--ink-muted); }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.deadline-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.deadline-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 16px 20px 13px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.deadline-head strong { font-size: .95rem; font-weight: 600; }
.deadline-head span { font-family: var(--f-sans); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); font-weight: var(--fw-label); }
.deadline-list { list-style: none; margin: 0; padding: 0; }
.deadline-list li {
  display: grid; grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px; align-items: start;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
}
.deadline-list li:last-child { border-bottom: 0; }
.deadline-date {
  font-family: var(--f-sans); font-size: .78rem; font-weight: var(--fw-label);
  color: var(--brand); font-variant-numeric: tabular-nums; padding-top: 2px;
}
.deadline-body { font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
.deadline-body b { display: block; font-weight: 600; color: var(--ink); font-size: .93rem; }
.deadline-sub {
  margin: 0; padding: 11px 20px 9px;
  font-family: var(--f-sans); font-size: .66rem; font-weight: var(--fw-label); letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand);
  border-bottom: 1px solid var(--border);
}
.deadline-list + .deadline-sub { border-top: 1px solid var(--border); padding-top: 16px; }
.deadline-body b a { color: inherit; text-decoration: none; }
.deadline-body b a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.deadline-empty .deadline-body { color: var(--ink-muted); font-style: italic; }
.deadline-foot { padding: 13px 20px; background: var(--surface-2); border-top: 1px solid var(--border); font-size: .82rem; color: var(--ink-muted); }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; gap: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 22px 22px;
  text-decoration: none;
  color: inherit;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
a.card:hover { border-color: var(--brand-line); box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }
.card h3 { font-size: 1.09rem; }
.card p { font-size: .93rem; color: var(--ink-muted); line-height: 1.55; }
.card-meta { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.card-num {
  font-family: var(--f-sans); font-size: .7rem; font-weight: var(--fw-label);
  letter-spacing: .1em; color: var(--brand);
}

.card-flat {
  background: transparent; border: 0; border-top: 2px solid var(--brand-line);
  border-radius: 0; padding: 18px 0 0;
}

.numbered { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.numbered > li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.numbered > li:last-child { border-bottom: 1px solid var(--border); }
.numbered .n {
  font-family: var(--f-sans); font-size: .82rem; font-weight: var(--fw-label);
  color: var(--brand); padding-top: 4px; font-variant-numeric: tabular-nums;
}
.numbered h3 { margin-bottom: 6px; }
.numbered p { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 560px) { .numbered > li { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; } }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .checks.cols-2 { grid-template-columns: 1fr; } }
.checks li {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 11px;
  font-size: .95rem; line-height: 1.5; color: var(--ink-2);
}
.checks li::before {
  content: ""; margin-top: 7px;
  width: 9px; height: 9px; border-radius: 2px;
  background: var(--brand); opacity: .75;
}
.checks.accent li::before { background: var(--accent); }

.lead + .callout { margin-top: 24px; }
.callout {
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 9px;
}
.callout .label {
  font-family: var(--f-sans); font-size: .68rem; font-weight: var(--fw-label);
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.callout p { font-size: .95rem; color: var(--ink-2); }
.callout-accent { background: var(--accent-soft); border-color: var(--accent-line); }
.callout-accent .label { color: var(--accent); }
.callout-warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.callout-warn .label { color: var(--warn); }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--surface); padding: clamp(18px, 2.4vw, 28px) clamp(16px, 2.2vw, 26px); display: flex; flex-direction: column; gap: 5px; }
.stat b { font-family: var(--f-sans); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); font-weight: 600; letter-spacing: -.03em; color: var(--brand); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: .9rem; color: var(--ink-muted); line-height: 1.45; }
.stat b { white-space: nowrap; }

.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
table.data th, table.data td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.data thead th {
  font-family: var(--f-sans); font-size: .68rem; letter-spacing: .11em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: var(--fw-label); background: var(--surface-2);
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td:first-child { font-family: var(--f-sans); font-size: .82rem; color: var(--brand); white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: var(--fw-label); }
table.data.plain td:first-child { font-family: var(--f-sans); font-size: .92rem; color: var(--ink); white-space: normal; }

.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 34px 18px 0; position: relative;
  font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 15px;
  font-family: var(--f-sans); font-size: 1.15rem; color: var(--brand); font-weight: var(--fw-label);
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 20px; max-width: 72ch; }
.faq details p { color: var(--ink-2); font-size: .97rem; }
.faq details p + p { margin-top: 10px; }

.cta-band {
  background: #772C49; 
  color: #F4EEF0;
  border-radius: var(--r-lg);
  padding: clamp(30px, 5vw, 52px);
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px); align-items: center;
}
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band h2 { color: #FFF; }
.cta-band p { color: #D6C6CC; font-family: var(--f-serif); font-size: 1.08rem; margin-top: 12px; }
.cta-band .btn-primary { background: #FFF; color: var(--brand-deep); }
.cta-band .btn-primary:hover { background: #F2DDE4; color: var(--brand-deep); }
.cta-band .btn-ghost { color: #F4EEF0; border-color: rgba(244, 238, 240, .32); }
.cta-band .btn-ghost:hover { background: rgba(244, 238, 240, .1); color: #FFF; border-color: rgba(244, 238, 240, .5); }

.cta-band-wine { background: #772C49; }
.cta-band-wine p { color: #F3E4EA; }
.cta-band-wine .cta-contact .role { color: #E6C3D0; }
.cta-band-wine .btn-primary { color: #591F36; }
.cta-band-wine .btn-ghost { border-color: rgba(255, 255, 255, .45); }
.cta-contact { display: flex; flex-direction: column; gap: 6px; font-size: .93rem; }
.cta-contact a { color: #F4EEF0; }
.cta-contact .name { font-weight: 600; color: #FFF; }
.cta-contact .role { font-family: var(--f-sans); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #B79AA5; font-weight: var(--fw-label); }

.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-block: 54px 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-family: var(--f-sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); font-weight: var(--fw-label); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.footer-col a:hover { color: var(--brand); text-decoration: underline; }
.footer-about p { font-size: .92rem; color: var(--ink-muted); max-width: 34ch; margin-top: 14px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .84rem; color: var(--ink-muted); }

.breadcrumb { font-size: .82rem; color: var(--ink-muted); padding-top: 22px; }
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb span { margin-inline: 7px; opacity: .55; }

.medaset-logo { display: block; height: 104px; width: auto; margin-left: -6px; --medaset-ink: #343B41; }
:root[data-theme="dark"] .medaset-logo { --medaset-ink: #F3EEF0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .medaset-logo { --medaset-ink: #F3EEF0; } }
@media (max-width: 520px) { .medaset-logo { height: 84px; } }

.li-card {
  display: block; max-width: 420px; justify-self: end; width: 100%;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); color: inherit; text-decoration: none;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.li-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--brand-line); color: inherit; }
.li-cover {
  position: relative; display: block; aspect-ratio: 4 / 1; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 14px, transparent 14px 34px),
    linear-gradient(120deg, #591F36, #772C49 55%, #9B3B60);
}
.li-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.li-body { display: flex; flex-direction: column; align-items: flex-start; padding: 0 22px 22px; }
.li-avatar {
  width: 76px; height: 76px; margin-top: -38px; border-radius: 12px; position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  background: #FFF; color: #772C49; border: 3px solid var(--surface); box-shadow: var(--shadow-sm);
}
.li-avatar img { width: 40px; height: 40px; object-fit: contain; }
.li-name { margin-top: 12px; font-family: var(--f-sans); font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.li-tag { margin-top: 2px; font-size: .93rem; color: var(--ink-2); }
.li-meta { margin-top: 4px; font-size: .84rem; color: var(--ink-muted); }
.li-btn {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  background: #0A66C2; color: #FFF;
}
.li-btn svg { width: 18px; height: 18px; color: #FFF; }
.li-btn svg path { fill: #0A66C2; }
.li-card:hover .li-btn { background: #004182; }
@media (max-width: 900px) { .li-card { justify-self: start; } }
@media (prefers-reduced-motion: reduce) { .li-card { transition: none; } .li-card:hover { transform: none; } }

.wheel-intro { max-width: 62ch; margin-inline: auto; text-align: center; }
.wheel-intro .eyebrow { justify-content: center; }
.wheel {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 30vw, 340px) minmax(0, 1fr);
  gap: clamp(20px, 3.5vw, 48px); align-items: center; margin-top: clamp(28px, 4vw, 48px);
}
.wheel-figure { position: relative; aspect-ratio: 1; }
.wheel-ring { display: block; width: 100%; height: 100%; }
.wheel-ring text { fill: #FFF; font-family: var(--f-sans); font-size: 19px; font-weight: 700; text-anchor: middle; }
.wheel-core { fill: var(--surface); stroke: var(--border); }
.wheel-center {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  pointer-events: none;
}
.wheel-center .medaset-logo { height: auto; width: 46%; margin: 0; }
.wheel-center-sub { font-family: var(--f-sans); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); font-weight: var(--fw-label); }
.wheel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(18px, 2.6vw, 30px); }
.wheel-list li { display: flex; gap: 14px; align-items: flex-start; }
.wheel-left li { flex-direction: row-reverse; text-align: right; }
.wheel-n {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c); color: #FFF; font-family: var(--f-sans); font-weight: 700; font-size: .95rem;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.wheel-list h3 { font-size: 1.05rem; line-height: 1.3; margin-top: 5px; }
.wheel-list p { font-size: .92rem; line-height: 1.5; color: var(--ink-muted); margin-top: 4px; }
.wheel-note { max-width: 640px; margin: clamp(28px, 4vw, 44px) auto 0; }
@media (max-width: 880px) {
  .wheel { grid-template-columns: 1fr 1fr; }
  .wheel-figure { grid-column: 1 / -1; grid-row: 1; width: min(300px, 80%); margin-inline: auto; }
  .wheel-left li { flex-direction: row; text-align: left; }
}
@media (max-width: 560px) { .wheel { grid-template-columns: 1fr; } }

.ms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ms-box {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 20px 20px 18px; color: inherit; text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.ms-box:hover { border-color: var(--accent-line); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.ms-box h3 { font-size: 1rem; line-height: 1.3; }
.ms-box p { font-size: .9rem; line-height: 1.5; color: var(--ink-muted); }
.ms-icon {
  width: 38px; height: 38px; border-radius: 10px; margin-bottom: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
}
.ms-icon { color: #D0733C; }
:root[data-theme="dark"] .ms-icon { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ms-icon { color: var(--accent); } }
.ms-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ms-box-wide {
  grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  background: var(--accent-soft); border-color: var(--accent-line);
}
.ms-box-wide:hover { border-color: var(--accent); color: inherit; }
.ms-box-wide h3 { margin-top: 4px; }
.ms-kicker { font-family: var(--f-sans); font-size: .66rem; font-weight: var(--fw-label); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.ms-tiers { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ms-tiers span {
  font-family: var(--f-sans); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--accent-line); color: var(--accent);
  font-weight: var(--fw-label);
}
.ms-tiers span + span::before { content: none; }
@media (max-width: 520px) { .ms-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ms-box { transition: none; } .ms-box:hover { transform: none; } }

.prose { max-width: 70ch; }
.prose > * + * { margin-top: 18px; }
.prose p, .prose li { font-family: var(--f-serif); font-size: 1.055rem; line-height: 1.68; color: var(--ink-2); }
.prose h2 { margin-top: 42px; font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.7rem); }
.prose h3 { margin-top: 30px; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin-block: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote {
  margin: 26px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brand-line);
  font-family: var(--f-serif); font-size: 1.1rem; color: var(--ink); font-style: italic;
}

.issue-card {
  display: grid; grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: 22px; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px 24px;
  text-decoration: none; color: inherit;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.issue-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow-md); color: inherit; }
@media (max-width: 760px) { .issue-card { grid-template-columns: 1fr; gap: 12px; } }
.issue-date { font-family: var(--f-sans); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); font-weight: var(--fw-label); }
.issue-date b { display: block; font-family: var(--f-sans); font-size: 1.55rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); text-transform: none; margin-top: 3px; }
.issue-card h3 { font-size: 1.12rem; margin-bottom: 7px; }
.issue-card p { font-size: .92rem; color: var(--ink-muted); }
.issue-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }

.nl-gallery { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 44px 0 22px; margin-top: 0; }
.nl-gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.nl-gallery-controls { display: flex; gap: 8px; }
.nl-gallery-controls[hidden] { display: none; }
.nl-btn {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink-2);
}
.nl-btn:hover { color: var(--brand); border-color: var(--brand); }
.nl-btn svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nl-btn svg .fill { fill: currentColor; stroke: none; }

.nl-gallery-viewport {
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: var(--r-lg);
}
.nl-gallery-viewport::-webkit-scrollbar { display: none; }
.nl-gallery-track { display: flex; }
.nl-slide {
  flex: 0 0 100%; scroll-snap-align: start;
  display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px); align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(18px, 3vw, 30px);
}
.nl-slide-media {
  position: relative; display: block; aspect-ratio: 210 / 297; overflow: hidden;
  border-radius: 6px; border: 1px solid var(--border); box-shadow: var(--shadow-md);
  background: var(--surface); transform: rotate(-1.2deg); transition: transform .3s ease;
}
.nl-slide-media:hover { transform: rotate(0deg) scale(1.02); }
.nl-slide-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; background: #FFF; }

.nl-cover {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px;
  padding: 20px 18px; background: var(--brand); color: #FFF; text-decoration: none;
}
.nl-cover-kicker { font-family: var(--f-sans); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; font-weight: var(--fw-label); }
.nl-cover-date { font-family: var(--f-sans); font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em; }
.nl-cover-title { font-family: var(--f-sans); font-size: .95rem; font-weight: 500; line-height: 1.3; margin-top: auto; }
:root[data-theme="dark"] .nl-cover { color: #1B0F15; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nl-cover { color: #1B0F15; } }

.nl-slide-date {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-sans); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand);
  font-weight: var(--fw-label);
}
.nl-slide h2 { margin-top: 10px; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.85rem); max-width: 30ch; }
.nl-slide h2 a { color: inherit; text-decoration: none; }
.nl-slide h2 a:hover { color: var(--brand); }
.nl-slide-perex { margin-top: 12px; color: var(--ink-2); font-family: var(--f-serif); font-size: 1.02rem; line-height: 1.6; max-width: 62ch; }
.nl-slide-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 20px; }
.t-new {
  font-family: var(--f-sans); font-size: .6rem; font-weight: var(--fw-label); letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 7px; border-radius: var(--r-sm); color: var(--accent); background: var(--accent-soft);
}

.nl-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; min-height: 10px; }
.nl-dot {
  width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--border-strong); transition: width .3s ease, background .3s ease;
}
.nl-dot[aria-current="true"] { width: 28px; background: var(--brand); }

.nl-gallery.is-auto .nl-gallery-viewport { overflow: hidden; scroll-snap-type: none; }
.nl-gallery.is-auto .nl-gallery-track { transition: transform .7s cubic-bezier(.65, 0, .35, 1); }

@media (max-width: 700px) {
  .nl-slide { grid-template-columns: 1fr; }
  .nl-slide-media { width: min(190px, 60%); margin-inline: auto; }
  .nl-slide-perex { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .nl-gallery.is-auto .nl-gallery-track { transition: none; }
  .nl-slide-media, .nl-dot { transition: none; }
}

.issue-header { padding-bottom: 8px; }
.issue-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.issue-section { border-top: 1px solid var(--border); padding-top: 26px; margin-top: 36px; }
.issue-section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.issue-section-head .n {
  font-family: var(--f-sans); font-size: .95rem; font-weight: var(--fw-label); color: #FFF;
  background: var(--brand); width: 27px; height: 27px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
:root[data-theme="dark"] .issue-section-head .n { color: #1B0F15; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .issue-section-head .n { color: #1B0F15; } }
.issue-section-head h2 { flex: 1; font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.55rem); }

.subscribe {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 36px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center;
}
@media (max-width: 760px) { .subscribe { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: .78rem; color: var(--ink-muted); }
input[type="text"], input[type="email"], input[type="date"], select, textarea {
  font-family: var(--f-sans); font-size: .95rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 8px; padding: 11px 13px; width: 100%;
}
textarea { font-family: var(--f-sans); line-height: 1.55; resize: vertical; min-height: 90px; }
input::placeholder, textarea::placeholder { color: var(--ink-muted); opacity: .75; }
input:focus, textarea:focus, select:focus { border-color: var(--brand); }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: .82rem; color: var(--ink-muted); }
.consent input { margin-top: 3px; accent-color: var(--brand); }

.editor-layout { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 1000px) { .editor-layout { grid-template-columns: 1fr; } }
.editor-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px; display: flex; flex-direction: column; gap: 18px;
  position: sticky; top: 86px; max-height: calc(100vh - 108px); overflow-y: auto;
}
@media (max-width: 1000px) { .editor-panel { position: static; max-height: none; } }
.editor-block { border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--surface-2); }
.editor-block-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.editor-block-head strong { font-family: var(--f-sans); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); font-weight: var(--fw-label); }
.btn-icon { background: transparent; border: 1px solid var(--border-strong); border-radius: 6px; padding: 4px 9px; font-family: var(--f-sans); font-size: .72rem; color: var(--ink-muted); cursor: pointer; font-weight: var(--fw-label); }
.btn-icon:hover { border-color: var(--brand); color: var(--brand); }
.editor-status { font-family: var(--f-sans); font-size: .74rem; color: var(--ink-muted); font-weight: var(--fw-label); }

.person { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.person .initials {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-sans); font-size: .95rem; font-weight: var(--fw-label); letter-spacing: .04em;
}
.person .role { font-family: var(--f-sans); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); font-weight: var(--fw-label); }
.person a { font-size: .92rem; text-decoration: none; }
.person a:hover { text-decoration: underline; }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 24px; }
.tier-featured { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.tier h3 { font-size: 1.16rem; }
.tier .tier-tag { font-family: var(--f-sans); font-size: .67rem; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); font-weight: var(--fw-label); }
.tier p { font-size: .93rem; color: var(--ink-muted); }
.tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: .92rem; color: var(--ink-2); }
.tier ul li { display: grid; grid-template-columns: 16px 1fr; gap: 9px; }
.tier ul li::before { content: "✓"; color: var(--accent); font-size: .85rem; line-height: 1.6; }
.tier .btn { margin-top: auto; }

.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;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #FFF; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
.center { text-align: center; }
.mt-auto { margin-top: auto; }
.divider-top { border-top: 1px solid var(--border); padding-top: 26px; }

@media (max-width: 640px) {  }

[data-form-note][data-status="error"] { color: var(--warn); }

.lang-switch a[aria-current="true"],
.cta-contact .role,
.nl-cover-kicker,
.issue-section-head .n { font-weight: 400; }
