/* rddimants.id.lv — landing page
   Deliberately plain: one sans family, left-aligned text, few borders, no ambient animation. */
:root {
  --bg: #121211;
  --bg-2: #1a1a18;
  --ink: #efece4;
  --muted: #a3a097;
  --dim: #6f6c64;
  --line: #2c2b28;
  --lime: #d7ff3a;
  --f: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(20px, 5vw, 64px);
  --w: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 18px/1.6 var(--f); }
a { color: inherit; }
::selection { background: var(--lime); color: #111; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; margin-bottom: 22px; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
section { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 16px var(--pad);
  background: rgba(18, 18, 17, .92); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-solid { border-bottom-color: var(--line); }
.logo { font-weight: 800; font-size: 19px; letter-spacing: -.02em; text-decoration: none; margin-right: auto; }
.nav__links { display: flex; gap: 24px; font-size: 15px; }
.nav__links a { color: var(--muted); text-decoration: none; }
.nav__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.nav__cta { font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid var(--ink); padding: 7px 14px; border-radius: 4px; }
.nav__cta:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 720px) { .nav__links { display: none; } }

/* buttons & links */
.btn { display: inline-block; background: var(--lime); color: #111; font: 700 17px var(--f); text-decoration: none; padding: 13px 22px; border-radius: 4px; border: 0; cursor: pointer; }
.btn:hover { background: #e6ff7a; }
.btn:focus-visible, .link:focus-visible, .theme-btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.link { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; margin-left: 14px; font-size: 16px; }
.link:hover { color: var(--ink); }

/* hero */
.hero { padding-top: clamp(56px, 10vh, 110px); padding-bottom: 80px; }
.hero__kicker { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.hero__title { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; max-width: 15em; }
.scramble { color: var(--lime); }
.scramble .ghost { color: var(--dim); }
.hero__body { display: flex; gap: 28px; align-items: flex-start; margin-top: 40px; max-width: 760px; }
.hero__body p { color: #d6d3ca; margin-bottom: 14px; }
.hero__me { width: 140px; height: 140px; object-fit: cover; border-radius: 6px; flex: none; filter: grayscale(.2); }
.hero__actions { margin-top: 24px !important; }
@media (max-width: 640px) { .hero__body { flex-direction: column; } .link { display: block; margin: 14px 0 0; } }

/* how */
.how { padding-top: 70px; padding-bottom: 70px; border-top: 1px solid var(--line); }
.steps { list-style: none; counter-reset: s; max-width: 780px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 46px; color: #cfccc3; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; font: 600 15px var(--mono); color: var(--lime); }
.steps li b { color: var(--ink); }
.aside { margin-top: 18px; max-width: 680px; font-size: 15px; color: var(--muted); border-left: 2px solid var(--lime); padding-left: 16px; }

/* styles / device mock */
.styles { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding-top: 70px; padding-bottom: 70px; border-top: 1px solid var(--line); }
.styles__text p { color: #cfccc3; }
.themes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.theme-btn { font: 600 15px var(--f); color: var(--ink); background: none; border: 1px solid var(--line); padding: 8px 14px; border-radius: 4px; cursor: pointer; }
.theme-btn:hover { border-color: var(--muted); }
.theme-btn.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (max-width: 900px) { .styles { grid-template-columns: 1fr; } }

.device { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.device__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #232320; }
.device__bar i { width: 10px; height: 10px; border-radius: 50%; background: #45443f; }
.device__url { margin-left: 10px; flex: 1; background: #171716; border-radius: 4px; padding: 3px 10px; color: var(--dim); font: 12px var(--mono); }
.device[data-theme="cafe"]   { --m-bg: #f4ead8; --m-ink: #2a1a12; --m-a: #e2482b; --m-b: #f2b33d; --m-c: #6b8f5e; --m-font: "Fraunces", serif; --m-r: 999px; }
.device[data-theme="garage"] { --m-bg: #141619; --m-ink: #eeeeea; --m-a: #ffc400; --m-b: #e5321f; --m-c: #7b8792; --m-font: "Bricolage Grotesque", sans-serif; --m-r: 4px; }
.device[data-theme="salon"]  { --m-bg: #f7e9ec; --m-ink: #3b1f2b; --m-a: #c0567a; --m-b: #e9b8c6; --m-c: #9b7bb8; --m-font: "Fraunces", serif; --m-r: 999px; }
.device[data-theme="stay"]   { --m-bg: #e4ebe1; --m-ink: #1e2d24; --m-a: #2f6b4f; --m-b: #d9a441; --m-c: #8fb3a0; --m-font: "Bricolage Grotesque", sans-serif; --m-r: 10px; }
.mini { position: relative; background: var(--m-bg); color: var(--m-ink); padding: 16px 20px 22px; min-height: 420px; overflow: hidden; transition: background .4s, color .4s; }
.mini * { transition: background .4s, color .4s, border-radius .4s; }
.mini__nav { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.mini__logo { font-family: var(--m-font); font-size: 19px; }
.mini__btn { background: var(--m-a); color: var(--m-bg); padding: 5px 11px; border-radius: var(--m-r); font-weight: 600; }
.mini__hero { position: relative; z-index: 1; margin-top: 44px; }
.mini__status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; background: var(--m-ink); color: var(--m-bg); padding: 4px 9px; border-radius: 999px; }
.mini__status i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.mini__title { font-family: var(--m-font); font-weight: 800; font-size: clamp(48px, 5.4vw, 80px); line-height: .92; letter-spacing: -.03em; margin-top: 12px; }
.mini__title em { color: var(--m-a); font-weight: 400; }
.mini__tag { margin-top: 10px; font-size: 14px; opacity: .8; }
.mini__cta { display: inline-block; margin-top: 16px; background: var(--m-a); color: var(--m-bg); padding: 10px 16px; border-radius: var(--m-r); font-weight: 700; font-size: 13px; }
.mini__deco span { position: absolute; border-radius: 50%; }
.mini__deco span:nth-child(1) { width: 200px; height: 200px; right: -40px; top: 40px; background: var(--m-b); border-radius: 46% 54% 60% 40% / 50% 40% 60% 50%; }
.mini__deco span:nth-child(2) { width: 80px; height: 80px; right: 140px; top: 200px; background: var(--m-a); }
.mini__deco span:nth-child(3) { width: 46px; height: 46px; right: 40px; top: 250px; background: var(--m-c); }
.device[data-theme="garage"] .mini__deco span:nth-child(1) { border-radius: 10px; height: 64px; width: 280px; transform: rotate(-14deg); background: repeating-linear-gradient(-45deg, var(--m-a) 0 18px, #0b0b0b 18px 36px); }
.device[data-theme="garage"] .mini__deco span:nth-child(2) { width: 100px; height: 100px; background: radial-gradient(circle, #15171a 0 14%, var(--m-c) 15% 38%, #0b0c0e 39% 65%, transparent 66%), repeating-conic-gradient(#0b0c0e 0 8deg, #26292d 8deg 16deg); }
.device[data-theme="stay"] .mini__deco span:nth-child(1) { border-radius: 0; background: none; width: 0; height: 0; border-left: 100px solid transparent; border-right: 100px solid transparent; border-bottom: 180px solid var(--m-a); }
.device[data-theme="salon"] .mini__deco span:nth-child(1) { border-radius: 50% 50% 50% 0; }
.mini__rows { position: relative; z-index: 1; margin-top: 36px; border-top: 2px solid var(--m-ink); }
.mini__rows div { display: flex; justify-content: space-between; padding: 10px 2px; border-bottom: 1px solid color-mix(in srgb, var(--m-ink) 22%, transparent); font-size: 14px; }
.mini__rows b { font-family: var(--m-font); font-size: 16px; }
.mini.is-swapping .mini__title, .mini.is-swapping .mini__rows { opacity: 0; }

/* compare */
.compare { padding-top: 70px; padding-bottom: 70px; border-top: 1px solid var(--line); }
.compare__hint { color: var(--muted); font-size: 15px; margin: -8px 0 22px; }
.compare__box { --pos: 50%; position: relative; height: clamp(380px, 46vw, 500px); border-radius: 8px; overflow: hidden; border: 1px solid var(--line); user-select: none; }
.compare__side { position: absolute; inset: 0; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare__label { position: absolute; top: 14px; padding: 4px 10px; border-radius: 3px; background: rgba(0,0,0,.65); color: #fff; font: 12px var(--mono); }
.compare__before .compare__label { left: 14px; }
.compare__after .compare__label { right: 14px; }
.compare__before { background: #e9e9e6; color: #333; display: grid; place-items: center start; padding-left: clamp(16px, 4vw, 48px); }
.dir { width: min(460px, 42%); background: #fff; border: 1px solid #d5d5d0; border-radius: 3px; padding: 22px; font-family: Arial, sans-serif; }
.dir__crumb { color: #7a7a7a; font-size: 11px; }
.dir h3 { font: 700 20px Arial, sans-serif; margin: 8px 0 14px; color: #1a4b8c; }
.dir table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dir td { padding: 7px 4px; border-top: 1px solid #eee; }
.dir td:first-child { color: #888; width: 40%; }
.dir__none { color: #c33; font-weight: 700; }
.dir__ad { margin-top: 14px; background: #fff7d6; border: 1px dashed #e0c25a; padding: 8px; font-size: 11px; color: #7a6312; }
.compare__after { background: #141619; color: #eeeeea; }
.after { height: 100%; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; text-align: right; }
.after__hero, .after__cards { width: min(46%, 480px); }
.after__status { font: 600 12px var(--mono); background: #ffc400; color: #111; padding: 5px 10px; border-radius: 3px; display: inline-flex; align-items: center; gap: 6px; }
.after__status i { width: 7px; height: 7px; border-radius: 50%; background: #1d8f3a; }
.after__title { font-weight: 800; font-size: clamp(36px, 4.6vw, 72px); line-height: .95; letter-spacing: -.04em; margin-top: 16px; }
.after__title em { color: #ffc400; font-style: normal; }
.after__btns { display: flex; gap: 8px; margin-top: 18px; justify-content: flex-end; }
.after__btns span { font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 3px; border: 2px solid #eeeeea; }
.after__btns span:first-child { background: #ffc400; color: #111; border-color: #ffc400; }
.after__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: left; }
.after__cards div { background: #1f2226; border: 1px solid #33373c; border-radius: 4px; padding: 12px; display: flex; flex-direction: column; font-size: 14px; }
.after__cards b { color: #ffc400; }
@media (max-width: 700px) { .dir { width: 46%; padding: 12px; } .dir h3 { font-size: 14px; } .dir table { font-size: 11px; } .after__hero, .after__cards { width: 50%; } .after__btns span:last-child { display: none; } .after__cards { grid-template-columns: 1fr; } }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 3; cursor: ew-resize; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--lime); z-index: 2; pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; width: 18px; height: 54px; transform: translate(-50%, -50%); border-radius: 3px; background: var(--lime); }

/* later */
.later { padding-top: 70px; padding-bottom: 70px; border-top: 1px solid var(--line); }
.later__intro { color: #cfccc3; max-width: 640px; }
.later__list { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; max-width: 920px; }
.later__list div { padding: 16px 0; border-top: 1px solid var(--line); }
.later__list dt { font-weight: 700; }
.later__list dd { color: var(--muted); font-size: 16px; margin-top: 2px; }
@media (max-width: 700px) { .later__list { grid-template-columns: 1fr; } }

/* prices */
.prices { padding-top: 70px; padding-bottom: 70px; border-top: 1px solid var(--line); }
.price-table { max-width: 920px; border-top: 1px solid var(--line); }
.price-row { display: flex; justify-content: space-between; gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.price-row__name p { color: var(--muted); font-size: 16px; margin-top: 4px; max-width: 600px; }
.price-row__price { font-weight: 800; font-size: 26px; letter-spacing: -.02em; white-space: nowrap; }
.prices__own { margin-top: 26px; max-width: 760px; color: #cfccc3; }
.prices__own b { color: var(--lime); }
@media (max-width: 600px) { .price-row { flex-direction: column; gap: 6px; } }

/* faq */
.faq { padding-top: 70px; padding-bottom: 70px; border-top: 1px solid var(--line); }
.faq__list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; max-width: 920px; }
.qa p { color: var(--muted); font-size: 16px; margin-top: 6px; }
@media (max-width: 700px) { .faq__list { grid-template-columns: 1fr; } }

/* contact */
.contact { padding-top: 70px; padding-bottom: 90px; border-top: 1px solid var(--line); }
.contact__lead { color: #cfccc3; max-width: 620px; margin-bottom: 26px; }
.lead { max-width: 680px; display: flex; flex-direction: column; gap: 16px; }
.lead__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .lead__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; }
.field > span { font-size: 14px; font-weight: 600; color: var(--muted); }
.field input, .field textarea { font: 400 17px var(--f); color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; padding: 11px 13px; outline: none; resize: vertical; }
.field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { border-color: var(--lime); }
.field.is-bad input { border-color: #ff6b5a; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips i { font-style: normal; display: inline-block; padding: 7px 12px; border-radius: 4px; border: 1px solid var(--line); font-size: 15px; cursor: pointer; }
.chips label:hover i { border-color: var(--muted); }
.chips input:checked + i { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips input:focus-visible + i { outline: 2px solid var(--lime); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--lime); flex: none; }
.consent.is-bad span { color: #ff6b5a; }
.lead .btn { align-self: flex-start; }
.lead .btn[disabled] { opacity: .6; cursor: wait; }
.lead__status { min-height: 1.4em; font-size: 15px; color: var(--muted); }
.lead__status.is-ok { color: var(--lime); font-size: 20px; font-weight: 700; }
.lead__status.is-err { color: #ff6b5a; }
.lead.is-sent > *:not(.lead__status) { display: none; }
.contact__direct { margin-top: 26px; color: var(--muted); }
.contact__direct a { color: var(--ink); }

/* footer */
.footer { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 26px var(--pad); border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* =====================================================================
   v10 — editorial layer: condensed display type, colour blocks, hand-drawn marks.
   Every effect is one-time or interaction-driven; nothing loops.
   ===================================================================== */
:root { --paper: #efece4; --paper-ink: #151514; }
h2, .hero__title, .steps__n, .price-row__price, .contact__h, .footer__name { font-stretch: 75%; }
h2 { font-weight: 800; font-size: clamp(40px, 5.2vw, 72px); line-height: .95; letter-spacing: -.03em; }

/* hand-drawn marks: drawn once when scrolled into view (JS adds .is-drawn) */
.mark { position: absolute; pointer-events: none; overflow: visible; }
.mark path, .mark use { fill: none; stroke: var(--lime); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s cubic-bezier(.6,.1,.3,1); }
.is-drawn .mark path, .is-drawn .mark use { stroke-dashoffset: 0; }

/* hero */
.hero { padding-top: clamp(48px, 9vh, 100px); padding-bottom: 90px; }
.hero__kicker { font: 600 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--lime); }
.hero__title { font-size: clamp(52px, 9.4vw, 140px); line-height: .9; letter-spacing: -.035em; max-width: none; }
.hero__line { display: block; }
.hero__line--dim { color: #8a877e; }
.marked { position: relative; display: inline-block; }
.mark--under { left: -2%; bottom: -.08em; width: 104%; height: .2em; }
.mark--under use { stroke-width: 5; transition-duration: .9s; transition-delay: .5s; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; margin-top: 56px; align-items: start; }
.hero__me { grid-column: 1; justify-self: end; width: 180px; height: 220px; border-radius: 3px; transform: rotate(-2deg); box-shadow: 8px 8px 0 var(--lime); }
.hero__text { grid-column: 2; max-width: 600px; }
.hero__lead { font-size: 22px; line-height: 1.45; color: var(--ink) !important; }
.btn span { display: inline-block; transition: transform .2s; }
.btn:hover span { transform: translateX(4px); }
@media (max-width: 760px) { .hero__grid { grid-template-columns: 1fr; } .hero__text, .hero__me { grid-column: 1; justify-self: start; } }

/* where: route along the Daugava */
.where { padding-top: 10px; padding-bottom: 80px; }
.where__h { font-size: clamp(28px, 3vw, 40px); margin-bottom: 6px; }
.route { margin: 0; }
.route svg { width: 100%; height: auto; display: block; overflow: visible; }
.route__river { fill: none; stroke: #3d6b80; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.5,.1,.3,1); }
.route.is-drawn .route__river { stroke-dashoffset: 0; }
.route__town circle { fill: var(--bg); stroke: var(--ink); stroke-width: 2.5; }
.route__town text { fill: var(--ink); font: 700 22px var(--f); text-anchor: middle; }
.route__town--far circle { stroke: var(--dim); }
.route__town--far text { fill: var(--dim); font-weight: 400; }
.route__town--home circle { fill: var(--lime); stroke: var(--lime); }
.route__town--home text { fill: var(--lime); font-size: 30px; font-weight: 800; }
.route__town { opacity: 0; transition: opacity .4s; }
.route.is-drawn .route__town { opacity: 1; }
.route.is-drawn .route__town:nth-of-type(2) { transition-delay: .3s; }
.route.is-drawn .route__town:nth-of-type(3) { transition-delay: .6s; }
.route.is-drawn .route__town:nth-of-type(4) { transition-delay: .9s; }
.route.is-drawn .route__town:nth-of-type(5) { transition-delay: 1.2s; }
.route.is-drawn .route__town:nth-of-type(6) { transition-delay: 1.5s; }
.route figcaption { color: var(--muted); max-width: 620px; margin-top: 8px; font-size: 16px; }
.route__note { display: block; font: 12px var(--mono); color: var(--dim); margin-top: 4px; }
@media (max-width: 600px) { .route__town text { font-size: 30px; } .route__town--home text { font-size: 38px; } }

/* how: full-bleed lime block */
.how { max-width: none; padding: 90px 0; background: var(--lime); color: #111; border: 0; }
.how__inner { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }
.how h2 { margin-bottom: 40px; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 56px; max-width: none; counter-reset: none; }
.steps li { padding: 0; color: #2b2b22; font-size: 17px; }
.steps li::before { content: none; }
.steps li b { color: #111; display: block; font-size: 21px; margin-bottom: 4px; }
.steps__n { display: block; font-weight: 800; font-size: 86px; line-height: .8; letter-spacing: -.04em; color: #111; margin-bottom: 12px; }
.how .aside { border-left-color: #111; color: #2b2b22; margin-top: 44px; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }

/* styles: paper section */
.styles { display: block; max-width: none; padding: 90px 0; background: var(--paper); color: var(--paper-ink); border: 0; }
.styles__inner { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.styles__text p { color: #4a4843; }
.styles .theme-btn { color: var(--paper-ink); border-color: #c9c5b9; background: transparent; }
.styles .theme-btn:hover { border-color: var(--paper-ink); }
.styles .theme-btn.is-on { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.styles__try { position: relative; margin-top: 10px; font: 600 15px var(--f); color: #4a4843; }
.mark--arrow { position: relative; display: block; width: 96px; height: 48px; margin: 0 0 2px 70px; transform: scale(-1, -1); }
.mark--arrow path { stroke: var(--paper-ink); stroke-width: 3; }
.styles .device { border-color: #d3cfc3; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); transform: rotate(1deg); }
@media (max-width: 900px) { .styles__inner { grid-template-columns: 1fr; } .styles .device { transform: none; } }

/* compare: hand-drawn circle around "nav" */
.compare { padding-top: 90px; border-top: 0; }
.circled { position: relative; display: inline-block; }
.mark--circle { left: -12px; top: -10px; width: 58px; height: 38px; }
.mark--circle path { stroke: #e0332a; stroke-width: 3; }

/* later */
.later { border-top: 0; padding-top: 30px; }
.later__list dt::before { content: "+"; color: var(--lime); font-weight: 800; margin-right: 10px; }

/* prices */
.prices { padding-top: 90px; }
.price-row { align-items: baseline; transition: padding .25s; }
.price-row:hover { padding-left: 14px; }
.price-row:hover .price-row__price { color: var(--lime); }
.price-row h3 { font-size: 24px; }
.price-row__price { font-size: clamp(44px, 5vw, 68px); font-weight: 800; letter-spacing: -.03em; transition: color .2s; }
.price-row__price small { font: 400 18px var(--f); color: var(--muted); letter-spacing: 0; margin-right: 4px; }
.own { position: relative; margin: 46px 0 0; max-width: 820px; padding-left: 64px; }
.own::before { content: "\201E"; position: absolute; left: 0; top: -42px; font: 800 120px/1 var(--f); color: var(--lime); }
.own p { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; letter-spacing: -.01em; color: var(--ink); }

/* faq */
.faq { border-top: 0; padding-top: 50px; }
.qa h3 { font-size: 19px; }

/* contact: two columns on a slightly lifted panel */
.contact { max-width: none; padding: 90px 0 100px; background: var(--bg-2); border-top: 1px solid var(--line); }
.contact__grid { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.contact__h { font-size: clamp(52px, 7vw, 104px); line-height: .88; margin-bottom: 20px; }
.contact__direct { margin-top: 30px; }
.contact__direct a { font-size: 22px; font-weight: 700; color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.field input, .field textarea { background: var(--bg); }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* footer */
.footer { display: block; padding: 40px var(--pad) 26px; }
.footer__name { font-weight: 800; font-size: clamp(40px, 7vw, 96px); letter-spacing: -.04em; line-height: .9; color: #2a2926; }
.footer__row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  .mark path, .mark use, .route__river { stroke-dashoffset: 0 !important; }
  .route__town { opacity: 1 !important; }
}

/* v12 — "after" side: a believable small-business site inside a browser frame (right half) */
.compare__box { height: clamp(470px, 46vw, 560px); }
.compare__after { background: #24272b radial-gradient(circle at 70% 40%, #2d3238, #1c1f23 70%); }
.after { height: 100%; padding: 16px 16px 16px 0; display: flex; flex-direction: row; justify-content: flex-end; align-items: stretch; text-align: left; }
.site { width: calc(50% - 26px); background: #f6f5f2; color: #16181b; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.7); font: 400 12px/1.4 var(--f); }
.site__chrome { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #e4e2dc; }
.site__chrome i { width: 8px; height: 8px; border-radius: 50%; background: #c6c3ba; }
.site__chrome span { margin-left: 8px; flex: 1; background: #f6f5f2; border-radius: 3px; padding: 2px 8px; font: 10px var(--mono); color: #6d6a63; }
.site__top { display: flex; gap: 14px; padding: 5px 16px; background: #16181b; color: #b9b6ae; font-size: 10px; }
.site__top b { margin-left: auto; color: #ffc400; font-weight: 600; }
.site__nav { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid #e2e0da; }
.site__logo { font-weight: 800; font-size: 14px; letter-spacing: -.01em; }
.site__logo span { color: #e5321f; }
.site__links { margin-left: auto; color: #55524c; font-size: 11px; }
.site__navbtn { background: #16181b; color: #fff; font-weight: 700; font-size: 11px; padding: 5px 10px; border-radius: 3px; }
.site__hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; padding: 16px; align-items: center; }
.site__open { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; color: #1d7a36; background: #e3f3e7; padding: 2px 7px; border-radius: 3px; }
.site__open i { width: 6px; height: 6px; border-radius: 50%; background: #1d8f3a; }
.site__h { font-weight: 800; font-stretch: 85%; font-size: clamp(18px, 2vw, 26px); line-height: 1.02; letter-spacing: -.02em; margin: 8px 0 6px; }
.site__p { color: #55524c; font-size: 11.5px; }
.site__btns { display: flex; gap: 6px; margin-top: 10px; }
.site__btns span { font-weight: 700; font-size: 11px; padding: 6px 10px; border-radius: 3px; border: 1.5px solid #16181b; }
.site__btns span:first-child { background: #ffc400; border-color: #ffc400; }
.site__art { width: 100%; height: auto; display: block; border-radius: 4px; }
.site__lower { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; padding: 0 16px 16px; flex: 1; min-height: 0; }
.site__label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #8a867d; margin-bottom: 4px; }
.site__prices div, .site__hours div { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid #e2e0da; font-size: 11.5px; }
.site__prices b, .site__hours b { font-weight: 700; white-space: nowrap; }
.site__side { display: flex; flex-direction: column; gap: 10px; }
.site__map { position: relative; flex: 1; min-height: 56px; border-radius: 4px; overflow: hidden; background: #e6e9e3; }
.site__map i { position: absolute; background: #fff; }
.site__map .r1 { left: -10%; right: -10%; top: 45%; height: 6px; transform: rotate(-8deg); }
.site__map .r2 { top: -10%; bottom: -10%; left: 38%; width: 5px; transform: rotate(12deg); }
.site__map .r3 { left: 10%; right: 40%; top: 20%; height: 3px; background: #9cc3d9; transform: rotate(4deg); }
.site__map b { position: absolute; left: 44%; top: 34%; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #e5321f; box-shadow: 0 0 0 3px rgba(229,50,31,.2); }
.compare__before .compare__label { z-index: 1; }
.compare__after .compare__label { right: 26px; top: 26px; }

@media (max-width: 760px) {
  .compare__box { height: 560px; }
  .after { padding: 10px 10px 10px 0; }
  .site { width: calc(50% - 14px); font-size: 10px; }
  .site__top, .site__links, .site__art, .site__side { display: none; }
  .site__hero, .site__lower { grid-template-columns: 1fr; padding-left: 10px; padding-right: 10px; }
  .site__nav { padding: 8px 10px; }
  .site__navbtn { display: none; }
  .site__h { font-size: 17px; }
  .site__btns span:last-child { display: none; }
  .compare__after .compare__label { display: none; }
}

/* v14 — compare polish */
.compare__label { display: none !important; }
.compare__caption { display: flex; justify-content: space-between; margin-top: 10px; font: 12px var(--mono); color: var(--muted); }
.compare__caption b { color: var(--lime); font-weight: 600; }
.site__navbtn, .site__btns span, .site__top span { white-space: nowrap; }
@media (max-width: 1000px) { .site__links { display: none; } .site__map { display: none; } }

@media (max-width: 760px) { .site__prices div { flex-direction: column; gap: 0; padding: 4px 0; } .site__prices b { color: #16181b; } .site { overflow-y: hidden; } }

/* v16 — fixed side-by-side comparison (no slider) */
.compare__box { display: grid; grid-template-columns: minmax(0, .85fr) 56px minmax(0, 1.25fr); align-items: stretch; height: auto; border: 0; border-radius: 0; overflow: visible; user-select: auto; }
.compare__side { position: relative; inset: auto; display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; }
.compare__after { clip-path: none; }
.compare__before { display: flex; padding: 0 0 28px; place-items: initial; background: #e9e9e6; }
.compare__before .dir { width: auto; margin: 0 24px; }
.compare__tag { display: flex; align-items: baseline; gap: 10px; padding: 14px 20px; font: 12px var(--mono); }
.compare__tag span { font: 800 22px var(--f); font-stretch: 75%; letter-spacing: -.01em; text-transform: none; }
.compare__tag--before { color: #6d6a63; }
.compare__tag--before span { color: #b4261c; }
.compare__tag--after { color: #a3a097; }
.compare__tag--after span { color: var(--lime); }
.compare__vs { display: grid; place-items: center; }
.compare__vs span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: #111; font: 800 22px var(--f); }
.after { height: auto; flex: 1; padding: 0 20px 20px; display: block; }
.site { width: 100%; height: 100%; }
@media (max-width: 1000px) { .site__map { display: block; } .site__links { display: none; } }
@media (max-width: 860px) {
  .compare__box { grid-template-columns: 1fr; gap: 0; }
  .compare__vs { padding: 12px 0; }
  .compare__vs span { transform: rotate(90deg); }
  .compare__before .dir { margin: 0 16px; padding: 18px; }
  .dir h3 { font-size: 18px; } .dir table { font-size: 14px; }
  .site { font-size: 12px; }
  .site__top, .site__links, .site__art, .site__navbtn { display: none; }
  .site__hero, .site__lower { grid-template-columns: 1fr; }
  .site__side { display: flex; }
  .site__prices div { flex-direction: row; gap: 8px; }
  .after { padding: 0 12px 12px; }
}

/* v18 — language switcher in the nav (LV / RUS / ENG) */
.lang { display: flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 4px; }
.lang button { font: 600 12px var(--mono); letter-spacing: .04em; color: var(--muted); background: none; border: 0; border-radius: 3px; padding: 5px 8px; cursor: pointer; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--lime); color: #111; }
.lang button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
@media (max-width: 720px) { .nav { gap: 12px; } .lang button { padding: 5px 6px; font-size: 11px; } }
@media (max-width: 380px) { .logo { font-size: 16px; } .nav__cta { padding: 6px 10px; font-size: 14px; } }

/* v20 — Cyrillic: Bricolage has no Cyrillic, so Russian falls back to matching fonts
   (browsers only download these when Cyrillic text is on the page) */
:root { --f: "Bricolage Grotesque", "Golos Text", system-ui, sans-serif; }
h2, .hero__title, .steps__n, .price-row__price, .contact__h, .footer__name, .where__h, .compare__tag span { font-family: "Bricolage Grotesque", "Roboto Condensed", "Golos Text", sans-serif; }
html[lang="ru"] h2, html[lang="ru"] .hero__title, html[lang="ru"] .contact__h { letter-spacing: -.015em; }

/* v24 — themed illustrations in the style demo (replace the abstract blobs) */
.mini__deco { display: none; }
.mini__art { position: absolute; right: 4px; top: 46px; width: 52%; max-width: 250px; aspect-ratio: 1; z-index: 0; pointer-events: none; transition: opacity .2s; }
.mini__art svg { width: 100%; height: 100%; display: block; overflow: visible; }
.mini__art .a { fill: var(--m-a); } .mini__art .b { fill: var(--m-b); } .mini__art .c { fill: var(--m-c); }
.mini__art .k { fill: var(--m-ink); } .mini__art .w { fill: var(--m-bg); }
.mini__art .sa { stroke: var(--m-a); } .mini__art .sc { stroke: var(--m-c); } .mini__art .sk { stroke: var(--m-ink); }
.mini__art g.sk, .mini__art path.sk, .mini__art path.sa, .mini__art path.sc { fill: none; }
.mini.is-swapping .mini__art { opacity: 0; }
/* illustration sits on its own row under the intro at every width, so it never covers the title */
.mini__art { position: relative; right: auto; top: auto; width: 58%; max-width: 230px; margin: 14px auto 0; display: block; }

/* v28 — legal line, privacy panel, privacy link under the form */
.lead__privacy { font-size: 13px; color: var(--dim); margin: -4px 0 0; }
.lead__privacy a, .privacy a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.footer__legal { margin: 14px 0 0; font-size: 13px; color: var(--dim); }
.privacy { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; max-width: 760px; }
.privacy summary { cursor: pointer; color: var(--muted); font-size: 14px; list-style: none; }
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary::after { content: " +"; }
.privacy[open] summary::after { content: " −"; }
.privacy__body { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.privacy__body p { margin: 0 0 10px; }
.privacy__body b { color: var(--fg, inherit); font-weight: 600; }

/* v30 — condensed display type: stop letters touching (no negative tracking, a little more line gap) */
.hero__title { letter-spacing: .02em; line-height: .96; }
h2, .contact__h, .where__h, .after__title, .mini__title { letter-spacing: .012em; }
.footer__name, .steps__n, .price-row__price, .compare__tag span { letter-spacing: .012em; }
html[lang="ru"] h2, html[lang="ru"] .hero__title, html[lang="ru"] .contact__h { letter-spacing: .012em; }

/* =====================================================================
   v32 — neutral palette (no lime or paper blocks; lime only for lettering)
   and a light / dark toggle. Light is the default (set on <html data-mode>).
   ===================================================================== */
:root, html[data-mode="dark"] {
  --bg: #121212; --bg-2: #1b1b1b; --ink: #ececea; --muted: #a3a3a0; --dim: #6e6e6b; --line: #2d2d2b;
  --lime: #d7ff3a; --soft: #8a8a86; --ghost: #2a2a29; --nav: rgba(18, 18, 18, .92);
  --mock-bar: #242424; --mock-dot: #474745; --mock-url: #171717;
  color-scheme: dark;
}
html[data-mode="light"] {
  --bg: #f3f3f2; --bg-2: #e8e8e6; --ink: #161616; --muted: #4f4f4c; --dim: #7c7c78; --line: #d3d3cf;
  --lime: #4d7300; --soft: #8a8a86; --ghost: #d6d6d2; --nav: rgba(243, 243, 242, .92);
  --mock-bar: #dcdcd8; --mock-dot: #bdbdb8; --mock-url: #f3f3f2;
  color-scheme: light;
}
body { transition: background-color .25s, color .25s; }
::selection { background: var(--lime); color: var(--bg); }
.nav { background: var(--nav); }

/* solid accents become ink; lime stays only on lettering and drawn lines */
.btn { background: var(--ink); color: var(--bg); }
.btn:hover { background: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.compare__vs span { background: var(--ink); color: var(--bg); }
.hero__me { box-shadow: 8px 8px 0 var(--line); }

/* text greys that were hard-coded for the dark page */
.hero__body p, .styles__text p, .later__intro, .prices__own, .contact__lead { color: var(--muted); }
.hero__line--dim { color: var(--soft); }
.compare__tag--before { color: var(--dim); }
.compare__tag--after { color: var(--muted); }
.footer__name { color: var(--ghost); }

/* "how" block: was full-bleed lime, now a quiet grey band */
.how { background: var(--bg-2); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps li { color: var(--muted); }
.steps li b, .steps__n { color: var(--ink); }
.how .aside { border-left-color: var(--lime); color: var(--muted); }

/* style demo: was a cream "paper" block, now the page background */
.styles { background: var(--bg); color: var(--ink); }
.styles__text p, .styles__try { color: var(--muted); }
.styles .theme-btn { color: var(--ink); border-color: var(--line); }
.styles .theme-btn:hover { border-color: var(--muted); }
.styles .theme-btn.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.mark--arrow path { stroke: var(--ink); }
.styles .device, .device { border-color: var(--line); }
.device__bar { background: var(--mock-bar); }
.device__bar i { background: var(--mock-dot); }
.device__url { background: var(--mock-url); }

/* the "before" mock is light grey on purpose; give it an edge on the light page */
.compare__before { box-shadow: inset 0 0 0 1px var(--line); }

/* the toggle */
.mode { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; background: none; color: var(--muted);
  border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.mode:hover { color: var(--ink); border-color: var(--muted); }
.mode:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.mode svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mode__moon { display: none; }
html[data-mode="dark"] .mode__sun { display: none; }
html[data-mode="dark"] .mode__moon { display: block; }
@media (max-width: 720px) { .mode { width: 30px; height: 30px; } }
/* the "after" mock panel is always dark, so its label keeps light colours in both modes */
.compare__tag--after { color: #a3a3a0; }
.compare__tag--after span { color: #d7ff3a; }
/* small phones: keep the nav on one line now that it also holds the mode toggle */
.logo { white-space: nowrap; }
@media (max-width: 420px) {
  .nav { gap: 8px; }
  .logo { font-size: 15px; }
  .lang button { padding: 4px 5px; font-size: 11px; }
  .mode { width: 28px; height: 28px; }
  .mode svg { width: 16px; height: 16px; }
  .nav__cta { padding: 6px 8px; font-size: 13px; }
}

/* v35 — language menu: one compact button (globe + code) that opens a short list */
.langsel { position: relative; }
.langsel__btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 9px 0 8px;
  font: 600 12px var(--mono); letter-spacing: .04em; color: var(--muted); background: none;
  border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.langsel__btn:hover, .langsel__btn[aria-expanded="true"] { color: var(--ink); border-color: var(--muted); }
.langsel__btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.langsel__globe { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.langsel__chev { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.langsel__btn[aria-expanded="true"] .langsel__chev { transform: rotate(180deg); }
.langsel__list { position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; min-width: 168px; margin: 0; padding: 4px;
  list-style: none; background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); }
.langsel__list[hidden] { display: none; }
.langsel__list button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 8px 10px 8px 26px; position: relative; font: 500 14px var(--f); color: var(--ink); text-align: left;
  background: none; border: 0; border-radius: 4px; cursor: pointer; }
.langsel__list button span { font: 600 11px var(--mono); letter-spacing: .04em; color: var(--dim); }
.langsel__list button:hover, .langsel__list button:focus-visible { background: var(--bg-2); outline: none; }
.langsel__list button[aria-current]::before { content: ""; position: absolute; left: 9px; top: 50%; width: 8px; height: 4px;
  border: solid var(--lime); border-width: 0 0 2px 2px; transform: translateY(-70%) rotate(-45deg); }
@media (max-width: 720px) { .langsel__btn { height: 30px; padding: 0 7px; gap: 5px; font-size: 11px; } }
@media (max-width: 420px) { .langsel__globe { display: none; } .langsel__btn { padding: 0 6px; } }
