:root {
  --paper: #fffefb;
  --ink: #202620;
  --muted: #626861;
  --line: #d8dcd4;
  --wasabi: #b9d58b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
html.lenis { scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: visible; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; transition: color .24s ease, transform .24s cubic-bezier(.625,.05,0,1); }
a:hover { text-decoration: none; }
a:not(.button):not(.brand):hover { color: inherit; transform: translateY(-2px); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.site-footer a:focus-visible, .skip:focus-visible { outline-color: var(--wasabi); }
.skip { position: absolute; z-index: 50; top: -6rem; left: 1rem; padding: .8rem 1rem; background: var(--ink); color: var(--paper); }
.skip:focus { top: 1rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.04em; overflow-wrap: normal; word-break: normal; }
h1 { line-height: .94; }
h2 { line-height: 1.02; }
h3 { line-height: 1.08; }

.site-header { position: sticky; top: 0; z-index: 20; height: 72px; display: flex; align-items: center; gap: clamp(2rem, 5vw, 7rem); padding: 0 clamp(1.3rem, 4vw, 5rem); background: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.23rem; font-weight: 800; letter-spacing: -.065em; white-space: nowrap; }
.brand img { display: block; flex: none; }
.main-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.5vw, 2.5rem); font-size: .84rem; font-weight: 700; }
.main-nav a { padding: .6rem 0; }
.main-nav [aria-current] { font-weight: 800; }
.header-tools { display: flex; align-items: center; gap: .8rem; margin-left: auto; }
.button.header-action { min-width: 0; padding: .7rem .9rem; font-size: .78rem; white-space: nowrap; }
.header-action-short { display: none; }
.language-nav { position: relative; font-size: .84rem; font-weight: 700; }
.language-nav summary { display: flex; align-items: center; gap: .45rem; min-height: 44px; cursor: pointer; list-style: none; }
.language-nav summary::-webkit-details-marker { display: none; }
.language-nav summary::after { content: ''; width: .35rem; height: .35rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.25rem) rotate(45deg); transition: transform .24s ease; }
.language-nav[open] summary::after { transform: translateY(.05rem) rotate(225deg); }
.language-nav nav { display: none; position: absolute; top: 100%; left: 0; z-index: 1; min-width: 100%; flex-direction: column; background: #fff; }
.language-nav:is(:hover, :focus-within, [open]) nav { display: flex; }
.language-nav nav a { display: flex; align-items: center; min-height: 44px; transition: none; }
.language-nav nav a:not(.button):not(.brand):hover { color: var(--muted); transform: none; }
.mobile-menu { display: none; }

.section-wrap { width: min(100%, 1700px); margin-inline: auto; padding-inline: clamp(1.3rem, 5vw, 7rem); }
.section-label, .hero-mark, .service-number, .step-number, .section-index, .faq-number { font-size: .76rem; font-weight: 800; line-height: 1.4; letter-spacing: .11em; text-transform: uppercase; }
.section-label { margin: .4rem 0 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 14.5rem; padding: 1.08rem 1.2rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 700 .9rem Arial, Helvetica, sans-serif; text-align: center; cursor: pointer; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.button.has-wipe { position: relative; isolation: isolate; overflow: hidden; }
.button.has-wipe::before, .button.has-wipe::after { content: ''; position: absolute; inset: -2px; clip-path: inset(100% 0 0 0); pointer-events: none; }
.button.has-wipe::before { z-index: 0; background: var(--paper); }
.button.has-wipe::after { z-index: 1; background: var(--ink); }
.button.has-wipe:hover::before { animation: button-paper-in .75s cubic-bezier(.65,0,.35,1) both; }
.button.has-wipe.is-leaving:not(:hover)::before { clip-path: inset(0 0 0 0); }
.button.has-wipe.is-leaving:not(:hover)::after { animation: button-dark-in .75s cubic-bezier(.65,0,.35,1) both; }
.button.has-wipe>span { position: relative; z-index: 2; color: #fff; mix-blend-mode: difference; }
.has-letter-roll:not(.button):hover { transform: none; }
.letter-roll { display: inline; }
.letter-word { display: inline-block; white-space: nowrap; }
.letter-slot { display: inline-block; height: 1.1em; overflow: hidden; vertical-align: -.12em; }
.letter-pair { display: flex; flex-direction: column; line-height: 1.1em; transition: transform .65s cubic-bezier(.625,.05,0,1); transition-delay: calc(var(--letter-index) * 5ms); }
.letter-pair span { display: block; height: 1.1em; }
.has-letter-roll:hover .letter-pair, .has-letter-roll:focus-visible .letter-pair { transform: translateY(-50%); }
.line-link, .text-link { display: inline-flex; align-items: center; gap: 1.1rem; font-size: .9rem; font-weight: 700; }

.hero { position: relative; min-height: calc(100svh - 72px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 2rem; padding: clamp(1.5rem, 3vw, 3rem) clamp(1.3rem, 5vw, 7rem) clamp(2rem, 4vw, 4rem); }
.hero-top, .hero h1, .hero-bottom { position: relative; z-index: 1; }
.hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.hero-mark { max-width: 30rem; margin: 0; }
.hero-top>span { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.hero h1 { align-self: center; max-width: 11ch; margin: 0; font-size: clamp(5.7rem, 12vw, 15rem); animation: type-arrive .6s ease-out both; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(3rem, 8vw, 10rem); align-items: end; animation: type-arrive .7s ease-out .08s both; }
.hero-bottom>p { max-width: 37rem; margin: 0; font-size: clamp(1rem, 1.4vw, 1.28rem); line-height: 1.45; }
.hero-actions { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); }
.hero-next { display: inline-flex; align-items: center; gap: 1rem; font-size: .86rem; font-weight: 700; white-space: nowrap; }

.section-heading { display: grid; grid-template-columns: minmax(8rem, .28fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 7rem); }
.section-heading h2 { max-width: 13ch; margin: 0; font-size: clamp(4.2rem, 8vw, 10rem); }
.services .section-heading h2 { max-width: none; font-size: clamp(4.2rem, 6.5vw, 8rem); }
.section-heading p:not(.section-label) { max-width: 40rem; margin: 2rem 0 0; font-size: 1.08rem; line-height: 1.55; }
.services { padding-block: clamp(8rem, 14vw, 16rem) clamp(7rem, 12vw, 15rem); }
.service-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(4rem, 10vw, 12rem); margin-top: clamp(6rem, 10vw, 11rem); }
.service-option-model { padding-top: clamp(8rem, 20vw, 22rem); }
.service-number { display: block; margin-bottom: clamp(2rem, 4vw, 5rem); }
.service-option h3 { max-width: 10ch; margin: 0 0 2.5rem; font-size: clamp(3.7rem, 6vw, 7.5rem); }
.service-option p { max-width: 28rem; margin: 0 0 2.5rem; font-size: 1.06rem; line-height: 1.6; }
.photo-interlude { height: clamp(400px, 65vw, 850px); margin: 0 clamp(1.3rem, 5vw, 7rem); overflow: hidden; background: #999; }
.photo-interlude img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; filter: grayscale(1) contrast(1.12); transition: transform .7s ease-out; }
.photo-interlude:hover img { transform: scale(1.015); }

.estimate-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; gap: clamp(2rem, 5vw, 7rem); padding-block: clamp(3rem, 5vw, 5rem); }
.estimate h2 { max-width: 20ch; margin: 1rem 0 0; font-size: clamp(2rem, 3vw, 3.5rem); }
.estimate-detail p { max-width: 32rem; margin: 0 0 1.5rem; font-size: .96rem; line-height: 1.6; }
.process-inner { padding-block: clamp(7rem, 12vw, 15rem); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(3rem, 6vw, 8rem); margin: clamp(7rem, 13vw, 15rem) 0 0; padding: 0; }
.step-number { display: block; margin-bottom: clamp(3rem, 5vw, 6rem); }
.steps h3 { max-width: 10ch; margin: 0 0 2rem; font-size: clamp(3rem, 4.5vw, 5.5rem); }
.steps p { max-width: 21rem; margin: 0; font-size: 1.02rem; line-height: 1.6; }
.home-faq { padding-block: clamp(8rem, 14vw, 16rem); }
.faq-list { margin-top: clamp(5rem, 10vw, 10rem); border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: clamp(3rem, 8vw, 8rem) minmax(0, 1fr) 2rem; align-items: start; gap: 1rem; padding: clamp(2rem, 4vw, 4rem) 0; cursor: pointer; list-style: none; font-size: clamp(2.3rem, 4.3vw, 5rem); font-weight: 700; line-height: 1.2; letter-spacing: -.075em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 1.7rem; font-weight: 400; letter-spacing: 0; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list summary > span:nth-child(2) { display: block; padding-block: .08em; transition: transform .62s cubic-bezier(.625,.05,0,1); }
.faq-list summary:hover > span:nth-child(2), .faq-list summary:focus-visible > span:nth-child(2) { transform: translateY(-3px); }
.faq-list details p { max-width: 58rem; margin: 0 3rem 3rem clamp(4rem, 9vw, 9rem); font-size: 1.08rem; line-height: 1.65; }
.faq-number { padding-top: .25rem; letter-spacing: .06em; }
.store-inner { display: grid; grid-template-columns: minmax(8rem, .28fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 7rem); padding-block: clamp(3rem, 5vw, 5rem); }
.store h2 { max-width: 20ch; margin-bottom: 1rem; font-size: clamp(2rem, 3vw, 3.5rem); }
.store p:not(.section-label) { max-width: 34rem; margin: 0; font-size: .96rem; line-height: 1.6; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); gap: clamp(4rem, 8vw, 10rem); padding-block: clamp(8rem, 14vw, 17rem); }
.contact-intro h2 { max-width: 10ch; margin: clamp(4rem, 8vw, 9rem) 0 2.5rem; font-size: clamp(5rem, 9vw, 11rem); }
.contact-intro>p:not(.section-label) { max-width: 28rem; margin: 0; font-size: 1.1rem; line-height: 1.55; }
.contact form, .contact .success { align-self: end; }
form { width: 100%; }
.field { margin-bottom: 1.5rem; }
.field label { display: block; margin-bottom: .6rem; font-size: .82rem; font-weight: 700; }
.field input, .field select, .field textarea { display: block; width: 100%; padding: .95rem 0; border: 0; border-bottom: 1px solid #839086; border-radius: 0; background: transparent; color: var(--ink); font: 1rem Arial, Helvetica, sans-serif; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-bottom-color: #839086; box-shadow: inset 0 -4px #839086; }
.field textarea { min-height: 9rem; resize: vertical; }
.field [aria-invalid] { border-bottom-color: #a72d25; }
.field [aria-invalid]:focus-visible { border-bottom-color: #a72d25; box-shadow: inset 0 -3px #a72d25; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.field-hint, .privacy-note { font-size: .82rem; line-height: 1.5; }
.field-hint { margin: .5rem 0 0; }
.field-error, .form-errors { color: #a72d25; font-size: .84rem; font-weight: 700; }
.field-error { margin: .5rem 0 0; }
.form-errors ul { padding-left: 1.2rem; }
.privacy-note { max-width: 34rem; margin: 2rem 0; }
.privacy-note a { display: inline-block; text-decoration: underline; text-underline-offset: .2em; }
.hidden-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.success { padding: 2rem 0; }

.site-footer { padding: clamp(4rem, 7vw, 7rem) clamp(1.3rem, 5vw, 7rem); background: var(--ink); color: var(--paper); font-size: .88rem; }
.footer-inner { width: min(100%, 1500px); margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(8rem, .35fr) auto; gap: clamp(3rem, 6vw, 7rem); }
.footer-identity .brand { gap: .38em; font-size: clamp(2rem, 4vw, 4rem); font-weight: 700; letter-spacing: -.075em; }
.footer-identity .brand img { width: 1.25em; height: 1.25em; }
.footer-identity p { max-width: 24rem; margin: 1.3rem 0 0; color: #cbd1c8; line-height: 1.55; }
.footer-pages { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; font-weight: 700; }
.footer-pages [aria-current] { color: var(--wasabi); }
.footer-meta { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 3rem; }
.footer-meta span { color: #cbd1c8; white-space: nowrap; }
.footer-links, .social-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.footer-links { grid-column: 1 / -1; }
.footer-links [aria-current] { color: var(--wasabi); }
.site-footer a:hover { color: inherit; }

.content-page { min-height: calc(100svh - 250px); }
.content-intro { display: flex; align-items: flex-end; min-height: min(760px, calc(100svh - 72px)); padding: clamp(3rem, 6vw, 7rem) clamp(1.3rem, 5vw, 7rem); }
.content-intro-inner { width: min(100%, 1600px); margin: 0 auto; }
.content-intro .text-link { margin-bottom: clamp(5rem, 12vh, 11rem); }
.content-intro h1 { max-width: 13ch; margin: 0 0 2.5rem; font-size: clamp(5rem, 10vw, 12rem); }
.content-intro p:not(.draft-note) { max-width: 43rem; margin: 0; font-size: clamp(1.08rem, 1.5vw, 1.4rem); line-height: 1.5; }
.content-intro .button { margin-top: clamp(2rem, 4vw, 4rem); }
.content-intro .draft-note { max-width: 43rem; margin-top: 2rem; padding-left: 1rem; border-left: 2px solid var(--ink); font-size: .92rem; line-height: 1.55; }
.content-sections { padding-block: clamp(5rem, 10vw, 12rem); }
.content-sections section { display: grid; grid-template-columns: minmax(3rem, .25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); padding: clamp(3rem, 6vw, 7rem) 0; }
.content-sections h2 { max-width: 20ch; margin: 0 0 1.5rem; font-size: clamp(2.6rem, 5vw, 6rem); }
.content-sections p { max-width: 48rem; margin: 0; font-size: 1.08rem; line-height: 1.65; }
.content-sections>.button { margin-top: 4rem; }
.page-contact .content-sections section { max-width: 1100px; margin-left: auto; }
.page-faq .content-sections h2 { font-size: clamp(2.8rem, 5vw, 6rem); }
html[lang="uk"] .service-option h3, html[lang="uk"] .steps h3, html[lang="uk"] .contact-intro h2 { max-width: none; }
html[lang="uk"] .services .section-heading h2 { font-size: clamp(2.7rem, 9vw, 6rem); }
html[lang="uk"] .steps h3 { font-size: clamp(2.4rem, 4vw, 4.5rem); }
html[lang="uk"] .contact-intro h2 { font-size: clamp(4.3rem, 7vw, 7rem); }

@media (max-width: 1000px) {
  .hero-bottom { gap: 3rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 850px) {
  body:has(.mobile-menu[open]) { overflow: hidden; }
  .site-header { height: 68px; gap: .8rem; }
  .main-nav { display: none; }
  .header-tools { order: 1; }
  .header-tools>.header-action { display: none; }
  .header-action-full { display: none; }
  .header-action-short { display: inline; }
  .site-header:has(.mobile-menu[open]) .language-nav { visibility: hidden; }
  .mobile-menu { display: block; order: 3; margin-left: clamp(.6rem, 1.6vw, 1.2rem); }
  .mobile-menu[open] { position: fixed; inset: 0; z-index: 30; background: linear-gradient(transparent 68px, var(--paper) 68px); }
  .mobile-menu[open] summary { position: fixed; top: 12px; right: clamp(1.3rem, 4vw, 5rem); z-index: 1; background: var(--paper); }
  .mobile-menu summary { display: flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-icon { position: relative; display: block; width: 18px; height: 14px; }
  .menu-icon::before, .menu-icon::after, .menu-icon span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .35s ease, opacity .35s ease; }
  .menu-icon::before, .menu-icon::after { content: ""; }
  .menu-icon::before { top: 0; }
  .menu-icon span { top: 6px; }
  .menu-icon::after { bottom: 0; }
  .mobile-menu[open] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
  .mobile-menu[open] .menu-icon span { opacity: 0; }
  .mobile-menu[open] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
  .mobile-menu:not([open]) nav { display: none; }
  .mobile-menu nav { position: fixed; top: 68px; left: 0; right: 0; height: calc(100svh - 68px); overflow-y: auto; overscroll-behavior: contain; padding: 2rem clamp(1.3rem, 5vw, 5rem); background: var(--paper); scrollbar-width: none; }
  .mobile-menu nav::-webkit-scrollbar { display: none; }
  .mobile-menu .menu-links { display: flex; flex-direction: column; }
  .mobile-menu nav a { padding: 1.25rem 0; font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 700; letter-spacing: -.07em; }
  .mobile-menu nav .mobile-menu-action { display: inline-flex; margin-top: 2rem; padding: 1.08rem 1.2rem; font-size: .9rem; letter-spacing: normal; }
  .mobile-menu .header-action-full { display: inline; }
  .mobile-menu .header-action-short { display: none; }
  .mobile-menu nav [aria-current] { font-weight: 800; }
  .hero { min-height: calc(100svh - 68px); }
  .hero h1 { font-size: clamp(5rem, 14vw, 9rem); }
  .section-heading { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .service-options { gap: 3rem; }
  .service-option h3 { font-size: clamp(3.5rem, 7vw, 5rem); }
  .steps { gap: 3rem; }
  .steps h3 { font-size: clamp(2.8rem, 5vw, 4rem); }
  html[lang="es"] .steps h3 { font-size: clamp(2.3rem, 4.7vw, 4rem); }
  .contact { display: block; }
  .contact-intro { margin-bottom: 5rem; }
  .contact-intro h2 { margin-top: 4rem; }
}
@media (max-width: 600px) {
  .site-header { padding-inline: 1.2rem; }
  .brand { font-size: 1.12rem; }
  .brand img { width: 25px; height: 25px; }
  .language-nav { font-size: .76rem; }
  .mobile-menu { margin-left: .25rem; }
  .mobile-menu summary { font-size: .78rem; }
  .mobile-menu[open] summary { right: 1.2rem; }
  .hero { gap: 1rem; min-height: calc(100svh - 68px); padding: 1.4rem 1.3rem 2.6rem; }
  .hero-top>span { display: none; }
  .hero-mark { font-size: .7rem; }
  .hero h1 { align-self: center; font-size: clamp(4rem, 15vw, 6rem); }
  .hero-bottom { display: block; }
  .hero-bottom>p { max-width: 26rem; font-size: 1rem; line-height: 1.48; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; margin-top: 1.5rem; }
  .hero-next { font-size: .78rem; }
  .button { min-width: 13rem; }
  .section-heading h2 { font-size: clamp(3.6rem, 13vw, 6rem); }
  .services { padding-block: 7rem 8rem; }
  .service-options { display: block; margin-top: 6rem; }
  .service-option-model { padding-top: 8rem; }
  .service-option h3 { font-size: clamp(3.7rem, 13vw, 6rem); }
  html[lang="es"] .service-option h3 { font-size: clamp(3.4rem, 12vw, 6rem); }
  .photo-interlude { height: 420px; margin-inline: 1.3rem; }
  .photo-interlude img { object-position: center; }
  .estimate-inner { display: block; padding-block: 3rem; }
  .estimate h2 { font-size: clamp(2rem, 8vw, 3rem); }
  .estimate-detail { margin-top: 1.5rem; }
  .steps { display: block; margin-top: 6rem; }
  .steps li + li { margin-top: 5rem; }
  .steps h3 { font-size: clamp(3.2rem, 11vw, 5rem); }
  .home-faq { padding-block: 8rem; }
  .faq-list { margin-top: 4rem; }
  .faq-list summary { grid-template-columns: 2rem minmax(0, 1fr) 1.5rem; gap: .8rem; padding: 2rem 0; font-size: clamp(1.9rem, 7vw, 3rem); }
  .faq-list summary::after { font-size: 1.4rem; }
  .faq-list details p { margin: 0 1rem 2rem 2.8rem; font-size: 1rem; }
  .store-inner { display: block; padding-block: 3rem; }
  .store h2 { margin-top: 1.5rem; font-size: clamp(2rem, 8vw, 3rem); }
  .contact { padding-block: 8rem; }
  .contact-intro h2 { font-size: clamp(4.3rem, 15vw, 7rem); }
  html[lang="uk"] .contact-intro h2 { font-size: clamp(2.75rem, 11vw, 4.5rem); }
  html[lang="es"] .contact-intro h2 { font-size: clamp(3.5rem, 11vw, 5rem); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { display: block; }
  .footer-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; margin-top: 3rem; }
  .footer-meta { align-items: flex-start; gap: 2rem; margin-top: 3rem; }
  .footer-links { margin-top: 3rem; }
  .content-intro { min-height: calc(100svh - 68px); align-items: center; padding-block: 3rem; }
  .content-intro .text-link { margin-bottom: 5rem; }
  .content-intro h1 { font-size: clamp(4rem, 13vw, 6rem); overflow-wrap: anywhere; }
  html[lang="uk"] .page-privacy .content-intro h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  html[lang="uk"] .page-service .content-intro h1 { font-size: clamp(2.5rem, 13vw, 6rem); }
  html[lang="uk"] .page-service .content-sections h2 { font-size: clamp(2.6rem, 9vw, 4rem); }
  .content-sections section { display: block; padding-block: 4rem; }
  .content-sections h2 { margin-top: 2rem; font-size: clamp(2.8rem, 10vw, 4rem); }
  .page-faq .content-sections h2 { font-size: clamp(2.8rem, 10vw, 4rem); }
}
@media (max-width: 390px) {
  .site-header { padding-inline: .9rem; gap: .4rem; }
  .header-action { padding: .6rem .55rem; font-size: .72rem; }
  .mobile-menu[open] summary { right: .9rem; }
  .hero { padding-inline: 1.1rem; }
  .hero h1 { font-size: 15vw; }
  .hero-actions { gap: 1rem; }
}
.error-page { min-height: 100svh; display: flex; flex-direction: column; }
.error-page .site-header { flex: none; }
.error-main { position: relative; flex: 1; display: flex; align-items: center; min-height: 35rem; overflow: hidden; padding: clamp(4rem, 8vw, 8rem) clamp(1.3rem, 5vw, 7rem); }
.error-content { position: relative; z-index: 1; width: min(100%, 50rem); }
.error-content h1 { max-width: 12ch; margin: clamp(2.5rem, 5vw, 5rem) 0 2rem; font-size: clamp(4.5rem, 10vw, 10rem); overflow-wrap: anywhere; }
.error-description { max-width: 32rem; margin-bottom: 2rem; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.5; }
.error-number { position: absolute; right: -2vw; bottom: -.23em; color: var(--wasabi); font-size: clamp(20rem, 48vw, 55rem); font-weight: 800; letter-spacing: -.12em; line-height: 1; opacity: .55; pointer-events: none; }
.error-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem clamp(1.3rem, 5vw, 7rem); background: var(--ink); color: var(--paper); font-size: .8rem; }
@media (max-width: 600px) {
  .error-main { min-height: calc(100svh - 68px - 72px); align-items: center; padding-block: 3rem; }
  .error-content h1 { font-size: clamp(3.5rem, 12vw, 5.5rem); }
  .error-number { right: -1rem; bottom: -.1em; font-size: 70vw; opacity: .28; }
  .error-footer { flex-wrap: wrap; }
}
@keyframes type-arrive { from { transform: translateY(12px); } to { transform: translateY(0); } }
@keyframes button-paper-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes button-dark-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (hover: none) {
  a:not(.button):hover, .faq-list summary:hover { transform: none; }
  .faq-list summary:hover > span:nth-child(2) { transform: none; }
  .has-letter-roll:hover .letter-pair { transform: none; }
  .button.has-wipe:hover::before, .button.has-wipe.is-leaving:not(:hover)::after { animation: none; }
  .button.has-wipe.is-leaving:not(:hover)::before { clip-path: inset(100% 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button.has-wipe:hover::before, .button.has-wipe.is-leaving:not(:hover)::after { animation: none; }
  .button.has-wipe.is-leaving:not(:hover)::before { clip-path: inset(100% 0 0 0); }
  a:not(.button):hover, .faq-list summary:hover { transform: none; }
  .faq-list summary:hover > span:nth-child(2), .faq-list summary:focus-visible > span:nth-child(2) { transform: none; }
  .has-letter-roll:hover .letter-pair, .has-letter-roll:focus-visible .letter-pair { transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
