/* Pages in the new design: what WordPress adds to the design (assets/design/css),
   loaded after it. The request forms' send states (design-wp.js) and the cookie banner. */

/* ===== "Liigu sisu juurde": the design styles it on the front page only (home.css) ===== */

.skip-link {
  position: absolute;
  z-index: 20;
  left: 20px;
  top: -100px;
  padding: 12px;
  background: #1a1b1f;
  color: #ffffff;
}

.skip-link:focus {
  top: 12px;
}

/* ===== A word that must not break at its hyphen in a heading ("e-postile") ===== */

.nowrap {
  white-space: nowrap;
}

/* ===== Request forms: the summary window's send step ===== */

dialog [hidden] {
  display: none !important;
}

dialog .summary-notice.is-error {
  color: #8a1c1c;
  background: #fbeeee;
  border-left: 3px solid #b23b3b;
}

dialog .send-request:disabled {
  opacity: 0.7;
  cursor: progress;
}

dialog .send-request + .button-outline,
dialog .send-request + button {
  margin-left: 12px;
}

/* ===== Small text at least 15-16 px, as the product owner set it (13-14 px in Codex's files) ===== */

body[data-service="hosting"] .hosting61-hero-visual figcaption,
body[data-service="evul"] .evul84-certificate figcaption,
body[data-service="maintenance"] .maint63-service-label,
body[data-service="maintenance"] .maint63-price-label {
  font-size: 16px;
}

/* Upper-case labels: 15 px, like the eyebrows */
body[data-service="website"] .web69-plan-label {
  font-size: 15px;
}

/* ===== EVUL: 05 (#taotlemine) and 06 (#kkk) are both white in the design; 06 light grey,
   so two sections in a row don't have the same background (the grey of #miks) ===== */

html[data-visual-style="reference"] body[data-service="evul"] #kkk {
  background: #f2f3f4;
}

/* ===== Trust stamp: section 02 lists the places in the right column, in place of the three steps
   (the list's own vertical styles are in stamp-page.css; its heading is styled as it was below) ===== */

body[data-service="stamp"] #stamp95-contexts-title {
  margin: 0 0 4px;
  color: #153c53;
  font: 600 20px/1.5 Montserrat, "Open Sans", sans-serif;
}

/* A line under the heading at every width, like between the places */
body[data-service="stamp"] .stamp95-mechanism-grid .stamp88-usecases > div:first-child {
  padding-top: 20px;
  border-top: 1px solid #cbdce7;
}

/* ===== Storybook WEB: the hero image without the zoom button (an illustrative image; the zoom
   showed the same picture), sized as it was inside the button (.web-hero-open img) ===== */

body[data-service="web"] .web-hero-visual > img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== Google Ads: at 32 px "kampaanialahenduse." in the contact heading was wider than a phone; since
   11.11.2026 the contact heading is 30 px on every page, which fits (break-word stays as a safeguard) ===== */

@media (max-width: 420px) {
  body[data-service="ads"] #contact-title {
    overflow-wrap: break-word;
  }
}

/* ===== Google Ads: the hero's ad example in place of the design's placeholder, like the
   trust stamp's hero image (.stamp88-hero-visual) ===== */

body[data-service="ads"] .gads-hero-visual {
  margin: 0;
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

body[data-service="ads"] .gads-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

body[data-service="ads"] .gads-hero-visual figcaption {
  margin-top: 18px;
  color: #d5e7ef;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 850px) {
  body[data-service="ads"] .gads-hero-visual {
    justify-self: start;
  }
}

/* ===== Debt collection: three price cards (Kreedix's 0 € collection between self-service and
   the action packages), one per row below 1100 px; the Kreedix link beside the route's button ===== */

@media (min-width: 1101px) {
  html[data-visual-style="reference"] body[data-service="debt"] .debt-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  html[data-visual-style="reference"] body[data-service="debt"] .debt-plans {
    grid-template-columns: 1fr;
  }
}

/* The middle card stands out, as on the other pages; the design marked the first */
html[data-visual-style="reference"] body[data-service="debt"] .debt-plan:first-child {
  border-top: 0;
}

html[data-visual-style="reference"] body[data-service="debt"] .debt-plan:nth-child(2) {
  border-top: 3px solid var(--color-primary);
}

body[data-service="debt"] .debt-route-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

/* ===== Web maintenance: the hero illustration (Codex's Veebihalduse-hero-illustratsioon-v2,
   maintenance-illustration.css) in place of the placeholder; a generic webpage symbol, not a
   tool view. Its rules are kept inside the figure ===== */

body[data-service="maintenance"] .maintenance-illustration {
  --accent: #83e1f4;
  --text: #d5e7ef;
  --line: #83e1f440;
  width: 100%;
  max-width: 600px;
  margin: 0;
  justify-self: end;
  color: var(--text);
}

body[data-service="maintenance"] .maintenance-illustration .maintenance-frame {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(7, 23, 34, 0.88);
}

body[data-service="maintenance"] .maintenance-illustration .maintenance-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font: 600 15px/1.6 Montserrat, sans-serif;
  letter-spacing: 0.05em;
}

body[data-service="maintenance"] .maintenance-illustration .maintenance-title {
  margin: 0 0 28px;
  color: #ffffff;
  font: 600 24px/1.45 Montserrat, sans-serif;
  text-wrap: balance;
}

body[data-service="maintenance"] .maintenance-illustration .maintenance-scene {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

body[data-service="maintenance"] .maintenance-illustration .website-symbol {
  position: relative;
  min-width: 0;
  padding: 0 12px 14px 0;
}

body[data-service="maintenance"] .maintenance-illustration .website-sheet {
  border: 1px solid #83e1f44d;
  background: #123444;
}

body[data-service="maintenance"] .maintenance-illustration .website-top {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 23px;
  padding: 0 10px;
  border-bottom: 1px solid #83e1f433;
  background: #0d2735;
}

body[data-service="maintenance"] .maintenance-illustration .website-top span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #83e1f480;
}

body[data-service="maintenance"] .maintenance-illustration .website-layout {
  padding: 14px 12px 18px;
}

body[data-service="maintenance"] .maintenance-illustration .website-hero {
  height: 46px;
  margin-bottom: 13px;
  border-left: 3px solid var(--accent);
  background: linear-gradient(120deg, #174b5e, #236278);
}

body[data-service="maintenance"] .maintenance-illustration .website-line {
  display: block;
  width: 100%;
  height: 5px;
  margin-top: 8px;
  background: #739cab55;
}

body[data-service="maintenance"] .maintenance-illustration .website-line.short {
  width: 65%;
}

body[data-service="maintenance"] .maintenance-illustration .website-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}

body[data-service="maintenance"] .maintenance-illustration .website-columns span {
  height: 30px;
  background: #739cab26;
}

body[data-service="maintenance"] .maintenance-illustration .care-symbol {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 5px solid #0a202e;
  background: var(--accent);
  color: #071722;
}

body[data-service="maintenance"] .maintenance-illustration .care-symbol svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

body[data-service="maintenance"] .maintenance-illustration .maintenance-tasks {
  display: grid;
  gap: 24px;
  min-width: 0;
}

body[data-service="maintenance"] .maintenance-illustration .maintenance-task {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

body[data-service="maintenance"] .maintenance-illustration .maintenance-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #17313d;
  color: var(--accent);
}

body[data-service="maintenance"] .maintenance-illustration .maintenance-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

body[data-service="maintenance"] .maintenance-illustration .maintenance-task h3 {
  margin: 1px 0 5px;
  color: #ffffff;
  font: 600 18px/1.5 Montserrat, sans-serif;
}

body[data-service="maintenance"] .maintenance-illustration .maintenance-task p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

body[data-service="maintenance"] .maintenance-illustration .maintenance-options {
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #bdd5e1;
  font-size: 16px;
  line-height: 1.7;
}

body[data-service="maintenance"] .maintenance-illustration .maintenance-options strong {
  font-weight: 600;
  color: var(--accent);
}

@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  body[data-service="maintenance"] .maintenance-illustration .maintenance-frame {
    background: rgba(7, 23, 34, 0.74);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}

@media (prefers-reduced-transparency: reduce) {
  body[data-service="maintenance"] .maintenance-illustration .maintenance-frame {
    background: #071722;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* At 850 px the hero has two narrow columns: the symbol above the tasks, as on a phone */
@media (max-width: 850px) {
  body[data-service="maintenance"] .maintenance-illustration {
    justify-self: start;
  }

  body[data-service="maintenance"] .maintenance-illustration .maintenance-scene {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  body[data-service="maintenance"] .maintenance-illustration .website-symbol {
    width: 190px;
    justify-self: center;
  }

  body[data-service="maintenance"] .maintenance-illustration .maintenance-tasks {
    gap: 20px;
  }
}

@media (max-width: 560px) {
  body[data-service="maintenance"] .maintenance-illustration .maintenance-frame {
    padding: 24px;
  }

  body[data-service="maintenance"] .maintenance-illustration .maintenance-title {
    margin-bottom: 24px;
  }

  body[data-service="maintenance"] .maintenance-illustration .maintenance-options {
    margin-top: 24px;
  }
}

@media (max-width: 360px) {
  body[data-service="maintenance"] .maintenance-illustration .maintenance-frame {
    padding: 20px;
  }

  body[data-service="maintenance"] .maintenance-illustration .maintenance-title {
    font-size: 22px;
  }

  body[data-service="maintenance"] .maintenance-illustration .maintenance-task {
    gap: 10px;
  }
}

/* ===== SEO audit: the hero illustration (Codex's SEO-auditi-hero-illustratsioon-v3, variant B,
   seo-illustration.css) in place of the placeholder; no score or made-up results. Its rules are
   kept inside the figure ===== */

body[data-service="audit"] .seo-illustration {
  --accent: #83e1f4;
  --text: #d5e7ef;
  --line: #83e1f440;
  width: 100%;
  max-width: 600px;
  margin: 0;
  justify-self: end;
  color: var(--text);
}

body[data-service="audit"] .seo-illustration .seo-frame {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(7, 23, 34, 0.88);
}

body[data-service="audit"] .seo-illustration .seo-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font: 600 15px/1.6 Montserrat, sans-serif;
  letter-spacing: 0.05em;
}

body[data-service="audit"] .seo-illustration .seo-title {
  margin: 0 0 26px;
  color: #ffffff;
  font: 600 24px/1.45 Montserrat, sans-serif;
}

body[data-service="audit"] .seo-illustration .seo-title span {
  display: block;
  color: var(--accent);
}

body[data-service="audit"] .seo-illustration .seo-stages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  min-width: 0;
}

body[data-service="audit"] .seo-illustration .seo-stage {
  position: relative;
  min-width: 0;
}

body[data-service="audit"] .seo-illustration .seo-stage-copy {
  min-width: 0;
}

body[data-service="audit"] .seo-illustration .seo-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  background: #17313d;
  color: var(--accent);
}

body[data-service="audit"] .seo-illustration .seo-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

body[data-service="audit"] .seo-illustration .seo-stage--decision .seo-icon {
  background: var(--accent);
  color: #071722;
}

/* The line from the first step's icon towards the second */
body[data-service="audit"] .seo-illustration .seo-stage--finding::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 48px;
  right: -16px;
  height: 1px;
  background: #83e1f440;
}

body[data-service="audit"] .seo-illustration h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font: 600 18px/1.5 Montserrat, sans-serif;
  overflow-wrap: break-word;
}

body[data-service="audit"] .seo-illustration .seo-stage--decision h3 {
  color: var(--accent);
}

body[data-service="audit"] .seo-illustration .seo-stage p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

body[data-service="audit"] .seo-illustration .seo-stage strong {
  font-weight: 600;
  color: inherit;
}

body[data-service="audit"] .seo-illustration .seo-extended {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #bdd5e1;
  font-size: 16px;
  line-height: 1.7;
}

body[data-service="audit"] .seo-illustration .seo-extended strong {
  font-weight: 600;
  color: var(--text);
}

body[data-service="audit"] .seo-illustration .seo-caption {
  margin: 14px 0 0;
  color: #bdd5e1;
  font-size: 16px;
  line-height: 1.7;
}

@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  body[data-service="audit"] .seo-illustration .seo-frame {
    background: rgba(7, 23, 34, 0.74);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}

@media (prefers-reduced-transparency: reduce) {
  body[data-service="audit"] .seo-illustration .seo-frame {
    background: #071722;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* At 850 px the hero has two narrow columns: the steps one under the other, as on a phone */
@media (max-width: 850px) {
  body[data-service="audit"] .seo-illustration {
    justify-self: start;
  }

  body[data-service="audit"] .seo-illustration .seo-stages {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body[data-service="audit"] .seo-illustration .seo-stage {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 16px;
  }

  body[data-service="audit"] .seo-illustration .seo-icon {
    margin: 0;
  }

  body[data-service="audit"] .seo-illustration .seo-stage--finding::after {
    display: none;
  }
}

@media (max-width: 560px) {
  body[data-service="audit"] .seo-illustration .seo-frame {
    padding: 24px;
  }

  body[data-service="audit"] .seo-illustration .seo-title {
    font-size: 22px;
  }
}

@media (max-width: 380px) {
  body[data-service="audit"] .seo-illustration .seo-frame {
    padding: 20px;
  }

  body[data-service="audit"] .seo-illustration .seo-stage {
    gap: 12px;
  }
}

/* ===== Trust badge and credit score: the form's contact fields in one row (.contact-data-row,
   brand.css), like the other forms, with the spacing of the form's other rows ===== */

body[data-service="badge"] .badge75-help-form .contact-data-row,
body[data-service="score"] .score79-form .contact-data-row {
  gap: 24px;
  margin-bottom: 24px;
}

/* ===== The design's .text-link is light, for the dark hero; on a white box it is blue
   (also the links between the website, hosting and maintenance pages) ===== */

body[data-service="website"] .web66-package-help .text-link,
body[data-service="website"] .web66-faq-link,
body[data-service="maintenance"] .maint65-hosting-link {
  color: #0058a8;
}

body[data-service="maintenance"] .maint65-hosting-link {
  display: inline-block;
  margin-top: 14px;
}

/* ===== API and ads: the cards' one-time fee in the same box as on the other pages' package cards
   (.pricing-card__note, brand.css; the ad cards had .ad-oneoff), 20 px above the button like
   .pricing-card__action ===== */

body[data-service="api"] .api-plan-action .pricing-card__note,
body[data-service="advertising"] .ad-price-card .pricing-card__note {
  margin-bottom: 20px;
}

/* The middle package stands out, as .pricing-card:nth-child(2) does (reference-theme.css);
   the design marked the first (Baas) */
html[data-visual-style="reference"] body[data-service="api"] .api-plan--base {
  border-top-color: transparent;
}

html[data-visual-style="reference"] body[data-service="api"] .api-plan:nth-child(2) {
  border-top-color: var(--color-primary);
}

/* List items with the small square of .pricing-card__features li::before, in place of
   check icons (API) and round bullets (ads) */
html[data-visual-style="reference"] body[data-service="api"] .api-plan li,
body[data-service="advertising"] .ad-card-features li {
  position: relative;
  padding-left: 14px;
}

body[data-service="advertising"] .ad-card-features {
  list-style: none;
  padding-left: 0;
}

html[data-visual-style="reference"] body[data-service="api"] .api-plan li::before,
body[data-service="advertising"] .ad-card-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 4px;
  height: 4px;
  background: var(--color-secondary);
}

/* ===== Shared components, as Eva confirmed them on 30.10.2026 (Codex's
   Claude-uleandepakett-2026-10-30-v1, 01-KINNITATUD-REEGLID.txt) ===== */

/* Price sections light grey (#paketid); on Storybook WEB and MINI the questions after them white,
   so two sections in a row don't have the same background */
html[data-visual-style="reference"] body:is([data-page], [data-service]) #paketid {
  background-color: #f2f3f4;
}

html[data-visual-style="reference"] body:is([data-service="web"], [data-service="mini"]) #kkk {
  background-color: #ffffff;
}

/* Content cards: white, no frame, square corners, a soft shadow. A top line that marks
   something (a colour accent) stays. */
html[data-visual-style="reference"] body :is(
  .service-reasons > li, .web-reasons > li, .mini-reasons > li, .crm-benefits > li,
  .badge75-setup-steps > li, .hero-choice .steps > li,
  .web69-features > article, .hosting60-needs > article, .web69-setup-options > article,
  .compare-card, .maint65-column,
  .sibly-domain, .web66-package-help, .hosting60-help, .maint62-extra-work, .monitoring-more,
  .chatgpt-cost-example, .robot-cost-example, .credit-volume-card, .credit-setup-panel,
  .debt-extra-panel, .ad-both
) {
  background-color: #ffffff;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.07);
}

/* Package cards the same; the recommended (middle) package keeps its blue top line */
html[data-visual-style="reference"] body :is(
  .pricing-card, .ad-price-card, .monitoring-plan, .chatgpt-plan, .api-plan, .robot-plan,
  .lists-price-card, .crm-plan, .debt-plan, .credit-rate-card, .badge76-price-card,
  .score79-price-card, .stamp88-price-card, .evul84-price-card, .evul84-free,
  .web-price-panel, .mini-price-panel
) {
  background-color: #ffffff;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.07);
}

/* The other packages' grey top line (the colour of a frame) is not shown. Same specificity as
   the pages' own rules, so the recommended card's blue (:nth-child(2), --base) still wins. */
html[data-visual-style="reference"] .pricing-card,
html[data-visual-style="reference"] body[data-service] :is(.api-plan, .robot-plan, .monitoring-plan, .chatgpt-plan, .lists-price-card) {
  border-top-color: transparent;
}

html[data-visual-style="reference"] body :is(.ad-price-card, .evul84-price-card) {
  border-top: 0;
}

/* The front page's service catalog keeps its look; only the cards' outer frame goes, also when
   hovered or focused (the frame stays 1 px, transparent, so nothing moves). The recommended
   card's blue top (an inset shadow) and the hover shadow stay. */
html[data-visual-style="reference"] body .services-section .service-card,
html[data-visual-style="reference"] body .services-section .service-card:is(:hover, :focus-within) {
  border-color: transparent;
}

/* The grey example note of the ad pages: square corners like the cards */
html[data-visual-style="reference"] body .ad-example-note {
  border-radius: 0;
}

/* The request form: white, square, the same soft shadow */
html[data-visual-style="reference"] body #brand-form:not([data-ir-form]) {
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.07);
}

/* Buttons on a dark surface (hero, dark sections, the header): light turquoise with dark text,
   the colour of "ühest kohast" in the front page's hero. On a white card or form inside a
   dark section the button stays blue (those don't have .cyan). */
html[data-visual-style="reference"] body :is(.hero, .spotlight-copy) .button:not(.button-outline):not(.button-text),
html[data-visual-style="reference"] body .button.cyan:not(.button-outline):not(.button-text),
html[data-visual-style="reference"] body .price-note .price-note-action,
html[data-visual-style="reference"] body .site-header .header-cta.cta-standard {
  background: #83e1f4;
  border-color: #83e1f4;
  color: #082736;
}

html[data-visual-style="reference"] body :is(.hero, .spotlight-copy) .button:not(.button-outline):not(.button-text):hover,
html[data-visual-style="reference"] body .button.cyan:not(.button-outline):not(.button-text):hover,
html[data-visual-style="reference"] body .price-note .price-note-action:hover,
html[data-visual-style="reference"] body .site-header .header-cta.cta-standard:hover {
  background: #b1edf8;
  border-color: #b1edf8;
  color: #082736;
}

/* Colour changes in 180 ms; a button doesn't move or grow when hovered or pressed */
html[data-visual-style="reference"] body :is(.button, .header-cta, .price-note-action, .services-section .detail-link) {
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

html[data-visual-style="reference"] body :is(.button, .header-cta, .price-note-action, .services-section .detail-link):is(:hover, :active) {
  transform: none;
}

/* The hero's pattern 1.4 times as large: the pattern and the blue overlay as layers of their
   own (they were one background), only the pattern scaled. */
html[data-visual-style="reference"] body[data-page="brand"] .hero,
html[data-visual-style="reference"] .hero-choice .hero-background {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: none;
}

html[data-visual-style="reference"] body[data-page="brand"] .hero::before,
html[data-visual-style="reference"] .hero-choice .hero-background::before,
html[data-visual-style="reference"] body[data-page="brand"] .hero::after,
html[data-visual-style="reference"] .hero-choice .hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

html[data-visual-style="reference"] body[data-page="brand"] .hero::before,
html[data-visual-style="reference"] .hero-choice .hero-background::before {
  z-index: -2;
  background: url("../images/ir-bg-front-page.svg") center / cover no-repeat;
  transform: scale(1.4);
}

html[data-visual-style="reference"] body[data-page="brand"] .hero::after,
html[data-visual-style="reference"] .hero-choice .hero-background::after {
  z-index: -1;
  background-image: linear-gradient(100deg, rgba(4, 24, 43, 0.78), rgba(5, 34, 58, 0.58));
}

/* Questions and answers (design-wp.js): the answer opens and closes in 220 ms, the plus turns
   into a minus, the open question, the line beside its answer and the icon turquoise.
   Without JavaScript the questions open as before. */
.ir-faq-answer {
  overflow: hidden;
}

.ir-faq-answer-inner {
  display: flow-root;
}

html[data-visual-style="reference"] body :is(.faq-accordion, [class$="-faq"]) > details[data-ir-expanded="true"] > summary,
html[data-visual-style="reference"] body .faq-light details[data-ir-expanded="true"] .faq-icon {
  color: #14aace;
}

/* While an answer closes, its question is no longer "open" (details[open] gave it blue) */
html[data-visual-style="reference"] body .faq-light details[data-ir-expanded="false"] > summary {
  color: var(--color-on-surface, #1a1b1f);
}

html[data-visual-style="reference"] body :is(.faq-accordion, [class$="-faq"]) > details[data-ir-expanded="false"] > summary:hover {
  color: #0058a8;
}

html[data-visual-style="reference"] body .faq-light details[data-ir-faq-ready] .faq-icon-vertical {
  opacity: 1;
  transform-box: view-box;
  transform-origin: 10px 10px;
  transform: rotate(0deg);
  transition: transform 220ms ease;
}

html[data-visual-style="reference"] body .faq-light details[data-ir-expanded="true"] .faq-icon-vertical {
  transform: rotate(90deg);
}

/* The other pages' questions had a "+" and "−" as text: the same lines, drawn */
html[data-visual-style="reference"] body[data-service] [class$="-faq"] > details[data-ir-faq-ready] > summary::before,
html[data-visual-style="reference"] body[data-service] [class$="-faq"] > details[data-ir-faq-ready] > summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
}

html[data-visual-style="reference"] body[data-service] [class$="-faq"] > details[data-ir-faq-ready] > summary::before {
  transform: rotate(90deg);
  transition: transform 220ms ease;
}

html[data-visual-style="reference"] body[data-service] [class$="-faq"] > details[data-ir-expanded="true"] > summary::before {
  transform: rotate(180deg);
}

/* The answer: its text as before, a turquoise line beside it */
html[data-visual-style="reference"] body .faq-light .ir-faq-answer-inner {
  padding-bottom: 25px;
}

html[data-visual-style="reference"] body .faq-light .ir-faq-answer-inner > p {
  margin: 0 12px;
  padding: 0 40px 0 17px;
  border-left: 2px solid #14aace;
  color: var(--color-on-surface-variant, #44474e);
  font-size: 18px;
  line-height: 1.8;
}

html[data-visual-style="reference"] body [class$="-faq"] .ir-faq-answer-inner {
  padding-bottom: 24px;
}

html[data-visual-style="reference"] body [class$="-faq"] .ir-faq-answer-inner > p {
  margin: 0;
  padding: 0 20px 0 17px;
  border-left: 2px solid #14aace;
}

html[data-visual-style="reference"] body :is(.faq-light, [class$="-faq"]) .ir-faq-answer-inner > p + p {
  padding-top: 0.75em;
}

@media (max-width: 640px) {
  html[data-visual-style="reference"] body .faq-light .ir-faq-answer-inner > p {
    margin: 0 4px;
    padding-right: 4px;
    padding-left: 15px;
  }
}

/* The selected package (design-wp.js): a small pill on the card's top edge, from the choice
   in the request form; the card's size doesn't change. Not the recommended package's line. */
[data-ir-plan-card] {
  position: relative;
}

.ir-plan-status {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 4px 11px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #e8f0f8;
  color: #0058a8;
  font: 600 16px/1.4 "Open Sans", sans-serif;
  white-space: nowrap;
  transform: translateY(-50%);
  visibility: hidden;
}

.ir-plan-status svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
}

[data-ir-plan-card][data-selected="true"] > .ir-plan-status {
  visibility: visible;
}

/* A field in focus: its own border blue, no outline around it (the forms' id rules gave an
   outline 2 px away). An invalid field keeps its red. */
html[data-visual-style="reference"] body :is(#brand-form, #request-form, dialog#summary, dialog#summary-dialog) :is(input:not([type="radio"]):not([type="checkbox"]), select, textarea):is(:focus, :focus-visible) {
  outline: none;
  outline-offset: 0;
  border-color: #0058a8;
  box-shadow: inset 0 0 0 1px #0058a8;
}

html[data-visual-style="reference"] body :is(#brand-form, #request-form) :is(input:not([type="radio"]):not([type="checkbox"]), select, textarea)[aria-invalid="true"]:is(:focus, :focus-visible) {
  border-color: #a12f24;
  box-shadow: inset 0 0 0 1px #a12f24;
}

/* ===== Website page: the hero's temporary design examples (design-wp.js), as tall as the brand
   page's carousel (brand-gallery.css: arrows 44 px, the image 392 x 467 px), the window in the
   images' own 2:3, so no blue bars beside them (400 px = 312 px image + the arrows). The images
   are no links: no pointer cursor, no zoom. ===== */

body[data-service="website"] .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: clamp(36px, 5vw, 70px);
}

.website-gallery {
  width: 100%;
  max-width: 400px;
  min-width: 0;
  justify-self: end;
  color: #d5e7ef;
}

.website-gallery button {
  font-family: var(--heading);
  cursor: pointer;
}

.website-gallery button:focus-visible {
  outline: 3px solid #83e1f4;
  outline-offset: 4px;
}

.website-gallery-window {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  width: 100%;
}

.website-gallery-frame {
  position: relative;
  grid-column: 2;
  touch-action: pan-y;
  aspect-ratio: 2 / 3;
  border: 1px solid #d5e7ef66;
  border-radius: 8px;
  background: #102d48;
  overflow: hidden;
  box-shadow: 0 14px 32px #00000026;
}

.website-gallery-frame img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* The previous image fades out on top of the next one, so no background shows in between */
.website-gallery-frame img.website-gallery-fading {
  position: absolute;
  inset: 0;
  transition: opacity 250ms ease;
}

.website-gallery-frame img.website-gallery-faded {
  opacity: 0;
}

.website-gallery-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #d5e7ef;
}

.website-gallery-arrow:hover {
  background: #ffffff08;
  color: #ffffff;
}

.website-gallery-arrow:last-child {
  grid-column: 3;
}

.website-gallery svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

.website-gallery [hidden] {
  display: none !important;
}

.website-gallery-dots {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-top: 12px;
  padding-inline: 44px;
}

.website-gallery-dot {
  position: relative;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
}

.website-gallery-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: #d5e7ef66;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, background-color 0.2s ease;
}

.website-gallery-dot:hover::before {
  background: #d5e7efb3;
}

.website-gallery-dot[aria-current="true"]::before {
  width: 24px;
  background: #83e1f4;
}

.website-gallery-play {
  position: absolute;
  top: 50%;
  right: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #d5e7ef99;
  transform: translateY(-50%);
}

.website-gallery-play:hover {
  background: #ffffff12;
  color: #ffffff;
}

.website-gallery .website-gallery-play svg {
  width: 16px;
  height: 16px;
}

.website-gallery-caption {
  margin: 8px 0 0;
  padding-inline: 44px;
  color: #c5dce7;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.website-gallery-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1000px) {
  body[data-service="website"] .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .website-gallery {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .website-gallery {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .website-gallery-dot::before {
    transition: none;
  }

  html[data-visual-style="reference"] body .faq-light details[data-ir-faq-ready] .faq-icon-vertical,
  html[data-visual-style="reference"] body[data-service] [class$="-faq"] > details[data-ir-faq-ready] > summary::before {
    transition: none;
  }
}

/* ===== Request forms and the contact section around them (Codex's Inforegister-vormide-naidised-v7,
   Claude-vormide-uleanne-2026-11-02-v1). Only sections with .ir-contact; the form's behaviour is
   in design-forms.js. Left: the introduction, an external button and the start steps; right: the
   white form, 01 the need, 02 the contact details. ===== */

/* The same top and bottom space as the section had (.contact-dark, shared.css): no extra padding */
html[data-visual-style="reference"] .ir-contact {
  padding-block: 80px;
  background: radial-gradient(ellipse at 78% 20%, rgba(20, 170, 206, 0.14), transparent 62%), linear-gradient(125deg, #081d2c, #10344b);
  color: #ffffff;
}

@media (max-width: 1000px) {
  html[data-visual-style="reference"] .ir-contact {
    padding-block: 64px;
  }
}

@media (max-width: 640px) {
  html[data-visual-style="reference"] .ir-contact {
    padding-block: 48px;
  }
}

html[data-visual-style="reference"] .ir-contact-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.85fr);
  gap: clamp(36px, 4.2vw, 64px);
  align-items: start;
}

html[data-visual-style="reference"] .ir-contact-intro {
  min-width: 0;
}

html[data-visual-style="reference"] .ir-contact .eyebrow {
  color: #83e1f4;
}

html[data-visual-style="reference"] .ir-contact-intro h2 {
  max-width: 18ch;
  margin: 20px 0 0;
  color: #ffffff;
  font-size: clamp(29px, 2.65vw, 36px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

html[data-visual-style="reference"] .ir-contact-copy {
  max-width: 42ch;
  margin: 20px 0 0;
  color: #d5e7ef;
  font-size: 17px;
  line-height: 1.8;
}

html[data-visual-style="reference"] .ir-contact-copy a {
  color: #83e1f4;
}

html[data-visual-style="reference"] .ir-contact-route {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

html[data-visual-style="reference"] .ir-contact-route .button {
  max-width: 100%;
}

/* The start steps: number boxes, a line between them that keeps 8 px from both boxes */
html[data-visual-style="reference"] .ir-start-process {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid rgba(131, 225, 244, 0.24);
}

/* Steps straight under the heading (the heading is "Kuidas alustamine käib?") */
html[data-visual-style="reference"] .ir-start-process--plain {
  margin-top: 28px;
  padding-top: 0;
  border-top: 0;
}

html[data-visual-style="reference"] .ir-start-process > h3 {
  margin: 0 0 20px;
  color: #ffffff;
  font: 600 18px/1.5 Montserrat, "Open Sans", sans-serif;
}

html[data-visual-style="reference"] .ir-start-process ol {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

html[data-visual-style="reference"] .ir-start-process li {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

html[data-visual-style="reference"] .ir-start-process li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  bottom: -14px;
  left: 15.5px;
  width: 1px;
  background: rgba(131, 225, 244, 0.24);
  pointer-events: none;
}

html[data-visual-style="reference"] .ir-process-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(131, 225, 244, 0.09);
  color: #83e1f4;
  font: 600 16px/1 Montserrat, "Open Sans", sans-serif;
  font-variant-numeric: tabular-nums;
}

html[data-visual-style="reference"] .ir-start-process h4 {
  margin: 2px 0 5px;
  color: #ffffff;
  font: 600 16px/1.55 Montserrat, "Open Sans", sans-serif;
}

html[data-visual-style="reference"] .ir-start-process li p {
  margin: 0;
  color: #d5e7ef;
  font-size: 16px;
  line-height: 1.7;
}

html[data-visual-style="reference"] .ir-route-note {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(131, 225, 244, 0.24);
  color: #d5e7ef;
  font-size: 16px;
  line-height: 1.75;
}

html[data-visual-style="reference"] .ir-route-note a {
  color: #83e1f4;
}

/* Text for screen readers only ("avaneb uuel vahelehel") */
.ir-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* The white form card */
html[data-visual-style="reference"] .ir-form-card {
  min-width: 0;
  padding: 32px 36px 28px;
  background: #ffffff;
  color: #1a1b1f;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.07);
}

html[data-visual-style="reference"] .ir-form-context {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 23px;
  border-bottom: 1px solid #dce3e8;
  color: #0058a8;
  font: 600 15px/1.6 Montserrat, "Open Sans", sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

html[data-visual-style="reference"] .ir-form-context--selection {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

html[data-visual-style="reference"] .ir-form-context > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

html[data-visual-style="reference"] .ir-form-context svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
}

html[data-visual-style="reference"] .ir-form-context .ir-selection {
  gap: 14px;
}

html[data-visual-style="reference"] .ir-selection-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f0f8;
  color: #0058a8;
  font: 600 16px/1.6 "Open Sans", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

html[data-visual-style="reference"] .ir-form-context .ir-selection-pill svg {
  width: 17px;
  height: 17px;
}

html[data-visual-style="reference"] .ir-text-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #0058a8;
  font: 600 16px/1.5 "Open Sans", sans-serif;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

html[data-visual-style="reference"] .ir-text-button:hover {
  color: #074b87;
}

html[data-visual-style="reference"] .ir-contact :is(#brand-form, #request-form) {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

html[data-visual-style="reference"] .ir-plan-editor {
  padding-top: 24px;
}

html[data-visual-style="reference"] .ir-plan-editor .ir-field:last-child {
  margin-bottom: 0;
}

html[data-visual-style="reference"] .ir-form-heading {
  margin: 28px 0 24px;
}

html[data-visual-style="reference"] .ir-form-heading h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  color: #1a1b1f;
  font: 600 22px/1.4 Montserrat, "Open Sans", sans-serif;
}

html[data-visual-style="reference"] .ir-form-heading h3 span {
  color: #0058a8;
  font: inherit;
  font-variant-numeric: tabular-nums;
}

html[data-visual-style="reference"] .ir-form-heading > p {
  margin: 7px 0 0;
  color: #526b7e;
  font-size: 16px;
  line-height: 1.6;
}

html[data-visual-style="reference"] .ir-contacts-heading {
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid #dce3e8;
}

/* Fields */
html[data-visual-style="reference"] .ir-field {
  min-width: 0;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

html[data-visual-style="reference"] .ir-contact .ir-field :is(label, legend) {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  color: #1a1b1f;
  font: 600 16px/1.6 "Open Sans", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

html[data-visual-style="reference"] .ir-required-mark {
  color: #526b7e;
  font-weight: 400;
}

html[data-visual-style="reference"] .ir-hint {
  margin: -2px 0 10px;
  color: #526b7e;
  font-size: 16px;
  line-height: 1.65;
}

html[data-visual-style="reference"] .ir-contact :is(#brand-form, #request-form) .ir-field :is(input:not([type="radio"]):not([type="checkbox"]), select, textarea) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #9cabb9;
  border-radius: 0;
  background-color: #ffffff;
  box-shadow: none;
  color: #1a1b1f;
  font: 400 16px/1.65 "Open Sans", sans-serif;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

html[data-visual-style="reference"] .ir-contact :is(#brand-form, #request-form) .ir-field textarea {
  min-height: 104px;
  resize: vertical;
}

/* A native select: its arrow 20 px, 14 px from the right edge, the text at least 48 px from it */
html[data-visual-style="reference"] .ir-contact :is(#brand-form, #request-form) .ir-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 48px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%231a1b1f%22%20d%3D%22M7.41%208.59%2012%2013.17l4.59-4.58L18%2010l-6%206-6-6z%22%2F%3E%3C%2Fsvg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  cursor: pointer;
}

html[data-visual-style="reference"] .ir-contact :is(#brand-form, #request-form) .ir-field :is(input:not([type="radio"]):not([type="checkbox"]), select, textarea):hover {
  border-color: #5a7c96;
}

html[data-visual-style="reference"] .ir-contact :is(#brand-form, #request-form) .ir-field :is(input:not([type="radio"]):not([type="checkbox"]), select, textarea)[aria-invalid="true"] {
  border-color: #a12f24;
  background-color: #ffffff;
}

html[data-visual-style="reference"] .ir-error {
  margin: 7px 0 0;
  color: #a12f24;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

/* Fields side by side (region and landing page, package and payment) */
html[data-visual-style="reference"] .ir-fields-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}

html[data-visual-style="reference"] .ir-fields-row > .ir-field {
  margin-bottom: 0;
}

/* One of the two is hidden (a field of another answer): the other takes the whole row */
html[data-visual-style="reference"] .ir-fields-row:has(> [hidden]) {
  grid-template-columns: minmax(0, 1fr);
}

html[data-visual-style="reference"] .ir-fields-row:not(:has(> :not([hidden]))) {
  display: none;
}

/* Radio and check choices as boxes */
html[data-visual-style="reference"] .ir-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

html[data-visual-style="reference"] .ir-choice-grid--one {
  grid-template-columns: minmax(0, 1fr);
}

html[data-visual-style="reference"] .ir-choice-grid--two,
html[data-visual-style="reference"] .ir-choice-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1161px) {
  html[data-visual-style="reference"] .ir-choice-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

html[data-visual-style="reference"] .ir-contact .ir-field .ir-choice {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 64px;
  margin: 0;
  padding: 12px 10px;
  border: 1px solid #b8c7d3;
  background: #ffffff;
  color: #1a1b1f;
  font: 400 16px/1.5 "Open Sans", sans-serif;
  cursor: pointer;
}

html[data-visual-style="reference"] .ir-choice input {
  flex: none;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  accent-color: #0058a8;
}

html[data-visual-style="reference"] .ir-contact .ir-field .ir-choice:hover {
  border-color: #0058a8;
}

html[data-visual-style="reference"] .ir-contact .ir-field .ir-choice:has(input:checked) {
  border-color: #0058a8;
  background: #edf4fa;
}

html[data-visual-style="reference"] .ir-contact .ir-field .ir-choice:has(input:focus-visible) {
  border-color: #0058a8;
  box-shadow: inset 0 0 0 1px #0058a8;
}

html[data-visual-style="reference"] .ir-choice input:focus-visible {
  outline: none;
}

html[data-visual-style="reference"] .ir-contact .ir-field[data-invalid="true"] .ir-choice {
  border-color: #a12f24;
}

/* Optional extras behind a "+" */
html[data-visual-style="reference"] .ir-additional {
  margin: 2px 0 24px;
}

html[data-visual-style="reference"] .ir-additional:has(+ .ir-additional) {
  margin-bottom: 8px;
}

html[data-visual-style="reference"] .ir-contact .ir-additional > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding-block: 6px;
  color: #0058a8;
  font: 600 16px/1.6 "Open Sans", sans-serif;
  list-style: none;
  cursor: pointer;
}

html[data-visual-style="reference"] .ir-additional > summary::-webkit-details-marker {
  display: none;
}

html[data-visual-style="reference"] .ir-additional > summary svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  transition: transform 180ms ease;
}

html[data-visual-style="reference"] .ir-additional[open] > summary svg {
  transform: rotate(45deg);
}

html[data-visual-style="reference"] .ir-additional-body {
  padding-top: 16px;
}

html[data-visual-style="reference"] .ir-additional-body > .ir-field:last-child {
  margin-bottom: 0;
}

/* The contact details: four in a row; two, then one, where they don't fit */
html[data-visual-style="reference"] .ir-contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

html[data-visual-style="reference"] .ir-contacts-grid > .ir-field {
  margin-bottom: 0;
}

/* A long company label ("Ettevõtte nimi või registrikood"): two in a row, so labels don't meet */
html[data-visual-style="reference"] .ir-contacts-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-visual-style="reference"] .ir-contact .ir-contacts-grid label {
  white-space: nowrap;
}

html[data-visual-style="reference"] .ir-contact :is(#brand-form, #request-form) .ir-contacts-grid input {
  padding-inline: 9px;
}

html[data-visual-style="reference"] .ir-form-end {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  margin-top: 28px;
}

html[data-visual-style="reference"] .ir-form-end > p {
  margin: 0;
  color: #526b7e;
  font-size: 16px;
  line-height: 1.7;
}

html[data-visual-style="reference"] .ir-form-end a {
  color: #0058a8;
  white-space: nowrap;
}

html[data-visual-style="reference"] .ir-contact :is(#brand-form, #request-form) .ir-form-end > .button {
  align-self: flex-end;
  width: auto;
  margin: 0;
}

/* The ad pages: the chosen volumes' price under the portal choice */
html[data-visual-style="reference"] .ir-selection-total {
  margin: -8px 0 24px;
  padding: 12px 16px;
  background: #e8f0f8;
  color: #1a1b1f;
}

html[data-visual-style="reference"] .ir-selection-total p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

html[data-visual-style="reference"] .ir-selection-total .ir-hint {
  margin: 4px 0 0;
}

html[data-visual-style="reference"] .ir-error-summary {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-left: 3px solid #a12f24;
  background: #fff3f0;
  color: #a12f24;
}

html[data-visual-style="reference"] .ir-error-summary > p {
  margin: 0;
  font-weight: 700;
}

html[data-visual-style="reference"] .ir-error-summary ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

html[data-visual-style="reference"] .ir-error-summary a {
  color: #a12f24;
}

/* The summary window of these forms */
html[data-visual-style="reference"] dialog:is(#summary, #summary-dialog).ir-summary dl > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #e0e6eb;
}

/* The window's title gets the focus when it opens (for screen readers), without a frame */
html[data-visual-style="reference"] dialog.ir-summary h2[tabindex="-1"]:focus {
  outline: none;
}

html[data-visual-style="reference"] dialog:is(#summary, #summary-dialog).ir-summary dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 1160px) {
  html[data-visual-style="reference"] .ir-contact-grid {
    grid-template-columns: minmax(225px, 0.72fr) minmax(0, 1.7fr);
    gap: 32px;
  }

  html[data-visual-style="reference"] .ir-form-card {
    padding: 28px;
  }

  html[data-visual-style="reference"] .ir-contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  html[data-visual-style="reference"] .ir-contact :is(#brand-form, #request-form) .ir-form-end > .button {
    align-self: stretch;
  }
}

/* One column: the introduction and steps above the form, the steps side by side */
@media (max-width: 900px) {
  html[data-visual-style="reference"] .ir-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  html[data-visual-style="reference"] .ir-contact-intro h2 {
    max-width: 26ch;
  }

  html[data-visual-style="reference"] .ir-contact-copy,
  html[data-visual-style="reference"] .ir-route-note {
    max-width: 64ch;
  }

  html[data-visual-style="reference"] .ir-start-process {
    margin-top: 28px;
  }

  html[data-visual-style="reference"] .ir-start-process ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  html[data-visual-style="reference"] .ir-start-process li {
    display: block;
  }

  html[data-visual-style="reference"] .ir-process-number {
    margin-bottom: 10px;
  }

  html[data-visual-style="reference"] .ir-start-process li:not(:last-child)::after {
    top: 15.5px;
    right: -16px;
    bottom: auto;
    left: 40px;
    width: auto;
    height: 1px;
  }

  html[data-visual-style="reference"] .ir-start-process h4 {
    margin-bottom: 7px;
  }

  html[data-visual-style="reference"] .ir-form-card {
    padding: 32px;
  }

  html[data-visual-style="reference"] .ir-contact :is(#brand-form, #request-form) .ir-form-end > .button {
    align-self: flex-end;
  }
}

@media (max-width: 650px) {
  html[data-visual-style="reference"] .ir-contact-intro h2 {
    font-size: 30px;
  }

  html[data-visual-style="reference"] .ir-start-process ol {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  html[data-visual-style="reference"] .ir-start-process li {
    display: grid;
  }

  html[data-visual-style="reference"] .ir-process-number {
    margin-bottom: 0;
  }

  html[data-visual-style="reference"] .ir-start-process li:not(:last-child)::after {
    top: 40px;
    right: auto;
    bottom: -12px;
    left: 15.5px;
    width: 1px;
    height: auto;
  }

  html[data-visual-style="reference"] .ir-start-process h4 {
    margin: 2px 0 5px;
  }

  html[data-visual-style="reference"] .ir-form-card {
    padding: 24px 20px;
  }

  html[data-visual-style="reference"] .ir-form-context--selection {
    align-items: start;
  }

  html[data-visual-style="reference"] .ir-form-context .ir-selection {
    justify-content: space-between;
    width: 100%;
  }

  html[data-visual-style="reference"] .ir-choice-grid,
  html[data-visual-style="reference"] .ir-fields-row {
    grid-template-columns: minmax(0, 1fr);
  }

  html[data-visual-style="reference"] .ir-contact .ir-field .ir-choice {
    min-height: 48px;
  }

  html[data-visual-style="reference"] .ir-contacts-grid {
    gap: 18px 12px;
  }

  html[data-visual-style="reference"] .ir-contact :is(#brand-form, #request-form) .ir-form-end > .button {
    align-self: stretch;
  }

  html[data-visual-style="reference"] dialog:is(#summary, #summary-dialog).ir-summary dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 12px 0;
  }
}

@media (max-width: 420px) {
  html[data-visual-style="reference"] .ir-contacts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  html[data-visual-style="reference"] .ir-form-heading h3 {
    font-size: 21px;
  }

  html[data-visual-style="reference"] .ir-form-card {
    padding: 22px 18px;
  }
}

@media (forced-colors: active) {
  html[data-visual-style="reference"] .ir-contact :is(#brand-form, #request-form) .ir-field select {
    appearance: auto;
    -webkit-appearance: auto;
    padding-inline-end: 12px;
    background-image: none;
  }
}

/* ===== Cookie banner ===== */

.cookie-consent {
  position: fixed;
  z-index: 50;
  bottom: 16px;
  left: 16px;
  width: calc(100% - 32px);
  max-width: 560px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #ccd8e4;
  border-top: 3px solid #14aace;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(8, 28, 48, 0.22);
  color: #1a1b1f;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent p {
  margin: 0;
  font-size: 18px;
  color: #44474e;
}

.cookie-consent__heading {
  margin: 0 0 10px;
  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: 20px;
  color: #1a1b1f;
}

.cookie-consent__detail-wrapper {
  margin-top: 16px;
}

.cookie-consent__detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 30vh;
  overflow: auto;
}

.cookie-consent__cookie + .cookie-consent__cookie {
  margin-top: 12px;
}

.cookie-consent__cookie-name {
  font-weight: 600;
}

.cookie-consent__cookie-properties {
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
  margin: 0;
  font-size: 17px;
  color: #44474e;
}

.cookie-consent__cookie-property {
  display: flex;
  gap: 4px;
}

.cookie-consent__cookie-property:not(:last-child)::after {
  content: "|";
}

.cookie-consent__cookie-property-term {
  position: absolute;
  font-size: 0;
}

.cookie-consent__cookie-property-desc {
  margin: 0;
  font-weight: 600;
}

.cookie-consent__version {
  margin-top: 10px;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.cookie-consent__version-text::after {
  content: ":";
}

.cookie-consent__button-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.cookie-consent__button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #0058a8;
  border-radius: 5px;
  background: #ffffff;
  color: #0058a8;
  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-consent__button:hover {
  background: #e3f5f9;
}

.cookie-consent__button.-accept-all {
  order: 3;
  background: #0058a8;
  color: #ffffff;
}

.cookie-consent__button.-accept-all:hover {
  background: #004581;
}

.cookie-consent__button.-necessary {
  order: 2;
}

/* ===== "Seotud teenused" (parts/related-services.php, inc/related-services.php): the last section of a
   service page, between the dark request form and the dark footer, so it is light. The cards look like
   the pages' own text cards (section 01): white, square corners, no border, the soft shadow, 20 px
   heading, 18 px grey text; "Tutvu teenusega" like the pages' links to other pages (16 px, underlined,
   18 px arrow). The heading's link covers the card, so the whole card can be clicked. ===== */
html[data-visual-style="reference"] .ir-related {
  padding-block: 80px;
  background: #f2f3f4;
}

@media (max-width: 1000px) {
  html[data-visual-style="reference"] .ir-related {
    padding-block: 64px;
  }
}

@media (max-width: 640px) {
  html[data-visual-style="reference"] .ir-related {
    padding-block: 48px;
  }
}

html[data-visual-style="reference"] .ir-related-head {
  max-width: 760px;
  margin-bottom: 32px;
}

html[data-visual-style="reference"] .ir-related-head h2 {
  margin: 0;
}

html[data-visual-style="reference"] .ir-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

html[data-visual-style="reference"] .ir-related-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
}

@media (max-width: 900px) {
  html[data-visual-style="reference"] .ir-related-grid,
  html[data-visual-style="reference"] .ir-related-grid--2 {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
  }
}

html[data-visual-style="reference"] .ir-related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.07);
}

html[data-visual-style="reference"] .ir-related-card:has(a:focus-visible) {
  outline: 3px solid #0058a8;
  outline-offset: 3px;
}

html[data-visual-style="reference"] .ir-related-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

html[data-visual-style="reference"] .ir-related-card h3 a {
  color: inherit;
  text-decoration: none;
}

html[data-visual-style="reference"] .ir-related-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

html[data-visual-style="reference"] .ir-related-card h3 a:focus-visible {
  outline: none;
}

html[data-visual-style="reference"] .ir-related-card p {
  flex: 1;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-on-surface-variant, #44474e);
}

html[data-visual-style="reference"] .ir-related-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary, #0058a8);
  text-decoration: underline;
  text-underline-offset: 4px;
}

html[data-visual-style="reference"] .ir-related-more svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  html[data-visual-style="reference"] .ir-related-card {
    padding: 24px;
  }
}

/* ===== Front page catalog on a phone (up to 640 px, one card per row). home.js gives every card the
   height of the tallest one (inline min-heights and grid-auto-rows), which matters only side by side:
   in one column it left about 100 px of empty space in most cards. And the six category buttons took
   four rows: now they stay on one row that scrolls sideways. ===== */
@media (max-width: 640px) {
  html[data-visual-style="reference"] .services-section .service-grid {
    grid-auto-rows: auto !important;
  }

  html[data-visual-style="reference"] .services-section .service-grid > .service-card :is(.card-intro, .price-line, .price-condition, .request-link) {
    min-height: 0 !important;
  }

  html[data-visual-style="reference"] .services-section .catalog-toolbar .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-block: 3px;
    scroll-padding-inline: 3px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  html[data-visual-style="reference"] .services-section .catalog-toolbar .filters button {
    flex: none;
  }
}

/* The brand page's audience figures ("1 000 000") stay on one line on a phone. */
html[data-visual-style="reference"] .bj-statistics strong {
  white-space: nowrap;
}

/* ===== Eyebrows (the label above a section heading), agreed 9.11.2026: one style on every design
   page, the front page too. Eva chose the brand page's 03 eyebrow (.bs-eyebrow) at 16 px: Montserrat
   600 16px, letter spacing .08em, no dot. Colours stay as the pages set them: blue #0058a8 on light,
   #83e1f4 on dark surfaces. Page CSS had other sizes (front page 18 px, Google profile 17/18 px, trust
   badge and ad pages 18 px), brand.css adds a dot (.eyebrow::before), and the brand page's .bj-eyebrow
   rule is broken in brand-page.css ("$115px" instead of "font:600 15px"); this overrides them all. ===== */
html[data-visual-style="reference"] main :is(.eyebrow, .bj-eyebrow, .bs-eyebrow, .bp-eyebrow) {
  font-family: Montserrat, "Open Sans", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
}

html[data-visual-style="reference"] main :is(.eyebrow, .bj-eyebrow, .bs-eyebrow, .bp-eyebrow)::before {
  content: none !important;
}

html[data-visual-style="reference"] .bj-demo .bj-hero .bj-eyebrow {
  color: #83e1f4;
}

/* The front page catalog's eyebrow was #006d96; on light surfaces eyebrows are #0058a8. */
html[data-visual-style="reference"] main .services-section .eyebrow {
  color: #0058a8;
}

/* ===== Fonts as WOFF2 (10.11.2026). The same Open Sans and Montserrat as fonts.css loads, converted
   from TTF to WOFF2 and limited to Latin (Basic, Latin-1, Extended A and B), punctuation, currency,
   arrows, maths, shapes and dingbats: every character the pages use is in them, and the files are
   about 82 % smaller (987 KB -> 176 KB). These rules come after fonts.css with the same family,
   weight and style, so the browser uses them and doesn't download the TTF files. ===== */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* The front page catalog's "Tutvu teenusega" is a link to the service page (design-wp.js),
   not the design's button: the same look, no underline. */
a.detail-link,
a.detail-link:hover {
  text-decoration: none;
}

/* ===== Service figures (Codex handoff v3, 10.11.2026), the look of the brand page's strip
   (.bj-statistics): the figure in Montserrat 700, then a short name and an explanation, 16 px.
   .ir-stats: three figures in a white strip after the hero (majutus ja ärimeil).
   .ir-fact: one figure in the hero's action area (koduleht, krediidihaldus), on the dark hero.
   Static text, no links or animation. The source is in data-source and data-checked. */
html[data-visual-style="reference"] .ir-stats {
  background: #fff;
  border-bottom: 1px solid #d5dfe5;
}

html[data-visual-style="reference"] .ir-stats ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 28px 0;
  list-style: none;
}

html[data-visual-style="reference"] .ir-stats li {
  min-width: 0;
  margin: 0;
  padding: 0 32px;
  border-left: 1px solid #d5dfe5;
}

html[data-visual-style="reference"] .ir-stats li:first-child {
  padding-left: 0;
  border-left: 0;
}

html[data-visual-style="reference"] .ir-stats strong {
  display: block;
  font: 700 30px/1.3 Montserrat, sans-serif;
  color: #0058a8;
  white-space: nowrap;
}

html[data-visual-style="reference"] .ir-stats-label {
  display: block;
  margin-top: 5px;
  font: 600 16px/1.5 "Open Sans", sans-serif;
  color: #1a1b1f;
}

html[data-visual-style="reference"] .ir-stats-note {
  display: block;
  margin-top: 2px;
  font: 400 16px/1.6 "Open Sans", sans-serif;
  color: #4e6273;
}

@media (max-width: 1000px) {
  html[data-visual-style="reference"] .ir-stats li {
    padding: 0 20px;
  }

  html[data-visual-style="reference"] .ir-stats strong {
    font-size: 25px;
  }
}

@media (max-width: 700px) {
  html[data-visual-style="reference"] .ir-stats ul {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 0;
  }

  html[data-visual-style="reference"] .ir-stats li,
  html[data-visual-style="reference"] .ir-stats li:first-child {
    padding: 0;
    border: 0;
  }
}

html[data-visual-style="reference"] .ir-fact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  max-width: 560px;
  margin: 28px 0 0;
}

html[data-visual-style="reference"] .ir-fact strong {
  font: 700 28px/1.3 Montserrat, sans-serif;
  color: #83e1f4;
  white-space: nowrap;
}

html[data-visual-style="reference"] .ir-fact > span {
  flex: 1 1 220px;
  min-width: 0;
}

html[data-visual-style="reference"] .ir-fact-label {
  display: block;
  font: 600 16px/1.5 "Open Sans", sans-serif;
  color: #fff;
}

html[data-visual-style="reference"] .ir-fact-note {
  display: block;
  font: 400 16px/1.6 "Open Sans", sans-serif;
  color: #d5e7ef;
}

@media (max-width: 700px) {
  html[data-visual-style="reference"] .ir-fact strong {
    font-size: 25px;
  }
}

/* The brand page's questions (#faq-list, in the page HTML since 10.11.2026): the same +/- icon as
   the other pages instead of the browser's triangle. Opening and closing, the turquoise open
   question and the line beside the answer come from the shared rules above. */
html[data-visual-style="reference"] .page-brandijuhtimine #faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-right: 4px;
  list-style: none;
}

html[data-visual-style="reference"] .page-brandijuhtimine #faq-list summary::-webkit-details-marker {
  display: none;
}

html[data-visual-style="reference"] .page-brandijuhtimine #faq-list summary::marker {
  content: "";
}

html[data-visual-style="reference"] .page-brandijuhtimine #faq-list details[data-ir-expanded="false"] > summary:not(:hover) {
  color: #192a35;
}

html[data-visual-style="reference"] .page-brandijuhtimine #faq-list .faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 20px;
  height: 20px;
  color: #007ba6;
}

html[data-visual-style="reference"] .page-brandijuhtimine #faq-list details[data-ir-expanded="true"] .faq-icon {
  color: #14aace;
}

html[data-visual-style="reference"] .page-brandijuhtimine #faq-list .faq-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

html[data-visual-style="reference"] .page-brandijuhtimine #faq-list .faq-icon-vertical {
  transform-box: view-box;
  transform-origin: 10px 10px;
  transition: transform 220ms ease;
}

html[data-visual-style="reference"] .page-brandijuhtimine #faq-list details[data-ir-expanded="true"] .faq-icon-vertical {
  transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
  html[data-visual-style="reference"] .page-brandijuhtimine #faq-list .faq-icon-vertical {
    transition: none;
  }
}

/* 1CONTACT CRM (10.11.2026, after 1contact.ee/hinnastus): one base package and its add-ons side by
   side, in the page's own card style. */
@media (min-width: 761px) {
  html[data-visual-style="reference"] body[data-service="crm"] .crm-plans--base {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

html[data-visual-style="reference"] body[data-service="crm"] .crm-plan .crm-price-unit strong {
  color: #0058a8;
  white-space: nowrap;
}

html[data-visual-style="reference"] body[data-service="crm"] .crm-addon-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 0;
  font-size: 14px;
  color: #425a6c;
}

html[data-visual-style="reference"] body[data-service="crm"] .crm-plan .crm-addon-list {
  margin-top: 8px;
}

html[data-visual-style="reference"] body[data-service="crm"] .crm-addon-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

html[data-visual-style="reference"] body[data-service="crm"] .crm-addon-list small {
  display: block;
  font-size: 14px;
  color: #425a6c;
}

html[data-visual-style="reference"] body[data-service="crm"] .crm-addon-list strong {
  flex: none;
  color: #0058a8;
  white-space: nowrap;
}

/* The brand page's "Valitud pakett" bar at the bottom of the screen: the back-to-top button sits
   above it (design-wp.js sets --ir-bottom-bar to the bar's height while it shows). */
html[data-visual-style="reference"] .back-top {
  margin-bottom: var(--ir-bottom-bar, 0px);
}

/* ===== Hero text sizes, one scale on every service page (10.11.2026, Eva). The other service pages'
   hero (brand.css .hero) is the measure: heading clamp(35px, 4vw, 56px), on a phone clamp(30px, 8.7vw,
   40px); lead 18 px; button 16 px; text link 16 px Open Sans 400; small line and image caption 16 px;
   crumbs 16 px (were 15 px on half of the pages). The brand page's hero (brand-page.css .bj-hero) had
   44/34 px, 19/17 px and 15 px. */
html[data-visual-style="reference"] main :is(.crumbs, .bj-crumb) {
  font-size: 16px;
}

html[data-visual-style="reference"] .bj-demo .bj-hero h1 {
  font-size: clamp(35px, 4vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

html[data-visual-style="reference"] .bj-demo .bj-hero .bj-hero-copy {
  font-size: 18px;
  line-height: 1.65;
}

html[data-visual-style="reference"] .bj-demo .bj-hero .bj-btn {
  font-size: 16px;
  line-height: 1.5;
}

html[data-visual-style="reference"] .bj-demo .bj-hero .bj-hero-link {
  font: 400 16px/1.75 "Open Sans", sans-serif;
}

html[data-visual-style="reference"] .bj-demo .bj-hero :is(.bj-hero-foot, .bj-hero-example-caption) {
  font-size: 16px;
  line-height: 1.7;
}

html[data-visual-style="reference"] body[data-service="google"] .hero figcaption {
  font-size: 16px;
}

/* 1CONTACT CRM's heading was clamp(34px, 3.6vw, 50px), 32 px on a phone. */
html[data-visual-style="reference"] body[data-service="crm"] .hero h1 {
  font-size: clamp(35px, 4vw, 56px);
  line-height: 1.14;
}

@media (max-width: 650px) {
  html[data-visual-style="reference"] :is(.bj-demo .bj-hero, body[data-service="crm"] .hero) h1 {
    font-size: clamp(30px, 8.7vw, 40px);
  }
}

/* ===== Pre-launch polish (11.11.2026, Codex "Claude-avaldamiseelne-viimistlus-2026-11-11-v1") ===== */

/* Section headings: one scale. A content section's h2 follows shared.css --section-title-size: 40 px,
   36 px up to 1000 px, 32 px up to 640 px. Ten pages set every h2 to clamp(28px, 3vw, 40px) and 28 px
   on a phone; the website and hosting pages' #sisaldab and #arimeil used clamp(30px, 3vw, 40px) and
   weight 600; the brand page's sections 36/28 px. Windows, forms, figures and cards keep their own
   headings (their more specific rules still win), and so does the contact section (below). */
html[data-visual-style="reference"] body:is([data-service="api"], [data-service="chatgpt-ads"], [data-service="credit"], [data-service="crm"], [data-service="debt"], [data-service="monitoring"], [data-service="robot"], [data-service="mini"], [data-service="web"], [data-service="lists"]) h2:where(:not(dialog h2, form h2, figure h2, article h2, .ir-contact-intro h2)) {
  font-size: var(--section-title-size, 40px);
}

html[data-visual-style="reference"] body:is([data-service="website"], [data-service="hosting"]) :is(#sisaldab, #arimeil) h2:where(:not(dialog h2, form h2, figure h2, article h2)) {
  font-size: var(--section-title-size, 40px);
  font-weight: 700;
}

html[data-visual-style="reference"] .bj-demo .bj-section h2 {
  font-size: var(--section-title-size, 40px);
}

/* The contact section's heading is the shared contact component's on every page (it followed the
   ten pages' h2 rule there). */
html[data-visual-style="reference"] body main .ir-contact .ir-contact-intro h2 {
  font-size: clamp(29px, 2.65vw, 36px);
}

@media (max-width: 650px) {
  html[data-visual-style="reference"] body main .ir-contact .ir-contact-intro h2 {
    font-size: 30px;
  }
}

/* Buttons: the usual CTA is 52 px (12 px padding, 1 px border, 24 px line). The credit score page's
   package and check buttons had 13 px padding (54 px); the front page's "Näita kõiki teenuseid" had a
   31 px arrow circle (57 px): the circle is 26 px like the count beside it. */
html[data-visual-style="reference"] body[data-service="score"] :is(.score79-price-card, .score82-check-actions) .button {
  padding-block: 12px;
}

html[data-visual-style="reference"] .services-section #show-more .show-more-icon {
  width: 26px;
  height: 26px;
}

/* Links on the contact section's dark side (left of the white form card) use the light accent, like
   the copy's links; the form card's own links (privacy) stay as they are. */
html[data-visual-style="reference"] .ir-contact .ir-contact-intro a:not(.button) {
  color: #83e1f4;
  text-decoration: underline;
  text-underline-offset: 4px;
}

html[data-visual-style="reference"] .ir-contact .ir-contact-intro a:not(.button):hover {
  color: #ffffff;
}

html[data-visual-style="reference"] .ir-contact .ir-contact-intro a:not(.button):focus-visible {
  outline: 2px solid #83e1f4;
  outline-offset: 3px;
}

/* The brand page's "Teenuse sisu" and "Paketid" headings have their own classes (36/30/28 px): the same
   section scale as the other headings. */
html[data-visual-style="reference"] .bj-demo #sisaldab .bs-section-title,
html[data-visual-style="reference"] .bj-demo #paketid .pricing-title {
  font-size: var(--section-title-size, 40px);
}

/* Three price cards side by side are narrow between 851 and 1180 px: a little less card and button
   padding keeps labels like "Vaata paketti Siblys" on one line (the font stays 16 px). */
@media (min-width: 851px) and (max-width: 1180px) {
  html[data-visual-style="reference"] .service-pricing-grid--three .pricing-card {
    padding-inline: 22px;
  }

  html[data-visual-style="reference"] .service-pricing-grid--three .pricing-card__action .button {
    padding-inline: 16px;
    gap: 10px;
  }
}

@media (min-width: 851px) and (max-width: 1000px) {
  html[data-visual-style="reference"] .service-pricing-grid--three .pricing-card {
    padding-inline: 18px;
  }

  html[data-visual-style="reference"] .service-pricing-grid--three .pricing-card__action .button {
    padding-inline: 14px;
  }
}

/* On a phone a long Estonian word in a 32 px heading can be wider than the screen ("maksekokkulepeteni."
   on krediidihaldus, 11.11.2026): headings may hyphenate there, as a last resort break the word. */
@media (max-width: 640px) {
  html[data-visual-style="reference"] main :is(h2, h3) {
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  /* The credit page's content column (1fr) grew to the long word's width and the page scrolled
     sideways: the column is never wider than the screen. */
  html[data-visual-style="reference"] body[data-service="credit"] .credit-service-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
