/* Prime Info Tech Solutions — website. Brand: orange #E57A1F and graphite, from the logo. */
@layer reset, tokens, base, layout, components, sections, utilities;

/* Self-hosted fonts (SIL Open Font License, see assets/fonts/OFL-*.txt): no third-party requests. */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 500;
  src: url(/assets/fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); }

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
  html, body { overflow-x: clip; }   /* decorative glows never cause sideways scrolling */
  img, svg { display: block; max-width: 100%; }
  input, button, textarea, select { font: inherit; color: inherit; }
  ul[class], ol[class] { list-style: none; padding: 0; }
}

@layer tokens {
  :root {
    color-scheme: light;
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;

    --orange: #E57A1F;
    --orange-deep: #C2600E;
    /* Shades that meet WCAG AA contrast (4.5:1) for normal-size text: orange text on light backgrounds,
       and white text on orange (buttons, the feature card). #E57A1F stays for icons, lines and accents. */
    --orange-text: #A9520B;
    --orange-btn: #A9520B;
    --orange-btn-hover: #8C4309;
    --chip-ink: #9C4C0A;                   /* orange text on --orange-soft chips: 5.2:1 */
    --orange-soft: #FCEBDD;
    --graphite: #1C1E23;
    --graphite-2: #26292F;
    --steel: #808087;

    --bg: #FAF8F5;
    --surface: #FFFFFF;
    --surface-2: #F3F0EB;
    --ink: #16181D;
    --ink-2: #3B3F48;
    --muted: #6B6F78;
    --line: #E7E2DA;

    --brand: var(--orange-text);           /* text-safe orange on light backgrounds */
    --hl: var(--orange-deep);              /* large headline highlight: 3:1 is enough for large text */
    --radius: 24px;
    --radius-sm: 14px;
    --shadow: 0 1px 2px rgb(20 22 27 / .05), 0 18px 40px -24px rgb(20 22 27 / .28);
    --shadow-lg: 0 40px 80px -40px rgb(20 22 27 / .45);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --wrap: 1200px;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      color-scheme: dark;
      --bg: #121317;
      --surface: #1A1C21;
      --surface-2: #22252B;
      --ink: #F2F1EF;
      --ink-2: #C9CBD1;
      --muted: #969AA3;
      --line: #2E3138;
      --brand: #F49A4E;
      --hl: #F49A4E;
      --chip-ink: #F49A4E;
      --orange-soft: #3A2616;
      --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 18px 40px -24px rgb(0 0 0 / .8);
    }
  }
}

@layer base {
  body { font: 400 1.0625rem/1.65 var(--font); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
  h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; text-wrap: balance; }
  h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.7rem); letter-spacing: -0.04em; }
  h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.9rem); letter-spacing: -0.035em; }
  h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
  p { text-wrap: pretty; }
  a { color: var(--brand); text-decoration: none; }
  a:hover { text-decoration: underline; text-underline-offset: 3px; }
  /* Links inside running text are underlined, so they are not told apart by colour alone (WCAG 1.4.1). */
  :is(p, li, dd, td, .lede) a:not(.btn, .link-arrow) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
  :focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
  ::selection { background: color-mix(in oklab, var(--orange) 30%, transparent); }
  strong { font-weight: 700; }
}

@layer layout {
  .wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
  .section { padding-block: clamp(64px, 9vw, 120px); }
  .section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
  .section-head.center { margin-inline: auto; text-align: center; }
  .section-head p { color: var(--ink-2); font-size: 1.12rem; margin-top: 14px; }
  .eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 .78rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
  .eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
  .dark { background: var(--graphite); color: #EFEFF1; --ink: #F4F3F1; --ink-2: #C5C7CD; --muted: #9A9EA6; --line: #33363D; --surface: #24272D; --surface-2: #2B2E35; --brand: #F49A4E; }
  .grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: center; }
  @media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }
}

@layer components {
  .skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--surface); padding: 10px 16px; border-radius: 12px; box-shadow: var(--shadow); }
  .skip:focus { top: 12px; }

  /* buttons */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: .98rem;
    border: 1px solid transparent; cursor: pointer; text-decoration: none !important; transition: transform .25s var(--ease), box-shadow .25s, background .2s; white-space: nowrap; }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary { background: var(--orange-btn); color: #fff; box-shadow: 0 12px 28px -12px color-mix(in oklab, var(--orange) 90%, black); }
  .btn-primary:hover { background: var(--orange-btn-hover); }
  .btn-ghost { border-color: var(--line); color: var(--ink); background: color-mix(in oklab, var(--surface) 70%, transparent); }
  .btn-light { background: #fff; color: var(--graphite); }
  .btn-sm { height: 40px; padding: 0 16px; font-size: .9rem; }
  .link-arrow { font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
  .link-arrow::after { content: "→"; transition: transform .2s; }
  .link-arrow:hover::after { transform: translateX(4px); }

  /* header */
  .site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--bg) 78%, transparent); backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
  .site-header.scrolled { border-bottom-color: var(--line); }
  .header-row { display: flex; align-items: center; gap: 24px; height: 76px; }
  .brand img { height: 52px; width: auto; }
  .main-nav { display: flex; gap: 4px; margin-left: 12px; }
  .main-nav > a, .menu-trigger { display: inline-flex; align-items: center; gap: 4px; padding: 9px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .96rem;
    background: none; border: 0; cursor: pointer; text-decoration: none !important; }
  .main-nav > a:hover, .menu-trigger:hover, .main-nav [aria-current="page"] { color: var(--ink); background: var(--surface-2); }
  .header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
  .link-quiet { color: var(--ink-2); font-weight: 600; font-size: .95rem; }
  .has-menu { position: relative; }
  .menu { position: absolute; top: calc(100% + 10px); left: -12px; width: 360px; padding: 8px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-lg);
    border: 1px solid var(--line); display: grid; gap: 2px; opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .2s, translate .2s, visibility .2s; }
  .has-menu.open .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; translate: 0 0; }
  @media (hover: hover) { .has-menu:hover .menu { opacity: 1; visibility: visible; translate: 0 0; } }
  .menu a { display: flex; gap: 14px; padding: 12px; border-radius: 14px; color: var(--ink); text-decoration: none !important; }
  .menu a:hover { background: var(--surface-2); }
  .menu strong { display: block; font-size: .96rem; }
  .menu small { color: var(--muted); font-size: .85rem; line-height: 1.4; }
  .menu-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--orange-soft); position: relative; }
  .menu-icon::after { content: ""; position: absolute; inset: 10px; background: var(--orange); mask: var(--m) center / contain no-repeat; }
  .mi-hms { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3h4v7h7v4h-7v7h-4v-7H3v-4h7z'/%3E%3C/svg%3E"); }
  .mi-help { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H9l-5 4v-4H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
  .nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .mobile-nav { display: grid; gap: 4px; padding: 8px 16px 20px; border-top: 1px solid var(--line); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a:not(.btn) { padding: 12px 6px; color: var(--ink); font-weight: 650; font-size: 1.08rem; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 10px; }
  @media (max-width: 1060px) {
    .main-nav, .header-actions .link-quiet { display: none; }
    .nav-toggle { display: flex; }
    .header-actions .btn { display: none; }
  }
  @media (min-width: 1061px) { .mobile-nav { display: none !important; } }

  /* cards */
  .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow); }
  .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); margin-bottom: 18px; flex: none; }
  .dark .icon { background: rgb(229 122 31 / .14); }
  .icon svg { width: 24px; height: 24px; }
  .chip { display: inline-flex; width: fit-content; justify-self: start; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--surface-2); color: var(--ink-2); }
  .chip.live { background: #E3F4EA; color: #19663C; }
  .chip.live::before, .chip.progress::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
  .chip.progress { background: var(--orange-soft); color: var(--chip-ink); }
  .chip.progress::before { animation: pulse 1.6s infinite; }
  @media (prefers-color-scheme: dark) { .chip.live { background: #173324; color: #7BD9A1; } .chip.progress { color: #F49A4E; } }
  @keyframes pulse { 50% { opacity: .3; } }
  .ticks { display: grid; gap: 10px; padding: 0; list-style: none; }
  .ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
  .ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

  /* form */
  .form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form .full { grid-column: 1 / -1; }
  .field { display: grid; gap: 6px; }
  .field label { font-size: .88rem; font-weight: 700; color: var(--ink-2); }
  .field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
  .field textarea { min-height: 130px; resize: vertical; }
  .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px color-mix(in oklab, var(--orange) 22%, transparent); }
  .form-note { font-size: .85rem; color: var(--muted); }
  .form-status { font-weight: 650; }
  @media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

  /* faq */
  .faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
  .faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; }
  .faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--orange); transition: rotate .2s; }
  .faq details[open] summary::after { rotate: 45deg; }
  .faq details p { padding: 0 0 18px; color: var(--ink-2); }

  /* WhatsApp */
  .wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff;
    box-shadow: 0 16px 34px -12px rgb(0 0 0 / .45); transition: transform .25s var(--ease); }
  .wa-float:hover { transform: scale(1.07); }
}

@layer sections {
  /* hero */
  .hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); isolation: isolate; }
  .hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; z-index: -1;
    background: radial-gradient(closest-side, color-mix(in oklab, var(--orange) 22%, transparent), transparent); filter: blur(10px); }
  .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
  @media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
  .hero h1 .hl { color: var(--hl); }
  .lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); margin: 22px 0 30px; max-width: 620px; }
  .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
  .trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; color: var(--muted); font-size: .92rem; font-weight: 600; }
  .trust span { display: inline-flex; align-items: center; gap: 8px; }
  .trust span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
  .ms-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
  .ms-badge::before { content: ""; width: 16px; height: 16px; background:
      linear-gradient(#F25022 0 0) 0 0/7px 7px no-repeat, linear-gradient(#7FBA00 0 0) 9px 0/7px 7px no-repeat,
      linear-gradient(#00A4EF 0 0) 0 9px/7px 7px no-repeat, linear-gradient(#FFB900 0 0) 9px 9px/7px 7px no-repeat; }

  /* hero visual: a live network map */
  .netmap { position: relative; aspect-ratio: 1 / .92; border-radius: 32px; background: var(--graphite); box-shadow: var(--shadow-lg); }
  .netmap svg { width: 100%; height: 100%; }
  .netmap .link { stroke: rgb(255 255 255 / .14); stroke-width: 1.5; fill: none; }
  .netmap .fibre { stroke: var(--orange); stroke-width: 2.4; fill: none; stroke-dasharray: 6 10; animation: flow 1.6s linear infinite; }
  @keyframes flow { to { stroke-dashoffset: -32; } }
  .netmap .node { fill: #2C2F36; stroke: rgb(255 255 255 / .22); }
  .netmap .node.core { fill: var(--orange); stroke: none; }
  .netmap .ping { fill: none; stroke: var(--orange); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ping 2.6s var(--ease) infinite; }
  @keyframes ping { from { scale: .6; opacity: .9; } to { scale: 2.6; opacity: 0; } }
  .netmap text { fill: #C9CBD1; font: 600 11px var(--font); }
  .netmap .tag { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: rgb(255 255 255 / .94); color: #16181D;
    box-shadow: 0 18px 40px -18px rgb(0 0 0 / .5); font-size: .85rem; font-weight: 700; }
  .netmap .tag small { display: block; font-weight: 500; color: #6B6F78; font-size: .76rem; }
  .netmap .tag i { width: 34px; height: 34px; border-radius: 10px; background: var(--orange-soft); display: grid; place-items: center; font-style: normal; color: var(--chip-ink); }
  .tag-1 { left: -22px; top: 63%; animation: float 6s ease-in-out infinite; }
  .tag-2 { right: -22px; top: 33%; animation: float 7s ease-in-out -2s infinite; }
  @media (max-width: 1100px) { .tag-1 { left: 10px; } .tag-2 { right: 10px; } }
  @keyframes float { 50% { translate: 0 -8px; } }

  /* stats */
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .stat { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
  .stat b { display: block; font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
  .stat span { color: var(--muted); font-weight: 600; font-size: .92rem; }
  @media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

  /* bento */
  .bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .bento > * { grid-column: span 2; display: flex; flex-direction: column; }
  .bento .wide { grid-column: span 3; }
  .bento .xl { grid-column: span 4; }
  .bento p { color: var(--ink-2); margin-top: 8px; }
  .bento .card a.link-arrow { margin-top: auto; padding-top: 16px; }
  @media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento > *, .bento .wide, .bento .xl { grid-column: span 1; } .bento .feature { grid-column: 1 / -1; } }
  @media (max-width: 620px) { .bento { grid-template-columns: 1fr; } }
  .feature { position: relative; overflow: hidden; background: linear-gradient(140deg, var(--orange-btn), var(--orange-btn-hover)); color: #fff; border: 0; }
  .feature p, .feature .link-arrow { color: rgb(255 255 255 / .92); }
  .feature .icon { background: rgb(255 255 255 / .18); color: #fff; }
  .feature::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgb(255 255 255 / .1); }

  /* healthcare band */
  .systems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .system { padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
  .system h3 { font-size: 1.05rem; margin-bottom: 6px; }
  .system p { color: var(--ink-2); font-size: .95rem; }
  @media (max-width: 900px) { .systems { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .systems { grid-template-columns: 1fr; } }

  /* projects */
  .projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  @media (max-width: 980px) { .projects { grid-template-columns: 1fr; } }
  .project { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
  .project .art { aspect-ratio: 16 / 10; background: var(--graphite); position: relative; overflow: hidden; }
  .project .art img { width: 100%; height: 100%; object-fit: cover; }
  .project .body { padding: 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
  .project .meta { color: var(--muted); font-size: .9rem; font-weight: 600; }
  .project .scope { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
  .project .scope span { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }

  /* products */
  .product { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
  .product.flip { grid-template-columns: 1.1fr 1fr; }
  .product.flip .product-copy { order: 2; }
  @media (max-width: 900px) { .product, .product.flip { grid-template-columns: 1fr; } .product.flip .product-copy { order: 0; } }
  .product-copy p { color: var(--ink-2); margin: 14px 0 22px; font-size: 1.08rem; }
  .mock { border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px; }
  .mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
  .mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
  .mock-bar span { margin-left: 10px; font: 500 12px var(--mono); color: var(--muted); }
  .mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
  .mock-side { background: var(--graphite); padding: 14px 10px; display: grid; gap: 4px; align-content: start; }
  .mock-side b { color: #fff; font-size: 12px; padding: 6px 10px 12px; }
  .mock-side span { color: #B9BCC3; padding: 7px 10px; border-radius: 9px; font-weight: 600; }
  .mock-side span.on { background: var(--orange-btn); color: #fff; }
  .mock-main { padding: 16px; display: grid; gap: 12px; align-content: start; }
  .mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .mock-kpis div { padding: 12px; border-radius: 14px; background: var(--surface-2); }
  .mock-kpis b { display: block; font-size: 18px; letter-spacing: -.02em; }
  .mock-kpis small { color: var(--muted); font-weight: 600; }
  .mock-rows { display: grid; gap: 6px; }
  .mock-rows div { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; align-items: center; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); }
  .mock-rows em { font-style: normal; font-weight: 700; font-size: 11px; padding: 3px 9px; border-radius: 999px; background: var(--orange-soft); color: var(--chip-ink); }
  .mock-rows em.ok { background: #E3F4EA; color: #19663C; }
  @media (prefers-color-scheme: dark) { .mock-rows em.ok { background: #173324; color: #7BD9A1; } }
  @media (max-width: 520px) { .mock-body { grid-template-columns: 1fr; } .mock-side { display: none; } }

  /* clients marquee */
  .marquee { overflow: hidden; mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
  .marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll 40s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes scroll { to { transform: translateX(calc(-50% - 7px)); } }
  .client { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); white-space: nowrap; font-weight: 700; color: var(--ink-2); }
  .client::before { content: attr(data-initials); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: .75rem; background: var(--orange-soft); color: var(--chip-ink); }

  .partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .partner { padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
  .partner b { display: block; font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 6px; }
  .partner p { color: var(--ink-2); font-size: .92rem; }
  @media (max-width: 900px) { .partners { grid-template-columns: 1fr 1fr; } }

  /* process */
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
  .step { position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); counter-increment: step; }
  .step::before { content: counter(step, decimal-leading-zero); font: 500 .85rem var(--mono); color: var(--brand); display: block; margin-bottom: 14px; }
  .step p { color: var(--ink-2); font-size: .96rem; margin-top: 8px; }
  @media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
  .steps.two { grid-template-columns: 1fr 1fr; }
  @media (max-width: 560px) { .steps, .steps.two { grid-template-columns: 1fr; } }

  /* CTA + contact */
  .cta { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(32px, 5vw, 64px); background: var(--graphite); color: #fff; }
  .cta::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgb(229 122 31 / .55), transparent); }
  .cta > * { position: relative; }
  .cta p { color: #C9CBD1; max-width: 560px; margin: 12px 0 24px; font-size: 1.1rem; }
  .contact-cards { display: grid; gap: 12px; }
  .contact-card { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none !important; }
  .contact-card:hover { border-color: var(--orange); }
  .contact-card .icon { margin: 0; width: 44px; height: 44px; }
  .contact-card small { display: block; color: var(--muted); font-weight: 600; font-size: .82rem; }

  /* page heading for inner pages */
  .page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); position: relative; overflow: hidden; }
  .page-hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 60vw; aspect-ratio: 1; max-width: 760px; border-radius: 50%; z-index: -1;
    background: radial-gradient(closest-side, color-mix(in oklab, var(--orange) 18%, transparent), transparent); }
  .page-hero .lede { max-width: 760px; }
  .breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
  .breadcrumb a { color: var(--muted); }

  .prose { max-width: 760px; }
  .prose h2 { font-size: 1.5rem; margin: 36px 0 12px; }
  .prose p, .prose li { color: var(--ink-2); }
  .prose ul { padding-left: 20px; display: grid; gap: 6px; margin: 10px 0; }
  .prose p + p { margin-top: 12px; }

  /* footer */
  .site-footer { background: var(--graphite); color: #C5C7CD; padding: 72px 0 28px; margin-top: 40px; }
  .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
  .footer-brand img { width: 170px; height: auto; background: #fff; padding: 10px 14px; border-radius: 16px; margin-bottom: 16px; }
  .footer-brand p { font-size: .95rem; max-width: 340px; }
  .badge-line { margin-top: 14px; color: #fff; }
  .ms-badge-img { display: block; height: 40px; width: auto; margin-bottom: 8px; background: #fff; padding: 4px 8px; border-radius: 6px; }
  .site-footer h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
  .site-footer h2:not(:first-child) { margin-top: 26px; }
  .site-footer ul { list-style: none; padding: 0; display: grid; gap: 9px; font-size: .95rem; }
  .site-footer a { color: #C5C7CD; }
  .site-footer a:hover { color: #fff; }
  .social { display: flex; gap: 10px; margin-top: 18px; }
  .social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #2A2D33; }
  .footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid #33363D; font-size: .88rem; color: #9A9EA6; }
  @media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
}

@layer utilities {
  .muted { color: var(--muted); }
  .center { text-align: center; }
  .mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 48px; }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Reveal on scroll — native scroll-driven animations where supported; content is always visible otherwise. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  }
}
/* Slide only, no fade: text is at full contrast at every point of the animation (WCAG 1.4.3). */
@keyframes reveal { from { translate: 0 32px; scale: .985; } }

/* Smooth page-to-page transitions (cross-document View Transitions). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .18s ease both fade-out; }
::view-transition-new(root) { animation: .3s var(--ease) both fade-in; }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; translate: 0 8px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
