/* GavrilovX.com — light throughout: paper, white, ink. The signal blue belongs to the logo alone.
   Two fonts: Space Grotesk (logo, headlines, buttons, prices, small labels) and Roboto (running text).
   Nothing is loaded from another server: fonts, icons and pictures are in /assets/. */

@font-face { font-family: "Space Grotesk"; src: url(/assets/fonts/space-grotesk.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url(/assets/fonts/roboto.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url(/assets/fonts/roboto-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --paper: #f5f2ea;
  --paper-soft: #faf8f4;
  --white: #ffffff;
  --ink: #14181f;
  --blue: #0aa6ff;
  --muted: rgba(20, 24, 31, .7);
  --line: rgba(20, 24, 31, .14);
  --line-strong: rgba(20, 24, 31, .3);
  --display: "Space Grotesk", system-ui, sans-serif;
  --text: "Roboto", system-ui, sans-serif;
  --radius: 14px;
  --wrap: 70rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
/* No single word alone on a paragraph's last line, where the browser can do it (others break lines as before) */
p { text-wrap: pretty; }
/* Headings of several lines: lines of about the same length, so none ends in a single word */
h1, h2, h3 { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 5.4vw, 3.5rem); }
h2 { font-size: clamp(1.625rem, 3.4vw, 2.375rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 48rem; }
.center { text-align: center; }
.eyebrow { font-family: var(--display); font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); margin-top: 1rem; max-width: 44rem; }
/* A centered text: lines of about the same width, as in the closing call (a short last line looks lost) */
.center .lead { margin-left: auto; margin-right: auto; text-wrap: balance; }
.note { font-size: .9375rem; color: var(--muted); margin-top: 1.25rem; }
.note:empty, .lead:empty, .eyebrow:empty { display: none; }

/* The wordmark: "Gavrilov" and the X */
.wordmark { display: inline-flex; align-items: center; font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.wordmark .x { width: .78em; height: .78em; margin-left: .02em; position: relative; top: .05em; overflow: visible; }
.x-top { fill: var(--blue); stroke: var(--blue); }
.x-bottom { fill: var(--ink); stroke: var(--ink); }
.x polygon { stroke-width: 0; }
.logo { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.logo .wordmark { font-size: 1.5rem; }

/* Header and menu */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245, 242, 234, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.site-nav { display: flex; align-items: center; gap: .25rem 1.5rem; flex-wrap: wrap; font-size: .9375rem; font-weight: 500; }
.site-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { text-decoration: underline; }
.lang { display: inline-flex; gap: .25rem; font-family: var(--display); font-size: .8125rem; font-weight: 500; }
.lang a { min-width: 2.75rem; justify-content: center; color: var(--muted); }
.lang a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.menu-toggle { display: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--line-strong); border-radius: 10px; background: none; color: var(--ink); cursor: pointer; }
.menu-toggle span { display: block; width: 1.25rem; height: 1.25rem; margin: auto; background: currentColor; -webkit-mask: url(/assets/icons/menu.svg) center / contain no-repeat; mask: url(/assets/icons/menu.svg) center / contain no-repeat; }
.open .menu-toggle span { -webkit-mask-image: url(/assets/icons/x.svg); mask-image: url(/assets/icons/x.svg); }
@media (max-width: 63.99rem) {
  /* The logo row keeps its space above and below also when the menu opens under it: with the menu on a second line
     the row is only as tall as the logo, so the space is padding here, not the bar's minimum height. No gap between
     the two lines: the open menu's first line then sits exactly where the closed bar's bottom line was. */
  .header-inner { flex-wrap: wrap; row-gap: 0; min-height: 0; padding-top: .625rem; padding-bottom: .625rem; }
  .js .menu-toggle { display: block; }
  .site-nav { width: 100%; }
  .js .site-nav { display: none; flex-direction: column; align-items: stretch; gap: 0; margin-top: .625rem; padding-bottom: .375rem; }
  .js .open .site-nav { display: flex; }
  .js .site-nav a { min-height: 3rem; border-top: 1px solid var(--line); }
  .js .site-nav .btn { margin-top: .75rem; justify-content: center; border-top: 0; }
  .js .site-nav .lang { margin-top: .5rem; }
  .js .site-nav .lang a { border-top: 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .75rem 1.375rem; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: 1rem; font-weight: 500; line-height: 1.2; text-align: center; text-decoration: none; }
.btn:hover { background: #2a303b; border-color: #2a303b; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--white); border-color: var(--ink); }
.btn-small { min-height: 2.75rem; padding: .5rem 1.125rem; font-size: .9375rem; }
.buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.center .buttons { justify-content: center; }

/* Icons: local SVG files drawn in the text color */
.ico::before, .more::after, .feature::before, .ticks li::before, .back::before {
  content: ""; flex: none; width: 1.125rem; height: 1.125rem; background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.ico { display: inline-flex; align-items: center; gap: .5rem; }
.ico-whatsapp { --icon: url(/assets/icons/brand-whatsapp.svg); }
.ico-mail { --icon: url(/assets/icons/mail.svg); }
.ico-back, .back { --icon: url(/assets/icons/arrow-left.svg); }
.ico-pencil { --icon: url(/assets/icons/pencil.svg); }
.ico-zap { --icon: url(/assets/icons/zap.svg); }
.ico-shield { --icon: url(/assets/icons/shield-check.svg); }
.ico-layers { --icon: url(/assets/icons/layers.svg); }
.ico-globe { --icon: url(/assets/icons/globe.svg); }
.ico-phone { --icon: url(/assets/icons/smartphone.svg); }
.ico-refresh { --icon: url(/assets/icons/refresh-cw.svg); }
.ico-sparkles { --icon: url(/assets/icons/sparkles.svg); }
.ico-server { --icon: url(/assets/icons/server.svg); }
.ico-code { --icon: url(/assets/icons/code.svg); }
.ico-languages { --icon: url(/assets/icons/languages.svg); }
.ico-external::before, .ico-arrow::before { content: none; }
.more { display: inline-flex; align-items: center; gap: .375rem; min-height: 2.75rem; font-weight: 500; }
.more::after { --icon: url(/assets/icons/arrow-right.svg); width: 1rem; height: 1rem; }
.ico-external::after { content: ""; flex: none; width: 1rem; height: 1rem; background: currentColor; -webkit-mask: url(/assets/icons/external-link.svg) center / contain no-repeat; mask: url(/assets/icons/external-link.svg) center / contain no-repeat; }
/* The same button with a link that stays on this website: an arrow, not the "opens elsewhere" sign */
.ico-external:not([target="_blank"])::after { -webkit-mask-image: url(/assets/icons/arrow-right.svg); mask-image: url(/assets/icons/arrow-right.svg); }
.back { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; margin-bottom: 1rem; font-weight: 500; text-decoration: none; }
.back:hover { text-decoration: underline; }

/* Bands of the page */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem); }
/* The logo is the largest thing on the page (96 px on a desktop), the sentence under it a normal headline (56 px). */
.hero h1 { max-width: 21ch; margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.hero-mark .wordmark { font-size: clamp(3rem, 12.5vw, 6rem); }
.brand-logo .x { filter: drop-shadow(0 0 .05em rgba(10, 166, 255, .22)); }
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.band { padding: clamp(2.75rem, 6vw, 4.5rem) 0; }
.band-white { background: var(--white); }
.band h2 + .cards, .band h2 + .features, .band h2 + .table, .band h2 + .steps, .band h2 + .faqs, .band h2 + .examples, .band .lead + .cards, .band .lead + .table, .band .lead + .rows, .band h2 + .rows { margin-top: 2rem; }
.band h2 + p:not(.lead), .cta h2 + p { margin-top: 1rem; }
.split p:not(.eyebrow):not(.buttons) { color: var(--muted); max-width: 40rem; }
.split { display: grid; gap: 2rem; }
@media (min-width: 56rem) { .split { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 4rem; } }

/* Cards */
.cards { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 44rem) { .cards-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 56rem) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.stack { display: grid; gap: 1.25rem; margin-top: 2rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; }
.band-white .card { background: var(--paper-soft); }
.card-featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.package h3, .package h2 { font-size: 1.375rem; }
.price { margin-top: .75rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .5rem; }
.price-amount { font-family: var(--display); font-size: 2.5rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.price-per { color: var(--muted); font-size: .9375rem; }
.package-tag { margin-top: .75rem; color: var(--muted); }
/* A card's points stay on one line each; "Everything in Basic, plus:" above Pro's list; the one-off price in a box
   and the button at the bottom, so the three cards end on the same lines. */
.package-body { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.package .ticks { margin-top: 0; padding-top: 0; border-top: 0; font-size: 1rem; }
.package-base { margin-bottom: .875rem; font-family: var(--display); font-weight: 600; font-size: 1rem; }
.package-base:empty { display: none; }
.package-foot { margin-top: auto; padding-top: 1.75rem; display: grid; gap: 1rem; }
/* Three cards side by side from 64rem (narrower, their points would wrap). There they share their rows (name, price,
   sentence, list, foot): the divider lines, the boxes and the buttons sit at the same height in every card, whatever
   the length of a sentence or a list. */
@media (min-width: 64rem) { .packages { grid-template-columns: repeat(3, 1fr); } }
/* … or two (the domain and mailbox services) */
@media (min-width: 64rem) { .packages-2 { grid-template-columns: repeat(2, 1fr); } }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 64rem) {
    .packages { row-gap: 0; }
    .packages > .package { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; }
    .packages > .package:nth-child(n+4) { margin-top: 1.25rem; }
    .packages .package-foot { margin-top: 0; grid-template-rows: 1fr auto; }
  }
}
.package-fee { padding: .875rem 1rem; background: var(--paper); border-radius: .625rem; font-size: .875rem; line-height: 1.5; }
.band-white .package-fee { background: var(--white); border: 1px solid var(--line); }
.package-fee-title { font-family: var(--display); font-weight: 600; font-size: .9375rem; }
.package-fee-text { margin-top: .25rem; color: var(--muted); }
.package-fee-text:empty { display: none; }
.package-btn { width: 100%; }
.card-featured .package-btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card-featured .package-btn:hover { background: #2a303b; border-color: #2a303b; }
.ticks { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.ticks ul { display: grid; gap: .625rem; }
.ticks li { display: flex; align-items: flex-start; gap: .625rem; }
.ticks li::before { --icon: url(/assets/icons/check.svg); margin-top: .3rem; }
/* Under the packages: what every package includes, and one worked example */
.included { margin-top: 2.5rem; padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.included h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.included p { margin-top: .75rem; color: var(--muted); }
.included .ticks { margin-top: 1rem; padding-top: 0; border-top: 0; }
.ticks-cols ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); column-gap: 1.5rem; }
.included .example-line { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.0625rem; }
/* Under the comparison table: the one yearly extra */
.callout { margin-top: 1.5rem; padding: 1.25rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.band-white .callout { background: var(--paper-soft); }
.callout p { margin-top: .5rem; color: var(--muted); max-width: 52rem; }
.product .more, .product .btn { margin-top: auto; align-self: flex-start; }
.product p { margin-top: .5rem; color: var(--muted); }
/* A product's logo beside its name: a circle, as on the products' own websites */
.product-head { display: flex; align-items: center; gap: .875rem; }
.product-logo { flex: none; width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }
.product-wide h2 { font-size: 1.5rem; }
/* (three classes: the general "a paragraph after a section's h2" rule would put 1rem between them) */
.product .product-head h2 + .package-tag { margin-top: .125rem; font-size: .9375rem; line-height: 1.4; }
/* The same space under the logo row on the home page's cards and on the Products page */
.product-head { margin-bottom: 1rem; }
.product .product-head + p { margin-top: 0; }
/* The link sits at the bottom of its card, so the links of cards in one row are on one line */
.product > p { margin-bottom: 1rem; }
.product .more { margin-top: auto; color: var(--ink); }
/* Products page: under the description a footer row — the facts as small labels on the left, the link on the right */
.product-wide .rich { max-width: 46rem; }
.product-foot { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.facts ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.facts li { padding: .375rem .75rem; background: var(--paper); border-radius: 999px; font-family: var(--display); font-size: .8125rem; font-weight: 500; line-height: 1.3; color: var(--ink); }
.band-white .facts li { background: var(--white); }
.product .product-foot .btn { margin-top: 0; align-self: center; }

/* Points with an icon */
.features { display: grid; gap: 2rem 2.5rem; margin-top: 2.5rem; }
@media (min-width: 44rem) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .features-3 { grid-template-columns: repeat(3, 1fr); } }
.feature::before { display: block; width: 1.5rem; height: 1.5rem; margin-bottom: 1rem; }
.feature p { margin-top: .5rem; color: var(--muted); }
/* Blocks side by side share their rows (icon, title, text), like the steps: the texts start on one line whether a
   title takes one line or two. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 44rem) {
    .features { row-gap: 0; }
    .features > .feature { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; align-content: start; }
    .features > .feature:nth-child(n+3) { margin-top: 2rem; }
  }
  @media (min-width: 62rem) {
    .features-3 > .feature:nth-child(n+3) { margin-top: 0; }
    .features-3 > .feature:nth-child(n+4) { margin-top: 2rem; }
  }
}

/* Pictures of our own things */
.shot { margin-top: 3rem; }
/* An example's page: the picture opens its section, the description follows with room between them */
.wrap > .shot:first-child { margin-top: 0; }
.shot + .rich { margin-top: 2.5rem; }
.shot img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(20, 24, 31, .12); }
.shot figcaption { margin-top: .75rem; font-size: .875rem; color: var(--muted); text-align: center; }

/* Example cards */
.examples { display: grid; gap: 1.5rem; margin-top: 2rem; }
.example { padding: 0; overflow: hidden; }
/* Picture and text side by side: the picture takes exactly half and keeps its shape, whatever the length of the text
   beside it (before, a longer text squeezed or stretched its card's picture, and two cards' pictures had different
   sizes). A card that is taller than its picture shows the picture's own paper color around it. */
@media (min-width: 50rem) {
  .example { flex-direction: row; align-items: stretch; background: linear-gradient(90deg, #e9e6dd 50%, var(--white) 50%); }
  .band-white .example { background: linear-gradient(90deg, #e9e6dd 50%, var(--paper-soft) 50%); }
  .example > img { flex: 0 0 50%; width: 50%; min-width: 0; height: auto; align-self: center; }
  .example-body { flex: 1 1 0; min-width: 0; }
}
.example > img { width: 100%; object-fit: cover; background: #e9e6dd; }
.example-body { padding: 1.75rem; display: flex; flex-direction: column; justify-content: center; }
.example-body h2, .example-body h3 { font-size: 1.5rem; }
.example-body h2 a, .example-body h3 a { text-decoration: none; }
.example-body h2 a:hover, .example-body h3 a:hover { text-decoration: underline; }
/* The whole card opens the example: the title's link is stretched over the card */
.example { position: relative; transition: border-color .15s ease; }
.example-body h2 a::after, .example-body h3 a::after { content: ""; position: absolute; inset: 0; }
.example:hover { border-color: var(--line-strong); }
.example:hover .more { text-decoration-thickness: 2px; }
.example-body p:not(.eyebrow) { margin-top: .5rem; color: var(--muted); }
.example-body .more { margin-top: 1rem; align-self: flex-start; }

/* Tables: a grid on wide screens */
.table { margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); font-size: .9375rem; }
.band-white .table { background: var(--paper-soft); }
.table-head, .table-row { display: grid; gap: 0 1rem; padding: .875rem 1.25rem; }
.table-4 .table-head, .table-4 .table-row { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
.table-3 .table-head, .table-3 .table-row { grid-template-columns: 1.7fr 1fr 1.1fr; }
.table-head { font-family: var(--display); font-weight: 700; font-size: 1rem; border-bottom: 1px solid var(--line-strong); }
.table-row + .table-row { border-top: 1px solid var(--line); }
.cell-what { font-weight: 500; }
/* A tick in a cell (main.js puts it in place of the character ✓): the icon of the package cards' lists */
.tick-icon { display: inline-block; width: 1.125rem; height: 1.125rem; margin-right: .25rem; vertical-align: -.2em; background: currentColor; -webkit-mask: url(/assets/icons/check.svg) center / contain no-repeat; mask: url(/assets/icons/check.svg) center / contain no-repeat; }
/* The comparison's first row is the price */
.table-4 .table-body > .table-row:first-child { font-weight: 700; }
@media (max-width: 63.99rem) {
  /* four columns need room (as the three package cards do, from 64rem): below that each row becomes a small card
     with the package names as labels */
  .table-4 .table-head { display: none; }
  .table-4 .table-row { grid-template-columns: 1fr; gap: .25rem; padding: 1rem 1.25rem; font-weight: 400; }
  .table-4 .cell-what { font-family: var(--display); font-weight: 700; font-size: 1rem; margin-bottom: .25rem; }
  .table-4 .table-row > span[data-col] { display: grid; grid-template-columns: 4.25rem 1fr; gap: .75rem; }
  .table-4 .table-row > span[data-col]::before { content: attr(data-col); font-family: var(--display); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: .15rem; }
}
@media (max-width: 47.99rem) {
  .table-3 .table-head, .table-3 .table-row { grid-template-columns: 1.3fr .8fr 1fr; gap: 0 .75rem; padding: .75rem 1rem; }
  .table-3 { font-size: .875rem; }
}

/* Rows with a value on the right */
.rows { margin-top: 2rem; }
.rows > li { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding: .875rem 0; border-bottom: 1px solid var(--line); }
.rows > li:first-child { border-top: 1px solid var(--line); }
.row-value { flex: none; max-width: 50%; font-weight: 700; text-align: right; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 44rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 69rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; }
/* Each step starts with its number in a circle; side by side, a thin line leads from one circle to the next */
.step { position: relative; }
.step::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; margin-bottom: 1rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: .9375rem; font-weight: 600; }
@media (min-width: 69rem) {
  .step::after { content: ""; position: absolute; top: 1.125rem; left: 3rem; right: -1.25rem; height: 1px; background: var(--line-strong); }
  .step:last-child::after { display: none; }
}
.step p { margin-top: .5rem; color: var(--muted); }
/* The note under the steps stands apart from them */
.steps + .note { margin-top: 2.5rem; }
/* Steps side by side share their rows (number, title, text): the texts start on one line, whether a title takes one
   line or two. Two columns: the rows of each pair; four columns: all four. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 44rem) {
    .steps { row-gap: 0; }
    .steps > .step { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; align-content: start; }
    .steps > .step:nth-child(n+3) { margin-top: 2rem; }
  }
  @media (min-width: 69rem) {
    .steps > .step:nth-child(n+3) { margin-top: 0; }
    .steps > .step:nth-child(n+5) { margin-top: 2rem; }
  }
}

/* Questions and answers */
.faqs { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; padding: .75rem 0; cursor: pointer; font-family: var(--display); font-size: 1.125rem; font-weight: 500; list-style: none; }
/* A question of two lines: lines of about the same length, never a single word left over */
.faq summary > span { text-wrap: balance; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--display); font-size: 1.25rem; color: var(--muted); }
.faq[open] summary::after { content: "–"; }
.faq .rich { padding-bottom: 1.25rem; color: var(--muted); }

/* Formatted text */
.rich > * + * { margin-top: .875rem; }
.rich h2 { font-size: 1.375rem; margin-top: 2.25rem; }
.rich h3 { font-size: 1.125rem; margin-top: 1.75rem; }
.rich > :first-child { margin-top: 0; }
.rich ul, .rich ol { padding-left: 1.25rem; list-style: revert; }
.rich li + li { margin-top: .375rem; }
.rich a { text-decoration: underline; }
.text-page h1 { margin-bottom: 1.5rem; }
.text-page .rich { overflow-wrap: break-word; }
.rich.note ul { display: grid; gap: .5rem; }

/* The closing call */
.cta { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--white); border-top: 1px solid var(--line); }
.band-white + .cta, .band-white + main + .cta { background: var(--paper); }
.cta-inner { text-align: center; }
/* The centered text: lines of about the same width (a short second line looks lost under a long first one) */
.cta-inner p:not(.buttons) { max-width: 36rem; margin: 1rem auto 0; color: var(--muted); text-wrap: balance; }
.cta-inner .buttons { justify-content: center; }

/* Contact */
.contact-side { display: grid; gap: .75rem; align-content: start; }
.contact-side h2 { font-size: 1.375rem; margin-bottom: .5rem; }
.contact-side a { min-height: 2.75rem; font-weight: 500; }
.contact-form .cms-contact-form { max-width: none; }
.contact-form label, .contact-form legend { display: block; margin-bottom: .375rem; font-size: .9375rem; font-weight: 500; }
.contact-form input:not([type=checkbox]):not([type=radio]), .contact-form select, .contact-form textarea {
  width: 100%; min-height: 3rem; padding: .75rem .875rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--white); color: var(--ink); font: inherit;
}
.contact-form textarea { min-height: 9rem; resize: vertical; }
.contact-form ::placeholder { color: rgba(20, 24, 31, .5); }
.contact-form .cms-contact-consent { font-size: .9375rem; color: var(--muted); }
.contact-form .cms-contact-consent a { color: var(--ink); }
/* The tick box beside its text (the label rule above made it a block: box and text ran together) */
.contact-form .cms-contact-consent label { display: flex; align-items: flex-start; gap: .625rem; margin-bottom: 0; font-weight: 400; }
.contact-form .cms-contact-consent input { flex: none; width: 1.125rem; height: 1.125rem; margin: .1875rem 0 0; accent-color: var(--ink); }
.contact-form .cms-contact-submit { min-height: 3rem; padding: .75rem 1.5rem; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: 1rem; font-weight: 500; cursor: pointer; }
.contact-form .cms-contact-submit:hover { background: #2a303b; }
.contact-form .cms-contact-submit:disabled { opacity: .6; cursor: default; }
.contact-form .cms-contact-status { padding: 1rem 1.25rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--white); }

/* Footer */
.site-footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--line); font-size: .9375rem; }
.footer-inner { display: grid; gap: 2rem; }
@media (min-width: 50rem) { .footer-inner { grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 2.5rem; } }
.footer-brand p { margin-top: .75rem; color: var(--muted); max-width: 22rem; }
.footer-brand .footer-place { margin-top: 1.25rem; }
.footer-nav, .footer-contact, .footer-legal { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer a { display: inline-flex; align-items: center; min-height: 2.75rem; min-width: 2.75rem; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-legal .lang { margin-top: .25rem; gap: 1rem; font-family: var(--text); font-size: .9375rem; }
.footer-legal .lang a { min-width: 0; }
.footer-copy { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }

/* The opening of the home page, the same as on the CMS sign-in page: the letters arrive one by one, the X is drawn,
   then it lights up once in the signal blue and keeps a faint glow. Not in the editor's preview (unless "Try it"),
   and not for visitors who prefer less motion: they see the finished logo with the faint glow. */
@media (prefers-reduced-motion: no-preference) {
  html:not([data-cms-preview]) .brand-logo .l, html.cms-try .brand-logo .l { display: inline-block; opacity: 0; animation: gx-letter .75s cubic-bezier(.2, .7, .2, 1) forwards; }
  html:not([data-cms-preview]) .brand-logo .l:nth-child(1), html.cms-try .brand-logo .l:nth-child(1) { animation-delay: .25s; }
  html:not([data-cms-preview]) .brand-logo .l:nth-child(2), html.cms-try .brand-logo .l:nth-child(2) { animation-delay: .32s; }
  html:not([data-cms-preview]) .brand-logo .l:nth-child(3), html.cms-try .brand-logo .l:nth-child(3) { animation-delay: .39s; }
  html:not([data-cms-preview]) .brand-logo .l:nth-child(4), html.cms-try .brand-logo .l:nth-child(4) { animation-delay: .46s; }
  html:not([data-cms-preview]) .brand-logo .l:nth-child(5), html.cms-try .brand-logo .l:nth-child(5) { animation-delay: .53s; }
  html:not([data-cms-preview]) .brand-logo .l:nth-child(6), html.cms-try .brand-logo .l:nth-child(6) { animation-delay: .6s; }
  html:not([data-cms-preview]) .brand-logo .l:nth-child(7), html.cms-try .brand-logo .l:nth-child(7) { animation-delay: .67s; }
  html:not([data-cms-preview]) .brand-logo .l:nth-child(8), html.cms-try .brand-logo .l:nth-child(8) { animation-delay: .74s; }
  html:not([data-cms-preview]) .brand-logo polygon, html.cms-try .brand-logo polygon { stroke-dasharray: 146; stroke-dashoffset: 146; fill-opacity: 0; stroke-width: .9; animation: gx-draw 1.1s cubic-bezier(.4, 0, .2, 1) forwards; }
  html:not([data-cms-preview]) .brand-logo .x-top, html.cms-try .brand-logo .x-top { animation-delay: 1.05s; }
  html:not([data-cms-preview]) .brand-logo .x-bottom, html.cms-try .brand-logo .x-bottom { animation-delay: 1.2s; }
  html:not([data-cms-preview]) .brand-logo .x, html.cms-try .brand-logo .x { filter: none; animation: gx-glow 1.8s ease-out 1.9s forwards; }
  .btn, .card, .site-nav a { transition: background-color .15s ease, border-color .15s ease; }
}
@keyframes gx-glow {
  0% { filter: drop-shadow(0 0 0 rgba(10, 166, 255, 0)); }
  30% { filter: drop-shadow(0 0 .14em rgba(10, 166, 255, .9)); }
  100% { filter: drop-shadow(0 0 .05em rgba(10, 166, 255, .22)); }
}
@keyframes gx-letter { from { opacity: 0; transform: translateY(.16em); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes gx-draw {
  0% { stroke-dashoffset: 146; fill-opacity: 0; stroke-width: .9; }
  62% { stroke-dashoffset: 0; fill-opacity: 0; stroke-width: .9; }
  100% { stroke-dashoffset: 0; fill-opacity: 1; stroke-width: 0; }
}

/* The language note (main.js): "Diese Seite gibt es auch auf Deutsch." for a browser that prefers the other
   language. Bottom left; on phones it ends before the WhatsApp button in the other corner. */
.lang-note { position: fixed; z-index: 30; left: 1.25rem; bottom: 1.25rem; width: 22rem; display: grid; grid-template-columns: 1fr auto; column-gap: .5rem; align-items: start; padding: .5rem .5rem .5rem 1.125rem; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: 0 .75rem 2rem rgba(20, 24, 31, .16); font-size: .9375rem; line-height: 1.45; }
.lang-note-text { grid-column: 1; padding-top: .625rem; }
.lang-note-link { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; min-height: 2.75rem; font-family: var(--display); font-weight: 600; }
.lang-note-close { grid-column: 2; grid-row: 1 / span 2; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-family: var(--display); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.lang-note-close:hover { background: var(--paper); }
@media (max-width: 37.49rem) {
  .lang-note { left: 1rem; right: 5.75rem; width: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .lang-note { animation: lang-note-in .3s ease-out .4s both; }
}
@keyframes lang-note-in { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }

@media print {
  .site-header, .cta, .menu-toggle, .cms-whatsapp, .lang-note { display: none; }
}

/* Gentle motion (main.js "Gentle motion"; on every page since 2026-11-28, tried first on the home page). Only
   transform, opacity and clip-path move, so nothing shifts the layout. No hover or press effects (Ivan: they looked
   artificial). Nothing for visitors who prefer less motion, nothing in the editor's preview (unless "Try it"). */
@media (prefers-reduced-motion: no-preference) {
  /* Blocks below the first screen wait slightly lower and transparent, then rise into place once. */
  .reveal-wait { opacity: 0; transform: translateY(18px); }
  /* (html in front: stronger than a card's own transition rule, which would make it pop in) */
  html .reveal-in { transition: opacity .85s ease-out, transform .95s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0ms); }
  /* The small label above a heading ("Unser Hauptangebot") is uncovered from left to right instead. */
  .eyebrow.reveal-wait { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); }
  html .eyebrow.reveal-in { clip-path: inset(0 0 0 0); transition: clip-path 1s cubic-bezier(.65, 0, .35, 1) var(--reveal-delay, 0ms); }
  /* A picture of a website (the editor, an example) comes up a little slower, growing slightly, its shadow deepening. */
  .shot.reveal-wait { transform: translateY(28px) scale(.97); }
  html .shot.reveal-in { transition-duration: 1.05s, 1.15s; }
  .shot.reveal-wait img { box-shadow: 0 8px 20px rgba(20, 24, 31, .05); }
  .shot.reveal-in img { transition: box-shadow 1.2s ease-out var(--reveal-delay, 0ms); }
  /* Icons and step numbers pop in just after their block; the line to the next step draws itself. (Both end before
     the block's own rise, when the script makes it an ordinary element again.) */
  .feature.reveal-in::before, .step.reveal-in::before { animation: gx-pop .5s cubic-bezier(.2, .7, .3, 1.4) calc(var(--reveal-delay, 0ms) + .25s) both; }
  .step.reveal-in::after { transform-origin: left center; animation: gx-line .65s cubic-bezier(.65, 0, .35, 1) calc(var(--reveal-delay, 0ms) + .25s) both; }
  /* The head of every page: the label is uncovered, then the title, the text and the buttons rise in, one after the
     other — at load, like the home page's hero. They start at 1 % opacity, not 0: invisible to the eye, but the browser
     counts the title as painted at once, so the page's loading time (LCP) stays the same. */
  html:not([data-cms-preview]) .page-head .eyebrow, html.cms-try .page-head .eyebrow { animation: gx-wipe .9s cubic-bezier(.65, 0, .35, 1) .1s both; }
  html:not([data-cms-preview]) .page-head .back, html.cms-try .page-head .back { animation: gx-hero-in .8s cubic-bezier(.2, .7, .2, 1) .1s both; }
  html:not([data-cms-preview]) .page-head h1, html.cms-try .page-head h1 { animation: gx-hero-in .9s cubic-bezier(.2, .7, .2, 1) .2s both; }
  html:not([data-cms-preview]) .page-head .lead, html.cms-try .page-head .lead,
  html:not([data-cms-preview]) .text-page .rich, html.cms-try .text-page .rich { animation: gx-hero-in .9s cubic-bezier(.2, .7, .2, 1) .35s both; }
  html:not([data-cms-preview]) .page-head .buttons, html.cms-try .page-head .buttons { animation: gx-hero-in .9s cubic-bezier(.2, .7, .2, 1) .5s both; }
  /* The home page's hero: after the wordmark's first letters, the headline, the text and the buttons. */
  html:not([data-cms-preview]) .page-home .hero h1, html.cms-try .page-home .hero h1 { animation: gx-hero-in .8s cubic-bezier(.2, .7, .2, 1) .45s both; }
  html:not([data-cms-preview]) .page-home .hero .lead, html.cms-try .page-home .hero .lead { animation: gx-hero-in .8s cubic-bezier(.2, .7, .2, 1) .6s both; }
  html:not([data-cms-preview]) .page-home .hero .buttons, html.cms-try .page-home .hero .buttons { animation: gx-hero-in .8s cubic-bezier(.2, .7, .2, 1) .75s both; }
  /* The WhatsApp button greets once, a few seconds after the home page opens (only there: not again on every page). */
  html:not([data-cms-preview]) .page-home .cms-whatsapp::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; animation: gx-ring 1.6s ease-out 6s both; }
}
@keyframes gx-hero-in { from { opacity: .01; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes gx-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes gx-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes gx-line { from { transform: scaleX(0); } to { transform: none; } }
@keyframes gx-ring {
  0% { opacity: 1; box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  100% { opacity: 0; box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}
@media print {
  .reveal-wait { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
