:root {
  --bg: #f4f5f1;
  --bg-2: #ebede7;
  --ink: #0d1411;
  --ink-2: #2f3a35;
  --muted: #677069;
  --line: #e0e4de;
  --line-strong: #c8cec6;
  --card: #ffffff;
  --yes: #0e8a5f;
  --yes-soft: #dff3e9;
  --no: #c8422c;
  --no-soft: #fbe8e3;
  --accent: #2448d1;
  --accent-soft: #e6ebfb;
  --gold: #d4a53a;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(13, 20, 17, 0.04), 0 8px 24px -12px rgba(13, 20, 17, 0.12);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; }
h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; }
h2 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 750; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(160%) blur(10px); background: rgba(244, 245, 241, 0.86); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { font-weight: 800; color: var(--ink); font-size: 17px; display: inline-flex; align-items: center; gap: 10px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand-icon { width: 26px; height: 26px; border-radius: 7px; display: inline-block; }
.brand-dot { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--yes), #2cc08a); display: inline-block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); position: relative; }
.brand-dot::after { content: ""; position: absolute; left: 7px; top: 7px; width: 12px; height: 12px; border-radius: 3px; background: #fff; opacity: .95; }
.nav { display: flex; gap: 4px; font-size: 14px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--ink-2); padding: 8px 12px; border-radius: 999px; font-weight: 600; }
.nav a:hover { background: var(--bg-2); text-decoration: none; color: var(--ink); }

.main { min-height: 70vh; padding: 16px 0 72px; display: flex; flex-direction: column; gap: 36px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 680px; line-height: 1.55; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: -16px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

/* hero (home) */
.hero { display: grid; grid-template-columns: 1fr; gap: 24px; background: var(--ink); color: #fff; border-radius: 28px; padding: 28px 24px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(44, 192, 138, 0.28), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -10%; bottom: -60%; width: 50%; height: 120%; background: radial-gradient(closest-side, rgba(36, 72, 209, 0.25), transparent 70%); pointer-events: none; }
.hero > * { position: relative; }
@media (min-width: 720px) { .hero { grid-template-columns: 1fr 1fr; gap: 28px; padding: 32px; align-items: start; } }
@media (min-width: 960px) { .hero { grid-template-columns: 1.05fr 1fr; gap: 36px; padding: 40px; } }
.hero .eyebrow { color: rgba(255,255,255,.6); }
.hero-left { display: flex; flex-direction: column; gap: 18px; }
.hero-date { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; color: #fff; }
.week-badge { display: inline-grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px 14px; padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); width: fit-content; }
.week-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); align-self: end; padding-bottom: 10px; }
.week-num { font-size: clamp(56px, 9vw, 84px); font-weight: 800; line-height: .9; letter-spacing: -0.04em; background: linear-gradient(180deg, #fff, #bfe9d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.week-meta { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.35; }
.verdict-line { font-size: 16px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); line-height: 1.45; }
.verdict-line.yes { border-color: rgba(44, 192, 138, .5); }
.verdict-line a { color: #bfe9d6; text-decoration: underline; text-underline-offset: 3px; }
.hero .muted { color: rgba(255,255,255,.65); }
.hero .muted a { color: #bfe9d6; text-decoration: underline; text-underline-offset: 3px; }
.hero-right { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.country-switch { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.country-switch-label { font-size: 13px; color: rgba(255,255,255,.7); white-space: nowrap; }
.country-switch select { flex: 1; min-width: 0; min-height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(13,20,17,.6); color: #fff; font: inherit; font-weight: 600; padding: 0 36px 0 12px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.flag { display: inline-block; vertical-align: -2px; border-radius: 3px; margin-right: 8px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex-shrink: 0; }
h1 .flag { vertical-align: -4px; margin-right: 12px; }
.chip .flag { margin-right: 8px; }
.verdict-line .flag { vertical-align: -3px; }

/* calendar */
.cal { background: var(--card); color: var(--ink); border-radius: 22px; padding: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero .cal { border-color: rgba(255,255,255,.1); }
.hero .cal-day { aspect-ratio: 1; }
.cal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 2px 4px 12px; font-size: 16px; }
.cal-legend { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.dot-holiday { width: 8px; height: 8px; border-radius: 50%; background: var(--yes); display: inline-block; }
.cal-grid { display: grid; grid-template-columns: 28px repeat(7, minmax(0, 1fr)); gap: 4px; min-width: 0; }
.cal-wk-label, .cal-dow { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 4px 0 6px; }
.cal-wk { font-size: 11px; color: var(--muted); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.cal-day { min-height: 44px; min-width: 0; padding: 6px 2px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 14px; font-weight: 600; background: var(--bg); color: var(--ink); position: relative; padding: 2px; }
.cal-day.out { color: var(--line-strong); background: transparent; }
.cal-day.holiday { background: var(--yes-soft); color: var(--yes); }
.cal-day.holiday.out { background: transparent; color: #9ccdb5; }
.cal-day.today { outline: 2px solid var(--ink); outline-offset: -2px; background: var(--ink); color: #fff; }
.cal-day.today.holiday { background: var(--yes); color: #fff; outline-color: var(--yes); }
.cal-day .hname { font-size: 9px; font-weight: 600; line-height: 1.1; text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .9; }
@media (max-width: 480px) { .cal-day .hname { display: none; } .cal-day.holiday::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; position: absolute; bottom: 5px; } }

/* answer block (country pages) */
.answer { border-radius: 26px; padding: 30px 26px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.answer.yes { background: linear-gradient(135deg, #e3f5ec, #f3faf6); border-color: #bfe3d1; }
.answer.no { background: linear-gradient(135deg, #fbe9e4, #fdf4f1); border-color: #f1c7c2; }
.answer .verdict { font-size: clamp(52px, 11vw, 96px); font-weight: 900; line-height: .95; letter-spacing: -0.04em; }
.answer.yes .verdict { color: var(--yes); }
.answer.no .verdict { color: var(--no); }
.answer .detail { font-size: 18px; color: var(--ink-2); max-width: 720px; }
.answer .date { font-size: 14px; color: var(--muted); }

/* panels and cards */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.panel-head { display: flex; flex-direction: column; gap: 6px; }
.panel-head p { color: var(--ink-2); max-width: 720px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.table-card { padding: 4px 18px; overflow-x: auto; }
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.grid.top { align-items: stretch; gap: 20px; }
.grid.top .answer { justify-content: center; }
@media (min-width: 720px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: repeat(3, 1fr); } }
.section { display: flex; flex-direction: column; gap: 12px; }
.section p { color: var(--ink-2); max-width: 720px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.link-arrow { font-weight: 600; font-size: 14px; }
.link-arrow::after { content: " \2192"; }
.feature-card { display: flex; flex-direction: column; gap: 6px; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.feature-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.feature-card strong { font-size: 18px; letter-spacing: -0.01em; }
.feature-k { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yes); }

table.list { width: 100%; border-collapse: collapse; font-size: 15px; }
table.list th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); padding: 10px 10px; border-bottom: 1px solid var(--line); font-weight: 700; }
table.list td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list tr:last-child td { border-bottom: 0; }
table.list td.when { white-space: nowrap; color: var(--muted); }
table.list tr.past td { color: var(--muted); }
table.list tr.today td { background: var(--yes-soft); font-weight: 600; }
table.list a { font-weight: 600; color: var(--ink); }
table.list a:hover { color: var(--accent); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); margin-left: 6px; vertical-align: middle; }
.tag.weekend { background: var(--bg-2); color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 14px; font-weight: 600; transition: border-color .15s, color .15s; }
.chip:hover { border-color: var(--ink); text-decoration: none; }

.picker { display: flex; gap: 8px; flex-wrap: wrap; }
.picker select, .picker button { min-height: 50px; border-radius: 14px; border: 1px solid var(--line-strong); font: inherit; font-size: 16px; padding: 0 16px; background: var(--card); color: var(--ink); }
.picker select { flex: 1 1 260px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23677069' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.picker button { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 700; padding: 0 22px; cursor: pointer; }
.picker button:hover { background: #22302a; }
select:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.countries { columns: 2; column-gap: 24px; font-size: 15px; }
@media (min-width: 720px) { .countries { columns: 4; } }
.countries a { display: block; padding: 5px 0; color: var(--ink-2); break-inside: avoid; }
.countries a:hover { color: var(--accent); }

.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 500; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 8px; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.site-footer a { color: var(--muted); }

@media (max-width: 640px) {
  table.list td.when { white-space: normal; }
  table.list th, table.list td { padding-left: 6px; padding-right: 6px; }
  .card { overflow-x: auto; }
}
