:root {
  --ink: #08080a;
  --paper: #f4f4f0;
  --muted: #a0a0a5;
  --line: rgba(244, 244, 240, 0.12);
  --line-strong: rgba(244, 244, 240, 0.25);
  --ember: #d95d39;
  --soft: #e9e8e1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

html,
body {
  max-width: 100%;
}

.container-fluid { width: 100%; max-width: 1440px; margin-left: auto; margin-right: auto; }
.row { --bs-gutter-x: 1.5rem; --bs-gutter-y: 0; display: flex; flex-wrap: wrap; margin-top: calc(-1 * var(--bs-gutter-y)); margin-right: calc(-0.5 * var(--bs-gutter-x)); margin-left: calc(-0.5 * var(--bs-gutter-x)); }
.row > * { flex-shrink: 0; width: 100%; max-width: 100%; padding-right: calc(var(--bs-gutter-x) * 0.5); padding-left: calc(var(--bs-gutter-x) * 0.5); margin-top: var(--bs-gutter-y); }
.g-0 { --bs-gutter-x: 0; --bs-gutter-y: 0; }
.g-4 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
.g-5 { --bs-gutter-x: 3rem; --bs-gutter-y: 3rem; }
.align-items-center { align-items: center; }
.align-items-end { align-items: flex-end; }
.col-12 { flex: 0 0 auto; width: 100%; }
@media (min-width: 992px) {
  .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
  .offset-lg-1 { margin-left: 8.33333333%; }
  .order-lg-1 { order: 1; }
  .order-lg-2 { order: 2; }
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 100vh;
  pointer-events: none;
  z-index: 95;
  background:
    radial-gradient(circle at 16% 18%, rgba(244, 244, 240, 0.08), transparent 1px),
    radial-gradient(circle at 74% 62%, rgba(244, 244, 240, 0.06), transparent 1px),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 4px);
  background-size: 17px 17px, 23px 23px, 9px 9px;
  opacity: 0.22;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.grain { display: none; }

.site-header { position: fixed; z-index: 80; top: 0; left: 0; right: 0; min-height: 79px; padding: 20px 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(8, 8, 10, 0.7); backdrop-filter: blur(20px); }
.brand { font-family: "Syne", Arial, sans-serif; font-size: 18px; font-weight: 800; line-height: 1; letter-spacing: 0.25em; text-transform: uppercase; white-space: nowrap; }
.brand span, .accent { color: var(--ember); }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav-links a, .text-link, .eyebrow, .button, .scroll-cue, .site-footer, .case-media span, .software-media span, .form-note, .portfolio-card span, .price-card span, label span, .small-note { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.nav-links a { color: var(--muted); transition: color 180ms ease; }
.nav-links a:hover, .text-link:hover, .site-footer a:hover { color: var(--paper); }

.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 15px 30px; border: 1px solid var(--line-strong); background: transparent; color: var(--paper); overflow: hidden; cursor: pointer; transition: color 220ms ease, border-color 220ms ease, transform 220ms ease; }
.button::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%); background: var(--paper); transition: transform 260ms ease; }
.button:hover { color: var(--ink); border-color: var(--paper); transform: translateY(-1px); }
.button:hover::before { transform: translateX(0); }
.button-small { min-height: 38px; padding: 11px 20px; }
.disabled-label { opacity: 0.62; cursor: default; }
.disabled-label:hover { color: var(--paper); border-color: var(--line-strong); transform: none; }
.disabled-label:hover::before { transform: translateX(-101%); }

.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-image { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25); opacity: 0.28; transform: scale(1.1); }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(to top, var(--ink) 0%, rgba(8,8,10,0.64) 45%, rgba(8,8,10,0.3) 100%), linear-gradient(90deg, rgba(8,8,10,0.55), transparent 70%); }
.hero-inner { width: 100%; padding: 150px 48px 90px; }
.eyebrow { margin: 0 0 24px; color: var(--ember); }
.hero h1, .page-hero h1, .case-hero h1, .section h2, .section-heading h2, .work h2, .software h2, .global h2, .contact h1 { font-family: "Syne", Arial, sans-serif; font-weight: 800; line-height: 0.95; text-transform: uppercase; letter-spacing: 0; overflow-wrap: break-word; }
.hero h1 { margin: 0; max-width: 1170px; font-size: clamp(56px, 7.5vw, 96px); }
.hero h1 span, .section-heading h2 span, .work h2 span, .software h2 span, .global h2 span, .contact h1 span { display: block; }
.hero-footer { margin-top: 56px; align-items: flex-end; }
.hero-footer p, .page-hero p, .case-hero p, .lede, .final-cta p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 16px; }
.hero-actions.left { justify-content: flex-start; margin-top: 32px; }
.text-link { min-height: 50px; display: inline-flex; align-items: center; gap: 12px; padding: 15px 0; color: var(--muted); transition: color 200ms ease; }
.scroll-cue { position: absolute; right: 48px; bottom: 28px; display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 10px; letter-spacing: 0.3em; }

.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; will-change: transform; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee span { padding: 0 48px; font-family: "Syne", Arial, sans-serif; font-size: 24px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(244,244,240,0.82); white-space: nowrap; }
.marquee i { color: var(--ember); font-style: normal; }
@keyframes marquee { to { transform: translateX(-33.333%); } }

.section, .services, .page-hero, .case-hero { padding: 128px 48px; content-visibility: auto; contain-intrinsic-size: auto 760px; }
.page-hero, .case-hero { padding-top: 180px; }
.section h2, .section-heading h2, .work h2 { margin: 0; font-size: clamp(38px, 4.2vw, 64px); max-width: 980px; }
.page-hero h1, .case-hero h1 { margin: 0; font-size: clamp(42px, 4.8vw, 72px); max-width: 980px; }
.page-hero p, .case-hero p { max-width: 720px; margin-top: 34px; }
.case-hero img { width: 100%; max-height: 620px; object-fit: cover; margin-top: 54px; border: 1px solid var(--line); }
.case-hero .logo-hero { object-fit: contain; padding: clamp(32px, 8vw, 96px); background: #f7f8f8; }
.split-section { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; border-top: 1px solid var(--line); }
.split-section h2 { max-width: 100%; font-size: clamp(34px, 3vw, 46px); line-height: 1.04; }
.feature-grid, .pricing-grid, .portfolio-grid, .testimonial-grid, .comparison-grid, .screenshot-grid { display: grid; gap: 24px; }
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 58px; }
.pricing-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pricing-grid.packages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; align-items: start; }
.pricing-table-wrap { margin-top: 58px; overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing-table { width: 100%; min-width: 1040px; border-collapse: collapse; }
.pricing-table th, .pricing-table td { width: 20%; padding: 22px 18px; vertical-align: top; border-top: 1px solid var(--line); text-align: left; color: var(--muted); line-height: 1.55; }
.pricing-table th:first-child { position: sticky; left: 0; z-index: 2; background: var(--ink); box-shadow: 1px 0 0 var(--line); }
.pricing-table thead th { border-top: 0; color: var(--paper); font-family: "Syne", Arial, sans-serif; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.12; text-transform: uppercase; }
.pricing-table tbody th { color: rgba(244,244,240,0.64); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.pricing-table strong { display: block; color: var(--paper); font-family: "Syne", Arial, sans-serif; font-size: clamp(22px, 2.2vw, 30px); line-height: 1; }
.pricing-table .highlighted { background: rgba(217,93,57,0.08); }
.pricing-table thead .highlighted { color: var(--ember); }
.pricing-table th span { display: block; margin-top: 10px; color: var(--ember); font-family: "Manrope", Arial, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; line-height: 1.35; }
.portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.testimonial-grid, .comparison-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 58px; }
.screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.mini-card, .price-card, .portfolio-card, .testimonial-card, .comparison-grid article, .empty-state { border-top: 1px solid var(--line); padding-top: 24px; }
.mini-card h3, .price-card h3, .portfolio-card h3, .testimonial-card h3, .comparison-grid h3 { font-size: clamp(24px, 2.4vw, 32px); }
.mini-card p, .price-card p, .portfolio-card p, .testimonial-card p, .comparison-grid p, .long-copy p, .legal-copy p, .case-content p, .empty-state p, .check-grid li, .price-card li, .faq p { color: var(--muted); line-height: 1.6; }
.pricing-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-card strong { display: block; margin: 18px 0 18px; font-family: "Syne", Arial, sans-serif; font-size: clamp(30px, 3vw, 44px); line-height: 1; color: var(--paper); }
.price-card ul { margin: 24px 0; padding-left: 18px; }
.price-card li + li { margin-top: 10px; }
.price-card.featured { border-color: var(--ember); }
.popular-badge { margin: 16px 0 -2px; color: var(--ember); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.package-group { margin-top: 30px; }
.package-group h3 { margin: 0 0 18px; font-size: 18px; line-height: 1.25; color: var(--paper); }
.package-details { margin-top: 58px; border-bottom: 1px solid var(--line); }
.package-details details { border-top: 1px solid var(--line); }
.package-details summary { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; color: var(--paper); }
.package-details summary::-webkit-details-marker { display: none; }
.package-details summary span { font-family: "Syne", Arial, sans-serif; font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; line-height: 1.12; text-transform: uppercase; }
.package-details summary strong { color: var(--ember); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.package-details summary::after { content: "+"; flex: 0 0 auto; color: var(--paper); font-family: "Syne", Arial, sans-serif; font-size: 28px; line-height: 1; }
.package-details details[open] summary::after { content: "-"; color: var(--ember); }
.details-columns { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; padding: 4px 0 40px; }
.details-columns h3 { margin: 0 0 18px; font-size: 20px; line-height: 1.25; }
.details-columns ul { margin: 0; padding-left: 18px; columns: 2; column-gap: 34px; }
.details-columns li, .details-columns p { color: var(--muted); line-height: 1.6; break-inside: avoid; }
.details-columns li + li { margin-top: 8px; }
.small-note { display: block; color: rgba(244,244,240,0.5); line-height: 1.5; }

.services { padding-left: 0; padding-right: 0; }
.section-heading { padding: 0 48px; margin-bottom: 76px; }
.service-list { border-bottom: 1px solid var(--line); }
.service-row { position: relative; min-height: 160px; display: grid; grid-template-columns: 76px minmax(260px, 5fr) minmax(300px, 5fr) 40px; gap: 24px; align-items: center; padding: 46px 48px; border-top: 1px solid var(--line); overflow: hidden; }
.service-row img { position: absolute; top: 0; right: 0; width: 34%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: 0; transition: opacity 350ms ease; }
.service-row:hover img { opacity: 0.25; }
.service-row span, .service-row h3, .service-row p, .service-row b { position: relative; }
.service-row span, .number { font-family: "Playfair Display", Georgia, serif; color: rgba(244,244,240,0.25); }
.service-row span { font-size: 30px; }
h3 { margin: 0; font-family: "Syne", Arial, sans-serif; font-size: clamp(28px, 3vw, 36px); font-weight: 700; line-height: 1.12; letter-spacing: 0; }
.service-row p { max-width: 530px; margin: 0; color: var(--muted); line-height: 1.55; }
.service-row h3, .service-row b { transition: color 220ms ease, transform 220ms ease; }
.service-row b { justify-self: end; color: var(--muted); font-size: 22px; font-weight: 400; }
.service-row:hover h3, .service-row:hover b { color: var(--ember); }
.service-row:hover b { transform: translate(4px, -4px); }

.process-grid { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.process-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process-grid li { border-top: 1px solid var(--line); padding-top: 22px; }
.process-grid span { display: block; margin-bottom: 18px; color: rgba(244,244,240,0.28); font-family: "Playfair Display", Georgia, serif; font-size: 34px; }
.process-grid h3 { font-size: 23px; }
.process-grid p { color: var(--muted); line-height: 1.55; }
.check-grid { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; }
.check-grid li { border-top: 1px solid var(--line); padding-top: 16px; }

.work { padding-top: 128px; }
.case-list { margin-top: 92px; display: grid; gap: 88px; }
.case-list.compact { gap: 64px; }
.case-study { display: flex; flex-wrap: wrap; align-items: center; margin-left: 0; margin-right: 0; color: inherit; text-decoration: none; cursor: pointer; }
.case-media { position: relative; min-height: 410px; padding: 0; overflow: hidden; border: 1px solid var(--line); background: rgba(244,244,240,0.03); }
.case-media img { width: 100%; height: 100%; min-height: 410px; object-fit: cover; filter: saturate(0.9) contrast(1.05); opacity: 0.88; transition: transform 500ms ease, opacity 500ms ease; }
.case-media-logo { background: #f7f8f8; }
.case-media-logo img { object-fit: contain; padding: clamp(26px, 5vw, 58px); filter: none; background: #f7f8f8; }
.case-study:hover .case-media img, .portfolio-card:hover img { transform: scale(1.04); opacity: 0.9; }
.case-media span { position: absolute; top: 28px; left: 32px; color: var(--paper); }
.case-copy { max-width: 520px; }
.case-copy .number { display: block; margin-bottom: 24px; font-size: clamp(80px, 9vw, 128px); line-height: 0.8; color: rgba(244,244,240,0.12); }
.case-copy p { margin: 26px 0 24px; font-size: 18px; color: var(--muted); line-height: 1.55; }
.portfolio-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 22px; border: 1px solid var(--line); transition: transform 500ms ease, opacity 500ms ease; }
.portfolio-card:nth-child(2) img, .portfolio-card:nth-child(3) img { object-fit: contain; background: #f7f8f8; padding: 34px; }
.portfolio-card span, .price-card span { color: var(--ember); }
.portfolio-card h3 { margin-top: 16px; }
.portfolio-card small { display: block; color: rgba(244,244,240,0.48); line-height: 1.5; }
.portfolio-card b { display: inline-block; margin-top: 22px; color: var(--paper); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; }

.software { display: flex; flex-wrap: wrap; margin-left: 0; margin-right: 0; min-height: 680px; background: var(--paper); color: var(--ink); }
.software-copy { padding: 96px 48px; align-self: center; }
.software h2 { margin: 0; font-size: clamp(54px, 5.6vw, 72px); color: var(--ink); }
.software .serif { margin: 42px 0 28px; font-family: "Playfair Display", Georgia, serif; font-size: 27px; font-style: italic; color: rgba(8,8,10,0.72); }
.software-copy > p:not(.eyebrow):not(.serif) { max-width: 610px; color: rgba(8,8,10,0.62); font-size: 18px; line-height: 1.55; }
.button-dark { z-index: 1; margin-top: 28px; border-color: rgba(8,8,10,0.55); color: var(--ink); }
.button-dark::before { background: var(--ink); }
.button-dark:hover { color: var(--paper); border-color: var(--ink); }
.software-media { position: relative; min-height: 520px; overflow: hidden; }
.software-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25); }
.software-media::after { content: ""; position: absolute; inset: 0; background: rgba(217,93,57,0.15); mix-blend-mode: multiply; }
.software-media span { position: absolute; z-index: 1; bottom: 22px; left: 28px; padding: 8px 14px; background: var(--ink); color: var(--paper); font-size: 10px; letter-spacing: 0.3em; }

.faq details { border-top: 1px solid var(--line); padding: 24px 0; }
.faq summary { cursor: pointer; font-family: "Syne", Arial, sans-serif; font-size: 24px; font-weight: 700; }
.case-content { display: grid; gap: 64px; }
.case-content article { max-width: 1080px; }
.case-content h2, .legal-copy h2 { font-family: "Syne", Arial, sans-serif; text-transform: uppercase; font-size: clamp(30px, 3vw, 44px); margin: 0 0 22px; }
.screenshot-grid img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border: 1px solid var(--line); }
.empty-state { padding: 24px; background: rgba(244,244,240,0.03); }
.legal-copy { max-width: 920px; }
.legal-copy h2:not(:first-child) { margin-top: 54px; }
.legal-copy a { border-bottom: 1px solid var(--ember); }
.long-copy p { font-size: 18px; }

.contact { display: flex; flex-wrap: wrap; margin-left: 0; margin-right: 0; border-top: 1px solid var(--line); padding-top: 170px; }
.contact h1 { margin: 0; font-size: clamp(48px, 5.7vw, 82px); line-height: 0.95; overflow-wrap: normal; }
.contact-copy p:not(.eyebrow) { max-width: 500px; margin: 38px 0 0; color: var(--muted); font-size: 18px; line-height: 1.55; }
.contact-copy a { display: inline-block; margin-top: 42px; padding-bottom: 8px; border-bottom: 1px solid var(--ember); font-size: 14px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; transition: color 180ms ease; }
.contact-copy a:hover { color: var(--ember); }
.contact-form { display: flex; flex-direction: column; gap: 30px; padding-top: 22px; }
.contact-form label { display: flex; flex-direction: column; gap: 10px; }
label span { color: rgba(244,244,240,0.54); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.input-line { width: 100%; min-height: 52px; border: 0; border-bottom: 1px solid rgba(244,244,240,0.25); border-radius: 0; background: transparent; color: var(--paper); outline: 0; padding: 8px 0 15px; font-size: 16px; transition: border-color 180ms ease; }
.input-line::placeholder, select.input-line { color: rgba(244,244,240,0.42); }
select.input-line { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 14px) 24px, calc(100% - 8px) 24px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
select.input-line option { background: var(--ink); color: var(--paper); }
textarea.input-line { resize: vertical; min-height: 110px; }
.input-line:focus { border-bottom-color: var(--ember); }
.contact-form .button { align-self: flex-start; min-width: 196px; }
.form-note { min-height: 20px; margin: -12px 0 0; color: var(--ember); font-size: 11px; line-height: 1.5; }

.not-found { min-height: calc(100vh - 110px); padding: 180px 48px 96px; display: grid; align-content: center; }
.not-found h1 { max-width: 1060px; margin: 0; font-family: "Syne", Arial, sans-serif; font-size: clamp(54px, 7.2vw, 108px); font-weight: 800; line-height: 0.94; text-transform: uppercase; letter-spacing: 0; }
.not-found-lede { max-width: 760px; margin: 38px 0 0; color: var(--muted); font-size: 19px; line-height: 1.6; }
.not-found-lede span { color: var(--paper); overflow-wrap: anywhere; }
.not-found-panel { max-width: 760px; margin-top: 44px; padding: 24px 0 0; border-top: 1px solid var(--line); }
.not-found-panel span { display: block; margin-bottom: 18px; color: var(--ember); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.not-found-panel ul { margin: 0; padding-left: 18px; columns: 3; column-gap: 30px; }
.not-found-panel li { color: var(--muted); line-height: 1.6; break-inside: avoid; }

.site-footer { min-height: 110px; padding: 40px 48px; display: flex; justify-content: space-between; gap: 28px; align-items: center; border-top: 1px solid var(--line); }
.site-footer div { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 20px 32px; color: var(--muted); }
.site-footer .brand { color: var(--paper); }

@media (max-width: 1060px) {
  .nav-links { display: none; }
}
@media (max-width: 900px) {
  .site-header { padding: 18px 24px; }
  .hero-inner, .section, .section-heading, .software-copy, .site-footer, .page-hero, .case-hero { padding-left: 24px; padding-right: 24px; }
  .not-found { padding-left: 24px; padding-right: 24px; }
  .hero-inner { padding-top: 128px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(48px, 11.5vw, 82px); }
  .hero-footer { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .scroll-cue { display: none; }
  .section, .services, .page-hero, .case-hero { padding-top: 96px; padding-bottom: 96px; }
  .page-hero, .case-hero, .contact { padding-top: 132px; }
  .split-section, .feature-grid, .pricing-grid, .pricing-grid.two, .pricing-grid.packages, .portfolio-grid, .testimonial-grid, .comparison-grid, .screenshot-grid { grid-template-columns: minmax(0, 1fr); }
  .split-section, .feature-grid, .pricing-grid, .portfolio-grid, .testimonial-grid, .comparison-grid, .screenshot-grid, .case-content, .case-content article, .long-copy, .legal-copy { width: 100%; max-width: 100%; min-width: 0; }
  .case-content { display: block; }
  .case-content article + article { margin-top: 64px; }
  .service-row { grid-template-columns: 56px 1fr; padding: 36px 24px; }
  .service-row p { grid-column: 2; }
  .service-row b, .service-row img { display: none; }
  .process-grid, .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .details-columns { grid-template-columns: 1fr; gap: 28px; }
  .not-found-panel ul { columns: 1; }
  .case-list { margin-top: 64px; gap: 64px; }
  .case-reverse .case-media, .case-reverse .case-copy { order: initial; }
  .case-media, .case-media img { min-height: 320px; }
  .case-copy { max-width: 100%; }
  .software-media { min-height: 420px; }
  .contact { gap: 48px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-footer div { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .site-header { min-height: 70px; }
  .site-header .button { display: none; }
  .brand { font-size: 16px; }
  .hero { min-height: 780px; }
  .hero h1 { font-size: clamp(27px, 8vw, 31px); }
  .hero-actions .button, .hero-actions .text-link { width: 100%; justify-content: center; }
  .marquee span { padding: 0 28px; font-size: 20px; }
  .marquee { max-width: 100vw; }
  .marquee-track { max-width: none; }
  .section h2, .section-heading h2, .work h2, .page-hero h1, .case-hero h1 { font-size: clamp(31px, 8.5vw, 40px); line-height: 1.04; }
  .not-found h1 { font-size: clamp(38px, 11vw, 56px); line-height: 1; }
  .pricing-page .page-hero h1 { font-size: clamp(27px, 7.1vw, 34px); }
  .software h2 { font-size: clamp(42px, 12vw, 56px); }
  .process-grid, .check-grid, .form-grid { grid-template-columns: 1fr; }
  .pricing-table { min-width: 860px; }
  .pricing-table th, .pricing-table td { padding: 18px 14px; }
  .package-details summary { display: block; padding: 22px 0; }
  .package-details summary strong { display: block; margin-top: 10px; white-space: normal; }
  .details-columns ul { columns: 1; }
  .case-media, .case-media img { min-height: 240px; }
  .case-media-logo img { padding: 28px; }
  .contact h1 { font-size: clamp(34px, 10.5vw, 42px); }
  .portfolio-card img { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
