/* Design tokens and base components follow ravshancha.uz so both sites read as one brand. */
    :root {
      --bg: #05070d;
      --surface: #0b1220;
      --surface-2: #111b2d;
      --text: #f3f6f9;
      --muted: #a0a9b5;
      --line: rgba(255, 255, 255, 0.1);
      --accent: #2f80ff;
      --accent-2: #00b7ff;
      --accent-text: #ffffff;
      --header-hover: #68e0ff;
      --header: rgba(5, 7, 13, 0.88);
      --shadow: rgba(0, 0, 0, 0.35);
      --danger: #ff7a7a;
      --brand-gradient: linear-gradient(#ffffff, #ffffff);
      --hero-glow: rgba(47, 128, 255, 0.22);
      --hero-glow-secondary: rgba(0, 183, 255, 0.09);
      --max-width: 1240px;
      --radius: 24px;
      color-scheme: dark;
    }

    html[data-theme="light"] {
      --bg: #eef4fb;
      --surface: #ffffff;
      --surface-2: #e4edf8;
      --text: #12161c;
      --muted: #5d6671;
      --line: rgba(18, 22, 28, 0.13);
      --accent: #095fd8;
      --accent-2: #0088c7;
      --accent-text: #ffffff;
      --header-hover: #003b85;
      --header: rgba(238, 244, 251, 0.9);
      --shadow: rgba(23, 30, 38, 0.12);
      --danger: #c62828;
      --brand-gradient: linear-gradient(135deg, #102fae 0%, #2876ee 50%, #43b6ff 100%);
      --hero-glow: rgba(9, 95, 216, 0.14);
      --hero-glow-secondary: rgba(0, 136, 199, 0.08);
      color-scheme: light;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: hidden; }
    @supports (overflow: clip) { html { overflow-x: clip; } }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--text);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.6;
      text-rendering: optimizeLegibility;
      transition: background 180ms ease, color 180ms ease;
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    .icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
    .site-icon { display: block; width: 2em; height: 2em; flex: 0 0 auto; color: var(--text); opacity: 0.82; transition: color 150ms ease, opacity 150ms ease, transform 150ms ease; }
    .icon-accent { color: var(--accent); opacity: 1; }
    .button-icon { width: 32px; height: 32px; }
    .button-primary .site-icon, .contact-section .site-icon, .footer-top .site-icon { color: var(--accent-text); opacity: 1; }
    button { color: inherit; font: inherit; }
    .container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
    .skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; background: var(--accent); color: var(--accent-text); border-radius: 8px; transform: translateY(-150%); }
    .skip-link:focus { transform: translateY(0); }

    .site-header {
      position: fixed;
      inset: 0 0 auto;
      z-index: 100;
      border-bottom: 1px solid transparent;
      background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 94%, transparent), transparent);
      transition: background 180ms ease, border-color 180ms ease;
    }
    .site-header.scrolled { background: var(--header); border-color: var(--line); backdrop-filter: blur(18px); }
    .nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; font-weight: 750; letter-spacing: -0.02em; }
    .brand-logo { width: 52px; height: 52px; object-fit: contain; transition: transform 180ms ease, filter 180ms ease; }
    .brand-logo-dark { filter: brightness(0) invert(1); }
    .brand-logo-light { display: none; filter: drop-shadow(0 8px 18px rgba(9, 95, 216, 0.18)); }
    html[data-theme="light"] .brand-logo-dark { display: none; }
    html[data-theme="light"] .brand-logo-light { display: block; }
    .brand-name { display: grid; gap: 1px; line-height: 1; text-transform: uppercase; }
    .brand-name-primary, .brand-name-secondary { background: var(--brand-gradient); background-clip: text; color: transparent; -webkit-background-clip: text; }
    .brand-name-primary { font-size: 14px; font-weight: 850; letter-spacing: 0.06em; }
    .brand-name-secondary { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; }
    .brand:hover .brand-logo { transform: translateY(-1px); }
    .site-nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 650; }
    .site-nav > a { transition: color 150ms ease; }
    .site-nav > a:hover, .site-nav > a:focus-visible { color: var(--header-hover); }
    .nav-cta {
      order: 1;
      display: inline-flex;
      min-height: 44px;
      align-items: center;
      justify-content: center;
      padding: 0 18px;
      border: 1px solid transparent;
      border-radius: 8px;
      color: var(--accent-text);
      background: var(--accent);
      box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 25%, transparent);
      white-space: nowrap;
      cursor: pointer;
    }
    .site-nav > .nav-cta:hover, .site-nav > .nav-cta:focus-visible { color: var(--header-hover); background: color-mix(in srgb, var(--accent) 42%, var(--surface)); }
    .nav-controls { position: relative; display: flex; align-items: center; gap: 9px; }
    .theme-toggle { display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; font-size: 16px; transition: color 150ms ease; }
    .theme-toggle:hover, .theme-toggle:focus-visible { color: var(--header-hover); }
    .theme-toggle .site-icon { width: 27px; height: 27px; }
    .theme-toggle:hover .site-icon, .theme-toggle:focus-visible .site-icon { color: var(--header-hover); }
    .theme-toggle-label { display: none; font-size: 12px; font-weight: 800; letter-spacing: 0.02em; }
    .language-select { position: relative; min-width: 96px; }
    .language-trigger {
      display: flex;
      width: 100%;
      min-height: 44px;
      align-items: center;
      gap: 8px;
      padding: 0 11px;
      border: 0;
      border-radius: 8px;
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      font-size: 11px;
      font-weight: 850;
      letter-spacing: 0.05em;
      transition: color 150ms ease;
    }
    .language-trigger:hover, .language-trigger:focus-visible, .language-trigger[aria-expanded="true"] { color: var(--header-hover); }
    .language-flag { display: block; width: 22px; height: 15px; flex: 0 0 auto; }
    .language-chevron { width: 27px; height: 27px; margin-left: auto; transition: transform 160ms ease, color 150ms ease; }
    .language-trigger:hover .language-chevron, .language-trigger:focus-visible .language-chevron { color: var(--header-hover); }
    .language-trigger[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
    .language-options {
      position: absolute;
      top: calc(100% + 10px);
      right: 0;
      z-index: 130;
      display: grid;
      width: 178px;
      gap: 4px;
      padding: 6px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: color-mix(in srgb, var(--surface) 96%, transparent);
      box-shadow: 0 20px 48px var(--shadow);
      backdrop-filter: blur(18px);
    }
    .language-options[hidden] { display: none; }
    .language-option { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 9px; color: var(--muted); font-size: 13px; font-weight: 750; }
    .language-option:hover, .language-option:focus-visible { color: var(--text); background: color-mix(in srgb, var(--accent) 10%, transparent); }
    .language-option.active { color: var(--accent-text); background: var(--accent); }
    .menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
    .menu-toggle > span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 4px 0; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }

    .hero {
      min-height: min(100vh, 960px);
      display: grid;
      align-items: start;
      overflow: hidden;
      padding: 112px 0 38px;
      background:
        radial-gradient(circle at 52% 34%, var(--hero-glow), transparent 27%),
        radial-gradient(circle at 14% 6%, var(--hero-glow-secondary), transparent 24%),
        var(--bg);
    }
    .section-kicker { margin: 0 0 22px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: 0.17em; text-transform: uppercase; }
    /* The keyword line sits inside the h1, so the page's main heading names the service and not only the slogan. */
    .eyebrow { display: block; margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 850; line-height: 1.6; letter-spacing: 0; text-transform: none; }
    .hero-title { display: block; }
    .status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 10%, transparent); }
    h1, h2, h3, p { margin-top: 0; }
    h1, h2 { overflow-wrap: break-word; text-wrap: balance; }
    h1 { max-width: 690px; margin-bottom: 22px; font-size: clamp(2.2rem, 3.5vw, 3rem); line-height: 0.98; letter-spacing: -0.065em; text-transform: uppercase; }
    /* Headlines here are full sentences, so h2 runs one step smaller than on the CV site. */
    h2 { max-width: 760px; margin-bottom: 28px; font-size: clamp(2.1rem, 3.7vw, 3.7rem); line-height: 1.04; letter-spacing: -0.05em; }
    h3 { margin-bottom: 10px; font-size: 1.35rem; letter-spacing: -0.025em; }
    .hero-lead { max-width: 540px; margin-bottom: 28px; color: var(--muted); font-size: 1.06rem; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
    .hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; font-weight: 650; }
    .hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
    .hero-trust .site-icon { width: 20px; height: 20px; }
    .button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 11px; background: none; font-weight: 750; cursor: pointer; transition: transform 150ms ease, background 150ms ease; }
    .button:hover { transform: translateY(-2px); }
    .button[disabled] { opacity: 0.6; cursor: progress; transform: none; }
    .button-primary { color: var(--accent-text); background: var(--accent); box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 28%, transparent); }
    .button-primary .button-icon { animation: button-arrow-nudge 1.7s ease-in-out infinite; }
    .button-primary:hover .button-icon, .button-primary:focus-visible .button-icon { animation-duration: 900ms; }
    @keyframes button-arrow-nudge { 0%, 60%, 100% { transform: translateX(0); } 30% { transform: translateX(5px); } }

    .order-dialog { width: min(660px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px var(--shadow); }
    .order-dialog::backdrop { background: color-mix(in srgb, #05070d 62%, transparent); backdrop-filter: blur(5px); }
    .order-form { display: grid; gap: 19px; padding: 30px; }
    .order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
    .order-form h2 { max-width: none; margin: 0; font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.025em; }
    .order-x { display: grid; flex: 0 0 auto; width: 44px; height: 44px; margin: -8px -10px -8px 0; place-items: center; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; transition: color 150ms ease, background 150ms ease; }
    .order-x:hover, .order-x:focus-visible { color: var(--text); background: color-mix(in srgb, var(--accent) 14%, var(--surface-2)); }
    .order-x .site-icon { width: 26px; height: 26px; color: inherit; opacity: 1; }
    .order-fields { display: grid; gap: 19px; }
    .order-fields[hidden], .order-state[hidden] { display: none; }
    .order-intro { margin: -10px 0 0; color: var(--muted); font-size: 14px; }
    .order-field { display: grid; gap: 6px; }
    .order-field > label { font-size: 13px; font-weight: 750; }
    .order-example { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
    .order-dialog input, .order-dialog textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: color-mix(in srgb, var(--surface-2) 60%, transparent); color: var(--text); font: inherit; font-size: 16px; transition: border-color 150ms ease, box-shadow 150ms ease; }
    .order-dialog textarea { min-height: 96px; resize: vertical; }
    .order-dialog input:focus-visible, .order-dialog textarea:focus-visible { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
    .order-phone { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; padding-left: 13px; border: 1px solid var(--line); border-radius: 10px; background: color-mix(in srgb, var(--surface-2) 60%, transparent); transition: border-color 150ms ease, box-shadow 150ms ease; }
    .order-phone:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
    .order-prefix { color: var(--muted); font-size: 16px; font-weight: 700; }
    .order-phone input { padding-left: 8px; border: 0; background: none; letter-spacing: 0.05em; }
    .order-phone input:focus-visible { box-shadow: none; }
    .order-error { margin: 0; color: var(--danger); font-size: 12px; font-weight: 650; }
    .order-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
    .order-consent { margin: -6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
    .order-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
    .order-cancel { border: 0; background: color-mix(in srgb, var(--surface-2) 82%, var(--surface)); color: var(--muted); }
    .order-cancel:hover, .order-cancel:focus-visible { color: var(--text); background: color-mix(in srgb, var(--accent) 14%, var(--surface-2)); }
    .order-state { display: grid; gap: 14px; justify-items: start; }
    .order-state h3 { margin: 0; font-size: 1.3rem; }
    .order-state p { margin: 0; color: var(--muted); }
    .order-state .order-actions { width: 100%; margin-top: 6px; }
    .order-note { color: var(--accent) !important; font-size: 13px; font-weight: 700; }

    /* Quiz: the order dialog asks one question per step; the contact fields are the last step. */
    .quiz-progress { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
    .quiz-track { height: 6px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--surface-2) 82%, var(--surface)); }
    .quiz-track > span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); transition: width 220ms ease; }
    .quiz-count { margin: 0; color: var(--muted); font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; }
    .quiz-step { display: grid; gap: 14px; }
    .quiz-step[hidden], .quiz-actions > [hidden] { display: none; }
    .quiz-title { margin: 0; font-size: 1.2rem; line-height: 1.25; }
    .quiz-title:focus { outline: 0; }
    .quiz-hint { margin: -8px 0 0; color: var(--muted); font-size: 13px; }
    .quiz-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
    .quiz-option { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--surface-2) 60%, transparent); font-size: 15px; font-weight: 650; line-height: 1.35; cursor: pointer; transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease; }
    .quiz-option:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
    .order-dialog .quiz-option input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
    .quiz-mark { display: grid; flex: 0 0 auto; width: 24px; height: 24px; place-items: center; border: 1.5px solid color-mix(in srgb, var(--muted) 70%, transparent); border-radius: 7px; transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease; }
    .quiz-option input[type="radio"] + .quiz-mark { border-radius: 50%; }
    .quiz-mark .site-icon { width: 18px; height: 18px; color: var(--accent-text); opacity: 0; }
    .quiz-option input:checked + .quiz-mark { border-color: var(--accent); background: var(--accent); }
    .quiz-option input:checked + .quiz-mark .site-icon { opacity: 1; }
    .quiz-option input:focus-visible + .quiz-mark { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
    .quiz-option:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
    .quiz-option:has(input:focus-visible) { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
    .quiz-contact { gap: 19px; }
    .quiz-contact .quiz-hint { margin-top: -13px; }
    .quiz-actions { justify-content: space-between; }
    .quiz-actions > .button-primary { margin-left: auto; }
    .quiz-back .site-icon { width: 26px; height: 26px; color: inherit; opacity: 1; }
    .quiz-skip { margin: -6px 0 0; text-align: center; }
    .quiz-skip button { padding: 8px 10px; border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
    .quiz-skip button:hover, .quiz-skip button:focus-visible { color: var(--text); }

    .hero-shell { position: relative; }
    .hero-stage {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr) minmax(210px, 0.45fr);
      align-items: center;
      min-height: 570px;
      gap: 0 34px;
    }
    .hero-copy { position: relative; z-index: 3; grid-column: 1; padding: 30px 0 46px; }
    .accent-word { color: var(--accent); text-shadow: 0 0 34px color-mix(in srgb, var(--accent) 28%, transparent); }
    .portrait-wrap {
      position: relative;
      top: -38px;
      z-index: 2;
      grid-column: 2;
      width: 100%;
      min-height: 530px;
      align-self: end;
      justify-self: center;
      display: flex;
      align-items: end;
      justify-content: center;
      perspective: 1200px;
      isolation: isolate;
    }
    .portrait-wrap picture { display: contents; }
    .portrait-wrap::before {
      content: "";
      position: absolute;
      z-index: -2;
      width: min(35vw, 430px);
      aspect-ratio: 1;
      bottom: 46px;
      border-radius: 50%;
      background: radial-gradient(circle at 36% 28%, color-mix(in srgb, var(--accent-2) 82%, white), var(--accent) 43%, color-mix(in srgb, var(--accent) 16%, transparent) 72%);
      box-shadow: 0 0 110px color-mix(in srgb, var(--accent) 34%, transparent), inset -35px -24px 70px rgba(0, 9, 30, 0.42);
      transform: translateZ(-60px);
    }
    .portrait-wrap::after {
      content: "";
      position: absolute;
      z-index: -1;
      left: 50%;
      bottom: 20px;
      width: min(34vw, 410px);
      height: 54px;
      border: 1px solid color-mix(in srgb, var(--accent-2) 36%, transparent);
      border-radius: 50%;
      background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 24%, transparent), transparent 68%);
      filter: blur(2px);
      transform: translateX(-50%) rotateX(72deg);
      box-shadow: 0 0 52px color-mix(in srgb, var(--accent) 25%, transparent);
    }
    .portrait-ring {
      position: absolute;
      inset: auto 50% 30px auto;
      z-index: -1;
      width: min(38vw, 455px);
      aspect-ratio: 1;
      border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
      border-radius: 50%;
      transform: translateX(50%) rotateX(68deg) rotateZ(-7deg);
      box-shadow: 0 0 34px color-mix(in srgb, var(--accent) 18%, transparent);
    }
    .portrait {
      position: relative;
      z-index: 1;
      width: min(35vw, 430px);
      height: auto;
      max-height: 548px;
      object-fit: contain;
      object-position: center bottom;
      filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.48)) drop-shadow(12px 0 22px color-mix(in srgb, var(--accent-2) 21%, transparent));
      transform: scaleX(-1) rotateY(5deg) translateZ(38px);
      transform-origin: center bottom;
      transition: transform 420ms cubic-bezier(.2,.8,.2,1), filter 420ms ease;
    }
    .portrait-wrap:hover .portrait { transform: scaleX(-1) rotateY(0deg) translateY(-7px) translateZ(54px); }

    .hero-services { position: relative; z-index: 3; display: grid; grid-column: 3; gap: 14px; margin: 0; padding: 0; list-style: none; }
    .service-card {
      display: grid;
      grid-template-columns: 54px 1fr;
      align-items: center;
      gap: 14px;
      min-height: 88px;
      padding: 16px;
      border-radius: 14px;
      background: color-mix(in srgb, var(--surface) 50%, transparent);
      box-shadow: 0 18px 45px var(--shadow);
      backdrop-filter: blur(14px);
      translate: var(--cloud-x, 0px) var(--cloud-y, 0px);
    }
    /* Cloud cards: half-transparent, staggered left and right, revealed one after another. */
    .hero-services { --cloud-left: clamp(14px, calc((100vw - 1040px) * 0.08 + 14px), 30px); --cloud-right: clamp(0px, calc((100vw - 1100px) * 0.05), 12px); }
    .hero-services .service-card:nth-child(odd) { --cloud-x: calc(var(--cloud-left) * -1); }
    .hero-services .service-card:nth-child(even) { --cloud-x: var(--cloud-right); }
    html.js .hero-services.reveal { opacity: 1; transform: none; }
    html.js .hero-services .service-card { opacity: 0; translate: var(--cloud-x, 0px) calc(var(--cloud-y, 0px) + 26px); transition: opacity 700ms ease, translate 900ms cubic-bezier(.2,.8,.2,1); }
    html.js .hero-services.visible .service-card { opacity: 1; translate: var(--cloud-x, 0px) var(--cloud-y, 0px); }
    html.js .hero-services .service-card:nth-child(1) { transition-delay: 120ms; }
    html.js .hero-services .service-card:nth-child(2) { transition-delay: 300ms; }
    html.js .hero-services .service-card:nth-child(3) { transition-delay: 480ms; }
    html.js .hero-services .service-card:nth-child(4) { transition-delay: 660ms; }
    .service-icon { display: grid; width: 54px; height: 54px; place-items: center; }
    .service-icon .site-icon { width: 35px; height: 35px; }
    .service-card strong { display: block; font-size: 13px; line-height: 1.35; text-transform: uppercase; }
    .service-card small { color: var(--muted); font-size: 11px; }

    .hero-summary {
      position: relative;
      z-index: 5;
      display: grid;
      grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
      gap: 32px;
      align-items: center;
      margin-top: -8px;
      padding: 24px 26px;
      border-radius: 22px;
      background: color-mix(in srgb, var(--surface) 94%, transparent);
      box-shadow: 0 30px 80px var(--shadow);
      backdrop-filter: blur(18px);
    }
    .summary-kicker { margin-bottom: 8px; color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; }
    .summary-title { max-width: 600px; margin-bottom: 8px; font-size: clamp(1.45rem, 2.4vw, 2.15rem); line-height: 1.05; letter-spacing: -0.04em; text-wrap: balance; }
    .summary-about > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 13px; }
    .stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .stat-card { display: grid; min-width: 0; min-height: 88px; align-content: center; justify-items: center; padding: 12px 8px; border: 1px solid transparent; border-radius: 12px; text-align: center; transition: border-color 160ms ease, transform 160ms ease; }
    .stat-card:hover, .stat-card:focus-visible { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
    .stat-icon { display: grid; place-items: center; margin-bottom: 6px; }
    .stat-icon .site-icon { width: 30px; height: 30px; }
    .stat-card strong { display: block; font-size: 1.02rem; white-space: nowrap; }
    .stat-card > span:last-child { display: block; max-width: 112px; min-height: 2.5em; margin: 3px auto 0; color: var(--muted); font-size: 10px; line-height: 1.25; text-wrap: balance; }
    /* The last card is a button into the quiz: every block of the page has to lead to a request, none away from it. */
    .stat-card-cta { border: 0; color: var(--accent-text); background: var(--accent); box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 28%, transparent); cursor: pointer; font-family: inherit; }
    .stat-card-cta .site-icon { color: var(--accent-text); opacity: 1; animation: button-arrow-nudge 1.7s ease-in-out infinite; }
    .stat-card-cta > span:last-child { color: color-mix(in srgb, var(--accent-text) 84%, transparent); }
    .stat-card-cta:hover, .stat-card-cta:focus-visible { border-color: transparent; transform: translateY(-3px); }

    .section { padding: 130px 0; border-top: 1px solid var(--line); }
    .section-muted { background: var(--surface); }
    .section-accent { background: linear-gradient(135deg, var(--hero-glow-secondary), color-mix(in srgb, var(--accent-2) 3%, transparent)); }
    .split-grid, .recognition-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; }
    .about-copy { color: var(--muted); font-size: 1.12rem; }
    @media (min-width: 901px) {
      .split-grid { grid-template-rows: auto 1fr; gap: 0 90px; }
      .split-grid > div:first-child { display: contents; }
      .split-grid > div:first-child > .section-kicker { grid-column: 1; grid-row: 1; }
      .split-grid > div:first-child > h2 { grid-column: 1; grid-row: 2; }
      .split-grid > .about-copy { grid-column: 2; grid-row: 2; padding-top: 6px; }
    }
    .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 58px; }
    .section-heading h2 { margin-bottom: 0; }
    .section-heading > p { max-width: 390px; margin-bottom: 8px; color: var(--muted); }
    .section-heading--stacked { display: block; }
    .section-heading--stacked > p { max-width: 760px; margin: 22px 0 0; }
    .section-lead { max-width: 420px; color: var(--muted); }

    .card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
    .card-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--accent) 12%, transparent); transition: background 180ms ease, transform 180ms ease; }
    .card-icon .site-icon { width: 30px; height: 30px; color: var(--accent); opacity: 1; }

    .pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .pain-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color 180ms ease, transform 180ms ease; }
    .pain-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
    .pain-card .card-head { align-items: flex-start; margin-bottom: 28px; }
    .pain-card .card-head h3 { min-width: 0; margin: 0; }
    .pain-card p { margin-bottom: 0; color: var(--muted); }

    .cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 34px; padding: 26px 30px; border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); border-radius: var(--radius); background: linear-gradient(135deg, var(--hero-glow-secondary), transparent); }
    .cta-inline p { max-width: 760px; margin: 0; font-size: 1.12rem; font-weight: 650; letter-spacing: -0.01em; }
    .cta-inline p.cta-note { color: var(--muted); font-size: 1rem; font-weight: 400; letter-spacing: 0; }
    .cta-inline .button { flex: 0 0 auto; }

    .expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .expertise-card { display: flex; min-height: 340px; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); transition: border-color 180ms ease, transform 180ms ease; }
    .expertise-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
    .expertise-card:hover .card-icon { background: var(--accent); transform: translateY(-3px); }
    .expertise-card:hover .card-icon .site-icon { color: var(--accent-text); }
    .expertise-card .card-head { align-items: flex-start; margin-bottom: 30px; }
    .expertise-card .card-head h3 { min-width: 0; margin: 0; }
    .expertise-card p { color: var(--muted); }
    .service-result { min-height: 86px; margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text) !important; font-size: 14px; font-weight: 650; }
    .service-result span { display: block; margin-bottom: 4px; color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
    .tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
    .expertise-card .tag-list { min-height: 110px; align-content: flex-start; }
    .tag-list span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 750; }

    .recognition-list { border-top: 1px solid var(--line); }
    .recognition-list article { padding: 26px 0; border-bottom: 1px solid var(--line); }
    .recognition-list h3 { margin-bottom: 4px; }
    .recognition-list p { margin-bottom: 0; color: var(--muted); }
    .section-aside .button { margin-top: 10px; }

    .quick-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 40px 0 0; }
    .quick-facts > div { position: relative; display: grid; align-content: center; min-height: 84px; padding: 16px 18px 16px 74px; border-radius: 14px; background: var(--surface); box-shadow: 0 14px 36px var(--shadow); }
    .section-muted .quick-facts > div { border: 1px solid var(--line); background: var(--bg); box-shadow: none; }
    .fact-icon { position: absolute; top: 50%; left: 18px; display: grid; width: 42px; height: 42px; place-items: center; transform: translateY(-50%); }
    .fact-icon .site-icon { width: 34px; height: 34px; }
    .quick-facts dt { color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
    .quick-facts dd { margin: 4px 0 0; color: var(--text); font-size: 15px; font-weight: 650; line-height: 1.4; }
    .text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; color: var(--accent); font-size: 1rem; font-weight: 700; }
    .text-link .site-icon { width: 24px; height: 24px; color: var(--accent); opacity: 1; }
    .text-link:hover .site-icon, .text-link:focus-visible .site-icon { transform: translate(2px, -2px); }
    button.text-link { padding: 0; border: 0; background: none; cursor: pointer; font-family: inherit; text-align: left; }
    button.text-link:hover .site-icon, button.text-link:focus-visible .site-icon { transform: translateX(4px); }

    .case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
    .case-card { display: grid; grid-row: span 7; grid-template-rows: subgrid; padding: 30px; border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); border-radius: var(--radius); background: var(--surface); }
    .case-type { margin: 0; color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
    .case-card h3 { margin: 0; font-size: 1.6rem; }
    .case-role { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0; color: var(--muted); font-size: 13px; }
    .case-role img { display: block; width: auto; max-width: 156px; height: 34px; object-fit: contain; object-position: left center; }
    .case-role span { min-width: 0; }
    html[data-theme="dark"] .case-role img { filter: brightness(0) invert(1); opacity: .96; }
    .case-rows { display: contents; }
    .case-rows dt { color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
    .case-rows dd { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
    .case-rows .case-result dt { color: var(--accent); }
    .case-rows .case-result dd { color: var(--text); font-weight: 650; }
    .case-card .text-link { margin: 0; font-size: 14px; }

    .faq-list { border-top: 1px solid var(--line); }
    .faq-item { border-bottom: 1px solid var(--line); }
    .faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 1.12rem; font-weight: 700; letter-spacing: -0.015em; }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary .site-icon { width: 28px; height: 28px; color: var(--accent); opacity: 1; transition: transform 180ms ease; }
    .faq-item[open] summary .site-icon { transform: rotate(45deg); }
    .faq-item p { max-width: 640px; margin: -4px 0 24px; color: var(--muted); }

    .contact-section { padding: 64px 0 0; color: var(--accent-text); background: var(--accent); overflow: hidden; }
    .contact-section .section-kicker { color: color-mix(in srgb, var(--accent-text) 65%, transparent); }
    .contact-section h2 { max-width: 920px; margin-bottom: 20px; }
    .contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); gap: 40px 48px; align-items: end; }
    .contact-copy { min-width: 0; align-self: start; padding: 12px 0 64px; }
    .contact-text { max-width: 560px; margin: 0; color: color-mix(in srgb, var(--accent-text) 84%, transparent); font-size: 1.06rem; }
    .contact-actions { display: grid; justify-items: start; gap: 14px; margin-top: 34px; }
    .contact-button { min-height: 56px; padding: 0 22px; gap: 12px; font-size: 15px; font-weight: 800; white-space: nowrap; }
    .contact-button .site-icon { width: 28px; height: 28px; }
    .contact-button-solid { color: var(--accent); background: var(--accent-text); }
    .contact-button-solid:hover { background: color-mix(in srgb, var(--accent-text) 88%, var(--accent)); }
    .contact-section .contact-button-solid .site-icon { color: var(--accent); }
    .contact-portrait { position: relative; display: grid; align-self: end; justify-items: center; }
    .contact-portrait picture { display: block; }
    .contact-portrait img { width: min(100%, 440px); height: auto; filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.32)); }

    .site-footer { padding: 30px 0 calc(30px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
    .footer-inner, .footer-bottom, .footer-links { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
    .footer-links { flex: 1 1 auto; flex-wrap: wrap; }
    .footer-bottom { flex-wrap: wrap; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
    .footer-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
    .footer-bottom p { margin: 0; }
    .footer-sites { display: flex; flex-wrap: wrap; gap: 10px; }
    .footer-site { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line)); border-radius: 8px; color: var(--text); background: color-mix(in srgb, var(--accent) 10%, transparent); font-weight: 700; white-space: nowrap; transition: transform 150ms ease, border-color 150ms ease, background 150ms ease; }
    /* The page being read stands among the links as the chosen one: no arrow, nowhere to go. */
    a.footer-site:hover, a.footer-site:focus-visible, .footer-site[aria-current] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); }
    a.footer-site:hover, a.footer-site:focus-visible { transform: translateY(-2px); }
    .footer-site[aria-current] { cursor: default; }
    .footer-site .site-icon { width: 24px; height: 24px; color: var(--accent); opacity: 1; }
    .footer-inner a:hover { color: var(--text); }
    .footer-top { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; color: var(--accent-text); background: var(--accent); font-weight: 750; transition: transform 150ms ease, box-shadow 150ms ease; }
    .footer-links .footer-top:hover, .footer-links .footer-top:focus-visible { color: var(--accent-text); transform: translateY(-2px); box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 34%, transparent); }
    .footer-top .site-icon { width: 24px; height: 24px; }

    .sticky-cta { position: fixed; inset: auto 0 0; z-index: 90; display: none; grid-template-columns: minmax(0, 1fr); padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--header); backdrop-filter: blur(18px); transform: translateY(110%); transition: transform 220ms ease; }
    .sticky-cta.visible { transform: none; }
    .sticky-cta .button { min-height: 46px; padding: 0 16px; gap: 8px; font-size: 14px; }
    .sticky-cta .button:hover { transform: none; }
    .sticky-cta .button-icon { width: 26px; height: 26px; }

    html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
    html.js .reveal.visible { opacity: 1; transform: none; }

    @media (max-width: 1180px) {
      .site-nav { gap: 18px; }
    }

    @media (max-width: 1040px) {
      h1 { font-size: clamp(2.2rem, 4.5vw, 3rem); }
      .menu-toggle { display: block; }
      .site-header.menu-open, .site-nav { background: color-mix(in srgb, var(--bg) 97%, transparent); backdrop-filter: blur(18px); }
      .site-header.menu-open { border-color: transparent; }
      .site-nav {
        position: fixed;
        inset: 74px 0 auto;
        display: grid;
        gap: 2px;
        padding: 6px 20px 14px;
        border-bottom: 1px solid var(--line);
        max-height: calc(100dvh - 74px);
        overflow-y: auto;
        overscroll-behavior: contain;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 180ms ease, transform 180ms ease;
      }
      .site-nav.open { opacity: 1; pointer-events: auto; transform: none; }
      .site-nav > a, .site-nav .nav-cta { display: block; min-height: 0; padding: 11px 14px; text-align: center; }
      .nav-cta { order: 0; margin: 0; }
      .nav-controls { display: grid; width: 100%; grid-template-columns: 1fr; gap: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
      .theme-toggle { display: flex; width: 100%; height: auto; justify-content: center; gap: 10px; padding: 11px 14px; font-size: 14px; font-weight: 650; }
      .theme-toggle:hover, .theme-toggle:focus-visible { background: color-mix(in srgb, var(--accent) 14%, transparent); }
      .theme-toggle-label { display: inline; font-size: 14px; font-weight: 650; letter-spacing: 0; }
      .language-select { width: 100%; }
      .language-trigger { position: relative; justify-content: center; min-height: 0; padding: 11px 14px; font-size: 14px; font-weight: 650; letter-spacing: 0; }
      .language-trigger .language-chevron { position: absolute; right: 14px; }
      .language-trigger:hover, .language-trigger:focus-visible, .language-trigger[aria-expanded="true"] { background: color-mix(in srgb, var(--accent) 14%, transparent); }
      .language-options { position: static; width: 100%; margin-top: 2px; padding: 4px 0; border: 0; border-radius: 8px; background: transparent; box-shadow: none; backdrop-filter: none; }
      .language-option { justify-content: center; padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 650; text-align: center; }
      .language-option.active { color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
      .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
      .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
      .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
      .hero-stage { grid-template-columns: 1.12fr 0.78fr; }
      .hero-services { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); margin: -26px 0 60px; --cloud-left: 0px; --cloud-right: 0px; }
      .hero-services .service-card:nth-child(even) { --cloud-y: 12px; }
      .hero-summary { margin-top: -30px; grid-template-columns: 1fr; }
      .expertise-grid, .pain-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 900px) {
      h1 { font-size: 3rem; }
      .hero { min-height: auto; }
      .hero-stage, .split-grid, .recognition-grid { grid-template-columns: 1fr; gap: 26px; }
      .hero-copy { padding-bottom: 10px; }
      .hero-copy, .portrait-wrap, .hero-services { grid-column: auto; }
      .contact-inner { grid-template-columns: 1fr; gap: 34px; }
      .contact-copy { padding-bottom: 0; }
      .contact-portrait img { width: min(84vw, 340px); }
      .portrait-wrap { top: -10px; width: min(78vw, 380px); min-height: 460px; justify-self: center; }
      .portrait { width: min(76vw, 390px); max-height: 500px; }
      .portrait-wrap::before { width: min(82vw, 390px); }
      .portrait-ring { width: min(88vw, 420px); }
      .hero-services { grid-column: auto; grid-template-columns: repeat(2, 1fr); margin: 0 0 76px; }
      .service-card { grid-template-columns: 51px 1fr; padding: 13px; }
      .service-icon { width: 51px; height: 51px; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .expertise-card { min-height: auto; }
      .expertise-card .card-head { margin-bottom: 24px; }
      .service-result { margin-top: auto; }
      .section-heading { display: block; }
      .section-heading > p { margin-top: 20px; }
      .section-lead { max-width: 560px; }
    }

    @media (max-width: 720px) {
      .container { width: min(calc(100% - 28px), var(--max-width)); }
      .site-nav { padding-inline: 14px; }
      .order-form { gap: 16px; padding: 22px; }
      .order-fields { gap: 16px; }
      .order-actions > .button { flex: 1 1 auto; }
      .quiz-contact { gap: 16px; }
      .quiz-contact .quiz-hint { margin-top: -10px; }
      .quiz-options { gap: 8px; }
      .quiz-option { min-height: 48px; padding: 8px 12px; }
      /* A long question scrolls inside the dialog on a phone, so the step buttons stay in view at its bottom edge. */
      .quiz-actions { position: sticky; bottom: 0; z-index: 1; flex-wrap: nowrap; margin: -12px -22px; padding: 12px 22px; background: var(--surface); box-shadow: 0 -1px 0 var(--line); }
      .quiz-actions > .quiz-back { flex: 0 0 50px; padding: 0; }
      .quiz-back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
      .hero { padding-top: 104px; }
      h1 { font-size: clamp(1.5rem, 7.8vw, 3rem); }
      h2 { font-size: clamp(1.4rem, 7.5vw, 2.3rem); }
      .hero-lead { font-size: 1rem; }
      .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
      .hero-trust { display: grid; gap: 8px; margin-top: 22px; }
      .portrait-wrap { top: 0; width: min(82vw, 330px); min-height: 405px; }
      .portrait { width: min(88vw, 350px); max-height: 440px; }
      /* The four cards repeat the services section; on a phone they only push the offer further down. */
      .hero-services { display: none; }
      .hero-summary { margin-top: -28px; padding: 24px 18px; }
      .section { padding: 90px 0; }
      .expertise-grid, .pain-grid { grid-template-columns: 1fr; }
      .service-result { min-height: 0; margin-top: 18px; }
      .expertise-card .tag-list { min-height: 0; }
      .pain-card:hover, .expertise-card:hover { transform: none; }
      .pain-card .card-head { margin-bottom: 26px; }
      .cta-inline { display: grid; gap: 18px; padding: 22px; }
      .cta-inline .button { width: 100%; }
      .recognition-list article { padding-block: 22px; }
      .quick-facts { grid-template-columns: 1fr; }
      .case-grid { grid-template-columns: 1fr; }
      .case-card { display: flex; flex-direction: column; padding: 24px; }
      .case-type { margin-bottom: 14px; }
      .case-card h3 { margin-bottom: 6px; }
      .case-role { margin-bottom: 22px; }
      .case-rows { display: grid; gap: 16px; margin: 0; }
      .case-card .text-link { margin-top: 0; padding-top: 22px; }
      .faq-item summary { padding: 18px 0; font-size: 1.04rem; }
      .contact-actions { justify-items: stretch; }
      .contact-button { width: 100%; }
      .footer-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
      .footer-sites { width: 100%; }
      .footer-links { width: 100%; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 14px; }
      .footer-socials { flex: 1 1 auto; gap: 12px 16px; }
      .site-footer { padding: 26px 0 calc(96px + env(safe-area-inset-bottom, 0px)); }
      .sticky-cta { display: grid; }
    }

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