:root {
  color-scheme: dark;
  --midnight: #071116;
  --black: #0B1215;
  --archive: #101C21;
  --slate: #172A30;
  --graphite: #24383D;
  --teal: #16777A;
  --cyan: #35C4C2;
  --mint: #79D8C5;
  --amber: #D59A45;
  --amber-light: #E2B15B;
  --copper: #A96E50;
  --limestone: #C9D0C8;
  --archive-grey: #8D9B9B;
  --frost: #C8D4D2;
  --white: #EEF4F1;
  --text: #EAF3F1;
  --secondary: #B5C5C3;
  --muted: #9AAEAC;
  --border: rgba(200, 212, 210, .17);
  --panel: rgba(16, 28, 33, .78);
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--midnight); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; }
img, svg { max-width: 100%; }
img { display: block; }
a { color: var(--mint); text-decoration-thickness: 1px; text-underline-offset: .22em; overflow-wrap: anywhere; }
a:hover { color: var(--white); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--amber-light); outline-offset: 4px; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; min-width: 0; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--white); color: var(--black); }
.skip-link:focus { top: 12px; }
.site-header { min-height: 64px; width: min(1360px, calc(100% - 48px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--border); position: relative; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-size: .89rem; letter-spacing: .025em; text-decoration: none; min-width: 0; }
.brand span { overflow-wrap: anywhere; }
.brand-mark { width: 34px; height: 34px; flex: 0 0 auto; color: var(--amber-light); }
.primary-nav { display: flex; align-items: center; gap: clamp(10px, 1.45vw, 22px); }
.primary-nav a { color: var(--secondary); font-size: .79rem; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--white); }
.primary-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--amber-light); text-underline-offset: 7px; }
.primary-nav .nav-contact { border: 1px solid var(--border); color: var(--white); padding: 7px 13px; }
.menu-toggle { display: none; color: var(--white); background: transparent; border: 1px solid var(--border); padding: 9px 11px; align-items: center; gap: 10px; cursor: pointer; }
.menu-icon { display: grid; gap: 4px; }
.menu-icon i { display: block; width: 17px; height: 1px; background: currentColor; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding-block: 76px 88px; }
.hero-copy { min-width: 0; }
.eyebrow, .card-kicker, .country-index, .footer-label, .meta-line, .visual-topline, .visual-bottomline, .updated { font-size: .69rem; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase; color: var(--mint); }
.eyebrow { margin: 0 0 18px; }
.eyebrow-dot { width: 7px; height: 7px; display: inline-block; margin-right: 8px; border-radius: 50%; background: var(--amber-light); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--white); line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.55rem, 5vw, 4.8rem); margin-bottom: 24px; }
h1 span { color: var(--amber-light); }
.hero-intro, .lead { color: var(--secondary); font-size: 1.08rem; max-width: 620px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 12px 17px; border: 1px solid transparent; text-decoration: none; text-transform: uppercase; letter-spacing: .07em; font-size: .76rem; font-weight: 700; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.button-primary { background: var(--teal); color: var(--white); border-color: rgba(121, 216, 197, .35); }
.button-primary:hover { background: #1b898b; color: white; }
.button-quiet { border-color: var(--border); color: var(--secondary); }
.button-quiet:hover { color: var(--white); border-color: var(--mint); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 34px; }
.glass-panel { border: 1px solid rgba(200,212,210,.2); background: linear-gradient(145deg, rgba(23,42,48,.86), rgba(11,18,21,.82)); box-shadow: inset 0 1px rgba(255,255,255,.04); }
.hero-visual { padding: 17px 20px; min-height: 390px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.hero-photo-baltic-city-rooftops { width: 100%; height: 285px; object-fit: cover; object-position: center 55%; border: 1px solid var(--border); filter: saturate(.78) brightness(.88); }
.visual-topline, .visual-bottomline { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .6rem; }
.map-abstract { position: relative; height: 285px; overflow: hidden; background-image: linear-gradient(rgba(200,212,210,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(200,212,210,.035) 1px, transparent 1px); background-size: 32px 32px; }
.map-shape { position: absolute; display: block; background: rgba(22,119,122,.17); border: 1px solid rgba(53,196,194,.55); transform: rotate(-18deg); }
.shape-estonia { width: 92px; height: 48px; top: 17%; left: 50%; clip-path: polygon(12% 0,90% 8%,100% 63%,72% 100%,8% 75%,0 29%); }
.shape-latvia { width: 120px; height: 65px; top: 39%; left: 43%; clip-path: polygon(8% 11%,80% 0,100% 53%,79% 100%,18% 88%,0 40%); }
.shape-lithuania { width: 108px; height: 69px; top: 63%; left: 39%; clip-path: polygon(14% 0,92% 18%,100% 76%,57% 100%,0 74%,5% 21%); }
.map-line { position: absolute; height: 1px; transform-origin: left; background: var(--amber-light); opacity: .78; z-index: 2; }
.line-one { width: 95px; top: 29%; left: 53%; transform: rotate(105deg); }
.line-two { width: 100px; top: 51%; left: 50%; transform: rotate(105deg); }
.map-node { position: absolute; z-index: 3; display: flex; align-items: center; gap: 7px; color: var(--white); font-size: .59rem; letter-spacing: .12em; }
.map-node i { width: 7px; height: 7px; background: var(--amber-light); border-radius: 50%; box-shadow: 0 0 0 4px rgba(226,177,91,.12); }
.node-tallinn { top: 18%; left: 68%; }.node-riga { top: 44%; left: 67%; }.node-vilnius { top: 70%; left: 61%; }
.map-amber { position: absolute; width: 35px; height: 35px; border-radius: 50%; background: rgba(213,154,69,.13); border: 1px solid rgba(226,177,91,.65); right: 8%; bottom: 11%; }
.section { padding-block: 68px 76px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 30px; }
.section-heading h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); margin: 0; }
.section-heading > p { color: var(--secondary); max-width: 390px; margin: 0; }
.feature-list { display: grid; gap: 24px; }
.feature-card { display: grid; grid-template-columns: minmax(260px, .86fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.feature-card img { width: 100%; height: 100%; min-height: 245px; object-fit: cover; border: 1px solid var(--border); filter: saturate(.78); }
.feature-copy { min-width: 0; border: 1px solid var(--border); background: linear-gradient(120deg, rgba(23,42,48,.72), rgba(16,28,33,.88)); padding: 25px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.card-kicker { display: flex; width: 100%; justify-content: space-between; margin-bottom: 17px; color: var(--mint); }
.card-kicker span { color: var(--amber-light); }
.feature-copy h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); margin-bottom: 10px; }
.feature-copy > p:not(.card-kicker) { color: var(--secondary); max-width: 610px; margin-bottom: 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; margin-bottom: 18px; }
.tag-row span { font-size: .68rem; color: var(--frost); border: 1px solid var(--border); padding: 4px 9px; }
.text-link { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; text-decoration: none; }
.comparison-section { background: linear-gradient(180deg, transparent, rgba(16,28,33,.72), transparent); }
.comparison-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.compare-card { padding: 24px; border: 1px solid var(--border); background: rgba(16,28,33,.68); min-width: 0; }
.country-index { color: var(--amber-light); margin-bottom: 15px; }
.compare-card h3 { font-size: 1.45rem; margin-bottom: 20px; }
.compare-card dl { margin: 0 0 18px; }
.compare-card dt { color: var(--mint); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 14px; }
.compare-card dd { color: var(--secondary); margin: 3px 0 0; font-size: .9rem; }
.closing-band { margin-block: 56px 76px; padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--border); background: linear-gradient(110deg, rgba(22,119,122,.18), rgba(16,28,33,.82)); }
.closing-band .eyebrow { margin-bottom: 9px; }.closing-band h2 { font-size: clamp(1.35rem, 2.5vw, 2rem); margin: 0; }
.page-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.82fr); gap: clamp(30px,5vw,70px); align-items: center; padding-block: 62px 66px; }
.page-hero h1 { font-size: clamp(2.35rem, 4.3vw, 4rem); max-width: 740px; }
.page-hero .lead { font-size: 1.03rem; }
.meta-line { display: flex; flex-wrap: wrap; gap: 16px 26px; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 27px; color: var(--muted); font-size: .61rem; }
.page-image { margin: 0; min-width: 0; }
.page-image img { width: 100%; aspect-ratio: 1.28; object-fit: cover; border: 1px solid var(--border); filter: saturate(.75); }
.page-image figcaption { padding-top: 11px; color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.article-layout { display: grid; grid-template-columns: 200px minmax(0, 760px); gap: clamp(32px, 7vw, 100px); justify-content: center; padding-block: 32px 64px; border-top: 1px solid var(--border); }
.article-index { align-self: start; position: sticky; top: 20px; display: grid; gap: 9px; }
.article-index .eyebrow { margin-bottom: 7px; }
.article-index a { color: var(--secondary); text-decoration: none; font-size: .81rem; }
.article-index a:hover { color: var(--mint); }
.article-body { min-width: 0; }
.article-body p, .article-body li { color: var(--secondary); }
.article-body h2 { font-size: clamp(1.55rem, 2.5vw, 2.1rem); margin: 42px 0 15px; }
.article-body h3 { font-size: 1.15rem; margin: 23px 0 10px; }
.article-body ul { padding-left: 22px; }
.article-body li { padding-left: 4px; margin: 7px 0; }
.article-body strong { color: var(--white); }
.article-lead { color: var(--frost) !important; font-size: 1.15rem; line-height: 1.7; }
.related-guides { display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--border); margin-top: 38px; padding-top: 22px; }
.related-guides .eyebrow { flex-basis: 100%; margin: 0 0 3px; }
.related-guides a { padding: 7px 10px; border: 1px solid var(--border); font-size: .75rem; text-decoration: none; }
.legal-hero { padding-block: 60px 35px; }
.legal-hero h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); margin-bottom: 16px; }
.legal-hero .lead { max-width: 780px; }
.updated { color: var(--muted); }
.legal-content { max-width: 870px; padding-bottom: 70px; }
.legal-content h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.legal-content p { color: var(--secondary); }
.legal-content a { color: var(--mint); }
.table-scroll { overflow-x: auto; margin-block: 24px; border: 1px solid var(--border); }
table { border-collapse: collapse; width: 100%; min-width: 620px; text-align: left; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--mint); background: rgba(23,42,48,.68); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
td { color: var(--secondary); font-size: .88rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr); gap: 36px; padding-block: 18px 72px; align-items: start; }
.contact-main { min-width: 0; }
.contact-details { padding: 20px 22px; margin-bottom: 22px; }
.contact-details p { color: var(--secondary); margin-bottom: 8px; }
.contact-details p:last-child { margin-bottom: 0; }
.contact-form { padding: 25px; border: 1px solid var(--border); background: rgba(16,28,33,.68); }
.contact-form > .eyebrow { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 17px; min-width: 0; }
.field label { color: var(--frost); font-size: .83rem; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; color: var(--white); background: #0b1519; border: 1px solid var(--graphite); padding: 11px 12px; border-radius: 0; }
.field textarea { resize: vertical; }
.field option { background: var(--black); }
.field-error { min-height: 1em; color: #ffb9a9; font-size: .75rem; }
.is-invalid { border-color: #ff9b83 !important; }
.form-note { color: var(--muted); font-size: .78rem; margin: 12px 0 0; }
.form-status { margin-top: 18px; padding: 13px; color: var(--white); border: 1px solid var(--mint); background: rgba(22,119,122,.2); }
.form-status.is-visible { display: block; }
.contact-map { margin: 0; padding: 18px; }
.contact-map svg { display: block; width: 100%; height: auto; }
.contact-map figcaption { color: var(--muted); font-size: .65rem; letter-spacing: .12em; padding: 12px 3px 2px; }
.sea-shape { fill: rgba(22,119,122,.18); stroke: rgba(53,196,194,.43); stroke-width: 1; }
.route-path { fill: none; stroke: var(--amber-light); stroke-width: 2; stroke-dasharray: 5 8; }
.route-point { fill: var(--amber-light); stroke: var(--midnight); stroke-width: 4; }
.contact-map text { fill: var(--frost); font: 11px system-ui,sans-serif; letter-spacing: 2px; }
.map-gridline { fill: none; stroke: rgba(200,212,210,.08); stroke-width: 1; }
.site-footer { border-top: 1px solid var(--border); background: #080f12; padding-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1.1fr 1.25fr .8fr; gap: 28px; padding-bottom: 35px; }
.footer-domain { color: var(--white); font-size: 1.02rem; line-height: 1.3; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.footer-domain:hover { color: var(--mint); text-decoration: underline; }
.footer-brand p, .footer-company p:not(.footer-label) { color: var(--secondary); font-size: .79rem; margin: 12px 0; }
.footer-company > a { font-size: .78rem; }
.footer-label { color: var(--amber-light); margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; }
.footer-links a { color: var(--secondary); font-size: .77rem; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-links a:focus-visible, .footer-domain:focus-visible { outline: 2px solid var(--amber-light); outline-offset: 4px; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 14px 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .69rem; }
.cookie-banner { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 20px; max-width: 1060px; margin-inline: auto; padding: 15px 18px; border: 1px solid rgba(121,216,197,.35); background: rgba(11,18,21,.97); box-shadow: 0 12px 42px rgba(0,0,0,.35); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; color: var(--secondary); font-size: .76rem; }
.cookie-banner .cookie-title { color: var(--white); font-weight: 700; margin-bottom: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; flex: 0 0 auto; }
.cookie-actions button { padding: 8px 10px; background: transparent; color: var(--frost); border: 1px solid var(--border); font-size: .7rem; cursor: pointer; }
.cookie-actions button:hover { background: var(--teal); color: white; border-color: var(--mint); }
.is-visible { display: block; }
[hidden] { display: none !important; }
@media (max-width: 1050px) {
  .primary-nav { gap: 10px; }
  .primary-nav a { font-size: .72rem; }
  .brand { font-size: .8rem; }
  .footer-top { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .site-header { min-height: 62px; }
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; z-index: 20; top: calc(100% + 1px); right: 0; left: 0; padding: 14px; border: 1px solid var(--border); background: rgba(11,18,21,.98); box-shadow: 0 16px 30px rgba(0,0,0,.28); }
  .primary-nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; }
  .primary-nav a { padding: 12px 10px; white-space: normal; font-size: .84rem; border-bottom: 1px solid rgba(200,212,210,.08); }
  .primary-nav .nav-contact { margin: 7px 0 0; text-align: center; }
  .hero { grid-template-columns: minmax(0,1fr) minmax(300px,.88fr); }
}
@media (max-width: 700px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .site-header { width: calc(100% - 32px); }
  .hero, .page-hero { grid-template-columns: minmax(0,1fr); gap: 28px; padding-block: 48px 54px; }
  .hero-visual { min-height: 330px; }
  .hero-photo-baltic-city-rooftops { height: 230px; }
  .map-abstract { height: 230px; }
  .section { padding-block: 48px 54px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 15px; }
  .feature-card { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .feature-card img { height: auto; aspect-ratio: 1.5; min-height: 0; }
  .feature-copy { padding: 21px; }
  .comparison-grid { grid-template-columns: minmax(0,1fr); }
  .closing-band { align-items: flex-start; flex-direction: column; margin-block: 34px 52px; padding: 22px; }
  .article-layout { grid-template-columns: minmax(0,1fr); gap: 25px; padding-top: 25px; }
  .article-index { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); padding-bottom: 17px; border-bottom: 1px solid var(--border); }
  .article-index .eyebrow { grid-column: 1 / -1; }
  .article-body h2 { margin-top: 34px; }
  .contact-layout { grid-template-columns: minmax(0,1fr); }
  .contact-map { max-width: 520px; }
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; display: grid; padding: 13px; gap: 11px; }
  .cookie-actions { justify-content: flex-start; }
  .cookie-actions button { flex: 1 1 auto; }
}
@media (max-width: 480px) {
  h1 { font-size: clamp(2.2rem, 11vw, 3.3rem); }
  .page-hero h1 { font-size: clamp(2.15rem, 10vw, 3.1rem); }
  .brand { max-width: calc(100% - 92px); font-size: .76rem; }
  .brand-mark { width: 30px; height: 30px; }
  .menu-toggle { padding: 8px; }
  .primary-nav.is-open { grid-template-columns: minmax(0,1fr); }
  .hero-meta { gap: 9px 14px; }
  .hero-visual { min-height: 300px; padding: 13px; }
  .form-row { grid-template-columns: minmax(0,1fr); gap: 0; }
  .contact-form { padding: 18px; }
  .footer-top { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .footer-bottom { display: grid; }
  .visual-topline, .visual-bottomline { font-size: .53rem; }
  .map-node { font-size: .52rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}