:root {
  --cream: #f7f2ea;
  --paper: #fffdf9;
  --sand: #efe6d8;
  --sage: #e3ece5;
  --sage-2: #cfdfd3;
  --ink: #1c2a27;
  --ink-soft: #46554f;
  --muted: #76827c;
  --green: #2f6b5e;
  --green-dark: #1f4a41;
  --green-deep: #173a33;
  --mint: #a9d6c4;
  --red: #a63a2f;
  --red-soft: #f6e2dc;
  --gold: #b8925a;
  --line: #e4dccd;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 18px;
  --max: 1180px;
  --shadow: 0 1px 2px rgba(28,42,39,.04), 0 12px 32px -12px rgba(28,42,39,.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { margin: 0 0 .55em; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; line-height: 1.08; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h1 em, h2 em { font-style: italic; color: var(--green); }
h3 { font-size: 1.12rem; font-weight: 650; letter-spacing: -.005em; line-height: 1.3; }
p { margin: 0 0 1em; }
strong { font-weight: 650; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.eyebrow.light { color: var(--mint); }
.center .eyebrow { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247,242,234,.82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(228,220,205,.7);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--green); }
.nav a.btn { color: var(--cream); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 650; font-size: 1rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .ic { transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--green-dark); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--green-deep); }
.btn-cream:hover { background: #fff; }
.btn-small { padding: 10px 18px; font-size: .9rem; }

/* Hero */
.hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -160px; width: 620px; height: 620px;
  border-radius: 50%; background: radial-gradient(circle, rgba(169,214,196,.35), rgba(169,214,196,0) 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; position: relative; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--ink-soft); font-size: .95rem; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { color: var(--green); stroke-width: 2.4; }

.hero-visual { position: relative; padding: 0 30px; }
.arch {
  border-radius: 999px 999px 24px 24px; overflow: hidden;
  background: var(--sage); aspect-ratio: 4 / 4.9;
  box-shadow: var(--shadow);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.arch-art svg { display: block; width: 100%; height: 100%; }
.float-card {
  position: absolute; background: var(--paper); border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 18px 40px -14px rgba(28,42,39,.28); max-width: 250px; font-size: .9rem;
  border: 1px solid rgba(228,220,205,.8);
  animation: floaty 6s ease-in-out infinite;
}
.float-card p { margin: 6px 0 0; font-weight: 600; line-height: 1.4; }
.fc-bad { left: -6px; top: 3%; }
.fc-good { right: -6px; bottom: -5%; animation-delay: -3s; }
.fc-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px 4px 8px; border-radius: 999px; }
.fc-tag .ic { stroke-width: 2.6; width: 1em; height: 1em; }
.fc-bad .fc-tag, .ba-before .fc-tag { background: var(--red-soft); color: var(--red); }
.fc-good .fc-tag, .ba-after .fc-tag { background: var(--sage); color: var(--green-dark); }
.fc-bad p { text-decoration: line-through; text-decoration-color: rgba(166,58,47,.5); color: var(--ink-soft); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding-top: 20px; padding-bottom: 20px; }
.trust-label { font-size: .85rem; color: var(--muted); font-weight: 600; margin-right: 6px; }
.chip { font-size: .82rem; font-weight: 600; color: var(--green-dark); background: var(--sage); border-radius: 999px; padding: 6px 14px; }

/* Sections */
.section { padding: 104px 0; }
.section.sand { background: var(--sand); }
.section.sage { background: var(--sage); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 44em; }
.center .section-lead { margin: 0 auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 30px;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); margin: 0; }
.icon-badge {
  display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  background: var(--sage); color: var(--green-dark); margin-bottom: 20px; flex: none;
}
.icon-badge .ic { width: 24px; height: 24px; }
.icon-badge.light { background: rgba(255,255,255,.12); color: var(--mint); }

/* Before / after */
.ba-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.ba-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.ba-tabs button {
  font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  transition: background .2s, color .2s;
}
.ba-tabs button[aria-selected="true"], .ba-tabs button:hover { background: var(--ink); color: var(--cream); }
.ba-panel { background: var(--paper); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.ba-panel.swap .ba-row, .ba-panel.swap .ba-why { animation: fadeUp .45s ease both; }
.ba-panel.swap .ba-why { animation-delay: .06s; }
.ba-panel.swap .ba-after { animation-delay: .12s; }
.ba-row { border-radius: 14px; padding: 18px 20px; }
.ba-row p { margin: 8px 0 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; }
.ba-before { background: #fbf1ee; }
.ba-before p { text-decoration: line-through; text-decoration-color: rgba(166,58,47,.45); color: var(--ink-soft); }
.ba-after { background: #edf4ef; }
.ba-why { display: flex; gap: 12px; align-items: flex-start; padding: 16px 6px; color: var(--ink-soft); font-size: .92rem; }
.ba-why .ic { color: var(--gold); width: 22px; height: 22px; margin-top: 2px; }
.ba-why p { margin: 0; }
.ba-note { font-size: .82rem; color: var(--muted); margin: 12px 4px 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Services */
.services { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 24px; align-items: stretch; }
.service {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 32px;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service p { color: var(--ink-soft); }
.service.featured { background: var(--green-deep); border-color: var(--green-deep); color: var(--cream); }
.service.featured h3, .service.featured .price { color: #fff !important; }
.service.featured p, .service.featured li { color: rgba(247,242,234,.82); }
.service.featured strong { color: #fff; }
.service.featured .ticks .ic { color: var(--mint); }
.service.featured .vat { color: rgba(247,242,234,.6); }
.service.featured .btn { margin-top: auto; align-self: flex-start; }
.badge { position: absolute; top: 24px; right: 24px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--gold); color: #fff; padding: 5px 12px; border-radius: 999px; }
.price { font-family: var(--serif); font-size: 1.9rem; color: var(--ink) !important; margin-bottom: .5em; line-height: 1.1; }
.vat { font-family: var(--sans); font-size: .8rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: .93rem; color: var(--ink-soft); }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--green); stroke-width: 2.4; margin-top: 3px; }
.services-small { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.service-sm { display: flex; gap: 18px; background: transparent; border: 1px solid var(--line); border-radius: 20px; padding: 26px; transition: background .25s; }
.service-sm:hover { background: var(--paper); }
.service-sm .icon-badge { margin: 0; }
.service-sm p { color: var(--ink-soft); font-size: .93rem; margin: 0; }
.service-sm h3 { margin-bottom: .3em; }
.price-sm { font-family: var(--serif); font-size: 1.25rem; color: var(--ink) !important; margin-bottom: .5em !important; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 1.5px; background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 16px); opacity: .45; }
.timeline li { position: relative; text-align: center; padding: 0 6px; }
.step-no {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--green); color: var(--green-dark);
  font-family: var(--serif); font-size: 1.5rem; position: relative; z-index: 1;
}
.timeline li:first-child .step-no { background: var(--green-dark); color: var(--cream); border-color: var(--green-dark); }
.timeline p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* Compare */
.reasons { margin-bottom: 48px; }
.compare-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 8px; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.compare thead th.us { color: var(--green-dark); }
.compare tbody th { font-weight: 600; }
.compare td { color: var(--ink-soft); }
.compare td.us { background: var(--sage); color: var(--green-dark); font-weight: 700; }
.compare .yes .ic { color: var(--green); stroke-width: 2.6; margin-right: 6px; }
.compare .no { color: var(--muted); }
.note { margin-top: 28px; padding: 20px 24px; border-left: 3px solid var(--gold); background: var(--paper); border-radius: 0; color: var(--ink-soft); font-size: .95rem; }

/* About */
.about { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: center; }
.about-figure { margin: 0; }
.arch-sm { aspect-ratio: 4 / 4.8; }
.about-figure figcaption { margin-top: 18px; display: flex; flex-direction: column; text-align: center; line-height: 1.35; }
.about-figure figcaption strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.about-figure figcaption span { color: var(--muted); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.about p { color: var(--ink-soft); }
.founder-quote { margin: 28px 0; padding: 30px 30px 26px; background: var(--paper); border-radius: 20px; position: relative; }
.founder-quote::before { content: "“"; position: absolute; top: -14px; left: 22px; font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--gold); }
.founder-quote p { font-family: var(--serif); font-size: 1.22rem; line-height: 1.5; color: var(--ink) !important; margin-bottom: .7em; }
.founder-quote cite { font-style: normal; font-weight: 700; color: var(--green-dark); }
.muted { color: var(--muted) !important; font-size: .9rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 650; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4a41' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); }

/* Contact */
.contact-section { padding-top: 24px; padding-bottom: 0; }
.cta-panel {
  background: var(--green-deep); color: var(--cream); border-radius: 32px; padding: 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; overflow: hidden;
}
.cta-panel::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1.5px solid rgba(169,214,196,.18); }
.cta-panel h2 { color: #fff; }
.cta-panel h2 em { color: var(--mint); }
.cta-copy p:not(.eyebrow) { color: rgba(247,242,234,.8); font-size: 1.08rem; margin: 0; }
.contact-cards { display: grid; gap: 14px; position: relative; z-index: 1; }
.contact-card {
  display: flex; align-items: center; gap: 18px; background: var(--cream); color: var(--ink);
  border-radius: 20px; padding: 20px 22px; text-decoration: none; transition: transform .2s, background .2s;
}
.contact-card:hover { transform: translateY(-3px); background: #fff; }
.contact-card .icon-badge { margin: 0; }
.cc-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cc-label { font-size: .78rem; color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cc-value { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; overflow-wrap: anywhere; }
.cc-hint { font-size: .85rem; color: var(--green); }
.cc-arrow { color: var(--green); width: 22px; height: 22px; transition: transform .2s; }
.contact-card:hover .cc-arrow { transform: translateX(4px); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(247,242,234,.72); padding: 64px 0 28px; font-size: .92rem; margin-top: 104px; }
.site-footer a { color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.footer-brand { color: var(--cream); font-size: 1.4rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links li { display: flex; align-items: center; gap: 10px; }
.footer-links .ic, .footer-links svg { width: 16px; height: 16px; fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.site-footer .footer-links a { text-decoration: none; }
.site-footer .footer-links a:hover { text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(247,242,234,.12); margin-top: 36px; padding-top: 22px; font-size: .82rem; color: rgba(247,242,234,.5); }

/* Privacy page */
.doc { padding: 64px 0 40px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.doc h2 { font-size: 1.4rem; margin-top: 1.8em; }
.doc p, .doc li { color: var(--ink-soft); }

/* Reveal on scroll */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.js-reveal .grid-3 .reveal:nth-child(2), .js-reveal .services .reveal:nth-child(2), .js-reveal .timeline .reveal:nth-child(2), .js-reveal .services-small .reveal:nth-child(2) { transition-delay: .1s; }
.js-reveal .grid-3 .reveal:nth-child(3), .js-reveal .services .reveal:nth-child(3), .js-reveal .timeline .reveal:nth-child(3), .js-reveal .services-small .reveal:nth-child(3) { transition-delay: .2s; }
.js-reveal .timeline .reveal:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Responsive */
@media (max-width: 1040px) {
  .services { grid-template-columns: 1fr 1fr; }
  .services .featured { grid-column: 1 / -1; }
  .services-small { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav a:not(.btn) { display: none; }
  .hero-grid, .ba-grid, .about, .cta-panel { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .grid-3 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }
  .about { gap: 40px; }
  .about-figure { max-width: 340px; margin: 0 auto; }
  .cta-panel { padding: 44px 32px; }
  .section { padding: 80px 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .header-row { height: 66px; }
  .brand { font-size: 1.35rem; }
  .hero { padding: 44px 0 64px; }
  .hero-cta .btn { width: 100%; }
  .hero-visual { padding: 0 14px; }
  .float-card { max-width: 200px; font-size: .82rem; padding: 12px 13px; }
  .services, .timeline { grid-template-columns: 1fr; }
  .service, .card { padding: 26px; }
  .ba-panel { padding: 22px; }
  .ba-row p { font-size: 1.12rem; }
  .cta-panel { padding: 36px 22px; border-radius: 24px; }
  .cc-value { font-size: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .nav .btn-small { padding: 9px 14px; font-size: .82rem; }
}

/* Language menu */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 650; letter-spacing: .04em; color: var(--ink-soft); cursor: pointer; user-select: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--green); border-color: rgba(47,107,94,.4); }
.lang-menu summary .ic { width: 16px; height: 16px; }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 190px; margin: 0; padding: 6px; list-style: none; background: #fffdf9; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 40px rgba(28,42,39,.14); }
.nav .lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: .92rem; color: var(--ink); }
.nav .lang-menu a:hover { background: rgba(47,107,94,.08); color: var(--green); }
.nav .lang-menu a[aria-current="page"] { background: var(--ink); color: var(--cream); }
.lm-code { display: inline-block; min-width: 24px; font-size: .72rem; font-weight: 700; letter-spacing: .05em; opacity: .6; }
@media (max-width: 620px) {
  .nav { gap: 10px; }
  .lang-menu summary { padding: 7px 9px; font-size: .74rem; }
}
.back-link { white-space: nowrap; }
@media (max-width: 960px) { .nav a.back-link { display: inline; } }
@media (max-width: 420px) { .nav a.back-link { font-size: .85rem; } }

/* Language suggestion bar */
.lang-suggest { background: var(--ink); color: var(--cream); font-size: .9rem; }
.ls-inner { display: flex; align-items: center; justify-content: center; gap: 8px 18px; flex-wrap: wrap; min-height: 44px; padding-top: 6px; padding-bottom: 6px; position: relative; padding-right: 48px; }
.ls-go { color: var(--cream); font-weight: 650; text-underline-offset: 3px; }
.ls-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--cream); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.ls-close:hover { background: rgba(247,242,234,.12); }

/* Cookie consent */
.ck-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; justify-content: center; pointer-events: none; }
.ck-banner[hidden] { display: none; }
.ck-inner { pointer-events: auto; width: 100%; max-width: 760px; background: #fffdf9; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 60px rgba(28,42,39,.22); padding: 20px 22px; display: grid; gap: 14px; }
.ck-title { margin: 0 0 4px; font-family: var(--serif); font-size: 1.25rem; }
.ck-text { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--ink-soft); }
.ck-text a { color: var(--green); }
.ck-prefs { display: grid; gap: 10px; padding: 12px 14px; background: var(--cream); border-radius: 12px; }
.ck-prefs[hidden] { display: none; }
.ck-opt { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.ck-opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.ck-opt small { color: var(--muted); }
.ck-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ck-btn { flex: 1 1 140px; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--cream); font: inherit; font-weight: 650; font-size: .92rem; cursor: pointer; }
.ck-btn:hover { background: var(--green); border-color: var(--green); }
.ck-btn[hidden], .ck-link[hidden] { display: none; }
.ck-link { flex: 0 0 auto; padding: 10px 6px; border: 0; background: none; color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ck-btn:focus-visible, .ck-link:focus-visible, .ls-close:focus-visible, .ls-go:focus-visible, .lang-menu summary:focus-visible, .link-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
html.ck-open .site-footer { padding-bottom: 220px; }

/* Footer button that looks like a link */
.link-btn { padding: 0; border: 0; background: none; font: inherit; color: var(--cream); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.doc .link-btn, .footer-legal .link-btn { color: inherit; }

/* Cookie tables on policy pages */
.table-wrap { overflow-x: auto; margin: 1em 0 1.4em; }
.doc-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.doc-table th, .doc-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table th { font-weight: 650; color: var(--ink); background: rgba(228,220,205,.35); }
.doc-table td:first-child { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .85rem; white-space: nowrap; }
.nav .btn-small { white-space: nowrap; }
.show-xs { display: none; }
@media (max-width: 420px) {
  .hide-xs { display: none; }
  .show-xs { display: inline; }
}
@media (min-width: 961px) and (max-width: 1120px) {
  .nav { gap: 18px; }
  .nav a { font-size: .9rem; }
}

/* Flags in the language menu */
.lang-menu .flag { display: block; width: 20px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(28,42,39,.12); flex: none; }
.lang-menu summary .flag { width: 18px; height: 13px; }
.nav .lang-menu a[aria-current="page"] .flag { box-shadow: 0 0 0 1px rgba(247,242,234,.5); }
