:root {
  --paper: #f8f9f5;
  --ink: #191f21;
  --muted: #505b59;
  --rule: #d4dad3;
  --blue: #243f96;
  --lime: #d9f77e;
  color-scheme: light;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; font-size: 1rem; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4, figure, fieldset { margin: 0; }
h1, h2, h3, h4 { line-height: 1.1; }
button, a, label { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #5781ff; outline-offset: 4px; }
.symbols, .sr { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: fixed; top: -60px; left: 12px; padding: 8px 15px; z-index: 10; color: white; background: var(--ink); }
.skip:focus { top: 12px; }
.wrap { width: min(1256px, calc(100% - clamp(36px, 9vw, 144px))); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--rule); }
.head-row, .brand, .main-nav, .head-link, .primary, .actions, .world-label, .hero-offer, .portfolio-top, .portfolio-foot, .expand, .role-top, .other-messengers, .footer-row, .dialog-bar { display: flex; align-items: center; }
.head-row { min-height: 80px; gap: 22px; justify-content: space-between; }
.brand { width: max-content; gap: 9px; font-size: 1.39rem; font-weight: 800; letter-spacing: -.06em; }
.brand img { border-radius: 8px; display: block; }
.brand-service { font-size: .83rem; letter-spacing: .03em; padding-left: 11px; margin-left: 2px; border-left: 1px solid #aab2a9; color: var(--muted); }
.main-nav { gap: clamp(18px, 3vw, 38px); }
.main-nav a, .head-link, .secondary { font-size: .9rem; font-weight: 700; }
.main-nav a { padding-block: 12px; }
.main-nav a:hover, .secondary:hover, .other-messengers a:hover { color: var(--blue); }
.head-link { gap: 8px; padding: 10px 15px; border: 1px solid #aeb7ac; border-radius: 6px; }
.head-link svg, .world-label svg, .primary svg, .expand svg { width: 20px; height: 20px; flex-shrink: 0; }
.head-link:hover { background: var(--lime); border-color: var(--lime); }
.hero { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: clamp(28px, 5.5vw, 96px); padding-block: clamp(45px, 4.6vw, 80px); }
.hero-copy { min-width: 0; }
.world-label { gap: 9px; color: #49574a; font-size: .83rem; font-weight: 700; }
.world-label svg { width: 18px; height: 18px; }
h1 { font-size: clamp(3rem, 5.65vw, 5.55rem); font-weight: 650; line-height: 1.025; letter-spacing: -.079em; margin: 22px 0 21px; }
h1 em, .section-intro em, .order-copy em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--blue); letter-spacing: -.065em; }
.pitch { max-width: 46ch; font-size: clamp(1rem, 1.32vw, 1.15rem); line-height: 1.65; color: var(--muted); }
.hero-offer { border-top: 1px solid var(--rule); margin-top: 26px; padding-top: 17px; gap: 19px; max-width: 425px; }
.hero-offer strong, .order-price { font-size: 3rem; font-weight: 650; letter-spacing: -.075em; line-height: 1.13; }
.hero-offer span, .order-price span { font-size: .85rem; line-height: 1.4; color: var(--muted); }
.actions { gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.primary { display: inline-flex; gap: 9px; padding: 13px 20px; min-height: 48px; justify-content: center; background: var(--ink); color: white; border-radius: 6px; font-size: .94rem; line-height: 1.35; font-weight: 750; }
.primary svg { color: var(--lime); width: 19px; height: 19px; }
.primary:hover { background: #2c4243; }
.secondary { padding-block: 7px; text-decoration: underline; text-decoration-color: #939e91; text-underline-offset: 5px; }

/* The sample is live typeset text so the visible page can change languages. */
.portfolio { position: relative; min-width: 0; overflow: hidden; isolation: isolate; border-radius: 12px; background-color: #264398; background-image: radial-gradient(ellipse at 72% 28%, #536bba 0, transparent 62%), repeating-linear-gradient(135deg, #ffffff03 0 1px, transparent 1px 5px); color: white; }
.portfolio-top, .portfolio-foot { justify-content: space-between; gap: 8px; position: relative; z-index: 2; }
.portfolio-top { padding: 18px 21px 0; min-height: 58px; }
.portfolio-top > span { font-size: .92rem; font-weight: 700; }
.language-switch { border: 1px solid #ffffff65; padding: 2px; border-radius: 7px; display: inline-flex; }
.language-switch label { position: relative; cursor: pointer; }
.language-switch label span { display: grid; min-width: 33px; height: 30px; place-items: center; font-size: .77rem; font-weight: 750; border-radius: 4px; }
.language-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.language-switch input:checked + span { background: #fff; color: var(--blue); }
.language-switch input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: -2px; }
.paper-stage { position: relative; width: min(68%, 375px); margin: 27px auto 23px; }
.back-sheet { position: absolute; inset: 0; background: #d9ec9c; transform: translate(13px, 4px) rotate(7deg); box-shadow: 0 10px 12px #101f4b47; }
.back-sheet:before { content: ""; position: absolute; top: -10px; right: 12%; width: 34%; height: 16px; background: #d9ec9c; border-radius: 5px 7px 0 0; }
.resume { position: relative; border: 1px solid #e6e5df; background: #fffefa; color: #202c2c; padding: 8% 8% 5%; transform: rotate(-3deg); box-shadow: 0 10px 19px #0d1b4b48; }
.paper-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 15px; border-bottom: 2px solid #234743; }
.profession { color: #435350; font-size: .69rem; line-height: 1.25; font-weight: 750; }
.paper-head h2 { margin-top: 6px; font-family: Georgia, serif; font-size: clamp(1.4rem, 2.25vw, 2.25rem); font-weight: 400; letter-spacing: -.07em; }
.resume .profile { margin: 13px 0 16px; font-size: .72rem; line-height: 1.55; }
.cv-row { display: grid; grid-template-columns: .32fr 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid #c8d1cd; }
.cv-row h3 { font-size: .67rem; line-height: 1.45; }
.cv-date { display: block; font-size: .62rem; color: #495a55; margin-bottom: 4px; }
.cv-row h4 { font-size: .74rem; line-height: 1.4; }
.cv-row p { font-size: .68rem; line-height: 1.55; margin-top: 5px; }
.skill-list { display: flex; flex-wrap: wrap; gap: 4px; }
.skill-list span { border: 1px solid #c5cec3; font-size: .60rem; padding: 1px 5px; border-radius: 2px; }
.paper-foot { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 6px; border-top: 1px solid #d5dcd4; font-size: .60rem; color: #475551; }
.portfolio-foot { padding: 7px 20px 16px; }
.portfolio-foot > span { font-size: .75rem; color: #e3eaff; }
.expand { background: none; border: 0; color: #fff; padding: 7px 0 7px 4px; gap: 6px; font-size: .83rem; font-weight: 700; }
.expand svg { width: 16px; height: 16px; }
.expand:hover { text-decoration: underline; }

.team { border-block: 1px solid var(--rule); background: #edf0e8; padding-block: clamp(45px, 5vw, 78px); }
.section-intro { display: flex; align-items: end; gap: 20px; justify-content: space-between; margin-bottom: 30px; }
.section-intro h2, .order-copy h2 { font-size: clamp(2.1rem, 3.8vw, 3.85rem); font-weight: 650; letter-spacing: -.069em; line-height: 1.07; }
.section-intro p { font-size: 1rem; color: var(--muted); max-width: 34ch; }
.team-grid { display: grid; grid-template-columns: repeat(2,1fr); border-block: 1px solid #c3ccc0; }
.role { padding: 27px 7% 30px 0; }
.role + .role { padding-left: 7%; border-left: 1px solid #c3ccc0; }
.role-top { gap: 12px; }
.role-top svg { width: 24px; height: 24px; color: var(--blue); }
.role h3, .example-lead h3, .contact-card h3 { font-size: clamp(1.17rem, 1.65vw, 1.55rem); font-weight: 750; letter-spacing: -.045em; line-height: 1.25; }
.role p { margin-top: 13px; color: #45514b; max-width: 55ch; }
.writing-example { padding-top: 30px; display: grid; grid-template-columns: .85fr 1fr 1.15fr; gap: 27px; }
.example-lead p { font-size: .85rem; color: var(--muted); margin-top: 7px; }
.work-phrase { border-left: 2px solid #b8c2b4; padding-left: 14px; }
.work-phrase span { color: var(--muted); font-weight: 750; font-size: .81rem; }
.work-phrase p { font-size: 1rem; margin-top: 6px; }
.work-phrase.result { border-color: var(--blue); }
.result span { color: var(--blue); }
.order { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(30px, 9vw, 145px); padding-block: clamp(48px, 6vw, 93px); }
.order-copy > p { max-width: 55ch; margin-top: 17px; color: var(--muted); }
.contact-card { border: 1px solid #c7d78e; border-radius: 12px; padding: clamp(23px,3.6vw,48px); color: #1d2919; background: #e2f2b6; }
.order-price { margin: 14px 0 20px; }
.order-price span { margin-left: 6px; white-space: nowrap; font-weight: 600; letter-spacing: normal; }
.contact-card .primary { width: 100%; }
.other-messengers { justify-content: center; gap: 14px; margin-top: 12px; font-size: .91rem; font-weight: 700; }
.other-messengers a { padding: 4px; text-decoration: underline; text-underline-offset: 3px; }
footer { border-top: 1px solid var(--rule); }
.footer-row { padding-block: 22px; justify-content: space-between; gap: 16px; }
address { font-size: .83rem; color: var(--muted); font-style: normal; }
.mobile-order, .js-only { display: none; }
.interactive .js-only { display: inline-flex; }
dialog { max-height: calc(100dvh - 26px); width: min(600px, calc(100% - 24px)); max-width: none; padding: 0; border: 1px solid #bfcabb; border-radius: 9px; color: var(--ink); background: #fffefa; }
dialog::backdrop { background: #111726b8; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-bar { position: sticky; z-index: 1; top: 0; justify-content: space-between; padding: 10px 15px; gap: 12px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.dialog-bar h2 { font-size: 1rem; }
.dialog-bar button { border: 1px solid #b5beb1; border-radius: 4px; padding: 7px 12px; color: var(--ink); background: #fff; }
dialog .resume { box-shadow: none; border: 0; transform: none; padding: clamp(17px, 4vw, 38px); }
dialog .paper-head h2 { font-size: clamp(1.85rem,5vw,3rem); }
dialog .profession, dialog .cv-row h3, dialog .cv-date, dialog .skill-list span, dialog .paper-foot { font-size: .85rem; }
dialog .resume .profile, dialog .cv-row h4, dialog .cv-row p { font-size: 1rem; }
dialog .cv-row { padding-block: 15px; }
@media (max-width: 900px) {
  .main-nav { gap: 18px; }
  .head-row { min-height: 67px; }
  .hero { gap: 24px; }
  .paper-stage { width: 75%; }
  .portfolio-top, .portfolio-foot { padding-inline: 14px; }
  .portfolio-foot > span { max-width: 19ch; }
  .writing-example { grid-template-columns: 1fr 1fr; gap: 18px; }
  .example-lead { grid-column: 1/-1; }
}
@media (max-width: 730px) {
  .hero, .order { grid-template-columns: 1fr; }
  .hero { gap: 30px; padding-block: 32px; }
  .main-nav { display: none; }
  .world-label { font-size: .83rem; }
  h1 { font-size: clamp(3.15rem,8.6vw,4.7rem); margin: 14px 0 17px; }
  .hero-offer { margin-top: 19px; padding-top: 15px; }
  .hero-offer strong { font-size: 2.65rem; }
  .actions { margin-top: 15px; }
  .portfolio { width: 100%; max-width: 520px; margin-inline: auto; }
  .section-intro { display: block; margin-bottom: 20px; }
  .section-intro p { margin-top: 10px; max-width: none; }
  .footer-row { align-items: start; }
  .order { gap: 24px; }
}
@media (max-width: 600px) {
  html { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }




  .team-grid, .writing-example { grid-template-columns: 1fr; }
  .role { padding: 21px 0; }
  .role + .role { border: 0; border-top: 1px solid #c3ccc0; padding: 21px 0; }
  .writing-example { padding-top: 22px; }
  .footer-row { align-items: start; flex-direction: column; }
  .head-link { font-size: .81rem; gap: 6px; padding: 8px 10px; }
  .head-link svg { width: 16px; height: 16px; }
  .brand { font-size: 1.19rem; gap: 7px; }
  .brand img { width: 30px; height: 30px; }
  .head-row { gap: 9px; min-height: 58px; }
  .brand-service { padding-left: 7px; }
  .language-switch label span { min-width: 34px; height: 32px; }
  .hero .pitch { font-size: 1rem; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 28px); }
  .brand-service { display: none; }
  .actions { gap: 12px; }
  .actions .primary { padding-inline: 12px; }
  .actions .secondary { font-size: .81rem; }
  .portfolio-foot > span { font-size: .72rem; }
  .paper-stage { width: 79%; }

}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.portfolio-top { gap: 9px; }
.profile-switch { border: 0; padding: 0; gap: 6px; margin: 7px 20px 0; flex-wrap: wrap; }
.profile-switch label { position: relative; cursor: pointer; }
.profile-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.profile-switch span { display: inline-block; padding: 5px 10px; border: 1px solid #ffffff80; border-radius: 5px; font-size: .8rem; font-weight: 700; }
.profile-switch input:checked + span { background: #e3f2b9; border-color: #e3f2b9; color: #172841; }
.profile-switch input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.paper-stage { width: min(74%,407px); margin-block: 21px 16px; }
.portrait { display: block; flex: none; width: 65px; height: 76px; object-fit: cover; object-position: center 35%; border-radius: 3px; }
.paper-stage .resume { padding: 5.8% 6% 3.5%; transform: rotate(-2deg); }
.paper-stage .paper-head { padding-bottom: 10px; }
.cv-position + .cv-position { margin-top: 19px; }
.cv-position ul { padding-left: 1.05em; margin: 6px 0 0; }
.cv-position li { font-size: .69rem; line-height: 1.48; margin-top: 4px; }
.cv-position .employer { margin: 2px 0 4px; color: #49554f; font-weight: 650; }
.cv-row h3 { overflow-wrap: anywhere; }
.cv-analytics .paper-head { border-color: #67518c; }
.cv-analytics .profession, .cv-analytics .cv-row h3 { color: #634d7e; }
.interactive .paper-stage .full-only, .interactive .paper-stage .cv-position + .cv-position,
.interactive .paper-stage .cv-position li:nth-child(n+3) { display: none; }
.portfolio-foot { justify-content: flex-end; }
.expand { min-height: 40px; color: #fff; }
.expand:hover { text-underline-offset: 3px; }
dialog { width: min(750px,calc(100% - 24px)); }
dialog .portrait { width: 94px; height: 108px; border-radius: 5px; }
dialog .cv-row { grid-template-columns: minmax(92px,.36fr) minmax(0,1fr); }
dialog .cv-position li { font-size: 1rem; line-height: 1.58; margin-top: 7px; }
dialog .skill-list { gap: 6px; }
dialog .cv-row .employer { font-size: .88rem; }
.messenger {
  --brand-background: #08799f;
  --brand-ink: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; border-radius: 8px; border: 0;
  background: var(--brand-background); color: var(--brand-ink);
  font-size: .94rem; font-weight: 750; line-height: 1.28; text-align: center;
}
.messenger.telegram { --brand-background: #06769f; }
.messenger.whatsapp { --brand-background: #25d366; --brand-ink: #103521; }
.messenger.viber { --brand-background: #6852b5; }
.messenger svg { width: 21px; height: 21px; flex: none; color: currentColor; }
.messenger.whatsapp svg, .messenger.viber svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.messenger:is(:hover,:active) { background: var(--brand-background); color: var(--brand-ink); filter: brightness(.93); }
.messenger-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.messenger-options .telegram { grid-column: 1/-1; min-height: 48px; }
.hero .messenger { min-height: 48px; }
.head-link.messenger { font-size: .86rem; }
.mobile-order { display: none; }
@media (max-width: 900px) {
  .profile-switch { margin-inline: 14px; }
  .paper-stage { width: 78%; }
}
@media (max-width: 760px), (max-height: 550px) and (pointer: coarse) {
  html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom,0px)); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom,0px)); }
  .mobile-order {
    position: fixed; z-index: 4; inset: auto 0 0;
    display: grid; grid-template-columns: 1.18fr 1fr .88fr; gap: 6px;
    padding: 6px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));
    background: var(--paper); border-top: 1px solid #c0c9c0; box-shadow: 0 -3px 12px #10262512;
  }
  .mobile-order .messenger { gap: 5px; min-width: 0; min-height: 48px; padding: 5px; font-size: .83rem; }
  .mobile-order .messenger svg { width: 19px; height: 19px; }
  .mobile-order .telegram span { text-align: left; }
  .mobile-order small { display: block; font-size: .65rem; font-weight: 600; }
}
@media (max-width: 510px) {
  dialog .cv-row { grid-template-columns: 1fr; gap: 6px; }
  dialog .cv-row h3 { color: var(--blue); }
  dialog .portrait { width: 68px; height: 82px; }
  .paper-stage { width: 81%; }
  .paper-stage .resume .profile { margin-block: 10px; }
  .paper-stage .cv-row { grid-template-columns: minmax(41px,.27fr) minmax(0,1fr); gap: 7px; }
  .paper-stage .portrait { width: 53px; height: 65px; }
  .paper-stage .cv-position li { font-size: .66rem; }
  .hero .actions .messenger { padding-inline: 13px; }
  .profile-switch span { padding: 5px 8px; }
  .head-link.messenger { padding: 8px 10px; font-size: .8rem; }
}
