/* Mobile App Dev Studio — design system v2
   Palette: navy (trust) + blue (action). Type: Plus Jakarta Sans (headings) + Inter (body), self-hosted. */

@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/jakarta-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --navy-900: #0B1A33;
  --navy-800: #12264A;
  --navy-700: #1B3463;
  --blue-600: #1F5BD8;
  --blue-700: #1848B0;
  --blue-500: #3B7BF0;
  --blue-100: #DCE8FF;
  --blue-50: #EEF4FF;
  --sky: #7CC0FF;
  --mist: #F6F8FB;
  --white: #FFFFFF;
  --text: #1B2538;
  --muted: #56657D;
  --line: #E2E8F1;
  --green: #15803D;

  --head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 8vw, 104px);
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(11,26,51,.06);
  --shadow-md: 0 1px 2px rgba(11,26,51,.05), 0 12px 32px -16px rgba(11,26,51,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--head); color: var(--navy-900); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 750; }
h1 { font-size: clamp(2.3rem, 3vw + 1.2rem, 3.6rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.75rem, 1.6vw + 1.1rem, 2.5rem); }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
h4 { font-size: 1rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { font-weight: 650; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: 70ch; }
.lead { font-size: clamp(1.1rem, .4vw + 1rem, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead, .center.lead { margin-left: auto; margin-right: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--blue-600); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.link-strong { font-weight: 650; text-decoration: none; }
.link-strong:hover { text-decoration: underline; }
.link-arrow { font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }
.note { font-size: .97rem; color: var(--muted); border-left: 3px solid var(--blue-600); padding: 4px 0 4px 14px; margin-top: 24px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.4em; border-radius: 10px; font: 600 1rem/1.1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 16px -8px rgba(31,91,216,.7); }
.btn--primary:hover { background: var(--blue-700); color: #fff; }
.btn--ghost { border-color: #C9D5E6; color: var(--navy-900); background: #fff; }
.btn--ghost:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--blue-50); color: var(--navy-900); }
.btn--outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--sm { padding: .65em 1.1em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); }
.brand:hover { color: var(--navy-900); }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__name { font-family: var(--head); font-weight: 750; font-size: 1.12rem; letter-spacing: -0.015em; white-space: nowrap; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav li { margin: 0; }
.site-nav a { white-space: nowrap; }
.site-nav a:not(.btn) { display: block; padding: 10px 12px; text-decoration: none; color: var(--text); font-weight: 550; font-size: .97rem; border-radius: 8px; }
.site-nav a:not(.btn):hover { color: var(--blue-600); background: var(--blue-50); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--blue-600); }
.site-nav__cta { margin-left: 10px !important; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { position: absolute; left: 12px; width: 18px; height: 2px; background: var(--navy-900); border-radius: 2px; content: ""; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle__bars { top: 21px; }
.nav-toggle__bars::before { left: 0; top: -6px; }
.nav-toggle__bars::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav__cta { margin: 16px 0 0 !important; }
  .site-nav__cta .btn { width: 100%; }
}

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #A9B6C9; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue-600); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--white { background: var(--white); }
.section--mist, .section--mint { background: var(--mist); }
.section--tint { background: var(--blue-50); }
.section--dark, .section--pine { background: var(--navy-900); color: #C7D3E8; }
.section--dark h2, .section--dark h3, .section--pine h2, .section--pine h3 { color: #fff; }
.section--dark .lead, .section--pine .lead { color: #AFC0DD; }
.section__intro { margin-bottom: 44px; max-width: 760px; }
.section__intro.center { margin-left: auto; margin-right: auto; }
.section__intro h2 { margin-bottom: .35em; }
.section__intro .lead { margin-bottom: 0; }
.kicker { display: inline-block; font-size: .9rem; font-weight: 650; color: var(--blue-600); margin-bottom: 10px; }
.section--dark .kicker { color: var(--sky); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); background: radial-gradient(1100px 520px at 85% -10%, #E3EDFF 0%, rgba(227,237,255,0) 60%), linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { max-width: 21ch; font-size: clamp(2.1rem, 2.1vw + 1.2rem, 3rem); }
.hero .lead { color: #47566E; }
.hero__img { width: 100%; height: auto; }
.proof { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.proof li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-weight: 500; color: var(--text); }
.proof svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } .hero h1 { max-width: 20ch; } }

/* trust strip under hero */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; gap: 12px; align-items: flex-start; padding: 24px 20px; border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item svg { width: 28px; height: 28px; flex: none; }
.trust__item b { display: block; font-family: var(--head); font-size: 1rem; color: var(--navy-900); line-height: 1.3; }
.trust__item span { display: block; font-size: .9rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
@media (max-width: 900px) { .trust__grid { grid-template-columns: 1fr 1fr; } .trust__item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .trust__item:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 520px) { .trust__grid { grid-template-columns: 1fr; } .trust__item:nth-child(2) { border-top: 1px solid var(--line); } }

/* icon tiles */
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); display: grid; place-items: center; flex: none; margin-bottom: 16px; }
.ico svg { width: 22px; height: 22px; }
.section--dark .ico { background: rgba(124,192,255,.12); }

/* ---------- Service feature blocks (home) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: 24px 0; }
.feature + .feature { margin-top: 40px; }
.feature--flip .feature__media { order: 2; }
.feature__media img { width: 100%; border-radius: var(--r-xl); }
.feature h3 { font-size: clamp(1.5rem, 1vw + 1.1rem, 1.9rem); margin-bottom: .4em; }
.ticks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; margin: 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F5BD8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks--2 { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.section--dark .ticks li::before { background-color: rgba(124,192,255,.16); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature--flip .feature__media { order: 0; } .ticks--2 { grid-template-columns: 1fr; } }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; font-size: .9rem; font-weight: 550; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); }
.section--dark .chips li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #DCE5F5; }

/* ---------- Card grid ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.card p + p { margin-top: .7em; }
.card--link { transition: border-color .15s, box-shadow .15s; }
.card--link:hover { border-color: #BCD0F5; box-shadow: var(--shadow-md); }
.card__best { margin-top: 14px !important; font-size: .92rem !important; color: var(--text) !important; }
.card__best b { color: var(--navy-900); }
.card--featured { border: 2px solid var(--blue-600); position: relative; }
.card--featured .badge { position: absolute; top: -12px; left: 24px; background: var(--blue-600); color: #fff; font-size: .78rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; }
.section--dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); box-shadow: none; }
.section--dark .card p { color: #AFC0DD; }

/* ---------- Comparison (vs) table ---------- */
.vs-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); }
.vs { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: .97rem; }
.vs th, .vs td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255,255,255,.1); }
.vs thead th { font-family: var(--head); font-size: 1rem; color: #fff; font-weight: 700; padding-top: 20px; padding-bottom: 20px; }
.vs tbody th { color: #fff; font-weight: 600; width: 22%; }
.vs td { color: #AFC0DD; }
.vs .us { background: rgba(31,91,216,.22); color: #fff; }
.vs thead .us { border-radius: 14px 14px 0 0; background: var(--blue-600); }
.vs tbody tr:last-child .us { border-radius: 0 0 14px 14px; }
.vs tbody tr:last-child th, .vs tbody tr:last-child td { border-bottom: 0; }

/* ---------- Light comparison table (platforms) ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .98rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--mist); font-family: var(--head); font-weight: 700; color: var(--navy-900); font-size: .95rem; }
.compare tbody th { font-family: var(--head); font-weight: 700; color: var(--navy-900); width: 22%; }
.compare tbody th small { display: block; font-family: var(--body); font-weight: 500; font-size: .85rem; color: var(--muted); margin-top: 2px; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.process li { counter-increment: step; margin: 0; position: relative; padding-top: 60px; }
.process li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-600); color: #fff; display: grid; place-items: center; font: 750 1.1rem var(--head); z-index: 1; }
.process li::after { content: ""; position: absolute; top: 22px; left: 52px; right: -12px; height: 2px; background: var(--blue-100); }
.process li:last-child::after { display: none; }
.process h3 { font-size: 1.08rem; }
.process p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 1000px) { .process { grid-template-columns: 1fr 1fr; } .process li::after { display: none; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* vertical steps (hub pages, forms) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; }
.steps li { counter-increment: step; position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 0 0 28px; margin: 0; }
.steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-600); color: #fff; font: 750 1rem var(--head); position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--blue-100); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { margin: 7px 0 .3em; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); max-width: 62ch; }

/* ---------- Two-column rail ---------- */
.rail { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); }
.rail__head { align-self: start; position: sticky; top: 100px; }
.rail__head p { color: var(--muted); max-width: 38ch; }
.section--dark .rail__head p { color: #AFC0DD; }
@media (max-width: 860px) { .rail { grid-template-columns: 1fr; } .rail__head { position: static; } }

.items { display: grid; }
.items--2 { grid-template-columns: 1fr 1fr; column-gap: 40px; }
.item { padding: 20px 0 18px; border-top: 1px solid var(--line); }
.item h3 { margin-bottom: .3em; }
.item p { margin: 0; color: var(--muted); }
.section--dark .item { border-color: rgba(255,255,255,.14); }
@media (max-width: 700px) { .items--2 { grid-template-columns: 1fr; } }

.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.checks li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line); margin: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 17px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F5BD8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }
.checks strong { display: block; color: var(--navy-900); }
.checks span { color: var(--muted); font-size: .97rem; }
@media (max-width: 700px) { .checks { grid-template-columns: 1fr; } }

/* ---------- Case studies ---------- */
.case { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.case + .case { margin-top: 24px; }
.case__media img { width: 100%; border-radius: var(--r-lg); }
.case h3 { font-size: clamp(1.4rem, 1vw + 1rem, 1.75rem); margin-bottom: .2em; }
.case__type { color: var(--blue-600); font-weight: 600; margin: 0 0 14px; font-size: .97rem; }
.case p { color: var(--muted); }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }

.tags { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { margin: 0; font-size: .8rem; padding: 4px 10px; border-radius: 6px; background: var(--blue-50); color: var(--blue-700); font-weight: 600; }

/* legacy work rows (work page) */
.work { display: grid; }
.work-item { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 64px); padding: 40px 0; border-top: 1px solid var(--line); }
.work-item:last-child { border-bottom: 1px solid var(--line); }
.work-item__type { color: var(--blue-600); font-weight: 600; margin: 0 0 14px; }
.work-item__media img { width: 100%; border-radius: var(--r-lg); margin-top: 8px; border: 1px solid var(--line); }
.work-item__body p { max-width: 64ch; color: #3A4860; }
.work-item__body h4 { font-size: 1rem; margin: 1.3em 0 .3em; }
.work-item__body h4:first-child { margin-top: 0; }
@media (max-width: 860px) { .work-item { grid-template-columns: 1fr; } }

/* ---------- Tech groups ---------- */
.tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech h3 { font-size: 1rem; margin-bottom: 12px; color: var(--navy-900); }
@media (max-width: 900px) { .tech { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tech { grid-template-columns: 1fr; } }

/* ---------- Region / global ---------- */
.zones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.zone { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md); padding: 18px; }
.zone b { display: block; color: #fff; font-family: var(--head); margin-bottom: 4px; }
.zone span { font-size: .93rem; color: #AFC0DD; }
@media (max-width: 900px) { .zones { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative; font-family: var(--head); font-weight: 700; font-size: 1.1rem; color: var(--navy-900); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 8px; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F5BD8' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue-600); }
.faq__a { padding: 0 0 20px; max-width: 72ch; color: var(--muted); }
.faq__a p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(56px, 7vw, 88px) 0; background: var(--white); }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 32px; align-items: center; background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 70%, var(--blue-600) 140%); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px); color: #C7D3E8; }
.cta-band h2 { color: #fff; margin-bottom: .3em; max-width: 22ch; }
.cta-band p { color: #AFC0DD; margin: 0; max-width: 56ch; }
.cta-band .btn-row { margin-top: 0; }
.cta-band .btn--primary { background: #fff; color: var(--navy-900); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--blue-50); color: var(--navy-900); }
@media (max-width: 800px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* inline CTA box */
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding: 22px 26px; border-radius: var(--r-lg); background: var(--blue-50); border: 1px solid var(--blue-100); }
.cta-inline p { margin: 0; color: var(--navy-900); font-weight: 600; }

/* ---------- Page head (inner pages) ---------- */
.page-head { padding: clamp(44px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); background: linear-gradient(180deg, #F4F8FF 0%, #FFFFFF 100%); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.1rem, 2.4vw + 1.1rem, 3.1rem); max-width: 22ch; }
.doc { max-width: 74ch; }
.doc h2 { font-size: 1.5rem; margin-top: 1.8em; }
.doc h3 { margin-top: 1.4em; }
.doc li { margin-bottom: .5em; }

/* ---------- Form ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy-900); }
.field .hint { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); margin-top: 2px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 1.5px solid #D3DCE8; border-radius: 10px; padding: 12px 14px; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(31,91,216,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form__fine { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.aside-box { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.aside-box h2 { font-size: 1.25rem; }
@media (max-width: 860px) { .form-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #A9B8D3; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #DCE5F5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-family: var(--head); font-size: .98rem; font-weight: 700; letter-spacing: 0; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; text-decoration: none; margin-bottom: 14px; }
.site-footer__brand p { max-width: 36ch; }
.site-footer__base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
.site-footer__base p { margin: 0; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
.section--dark .ico svg { stroke: var(--sky); }

/* ---------- Hire page components ---------- */
.toc { background: #fff; border-bottom: 1px solid var(--line); position: relative; }
.toc ul { list-style: none; margin: 0; padding: 14px 0; display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.toc ul::-webkit-scrollbar { display: none; }
.toc li { margin: 0; flex: none; }
.toc span { display: inline-block; padding: 8px 4px 8px 0; font-weight: 650; color: var(--navy-900); font-size: .92rem; white-space: nowrap; }
.toc a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: .92rem; font-weight: 550; white-space: nowrap; }
.toc a:hover { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-700); }

.role { display: flex; flex-direction: column; }
.role h3 { margin-bottom: .35em; }
.role .chips { margin: 14px 0 16px; }
.role .chips li { font-size: .8rem; padding: 4px 10px; background: var(--mist); }
.role__fit { margin-top: auto !important; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem !important; color: var(--text) !important; }
.role__fit b { color: var(--navy-900); }
.role__cta { margin-top: auto; padding-top: 16px; }

.ticks--3 { grid-template-columns: repeat(3, 1fr); column-gap: 24px; row-gap: 12px; }
@media (max-width: 900px) { .ticks--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ticks--3 { grid-template-columns: 1fr; } }

.flags { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.flags li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line); margin: 0; color: var(--muted); }
.flags li strong { color: var(--navy-900); }
.flags li::before { content: ""; position: absolute; left: 0; top: 17px; width: 22px; height: 22px; border-radius: 50%; background: #FEF1F1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C62828' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/11px no-repeat; }

.qlist { margin: 0; padding: 0; list-style: none; counter-reset: q; display: grid; gap: 0; }
.qlist li { counter-increment: q; position: relative; padding: 14px 0 14px 44px; border-top: 1px solid var(--line); margin: 0; }
.qlist li::before { content: counter(q); position: absolute; left: 0; top: 13px; width: 28px; height: 28px; border-radius: 8px; background: var(--blue-50); color: var(--blue-700); font: 700 .85rem/28px var(--head); text-align: center; }
.qlist strong { display: block; color: var(--navy-900); }
.qlist span { color: var(--muted); font-size: .97rem; }

.byline { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; font-size: .93rem; color: var(--muted); }
.byline__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; font: 700 .95rem var(--head); flex: none; }
.byline b { color: var(--navy-900); display: block; }

.guide-block + .guide-block { margin-top: 56px; }
.guide-block > h3 { font-size: clamp(1.3rem, .6vw + 1.1rem, 1.55rem); margin-bottom: .5em; }
.answer { font-size: 1.08rem; color: #33425A; max-width: 70ch; }
.process--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .process--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process--4 { grid-template-columns: 1fr; } }

/* ---------- Mobile hub v3 ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.facts div { padding: 14px 16px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts b { display: block; font-family: var(--head); font-size: 1.2rem; color: var(--navy-900); line-height: 1.2; }
.facts span { font-size: .85rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 2px; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(3) { border-left: 0; } .facts div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.dev { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-md); }
.dev__photo { position: relative; }
.dev__photo img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--r-lg); background: var(--navy-800); }
.dev__badge { position: absolute; left: 16px; bottom: 16px; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow-md); font-size: .85rem; color: var(--muted); }
.dev__badge b { display: block; font-family: var(--head); font-size: 1.15rem; color: var(--navy-900); }
.dev h3 { font-size: clamp(1.6rem, 1vw + 1.2rem, 2.1rem); margin-bottom: .15em; }
.dev__role { color: var(--blue-600); font-weight: 650; margin: 0 0 16px; }
.dev__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.dev__meta li { margin: 0; font-size: .88rem; font-weight: 600; padding: 6px 12px; border-radius: 8px; background: var(--blue-50); color: var(--blue-700); }
.dev p { color: #3A4860; }
.dev .chips { margin: 6px 0 22px; }
.dev .chips li { font-size: .85rem; background: var(--mist); }
@media (max-width: 860px) { .dev { grid-template-columns: 1fr; } .dev__photo { max-width: 420px; } }

.definition { font-size: clamp(1.1rem, .4vw + 1rem, 1.25rem); line-height: 1.6; color: var(--navy-900); background: var(--blue-50); border-left: 4px solid var(--blue-600); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 22px 26px; margin: 0 0 32px; max-width: 900px; }

.video { margin: 0; }
.video video { width: 100%; display: block; border-radius: var(--r-xl); background: var(--navy-900); box-shadow: 0 30px 60px -30px rgba(11,26,51,.55); aspect-ratio: 16 / 9; }
.video figcaption { margin-top: 14px; font-size: .95rem; color: var(--muted); }
.transcript { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.transcript summary { cursor: pointer; padding: 14px 18px; font-weight: 650; color: var(--navy-900); }
.transcript div { padding: 0 18px 16px; color: var(--muted); font-size: .97rem; }
.transcript p:last-child { margin-bottom: 0; }
.video-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .video-layout { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shot { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.shot__img { background: linear-gradient(180deg, var(--blue-50), #fff); padding: 26px 26px 0; display: grid; place-items: center; height: 360px; overflow: hidden; }
.shot__img img { width: 230px; height: auto; align-self: start; }
.shot__body { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.shot__body h3 { font-size: 1.1rem; margin-bottom: .3em; }
.shot__body p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } .shot__img { height: 330px; } }

.price { font-family: var(--head); color: var(--navy-900); margin: 4px 0 10px !important; font-size: 1rem !important; }
.price b { font-size: 2rem; letter-spacing: -.02em; }
.price span { color: var(--muted); font-family: var(--body); }
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .types { grid-template-columns: 1fr; } }
.card .price, .card .price b { color: var(--navy-900); }
.facts b { font-size: 1.08rem; white-space: nowrap; }
.video video { height: auto; }

/* passport-size developer photo */
.dev { grid-template-columns: 200px minmax(0, 1fr); align-items: start; }
.dev__photo img { width: 180px; height: auto; aspect-ratio: 5 / 6; object-fit: cover; object-position: center top; border-radius: 14px; border: 4px solid #fff; box-shadow: var(--shadow-md); }
@media (max-width: 860px) { .dev { grid-template-columns: 1fr; } .dev__photo img { width: 140px; } }

/* utilities (replace inline styles) */
.mt-24 { margin-top: 24px; }
.mt-56 { margin-top: 56px; }
.btn-row--flush { margin-top: 0; }
.subhead { font-size: 1.5rem; }

/* step titles as h4 inside sub-sections */
.steps h4 { font-family: var(--head); margin: 7px 0 .3em; font-size: 1.1rem; font-weight: 700; color: var(--navy-900); letter-spacing: -0.01em; line-height: 1.3; }

/* ---------- Website hub ---------- */
.quote { margin: 22px 0 0; padding: 20px 22px; background: var(--mist); border-left: 4px solid var(--blue-600); border-radius: 0 var(--r-md) var(--r-md) 0; }
.quote p { font-size: 1.04rem; color: var(--navy-900); line-height: 1.6; margin: 0 0 10px; }
.quote footer { font-size: .9rem; color: var(--muted); }
.quote footer b { color: var(--navy-900); }
.case__links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.case dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 16px; font-size: .95rem; }
.case dt { font-weight: 650; color: var(--navy-900); }
.case dd { margin: 0; color: var(--muted); }
.samples { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sample { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.sample__img { background: linear-gradient(180deg, var(--blue-50), #fff); padding: 22px 22px 0; }
.sample__img img { width: 100%; height: auto; display: block; }
.sample__body { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; flex: 1; }
.sample__body h3 { font-size: 1.2rem; margin-bottom: .3em; }
.sample__body p { color: var(--muted); font-size: .97rem; }
.sample__body .ticks { margin: 4px 0 18px; gap: 8px; font-size: .95rem; }
.sample__body .link-arrow { margin-top: auto; }
.label { display: inline-block; font-size: .78rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: #FEF3C7; color: #92400E; margin-bottom: 10px; }
.label--live { background: #DCFCE7; color: #166534; }
@media (max-width: 860px) { .samples { grid-template-columns: 1fr; } }
.types--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .types--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .types--4 { grid-template-columns: 1fr; } }
.sample__body .label { align-self: flex-start; }

/* ---------- Site-wide additions ---------- */
.section--tight { padding-top: 40px; }
.page-head--solo { padding-bottom: 96px; border-bottom: 0; }
.sr-heading { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-16 { margin-top: 16px; }
.work-item__title { font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); margin: 6px 0 .2em; }
.work-item .label { margin-bottom: 4px; }
.work-item__body .quote { margin-top: 18px; }
.dev--compact { grid-template-columns: 130px minmax(0, 1fr); gap: 22px; padding: 24px; box-shadow: var(--shadow-sm); }
.dev--compact .dev__photo img { width: 120px; }
.dev--compact h3 { font-size: 1.4rem; }
.dev--compact .dev__meta { margin-bottom: 12px; }
.dev--compact p { font-size: .98rem; }
@media (max-width: 560px) { .dev--compact { grid-template-columns: 1fr; } }
.case .quote { margin: 4px 0 16px; padding: 14px 16px; }
.case .quote p { font-size: .97rem; }
.link-arrow.mt-16 { display: inline-flex; }
.loc-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.loc-card:hover { color: inherit; }
.loc-card .link-arrow { margin-top: 16px; color: var(--blue-600); }
.loc-card:hover .link-arrow svg { transform: translateX(3px); }

/* ---------- Quote form ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req { color: #C62828; }
#form-status:empty { display: none; }
.form-status-message { border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; font-size: .97rem; }
.form-status-message.error { background: #FEF1F1; border: 1px solid #F5C2C2; color: #8A1C1C; }
.form-status-message.success { background: #E8F7EE; border: 1px solid #B7E4C7; color: #14532D; }
.form-status-message ul { margin: 0; padding-left: 1.1em; }
.form-status-message li { margin: 0; }
#turnstile-slot:not(:empty) { margin-bottom: 18px; }
