:root {
  --red: #d7272b;
  --red-dark: #b91f24;
  --ink: #232a35;
  --body: #5e6671;
  --line: #e3e6e9;
  --light: #f5f6f7;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: white; font: 16px/1.75 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.25; }
::selection { background: #f8d7d8; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
.container { width: min(1140px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; padding: 10px 20px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid #eceef0; }
.header-inner { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: block; flex-shrink: 0; width: 144px; }
.brand img { width: 100%; }
.header-inner nav { display: flex; align-items: center; gap: 31px; font-size: 13px; font-weight: 500; }
.header-inner nav > a { white-space: nowrap; }
.header-inner nav > a:not(.button):hover, .footer-main nav a:hover { color: var(--red); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 12px 24px; background: var(--red); color: white; border: 1px solid var(--red); border-radius: 4px; font-size: 13px; font-weight: 600; line-height: 1.5; transition: background .18s, border-color .18s; }
.button:hover { background: var(--red-dark); border-color: var(--red-dark); }
.button-small { min-height: 41px; padding: 9px 20px; font-size: 12px; }
.plain-link { display: inline-block; font-size: 13px; font-weight: 500; text-decoration: underline; text-decoration-color: #c1c5cb; text-underline-offset: 5px; }
.plain-link:hover { color: var(--red); text-decoration-color: var(--red); }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.65px; line-height: 1.6; text-transform: uppercase; color: var(--red); }
.hero { padding: 52px 0 65px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.hero-copy { padding: 7px 0; }
h1 { margin-top: 18px; font-size: clamp(42px, 4.2vw, 56px); font-weight: 700; letter-spacing: -1.85px; line-height: 1.15; }
h1 span { color: var(--red); }
.hero-intro { max-width: 470px; margin-top: 25px; color: #444d59; font-size: 17px; line-height: 1.8; }
.hero-description { max-width: 460px; margin-top: 13px; color: var(--body); font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; margin-top: 29px; }
.hero-actions .plain-link { font-size: 12px; }
.hero-photo { height: 414px; overflow: hidden; border-radius: 5px; background: #eceeea; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }
.section-space { padding: 76px 0; }
.services { border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 45px; margin-bottom: 34px; }
h2 { font-size: 35px; font-weight: 650; letter-spacing: -1px; line-height: 1.23; }
.section-heading h2 { margin-top: 12px; }
.section-heading > p { color: var(--body); font-size: 14px; line-height: 1.85; margin-bottom: 1px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.service-card { display: flex; flex-direction: column; padding: 29px 26px 25px; border: 1px solid var(--line); border-radius: 5px; background: white; }
.service-icon { width: 44px; height: 44px; display: grid; place-items: center; background: #fcf0f0; border-radius: 4px; margin-bottom: 24px; }
.service-icon svg { width: 26px; height: 26px; stroke: var(--red); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 20px; font-weight: 650; letter-spacing: -.45px; }
.service-card > p { color: var(--body); font-size: 14px; line-height: 1.85; margin-top: 14px; margin-bottom: 22px; }
.service-card ul { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); font-size: 12px; line-height: 2.1; color: #4f5965; }
.service-card li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 9px 2px 0; background: var(--red); border-radius: 50%; }
.agency { background: var(--light); }
.agency-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 95px; align-items: start; }
.agency h2 { margin-top: 15px; }
.agency-copy > p:not(.eyebrow) { margin-top: 22px; color: var(--body); font-size: 15px; line-height: 1.85; }
.agency-copy .plain-link { margin-top: 24px; }
.working-process { padding-top: 3px; }
.working-process > h3 { font-size: 15px; font-weight: 600; padding-bottom: 19px; border-bottom: 1px solid #dadddf; }
.working-process ol { margin: 0; padding: 0; list-style: none; }
.working-process li { display: flex; gap: 20px; padding: 23px 0; border-bottom: 1px solid #dadddf; }
.working-process li:last-child { padding-bottom: 0; border-bottom: 0; }
.step-number { color: var(--red); font-size: 11px; font-weight: 600; line-height: 1.6; padding-top: 1px; }
.working-process h4 { font-size: 16px; font-weight: 600; letter-spacing: -.1px; }
.working-process p { margin-top: 8px; color: var(--body); font-size: 13px; line-height: 1.8; max-width: 350px; }
.publisher-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 100px; align-items: start; }
.publisher-intro h2 { margin-top: 15px; }
.publisher-intro > p:not(.eyebrow) { margin-top: 20px; color: var(--body); font-size: 14px; line-height: 1.85; max-width: 370px; }
.publisher-questions { border-top: 1px solid var(--line); }
.publisher-questions details { border-bottom: 1px solid var(--line); padding: 0; }
.publisher-questions summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; font-size: 15px; font-weight: 600; line-height: 1.55; cursor: pointer; list-style: none; }
.publisher-questions summary::-webkit-details-marker { display: none; }
.publisher-questions summary::after { content: "+"; font-size: 21px; font-weight: 400; line-height: 1; color: #6b737d; flex-shrink: 0; }
.publisher-questions details[open] summary::after { content: "−"; }
.publisher-questions details p { color: var(--body); font-size: 14px; line-height: 1.9; padding: 0 23px 23px 0; }
.publisher-questions details a { text-decoration: underline; text-underline-offset: 3px; }
.publisher-questions details a:hover { color: var(--red); }
.contact { background: #252d39; color: white; padding: 46px 0; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact h2 { font-size: 29px; letter-spacing: -.7px; }
.contact p { margin-top: 12px; color: #c5cbd3; font-size: 14px; line-height: 1.8; }
.contact .button { flex-shrink: 0; min-width: 135px; }
.site-footer { padding-top: 28px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-bottom: 24px; }
.footer-brand { width: 112px; }
.footer-main > p { color: var(--body); font-size: 11px; }
.footer-main nav { display: flex; gap: 22px; color: var(--body); font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); color: #747c86; font-size: 10px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1050px) {
  .container { width: calc(100% - 56px); }
  .hero-grid { gap: 38px; }
  h1 { font-size: 47px; letter-spacing: -1.6px; }
  .hero-intro { font-size: 16px; }
  .hero-photo { height: 405px; }
  .header-inner nav { gap: 23px; }
  .service-grid { gap: 18px; }
  .service-card { padding: 26px 22px; }
  .service-card h3 { font-size: 18px; }
  .service-card > p { font-size: 13px; }
  .service-card ul { font-size: 11px; }
  .agency-grid { gap: 55px; }
  .publisher-grid { gap: 60px; }
  .contact h2 { font-size: 27px; }
}
@media (max-width: 780px) {
  .container { width: calc(100% - 44px); }
  .header-inner { min-height: 94px; gap: 20px; }
  .brand { width: 123px; }
  .header-inner nav { gap: 20px; font-size: 12px; }
  .header-inner nav > a:nth-child(2) { display: none; }
  .button-small { padding: 9px 16px; font-size: 11px; }
  .hero { padding: 36px 0 46px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero-copy { max-width: 590px; padding: 0; }
  h1 { font-size: 54px; letter-spacing: -1.9px; }
  .hero-intro { max-width: 560px; font-size: 17px; }
  .hero-description { max-width: 550px; }
  .hero-photo { height: 365px; }
  .section-space { padding: 57px 0; }
  .section-heading { gap: 30px; }
  h2 { font-size: 33px; }
  .section-heading > p { font-size: 12px; }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-card { padding: 27px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 22px; }
  .service-icon { grid-row: span 2; margin: 0; }
  .service-card h3 { font-size: 21px; margin-top: 3px; }
  .service-card > p { font-size: 14px; margin-top: 12px; }
  .service-card ul { grid-column: 2; font-size: 12px; }
  .agency-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .agency-copy { max-width: 600px; }
  .working-process p { max-width: 540px; }
  .publisher-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .publisher-intro h2 br { display: none; }
  .publisher-intro > p:not(.eyebrow) { max-width: 580px; }
  .contact-inner { gap: 30px; }
  .contact h2 { font-size: 25px; }
  .contact p { font-size: 13px; }
  .footer-main { flex-wrap: wrap; gap: 18px; }
  .footer-main > p { margin-left: auto; }
  .footer-main nav { flex-basis: 100%; justify-content: flex-end; }
}
@media (max-width: 500px) {
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 86px; gap: 14px; }
  .brand { width: 108px; }
  .header-inner nav { gap: 17px; font-size: 11px; }
  .header-inner nav > a:nth-child(3) { display: none; }
  .button-small { padding: 8px 12px; min-height: 37px; font-size: 10px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.4px; }
  .hero { padding-top: 33px; padding-bottom: 36px; }
  h1 { font-size: clamp(34px, 9.7vw, 47px); letter-spacing: -1.35px; line-height: 1.18; margin-top: 16px; }
  .hero-intro { font-size: 15px; line-height: 1.85; margin-top: 22px; }
  .hero-description { font-size: 14px; margin-top: 12px; }
  .hero-actions { gap: 20px; margin-top: 25px; }
  .hero-actions .button { padding-inline: 19px; font-size: 12px; min-height: 44px; }
  .hero-actions .plain-link { font-size: 11px; }
  .hero-photo { height: 272px; }
  .hero-photo img { object-position: center center; }
  .section-space { padding: 44px 0; }
  .section-heading { display: block; margin-bottom: 27px; }
  h2 { font-size: 30px; letter-spacing: -.85px; }
  .section-heading h2 { margin-top: 12px; }
  .section-heading > p { margin-top: 17px; font-size: 13px; }
  .desktop-break { display: none; }
  .service-card { display: flex; padding: 24px; }
  .service-icon { margin-bottom: 22px; }
  .service-card h3 { font-size: 20px; margin-top: 0; }
  .service-card > p { font-size: 13px; margin-top: 13px; }
  .service-card ul { font-size: 11px; }
  .agency h2 { font-size: 31px; }
  .agency-copy > p:not(.eyebrow) { font-size: 14px; margin-top: 19px; }
  .agency-copy .plain-link { font-size: 12px; }
  .working-process li { gap: 17px; padding-block: 21px; }
  .working-process h4 { font-size: 15px; }
  .working-process p { font-size: 13px; }
  .publisher-intro h2 br { display: block; }
  .publisher-intro > p:not(.eyebrow) { font-size: 13px; }
  .publisher-questions summary { padding-block: 20px; font-size: 14px; gap: 15px; }
  .publisher-questions details p { font-size: 13px; padding-right: 8px; }
  .contact { padding: 35px 0; }
  .contact-inner { display: block; }
  .contact h2 { font-size: 27px; letter-spacing: -.7px; }
  .contact p { font-size: 13px; margin-top: 14px; }
  .contact .button { margin-top: 23px; min-height: 44px; min-width: 126px; font-size: 12px; }
  .site-footer { padding-top: 23px; }
  .footer-main { gap: 16px; padding-bottom: 20px; }
  .footer-brand { width: 99px; }
  .footer-main > p { flex-basis: 100%; order: 3; margin: 0; font-size: 10px; }
  .footer-main nav { flex-basis: auto; margin-left: auto; font-size: 10px; gap: 15px; flex-wrap: wrap; justify-content: flex-end; max-width: 190px; }
  .footer-bottom { align-items: flex-start; gap: 15px; font-size: 8px; }
}
@media (max-width: 360px) {
  .header-inner nav > a:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
