/* ESTONIA-ONLY, STATIC-FIRST, PURE FLEXBOX, NO TRACKING/JS/FONTS */
:root{color-scheme:light;font-family:Arial,Helvetica,sans-serif;line-height:1.62;font-size:16px;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}body.theme-web{--bg:rgba(139,224,200,.16);--card:#FFFFFF;--ink:#2E3124;--muted:#506602;--line:#8BE0C8;--soft:rgba(139,224,200,.16);--accent:#F99503;--on-accent:#2E3124;--ring:#f2c392}body.theme-assist{--bg:#FFFFFF;--card:#FFFFFF;--ink:#2E3124;--muted:#506602;--line:#8BE0C8;--soft:rgba(139,224,200,.16);--accent:#2E3124;--on-accent:#FFFFFF;--ring:#8BE0C8}
html{scroll-behavior:smooth}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:4px}img{max-width:100%;height:auto}h1,h2,h3,h4{line-height:1.14;letter-spacing:-.028em;margin:0 0 .7em}h1{font-size:clamp(2.2rem,4.6vw,4.5rem);max-width:21ch}h2{font-size:clamp(1.5rem,2.8vw,2.35rem)}h3{font-size:1.18rem}p{margin:0 0 1.18rem}strong{font-weight:740}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.container{max-width:1200px;margin:auto;width:calc(100% - 52px)}.skip{position:absolute;left:-9999px;background:var(--ink);color:white;padding:10px;z-index:100}.skip:focus{left:12px;top:12px}
.site-header{border-bottom:1px solid var(--line);background:var(--card);position:relative;z-index:3}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:105px}.brand{display:flex;align-items:center;flex:0 0 164px}.brand img{width:164px;max-height:75px;object-fit:contain;object-position:left center}.nav-links{display:flex;flex-wrap:wrap;gap:21px;font-size:.93rem;font-weight:700}.nav-links a[aria-current=page]{color:var(--accent)}.header-actions{display:flex;gap:18px;align-items:center}.lang-switch{display:flex;align-items:center;gap:6px;font-size:.77rem;font-weight:750}.lang{padding:6px 7px;border-radius:6px;border:1px solid transparent}.lang[aria-current=page]{border-color:var(--accent);background:var(--soft)}.header-cta,.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 17px;border-radius:7px;background:var(--accent);color:var(--on-accent);font-size:.88rem;font-weight:750;line-height:1.25}.header-cta:hover,.btn:hover{filter:brightness(.95);text-decoration:none}.btn-outline{background:transparent;color:var(--ink);border:1px solid var(--line)}.mobile-nav{display:none}
.page-hero{background:var(--soft);padding:46px 0 56px;border-bottom:1px solid var(--line)}.breadcrumbs{font-size:.85rem;color:var(--muted);display:flex;flex-wrap:wrap;gap:10px;margin-bottom:30px}.breadcrumbs a{text-decoration:underline;text-decoration-color:transparent}.breadcrumbs a:hover{text-decoration-color:currentColor}.kicker{font-size:.78rem;text-transform:uppercase;font-weight:800;letter-spacing:.14em;color:var(--muted);margin:0 0 18px}.kicker:before{content:'';display:inline-block;width:18px;height:3px;background:var(--accent);vertical-align:middle;margin-right:10px}.page-hero h1{margin:0 0 24px}.lead{font-size:clamp(1.1rem,1.9vw,1.38rem);max-width:790px;color:var(--muted);line-height:1.55}
.article-layout{display:flex;align-items:flex-start;gap:60px;padding-top:54px;padding-bottom:50px}.service-richtext{width:100%;max-width:900px;font-size:1.04rem;line-height:1.8;overflow-wrap:break-word}.service-richtext>h2{margin-top:3.2rem;padding-top:1.1rem;border-top:1px solid var(--line)}.service-richtext>h2:first-child{margin-top:0;border-top:0}.service-richtext h3{margin-top:2.1rem}.service-richtext h4{margin-top:1.6rem}.service-richtext p{max-width:86ch}.service-richtext ul,.service-richtext ol{margin:0 0 1.6rem;padding-left:1.65rem}.service-richtext li{padding-left:5px;margin-bottom:.65rem}.service-richtext a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:3px}.service-richtext blockquote{border-left:4px solid var(--accent);margin:22px 0;padding:12px 24px;background:var(--soft)}.service-richtext table{width:100%;border-collapse:collapse;display:block;overflow-x:auto;font-size:.92rem;margin-bottom:1.8rem}.service-richtext th,.service-richtext td{border:1px solid var(--line);padding:11px 14px;text-align:left;min-width:110px}.service-richtext th{background:var(--soft)}.service-richtext pre{padding:18px;overflow:auto;background:var(--soft);border:1px solid var(--line)}.service-richtext code{font-family:Consolas,monospace;font-size:.91rem}.service-richtext hr{border:0;border-top:1px solid var(--line);margin:2rem 0}
.related-services{padding:54px 0 75px;border-top:1px solid var(--line)}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px}.section-head h2{margin:0}.text-link{font-size:.9rem;font-weight:750;text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:4px}.cards{display:flex;flex-wrap:wrap;gap:18px}.service-card{border:1px solid var(--line);background:var(--card);padding:26px;min-width:255px;flex:1 1 calc(33.333% - 18px);display:flex;flex-direction:column;border-radius:9px;transition:border-color .2s}.service-card:hover{border-color:var(--accent)}.service-card p{font-size:.93rem;color:var(--muted);margin-bottom:26px}.service-card h3{font-size:1.17rem;line-height:1.3;margin-bottom:15px}.service-card .text-link{margin-top:auto}.card-top{display:flex;justify-content:space-between;margin-bottom:22px;color:var(--muted)}.service-code{font-size:.69rem;font-weight:800;letter-spacing:.12em}.card-marker{font-size:1.3rem}.services-group{padding:52px 0 14px}.services-group h2{margin-bottom:27px}.home-intro{padding:40px 0 45px}.lead-small{font-size:1.17rem;max-width:850px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.callout{background:var(--ink);color:var(--card);padding:36px 40px;margin:24px 0 70px;border-radius:10px;display:flex;gap:35px;align-items:center;justify-content:space-between}.callout h2{font-size:clamp(1.6rem,2.4vw,2.3rem);margin-bottom:12px}.callout p{margin:0}.callout .eyebrow{font-size:.72rem;letter-spacing:.11em;text-transform:uppercase;color:#8BE0C8;margin-bottom:14px}.callout .btn{background:var(--accent);color:var(--on-accent);flex:0 0 auto}.theme-assist .callout .btn{background:#FFFFFF;color:#2E3124}
.misc-content{padding:50px 0 65px;max-width:960px}.prose{max-width:760px;font-size:1.09rem}.company-card{border:1px solid var(--line);background:var(--soft);padding:25px 28px;border-radius:9px;margin-top:35px}.company-card h2{font-size:1.45rem}.contact-main{margin-top:28px}.steps{display:flex;flex-wrap:wrap;gap:24px}.step{border-top:4px solid var(--accent);padding:26px;background:var(--soft);flex:1 1 340px}.step h2{font-size:1.4rem}
.site-footer{background:var(--soft);border-top:1px solid var(--line);padding:60px 0 30px}.footer-top{display:flex;justify-content:space-between;gap:40px;padding-bottom:30px;border-bottom:1px solid var(--line)}.footer-brand{font-size:1.55rem;font-weight:800;letter-spacing:-.02em}.footer-top p{max-width:430px;color:var(--muted)}.footer-nav{display:flex;gap:15px 25px;flex-wrap:wrap;max-width:560px;font-size:.93rem}.company-details{font-size:.85rem;margin-top:28px;line-height:1.85;max-width:1000px}.legal-small{font-size:.75rem;color:var(--muted);margin:25px 0 0}.eu-nav{margin-top:18px;font-size:.81rem}
@media(max-width:1199px){.nav-links{display:none}.header-inner{gap:16px}.mobile-nav{display:block;order:3;position:relative}.mobile-nav summary{font-size:.9rem;font-weight:800;padding:12px;border:1px solid var(--line);border-radius:7px;list-style:none;cursor:pointer}.mobile-nav nav{position:absolute;right:0;top:100%;background:var(--card);min-width:220px;border:1px solid var(--line);padding:18px;box-shadow:0 10px 30px #00000015;display:flex;flex-direction:column;gap:14px}}@media(max-width:720px){.container{width:calc(100% - 34px)}.header-inner{min-height:82px}.brand,.brand img{width:125px;flex-basis:125px}.header-actions{margin-left:auto;gap:6px}.header-cta{display:none}.page-hero{padding:32px 0 36px}.breadcrumbs{margin-bottom:18px}.article-layout{padding-top:32px;padding-bottom:24px}.service-richtext{font-size:1rem}.service-card{flex-basis:100%;min-width:0}.related-services{padding:40px 0}.callout{flex-direction:column;align-items:flex-start;padding:28px 22px;margin-bottom:45px}.footer-top{flex-direction:column}.footer-nav{gap:12px 22px}.lang{font-size:.72rem;padding:3px}.kicker{line-height:1.8}}

/* Legal information: responsive in-page navigation and readable sections */
.legal-layout{max-width:1050px;padding-top:34px}.legal-toc{padding:25px 28px;border:1px solid var(--line);background:var(--soft);border-radius:8px;margin-bottom:38px}.legal-toc h2{font-size:1.2rem;margin:0 0 14px}.legal-toc ul{list-style:none;padding:0;margin:0;display:flex;gap:9px 22px;flex-wrap:wrap}.legal-toc a{text-decoration:underline;text-underline-offset:3px;font-size:.94rem}.legal-document{max-width:900px}.legal-document h2{scroll-margin-top:30px;margin-top:44px}.legal-document h2:first-child{margin-top:0}.legal-document h3{font-size:1.14rem;margin-top:25px}.legal-document p,.legal-document li{max-width:86ch}.legal-document p{margin-bottom:1rem}


/* I15: narrow screens / large-text accessibility. Keep the established flexbox system. */
@media(max-width:520px){
  .header-inner{flex-wrap:wrap;gap:8px 10px;padding:8px 0}
  .header-inner > *{min-width:0}
  .brand,.brand img{width:112px;flex-basis:112px}
  .header-actions{flex:1 1 120px;min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:3px 6px;margin-left:0}
  .lang-switch{flex-wrap:wrap;justify-content:flex-end;gap:2px;font-size:.74rem}
  .mobile-nav{flex:0 0 auto;max-width:100%;margin-left:auto}
  .mobile-nav summary{padding:9px 10px;font-size:.82rem;overflow-wrap:anywhere}
  .mobile-nav nav{min-width:min(220px,calc(100vw - 32px));max-width:calc(100vw - 32px);overflow-wrap:anywhere}
  .nav-links,.header-actions a{overflow-wrap:anywhere}
}
@media(max-width:360px){
  .brand,.brand img{width:100px;flex-basis:100px}
  .container{width:calc(100% - 28px)}
  .header-inner{gap:6px}
  .lang{padding:3px 4px}
  .mobile-nav summary{padding:7px 8px}
}
/* Contrast: preserve brand orange for graphics/buttons, darken only small orange text/focus. */
.theme-web{--accent-text:#934000}
.theme-web .nav-links a[aria-current=page]{color:var(--accent-text)}
.theme-web .text-link{text-decoration-color:var(--accent-text)}
.theme-web :focus-visible{outline-color:var(--accent-text)}

/* I15: long titles in Estonian and wide related-service headers under text enlargement. */
h1,h2,h3,h4,.breadcrumbs,.section-head{overflow-wrap:anywhere;word-break:normal}
.section-head{flex-wrap:wrap}
.section-head>*{min-width:0;max-width:100%}
.service-richtext table{max-width:100%}
@media(max-width:520px){
 .section-head{align-items:flex-start}
 .section-head .text-link{flex:0 1 auto;max-width:100%}
}

/* I15: make oversized H1 more readable on 320px instead of breaking after 1–2 letters. */
@media(max-width:520px){h1{font-size:clamp(1.8rem,8vw,2.2rem);hyphens:auto}}

/* I19: honour the OS-level reduced-motion preference for the entire document.
   Previously the journey component disabled motion, but html still scrolled smoothly. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card { transition: none; }
}

/* I19: avoid horizontal overflow at 200% text size on 320px screens.
   Flex children in the CTA may otherwise retain their min-content width. */
@media (max-width: 520px) {
  .callout > * { min-width: 0; max-width: 100%; }
  .callout a { overflow-wrap: anywhere; }
}

/* I19: prevent long email addresses from widening the footer at 200% text size. */
.company-details a { overflow-wrap: anywhere; word-break: break-word; }

/* I19: long Estonian CTA words must also wrap in doubled text sizes. */
@media (max-width: 520px) {
  .callout .eyebrow, .callout h2, .callout p { overflow-wrap: anywhere; }
}


/* I20: additional 200%-text resilience at 320–390px.
   Preserve natural reading order; allow long links and Flexbox cards to wrap.
   Wide data tables scroll within their own element, not the viewport. */
@media (max-width: 520px) {
  .misc-content, .prose, .legal-layout, .legal-document, .legal-toc,
  .steps, .steps > .step, .service-richtext, .article-layout {
    min-width: 0;
    max-width: 100%;
  }
  .misc-content a, .misc-content p, .misc-content li,
  .prose a, .legal-document, .legal-toc,
  .service-richtext p, .service-richtext li, .service-richtext a {
    overflow-wrap: anywhere;
  }
  .steps > .step {
    flex: 1 1 100%;
    overflow-wrap: anywhere;
  }
  .misc-content table, .prose table, .legal-document table,
  .service-richtext table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .misc-content code, .legal-document code, .service-richtext code {
    overflow-wrap: anywhere;
  }
}


/* I20 continued: long service leads, commercial links and legal annexes
   at enlarged text sizes must not force viewport-wide scrolling. */
@media (max-width: 520px) {
  .page-hero .lead, .page-hero p, .breadcrumbs,
  .legal-commerce-annex, .legal-gdpr-annex, .legal-original-text,
  .legal-commerce-annex p, .legal-gdpr-annex p,
  .commerce-offer, .commerce-offer-price, .commerce-offer a, .commerce-buy,
  .i12-highlight p, .i11-insight__title {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .i12-highlight p { flex: 1 1 auto; }
  .commerce-offer .commerce-buy {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }
  .commerce-offer .btn, .commerce-offer .btn-outline {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}


/* I20: service-card copy can contain long Estonian compounds at 200% text. */
@media (max-width: 520px) {
  .cards, .service-card, .service-card p, .service-card h3,
  .service-card .text-link, .related-services, .services-group {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .service-card { flex-basis: 100%; }
}

/* I21: keyboard/touch target usability without altering the visual system. */
.service-card .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.commerce-buy:not(:disabled), .mobile-nav summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 520px) {
  .lang { min-height: 32px; display: inline-flex; align-items: center; justify-content: center; }
}


/* I23 — Estonia-specific localization block. Static HTML, flexbox-compatible, no JS. */
.ee-localization{width:calc(100% - 52px);max-width:1200px;margin:24px auto 30px;padding:21px 26px 20px;border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:8px;background:var(--card);color:var(--ink);overflow-wrap:anywhere}
.ee-localization__eyebrow{color:var(--muted);font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin:0 0 8px}
.ee-localization__text{max-width:104ch;margin:0;font-size:1rem;line-height:1.65}
.ee-localization__source{font-size:.79rem;margin:8px 0 0;color:var(--muted)}
.ee-localization__source a{text-decoration:underline;text-underline-offset:3px}
.ee-localization--inline{width:100%;max-width:none;margin:18px 0 24px}
@media(max-width:720px){.ee-localization{width:calc(100% - 34px);padding:17px 18px;margin:18px auto 22px}.ee-localization--inline{width:100%;margin:16px 0 20px}}
@media(max-width:360px){.ee-localization{width:calc(100% - 28px)}.ee-localization--inline{width:100%}}

/* I38 — E-Assistent Estonia. 5-color brand palette with accessible CTA contrast. */
body.theme-assist{
 --bg:#FFFFFF;--card:#FFFFFF;--ink:#2E3124;--muted:#506602;
 --line:rgba(80,102,2,.22);--soft:rgba(139,224,200,.16);
 --accent:#F99503;--accent-hover:#506602;--on-accent:#2E3124;
 --ring:#8FC11C;--mint:#8BE0C8;--lime:#8FC11C;--olive:#506602;
}
.theme-assist .page-hero{background:var(--soft);border-bottom-color:var(--mint)}
.theme-assist .site-header{border-bottom:2px solid var(--mint)}
.theme-assist .site-footer{background:#2E3124;color:#FFFFFF;border-top:4px solid #8FC11C}
.theme-assist .site-footer .footer-top{border-bottom-color:rgba(139,224,200,.35)}
.theme-assist .site-footer .footer-top p,.theme-assist .site-footer .legal-small,.theme-assist .site-footer .company-details{color:#FFFFFF}
.theme-assist .site-footer a:hover{color:#8BE0C8}
.theme-assist .header-cta,.theme-assist .btn:not(.btn-outline){background:#F99503;color:#2E3124;border-color:#F99503}
.theme-assist .header-cta:hover,.theme-assist .btn:not(.btn-outline):hover{background:#506602;color:#FFFFFF;border-color:#506602;filter:none;text-decoration:none}
.theme-assist .btn-outline:hover{background:rgba(139,224,200,.2);border-color:#506602;color:#2E3124;filter:none}
.theme-assist .nav-links a[aria-current=page]{color:#506602;text-decoration:underline;text-decoration-color:#F99503;text-underline-offset:7px}
.theme-assist .lang[aria-current=page]{background:rgba(139,224,200,.3);border-color:#506602}
.theme-assist .lang:hover{border-color:#8FC11C;background:rgba(139,224,200,.15)}
.theme-assist .kicker:before{background:#F99503}
.theme-assist .service-card:hover{border-color:#506602}
.theme-assist .i10-card-icon,.theme-assist .i11-insight__symbol{background:rgba(139,224,200,.22);border-color:#8BE0C8}
.theme-assist .i10-benefit-item:hover,.theme-assist .i11-insight:hover,.theme-assist .i12-highlight:hover{border-color:#8FC11C}
.theme-assist .callout{background:#2E3124;color:#FFFFFF;border:1px solid #506602}
.theme-assist .callout .eyebrow{color:#8BE0C8}
.theme-assist .callout .btn{background:#F99503;color:#2E3124}
.theme-assist .callout .btn:hover{background:#8FC11C;color:#2E3124}
.theme-assist .service-richtext a,.theme-assist .text-link{text-decoration-color:#F99503}
.theme-assist .step{border-top-color:#8FC11C}
.theme-assist :focus-visible{outline-color:#506602}
.theme-assist .mobile-nav nav{background:#FFFFFF;border-color:#8BE0C8}

/* I57: one desktop row; all links stay available through native navigation. */
.site-header .header-cta{white-space:nowrap;flex:0 0 auto}
@media(min-width:1200px){
 .header-inner{gap:16px;flex-wrap:nowrap}
 .header-inner>.brand{flex:0 0 144px}
 .header-inner>.brand img{width:144px}
 .nav-links{flex:1 1 auto;min-width:0;flex-wrap:nowrap;align-items:center;justify-content:center;gap:14px;font-size:.9rem}
 .nav-links>a{flex:0 0 auto;white-space:nowrap}
 .header-actions{flex:0 0 auto;gap:12px}
 .lang-switch{flex-wrap:nowrap}
}
