:root {
  --paper: #faf9f6;
  --ink: #24212b;
  --soft-ink: #585361;
  --line: #e2ddd8;
  --brand: #6e49b8;
  --lilac: #eee8f6;
  --mint: #e8f0e8;
  --heading-copy-gap: 18px;
  --stacked-copy-gap: 14px;
}
html { scroll-padding-top: 24px; }
body { color: var(--ink); }
.wrap { width: min(1320px, calc(100% - clamp(40px, 8vw, 132px))); margin-inline: auto; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid #6e49b8; outline-offset: 4px;
}
.header { height: 82px; gap: 22px; border-bottom: 1px solid var(--line); }
.header .brand, .footer .brand { font-size: 38px; letter-spacing: -.085em; }
.header .desktop { gap: clamp(18px, 2.5vw, 40px); margin: 0 auto; }
.nav-link, .header .market { font-size: 14px; font-weight: 520; }
.header .header-end { gap: 18px; }
.header .btn { min-height: 42px; font-size: 14px; }
.market-panel { z-index: 25; max-width: calc(100vw - 40px); }
.btn { justify-content: center; min-height: 47px; font-size: 15px; font-weight: 610; border-radius: 8px; }
:where(body[data-page="index"]) .btn { white-space: nowrap; }
.btn.purple { background: var(--brand); }
.btn.purple:hover { background: #57349d; }
.btn.outline { border: 1px solid #bbb2c7; background: transparent; }
.actions { margin-top: 26px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.kicker { font-size: 13px; line-height: 1.5; font-weight: 620; color: var(--brand); margin: 0 0 18px; }
.lede { font-size: clamp(16px, 1.2vw, 20px); max-width: 57ch; line-height: 1.65; color: var(--soft-ink); }
h1,h2,h3 { text-wrap: balance; }
.cover h1,.intro h1,.profile-heading h1 { font-size: clamp(42px,4.4vw,71px); line-height: 1.04; letter-spacing: -.067em; font-weight: 600; margin: 0 0 24px; }
.cover h1 em { font-style: normal; color: var(--brand); }
main h2 { font-size: clamp(30px,3vw,51px); line-height: 1.1; letter-spacing: -.055em; font-weight: 590; margin: 0 0 var(--heading-copy-gap); }
main h3 { font-size: clamp(19px,1.65vw,26px); line-height: 1.25; letter-spacing: -.035em; }
.cover { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(28px,5vw,84px); padding-block: clamp(38px,5vw,77px); }
.cover .kicker, .profile-heading .kicker { display: flex; gap: 11px; align-items: center; }
.cover .kicker::before, .profile-heading .kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.cover-photo,.trade-photo { margin: 0; position: relative; }
.cover-photo > img,.trade-photo > img { width: 100%; height: clamp(340px,33vw,505px); object-fit: cover; border-radius: 20px; display: block; }
.cover-photo > img { object-position: 58% center; }
.cover-price,.market-note { margin-top: 17px; font-size: 14px; line-height: 1.55; color: var(--soft-ink); }
.market-note { background: var(--lilac); border-radius: 8px; padding: 12px 15px; }
.job-ticket { position: absolute; bottom: 22px; inset-inline-start: 22px; display: grid; grid-template-columns: 1fr auto; gap: 3px 25px; background: #fffcf8; padding: 15px 18px; border-radius: 10px; box-shadow: 0 4px 18px #2618301c; }
.job-ticket span { font-size: 12px; font-weight: 590; color: #665a72; }
.job-ticket strong { grid-column: 1; font-size: 16px; letter-spacing: -.02em; }
.job-ticket b { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--brand); font-size: 20px; }
.trade-bar { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; border-block: 1px solid var(--line); padding-block: 18px; }
.trade-bar strong { font-size: 16px; margin-right: 4px; }
.quick-trade { display: inline-flex; align-items: center; padding: 7px 13px; border-radius: 99px; background: #efebe6; font-size: 14px; }
.quick-trade:hover { background: var(--lilac); color: var(--brand); }
.all-trades,.text-link,.store-link { color: var(--brand); font-weight: 610; font-size: 15px; line-height: 1.5; }
.all-trades { margin-inline-start: auto; padding-block: 7px; }
.all-trades:hover,.text-link:hover,.store-link:hover,.footer-link:hover { text-decoration: underline; }
.story-section { padding-block: clamp(52px,6vw,95px); }
.split-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; margin-bottom: 26px; }
.split-title h2,.story-section > h2 { margin-bottom: 22px; }
.split-title h2 { margin-bottom: 0; }
.split-title > p { max-width: 43ch; color: var(--soft-ink); line-height: 1.65; font-size: 16px; }
.story-pair,.phones,.screen-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.story-tile { position: relative; overflow: hidden; border-radius: 16px; display: block; background: #342d2b; color: white; isolation: isolate; }
.story-tile > img { display: block; width: 100%; height: clamp(225px,23vw,335px); object-fit: cover; transition: transform .3s; }
.story-tile:hover > img { transform: scale(1.025); }
.story-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 25%,#161219c9 100%); z-index: 0; pointer-events: none; }
.story-tile div { position: absolute; z-index: 1; inset: auto 24px 23px; }
.story-tile span { display: block; font-size: 14px; margin-bottom: 5px; }
.story-tile h3 { color: #fff; margin: 0; font-size: clamp(23px,2vw,33px); }
.film-copy > p:not(.kicker),.phone-copy > p:not(.kicker),.home-price p,.finish p,.case-summary p:not(.kicker),.next-case p,.prose p,.agent-section p:not(.kicker),.case-slip p:not(.kicker) { line-height: 1.7; font-size: 17px; color: var(--soft-ink); }
.plain-steps { list-style: decimal; padding-left: 22px; }
.plain-steps li { margin: 10px 0; line-height: 1.55; }
.phone-panel { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 16px; border-radius: 17px; padding: clamp(18px,2.4vw,36px); background: #eee8f6; }
.phone-panel.phone-1 { background: #e4ede8; }
.phone-panel figure,.screen-pair figure { margin: 0; }
.phone-panel figure img,.screen-pair figure img { width: 100%; display: block; border: 4px solid #2b2732; border-radius: 18px; box-shadow: 0 8px 25px #29223724; }
.phone-panel h3 { font-size: clamp(23px,2vw,34px); margin: 0 0 12px; }
.phone-copy > p:not(.kicker) { font-size: 16px; }
.store-link { display: inline-block; margin-top: 18px; }
.screen-pair figure { display: flex; align-items: center; gap: 25px; }
.screen-pair img { max-width: 42%; }
.screen-pair figcaption { font-size: 16px; line-height: 1.6; }
.screen-pair figcaption strong { display: block; }
.home-price,.finish,.next-case { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: clamp(27px,4.5vw,65px); border-radius: 18px; }
.home-price { background: var(--mint); }
.home-price > div:first-child,.finish > div:first-child { max-width: 620px; }
.home-price > div:last-child { flex-shrink: 0; }
.home-price strong { font-size: 44px; letter-spacing: -.07em; line-height: 1.1; }
.home-price .btn { margin-top: 15px; }
.finish { margin-block: clamp(50px,6vw,85px); border: 1px solid var(--line); background: #f2eeea; }
.finish h2 { font-size: clamp(26px,2.4vw,40px); }
.finish .actions,.next-case .actions { margin-top: 0; }
:where(body[data-page="index"]) .finish .actions { flex: none; max-inline-size: 100%; }
.intro { padding-block: clamp(43px,5vw,76px) clamp(27px,4vw,55px); }
.intro h1 { max-width: 21ch; }
.intro .lede { max-width: 70ch; }
.directory { padding-block: 5px 50px; }
.directory > h2 { margin-block: 44px 23px; }
.sector-list,.catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.sector-link,.catalog-card { min-width: 0; border: 1px solid var(--line); background: #fffefa; border-radius: 12px; padding: 22px; }
.sector-link { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-content: start; }
.sector-link strong { line-height: 1.25; font-size: 20px; letter-spacing: -.035em; }
.sector-link span { grid-column: 1; line-height: 1.55; font-size: 15px; color: var(--soft-ink); }
.sector-link .icon { grid-column: 2; grid-row: 1/3; color: var(--brand); }
.sector-link:hover,.catalog-card:hover { border-color: #b1a0c8; }
.profile-heading { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,5vw,78px); align-items: center; padding-block: clamp(40px,5vw,80px); }
.trade-photo > img { height: clamp(290px,28vw,435px); }
.case-slip { background: var(--lilac); border: 1px solid #dfd4eb; border-radius: 14px; padding: clamp(24px,3vw,48px); }
.case-slip h2,.case-summary h2 { font-size: clamp(29px,2.8vw,45px); }
.case-section { padding-block: clamp(35px,4.4vw,72px); border-block: 1px solid var(--line); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px,5vw,70px); }
.case-step { border-bottom: 1px solid var(--line); }
.case-step summary { padding: 17px 0; display: flex; align-items: center; gap: 14px; cursor: pointer; list-style: none; }
.case-step summary::-webkit-details-marker { display: none; }
.case-step summary span { color: var(--brand); font-size: 14px; }
.case-step summary strong { font-size: 18px; }
.case-step summary i { margin-left: auto; color: var(--brand); font-size: 22px; font-style: normal; }
.case-step[open] summary i { transform: rotate(45deg); }
.case-step p { margin: 0 22px 20px 32px; color: var(--soft-ink); font-size: 16px; line-height: 1.65; }
.case-answer { font-size: 16px; line-height: 1.65; background: var(--mint); padding: 15px 18px; border-radius: 8px; margin-top: 18px; }
.next-case { background: var(--lilac); margin-bottom: 58px; flex-wrap: wrap; }
.next-case h2 { margin: 0; }
:where(body[data-page="index"]) .next-case { flex-direction: column; align-items: flex-start; justify-content: flex-start; flex-wrap: nowrap; gap: var(--heading-copy-gap); }
:where(body[data-page="index"]) .next-case > :is(p,.text-link) { margin-block: 0; }
.catalog-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.catalog-card h3,.catalog-card p { margin: 0; }
.catalog-card p { color: var(--soft-ink); flex: 1; font-size: 16px; line-height: 1.65; }
.feature-symbol { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--lilac); color: #664593; }
.catalog-card:nth-child(3n+2) .feature-symbol { background: var(--mint); color: #416a5a; }
.catalog-card .text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; }
.catalog-card .text-link .icon { width: 17px; }
.record div,#preview-rows div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #ccc5cf; padding: 10px 0; }
.record dt,#preview-rows dt { color: var(--soft-ink); }
.record dd,#preview-rows dd { text-align: end; font-weight: 650; margin: 0; }
.price-wrap .market-note { margin: 0 0 20px; }
.calculator { display: grid; grid-template-columns: 1.15fr .85fr; background: #fffefa; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.calc-input,.calc-total { padding: clamp(22px,3.3vw,52px); min-width: 0; }
.calc-input fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.calc-input legend { font-size: 20px; font-weight: 620; margin-bottom: 12px; }
.tier-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.team-input { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; font-size: 16px; }
.team-input input { width: 88px; padding: 8px 10px; border: 1px solid #bcb4c6; border-radius: 6px; font-size: 17px; background: white; color: var(--ink); }
.case-lookup { margin-top: 18px; padding: 16px 20px; background: var(--mint); border-radius: 9px; }
.case-lookup summary { cursor: pointer; font-size: 16px; font-weight: 650; }
.case-lookup p { font-size: 16px; line-height: 1.65; }
.case-lookup dl { margin-block: 10px; }
.tier-options label { position: relative; }
.tier-options input { position: absolute; opacity: 0; }
.tier-options span { display: block; border-radius: 8px; border: 1px solid var(--line); padding: 11px; cursor: pointer; font-size: 17px; font-weight: 640; }
.tier-options small { display: block; font-size: 13px; font-weight: 450; color: var(--soft-ink); }
.tier-options input:checked + span { border-color: var(--brand); background: var(--lilac); }
.tier-options input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.addon-option { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 16px; }
.addon-option input { width: 18px; height: 18px; accent-color: var(--brand); }
.addon-option b { margin-left: auto; font-size: 14px; white-space: nowrap; }
.smallprint,.calc-total small { font-size: 14px; line-height: 1.6; color: var(--soft-ink); }
.calc-total { background: var(--lilac); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.calc-total > span { color: var(--brand); font-weight: 600; }
.calc-total h2 { font-size: 26px; margin: 12px 0 6px; }
.total-price { font-size: clamp(40px,4.4vw,69px); letter-spacing: -.065em; line-height: 1.12; }
.calc-total > p { font-size: 15px; margin-top: 8px; line-height: 1.5; }
#total-breakdown { margin-block: 12px 18px; }
.calc-total small { margin-top: 14px; }
.qanda { padding-block: 50px 16px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 28px; }
.qanda details { border-bottom: 1px solid var(--line); }
.qanda summary { padding: 17px 0; cursor: pointer; font-size: 17px; font-weight: 600; }
:where(body[data-page="index"]) .qanda summary { display: flex; align-items: center; justify-content: space-between; gap: var(--stacked-copy-gap); list-style: none; }
:where(body[data-page="index"]) .qanda summary::-webkit-details-marker { display: none; }
:where(body[data-page="index"]) .qanda summary .icon { flex: none; }
:where(body[data-page="index"]) .qanda details[open] > summary .icon { transform: rotate(180deg); }
.qanda p { color: var(--soft-ink); font-size: 16px; line-height: 1.7; padding-bottom: 17px; }
.prose { max-width: 900px; background: #f2eeea; padding: clamp(23px,4.2vw,64px); border-radius: 14px; margin-bottom: 60px; }
.prose h2 { font-size: 30px; margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose .text-link { display: inline-block; margin-top: 12px; }
.prose .btn + p { margin-top: 16px; }
.legal-inline { margin-block: 15px 40px; }
.agent-section { display: flex; align-items: center; gap: 30px; padding: 35px; background: var(--lilac); border-radius: 16px; margin-bottom: 32px; }
.agent-section img { max-width: 35%; object-fit: contain; }
.footer { margin-top: 55px; border-top: 1px solid var(--line); padding-top: 35px; }
.footer-brand p,.footer .footer-link,.footer-bottom { font-size: 14px; }
.footer-link { display: block; }
#feature-preview { border: 0; background: var(--paper); border-radius: 16px; width: min(510px,calc(100% - 32px)); margin: auto; padding: 32px; box-shadow: 0 24px 100px #32234255; }
#feature-preview::backdrop { background: #29222f77; }
#feature-preview h2 { font-size: 29px; letter-spacing: -.04em; margin: 0 20px 12px 0; }
#feature-preview p,#feature-preview dl { margin-block: 12px; font-size: 16px; line-height: 1.5; }
#feature-preview .dialog-close { position: absolute; right: 13px; top: 13px; width: 40px; height: 40px; }
@media(max-width:1050px) {
  .header .desktop { gap: 15px; }
  .header .nav-link { font-size: 13px; }
  .phone-panel { grid-template-columns: 1fr; }
  .phone-panel figure { justify-self: center; max-width: 185px; }
}
@media(max-width:900px) {
  .header { height: 70px; }
  .header .header-end { margin-left: auto; }
  .cover { gap: 24px; }
  .cover-photo > img { height: 340px; }
  .sector-list,.catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .finish { display: block; }
  .finish .actions { margin-top: 20px; }
}
@media(max-width:700px) {
  .wrap { width: calc(100% - 36px); }
  .header .brand { font-size: 33px; }
  .header .header-end { gap: 10px; }
  .header .header-end > .btn { display: none; }
  .mobile-nav:not([hidden]) { display: grid; gap: 0; padding: 12px 0; }
  .mobile-nav .nav-link { padding: 12px; font-size: 16px; }
  .mobile-nav .btn { margin-top: 7px; }
  .cover,.profile-heading,.case-section,.qanda,.calculator { grid-template-columns: 1fr; }
  .cover { padding-block: 34px 24px; gap: 25px; }
  .cover h1,.profile-heading h1,.intro h1 { font-size: clamp(39px,8.7vw,57px); }
  .cover .kicker { margin-bottom: 13px; }
  .cover-price { font-size: 13px; margin-top: 11px; }
  .cover-photo > img,.trade-photo > img { height: clamp(220px,58vw,340px); border-radius: 12px; }
  .cover .actions { margin-top: 18px; }
  .actions { gap: 8px; }
  .btn { min-height: 44px; padding: 10px 14px; font-size: 14px; }
  .job-ticket { bottom: 12px; inset-inline-start: 12px; padding: 9px 12px; }
  .job-ticket strong { font-size: 14px; }
  .trade-bar { gap: 8px; }
  .trade-bar strong { flex-basis: 100%; }
  .all-trades { margin-left: 0; font-size: 14px; }
  .quick-trade { padding: 7px 11px; }
  .split-title,.home-price { display: block; }
  .split-title > p,.home-price > div+div { margin-top: var(--stacked-copy-gap); }
  .story-pair,.phones,.screen-pair { grid-template-columns: 1fr; gap: 16px; }
  .phone-panel { grid-template-columns: 1.12fr .88fr; gap: 10px; }
  .phone-copy > p:not(.kicker) { font-size: 15px; }
  .phone-panel figure { max-width: 180px; }
  .story-tile > img { height: clamp(210px,55vw,280px); }
  .sector-list,.catalog-grid { grid-template-columns: 1fr; }
  .sector-link,.catalog-card { padding: 18px; }
  .intro,.profile-heading { padding-block: 35px 26px; }
  .case-section { gap: 8px; }
  .calc-total { min-height: 0; }
  .qanda { gap: 0; }
  .tier-options span { padding: 9px 7px; font-size: 15px; }
  .tier-options small { font-size: 12px; }
  .agent-section { flex-direction: column; align-items: flex-start; }
  .screen-pair figure { padding-block: 12px; }
  .footer { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; } }

.currency-selector:not([hidden]) { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1.5rem; font-weight:650; }
.currency-selector select { border:1px solid #bbc0ca; border-radius:.5rem; background:white; color:#191c21; min-height:44px; padding:.45rem .75rem; font:inherit; }
.tier-options small span[data-amount] { display:inline; padding:0; border:0; font:inherit; border-radius:0; }

.cinema { margin-block:clamp(40px,6vw,92px); }
.cinema-screen { position:relative; }
.film-anchor { position:absolute; inset:0 auto auto 0; width:1px; height:1px; scroll-margin-top:92px; }
body[data-page="ukazka"] .cinema { margin-top:0; }
.cinema header { display:grid; grid-template-columns:1fr .8fr; gap:clamp(20px,5vw,82px); align-items:end; margin-bottom:22px; }
.cinema header h2,.stock-teaser h2,.field-payments h2,.receipt-process h2 { margin:0; font-size:clamp(30px,3.6vw,57px); line-height:1.06; letter-spacing:-.05em; text-wrap:balance; }
:where(body[data-page="index"]) :is(.stock-teaser,.field-payments) h2 { margin-block-end:var(--heading-copy-gap); }
.cinema header p:not(.kicker),.stock-teaser p:not(.kicker),.field-payments p,.receipt-process li { max-width:68ch; line-height:1.6; }
.cinema video { width:100%; display:block; aspect-ratio:16 / 9; object-fit:contain; background:#171525; border-radius:14px; scroll-margin-top:85px; }
.cinema video::cue { color:white; background:rgba(20,17,33,.88); font-family:system-ui,sans-serif; }
.film-chapters { display:flex; align-items:stretch; gap:.4rem; flex-wrap:wrap; margin:14px 0 8px; }
.film-chapters a { display:inline-flex; gap:.45rem; align-items:center; padding:.55rem .68rem; min-height:44px; background:#f2eff6; border:1px solid transparent; border-radius:8px; color:#24202a; text-decoration:none; font-size:14px; font-weight:575; }
.film-chapters a[aria-current=time],.film-chapters a:hover { background:#ece2fd; border-color:#ad96d2; }
.film-chapters time { color:#6948a0; font-variant-numeric:tabular-nums; }
.film-note,.receipt-process figcaption { font-size:14px; line-height:1.5; color:var(--soft-ink); }
.stock-teaser,.field-payments,.receipt-process { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:clamp(24px,5vw,80px); margin-block:clamp(40px,6vw,90px); }
.stock-teaser figure,.receipt-process figure { margin:0; min-width:0; }
.stock-teaser img,.receipt-process img { width:100%; height:auto; display:block; border:1px solid var(--line); border-radius:10px; background:#f5f3f6; }
.receipt-process figcaption { margin-top:.5rem; }
.field-payments { background:#e3eee7; border-radius:18px; padding:clamp(23px,4.8vw,70px); grid-template-columns:.66fr 1.34fr; }
.payment-date { display:grid; gap:.4em; color:#294634; }
.payment-date time { font-size:clamp(32px,4.6vw,72px); font-weight:620; line-height:1; letter-spacing:-.07em; }
.payment-date span { font-size:16px; }
@media(max-width:760px) {
  .cinema header,.stock-teaser,.field-payments,.receipt-process { grid-template-columns:1fr; }
  .cinema header { gap:0; }
  :where(body[data-page="index"]) :is(.stock-teaser,.field-payments,.cinema,.next-case) { --heading-copy-gap:var(--stacked-copy-gap); }
  :where(body[data-page="index"]) .cinema header { row-gap:var(--heading-copy-gap); }
  .film-chapters { gap:.35rem; }
  .film-chapters a { flex-grow:1; }
  .receipt-process figure { order:2; }
}
@media (width < 768px) {
  .cover-photo .job-ticket { position: static; margin-block-start: var(--stacked-copy-gap); }
}
