/* ==========================================================
   Rosetta Byte
   ========================================================== */
/* Self-hosted variable fonts, Latin subset (SIL Open Font License). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/inter-latin.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: "Sora"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("fonts/sora-latin.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; }
:root {
  --bg: #0b0f19;
  --bg-2: #0f1524;
  --surface: #131a2b;
  --surface-2: #1a2236;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #e8ebf3;
  --muted: #9aa4ba;
  --gold: #f6c517;
  --gold-2: #ffd84a;
  --gold-soft: rgba(246, 197, 23, .12);
  --light: #f5f6fa;
  --light-line: #e3e6ee;
  --ink: #12172a;
  --ink-muted: #5a6378;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 16px 40px -18px rgba(0, 0, 0, .55);
  --display: "Sora", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-family: var(--display); letter-spacing: -.02em; color: #fff; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.gold { color: var(--gold); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 600 .98rem/1.2 var(--sans); text-decoration: none; padding: 13px 24px; border-radius: 12px; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-lg { padding: 16px 28px; font-size: 1.03rem; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: #14110a; }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn-ghost { color: #fff; border-color: var(--line-2); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.btn-ghost-dark { color: var(--ink); border-color: var(--light-line); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--ink); }

.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 15, 25, .96); border-bottom: 1px solid transparent; transition: border-color .25s; }
.site-header.scrolled { border-color: var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.site-logo { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a:not(.btn), .drop-trigger { text-decoration: none; font-weight: 500; font-size: .96rem; color: #cfd5e3; transition: color .2s; }
.main-nav > a:not(.btn):hover, .drop-trigger:hover { color: #fff; }
.nav-cta { padding: 11px 20px; }
.has-drop { position: relative; display: flex; align-items: center; }
.drop-trigger { display: inline-flex; align-items: center; gap: 4px; }
.drop-trigger .ico { width: 16px; height: 16px; transition: transform .2s; }
.has-drop:hover .drop-trigger .ico { transform: rotate(180deg); }
.drop-toggle { display: none; }
.drop { position: absolute; top: calc(100% + 20px); left: -20px; width: 420px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; padding: 10px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: flex; gap: 14px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--text); }
.drop a:hover { background: var(--surface-2); }
.drop strong { display: block; font-size: .95rem; color: #fff; }
.drop small { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.drop-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--gold-soft); color: var(--gold); flex: none; }
.drop-ico .ico { width: 19px; height: 19px; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer; padding: 0 11px; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Shared backgrounds */
.glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 420px at 80% 0%, rgba(246,197,23,.16), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(70,100,200,.14), transparent 60%); }
.glow-left { background: radial-gradient(600px 420px at 0% 30%, rgba(246,197,23,.12), transparent 60%); }
.grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(180deg, transparent 30%, var(--bg) 95%), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 100% 100%, 56px 56px, 56px 56px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 56px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.lead { font-size: 1.18rem; color: #c3cad9; max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 26px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #cfd5e3; font-size: .95rem; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ico { color: var(--gold); stroke-width: 2.6; }

.hero-visual { position: relative; min-height: 440px; }
.frame { position: absolute; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.frame img { width: 100%; height: auto; }
.frame-back { width: 78%; right: 0; top: 0; opacity: .75; }
.frame-front { width: 82%; left: 0; top: 110px; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #1c2438; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a445c; }
.browser-bar i:first-child { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-url { margin-left: 10px; flex: 1; max-width: 240px; height: 18px; border-radius: 6px; background: rgba(255,255,255,.06); font-size: .7rem; line-height: 18px; color: #c3cad9; padding: 0 10px; overflow: hidden; white-space: nowrap; }
.code-card { position: absolute; right: -8px; bottom: 6px; width: 300px; background: #0d1220; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.code-head { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: .72rem; color: var(--muted); }
.code-head i { width: 8px; height: 8px; border-radius: 50%; background: #3a445c; }
.code-head span { margin-left: 8px; }
.code-card pre { margin: 0; padding: 12px 14px; font: .74rem/1.6 var(--mono); color: #d7dceb; overflow: hidden; }
.c-k { color: #c792ea; } .c-s { color: var(--gold); }
.serp-chip { position: absolute; left: 6%; top: 52px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: .85rem; box-shadow: var(--shadow); }
.serp-chip .ico { color: #1a73e8; }
.clients { position: relative; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.clients > span { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 34px; }
.clients li { font-family: var(--display); font-weight: 600; color: #8f99b0; font-size: 1.02rem; }

/* Sections */
.section { position: relative; padding: 104px 0; }
.section-alt { background: var(--light); color: var(--ink-muted); }
.section-alt h2, .section-alt h3 { color: var(--ink); }
.section-dark { background: var(--bg-2); overflow: hidden; }
.head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.head p { font-size: 1.1rem; color: var(--muted); }
.section-alt .head p { color: var(--ink-muted); }
.lead-sm { font-size: 1.08rem; color: #c3cad9; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .3s var(--ease), border-color .3s, background .3s; }
.svc:hover { transform: translateY(-5px); border-color: rgba(246,197,23,.4); background: var(--surface-2); }
.svc p { color: var(--muted); font-size: .97rem; flex: 1; }
.svc-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--gold-soft); color: var(--gold); margin-bottom: 20px; }
.svc-ico .ico { width: 25px; height: 25px; }
.tech-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 18px; }
.tech-row span, .stack span { font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: #c3cad9; border: 1px solid var(--line); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .93rem; color: var(--gold); text-decoration: none; }
.more .ico { transition: transform .2s var(--ease); }
.svc:hover .more .ico, .more:hover .ico { transform: translateX(4px); }
.svc-cta { background: linear-gradient(160deg, rgba(246,197,23,.14), rgba(246,197,23,.02)); border-color: rgba(246,197,23,.25); }

/* Projects */
.tier { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin: 56px 0 22px; }
.tier:first-of-type { margin-top: 0; }
.tier-label { display: inline-flex; align-items: center; gap: 10px; font: 600 .82rem/1 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: #a37c00; background: #fff6d6; padding: 9px 14px; border-radius: 999px; }
.section:not(.section-alt) .tier-label { color: var(--gold); background: var(--gold-soft); }
.tier p { margin: 0; color: inherit; opacity: .8; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--light-line); color: var(--ink-muted); transition: transform .3s var(--ease), box-shadow .3s; }
.section:not(.section-alt) .project { background: var(--surface); border-color: var(--line); color: var(--muted); }
.section:not(.section-alt) .project h3 { color: #fff; }
.project:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(18,23,42,.35); }
.project-shot { display: block; position: relative; background: #1c2438; overflow: hidden; }
.project-shot img { width: 100%; height: auto; aspect-ratio: 1100 / 558; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.project:hover .project-shot img { transform: scale(1.03); }
.project-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 24px; }
.project-body h3 { font-size: 1.4rem; color: var(--ink); margin-bottom: 8px; }
.project-body > p { flex: 1; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag { font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #eef0f5; color: var(--ink-muted); }
.tag-gold { background: #fff6d6; color: #8a6800; }
.section:not(.section-alt) .tag { background: rgba(255,255,255,.06); color: #c3cad9; }
.section:not(.section-alt) .tag-gold { background: var(--gold-soft); color: var(--gold); }
.project-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--light-line); }
.section:not(.section-alt) .project-foot { border-color: var(--line); }
.project .stack span { background: #f2f4f8; color: var(--ink-muted); border-color: var(--light-line); }
.section:not(.section-alt) .project .stack span { background: rgba(255,255,255,.06); color: #c3cad9; border-color: var(--line); }
.stack { display: flex; flex-wrap: wrap; gap: 6px; }
.visit { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none; }
.section:not(.section-alt) .visit { color: var(--gold); }
.visit:hover { text-decoration: underline; }
.project-detailed { display: grid; grid-template-columns: 1.25fr 1fr; }
.project-grid .project-detailed { display: flex; }
.project-detailed .project-shot img { height: 100%; }
.ticks { list-style: none; padding: 0; margin: 4px 0 6px; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.ticks .ico { width: 20px; height: 20px; padding: 3px; margin-top: 2px; border-radius: 50%; background: var(--gold-soft); color: #b58e00; stroke-width: 3; }
.section-dark .ticks .ico, .section:not(.section-alt) .ticks .ico { color: var(--gold); }
.ticks-2 { grid-template-columns: 1fr 1fr; }

/* SEO */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; position: relative; }
.split-top { align-items: start; }
.seo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 30px; }
.seo-cols h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.seo-cols h3 .ico { color: var(--gold); }
.seo-cols .ticks li { color: #c3cad9; font-size: .93rem; }
.seo-cols .more { margin-top: 10px; }
.serp { position: relative; background: #fff; color: #202124; border-radius: 18px; padding: 22px; box-shadow: var(--shadow); font-family: Arial, var(--sans); }
.serp-search { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid #dfe1e5; border-radius: 999px; font-size: .95rem; box-shadow: 0 1px 6px rgba(32,33,36,.18); margin-bottom: 18px; }
.serp-search .ico { color: #5f6368; }
.serp-map { border: 1px solid #e8eaed; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.map-art { position: relative; height: 110px; background: linear-gradient(135deg, #e8f0e3 0%, #f1efe7 45%, #dfe9f3 100%); }
.map-art::before, .map-art::after { content: ""; position: absolute; background: #fff; }
.map-art::before { left: 0; right: 0; top: 52%; height: 8px; transform: rotate(-4deg); }
.map-art::after { top: 0; bottom: 0; left: 38%; width: 7px; transform: rotate(8deg); }
.map-pin { position: absolute; color: #ea4335; z-index: 1; }
.map-pin .ico { width: 26px; height: 26px; fill: currentColor; stroke: #fff; }
.map-pin.p1 { left: 18%; top: 20%; color: #9aa0a6; } .map-pin.p2 { left: 64%; top: 46%; color: #9aa0a6; } .map-pin.p3 { left: 44%; top: 14%; }
.map-item { padding: 12px 16px; border-top: 1px solid #e8eaed; font-size: .85rem; display: grid; gap: 2px; }
.map-item strong { color: #1a0dab; font-size: .98rem; }
.map-item.you { background: #fffbea; }
.map-item small { color: #5f6368; }
.map-item em { font-style: normal; color: #1a73e8; font-size: .8rem; }
.stars { color: #f4b400; letter-spacing: 1px; } .stars.dim { opacity: .55; }
.serp-result { padding: 10px 4px; }
.serp-result small { color: #4d5156; font-size: .8rem; }
.serp-result strong { display: block; color: #1a0dab; font-weight: 400; font-size: 1.1rem; margin: 2px 0; }
.serp-result p { margin: 0; color: #4d5156; font-size: .86rem; }
.serp-result.you { border-left: 3px solid var(--gold); padding-left: 12px; background: #fffbea; border-radius: 6px; }
.serp-note { position: absolute; right: 14px; bottom: 10px; font-size: .7rem; color: #9aa0a6; text-transform: uppercase; letter-spacing: .1em; }

/* Tech */
.tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.tech { padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.tech-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); color: var(--gold); margin-bottom: 16px; border: 1px solid var(--line); }
.tech h3 { font-size: 1.2rem; }
.tech p { margin: 0; font-size: .92rem; color: var(--muted); }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.process li { padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--light-line); }
.step { display: block; font: 700 1.6rem/1 var(--display); color: #e2b000; margin-bottom: 14px; }
.process p { margin: 0; font-size: .93rem; }

/* Why / values */
.why-list { display: grid; gap: 22px; margin-top: 28px; }
.why-list > div { display: flex; gap: 16px; }
.why-list > div > .ico { width: 46px; height: 46px; padding: 12px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); }
.why-list h3 { margin-bottom: 4px; }
.why-list p { margin: 0; color: var(--muted); font-size: .96rem; }
.values { display: grid; gap: 16px; }
.value { position: relative; padding: 28px 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.value-num { position: absolute; right: 24px; top: 20px; font: 700 2.2rem/1 var(--display); color: rgba(246,197,23,.22); }
.value p { margin: 0; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq-grid a { color: inherit; font-weight: 600; }
.faqs details { background: #fff; border: 1px solid var(--light-line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faqs summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs details p { padding: 0 24px 20px; margin: 0; color: var(--ink-muted); }
.plus { position: relative; width: 28px; height: 28px; border-radius: 50%; background: #f1f2f6; flex: none; transition: background .25s, transform .3s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
details[open] .plus { background: var(--gold); transform: rotate(180deg); }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.related { margin-top: 28px; display: grid; gap: 6px; }
.related h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-muted); }
.related a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin: 0 -12px; border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--ink); }
.related a:hover { background: #fff; }
.related span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--gold); }

/* CTA band */
.cta-band { position: relative; padding: 90px 0; background: radial-gradient(700px 400px at 90% 10%, rgba(246,197,23,.18), transparent 60%), var(--bg-2); border-top: 1px solid var(--line); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-in p { color: #c3cad9; margin: 0; max-width: 34em; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 80px; border-bottom: 1px solid var(--line); }
.page-hero-in { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 18em; margin: 14px 0 18px; }
.page-hero .kicker { margin: 18px 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: #cfd5e3; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* Service page */
.svc-page { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.svc-intro p { font-size: 1.12rem; color: #c3cad9; }
.svc-intro p:first-child { color: #fff; font-size: 1.2rem; }
.svc-aside { position: sticky; top: 110px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.svc-aside h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.stack-lg { margin-bottom: 22px; }
.stack-lg span { font-size: .85rem; padding: 6px 12px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--light-line); }
.feature-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #fff6d6; color: #a37c00; margin-bottom: 14px; }
.feature-ico .ico { stroke-width: 2.6; width: 18px; height: 18px; }
.feature h3 { font-size: 1.05rem; }
.feature p { margin: 0; font-size: .93rem; }

/* Services list page */
.svc-list { display: grid; gap: 22px; }
.svc-row { display: grid; grid-template-columns: 140px 1fr; gap: 30px; padding: 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.svc-row-head { display: flex; flex-direction: column; gap: 16px; }
.svc-num { font: 700 2.4rem/1 var(--display); color: rgba(246,197,23,.3); }
.svc-row h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.svc-row p { color: #c3cad9; }
.svc-row .ticks li { color: #c3cad9; }
.svc-row-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.contact-info p { color: #c3cad9; }
.contact-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); word-break: break-word; }
.contact-list li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.contact-list a { color: #fff; font-weight: 600; text-decoration: none; }
.next h3 { font-size: 1.05rem; }
.next ol { margin: 0; padding-left: 1.2em; color: #c3cad9; display: grid; gap: 6px; }
.next li::marker { color: var(--gold); font-weight: 700; }

/* Form */
.lead-form { padding: 36px; border-radius: 22px; background: #fff; color: var(--ink); display: grid; gap: 18px; box-shadow: var(--shadow); }
.lead-form h3 { color: var(--ink); font-size: 1.5rem; margin: 0 0 4px; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field label, .field legend { font-size: .86rem; font-weight: 600; color: var(--ink); padding: 0; }
.field small { font-weight: 400; color: var(--ink-muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #f7f8fb; border: 1.5px solid #e1e4ec; border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #d9ad00; background: #fff; box-shadow: 0 0 0 4px rgba(246,197,23,.2); }
.field .invalid { border-color: #d33a2c; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid #e1e4ec; background: #f7f8fb; font-size: .9rem; font-weight: 500; transition: all .15s; }
.chip input:checked + span { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { margin: 0; text-align: center; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #1f8a4c; }
.form-status.err { color: #c62828; }

/* Generic content */
.prose { font-size: 1.06rem; color: #c3cad9; }
.prose h2 { font-size: 1.9rem; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose strong { color: #fff; }
.prose a { color: var(--gold); }
.post-item { padding: 24px 0; border-bottom: 1px solid var(--line); }

/* Footer */
.site-footer { padding: 76px 0 30px; background: #080b13; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; }
.footer-brand p { margin-top: 18px; max-width: 30em; }
.site-footer h2 { font: 600 .8rem/1 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: #fff; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 11px; }
.site-footer a:not(.btn) { color: #c3cad9; text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--gold); }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 10px; word-break: break-all; }
.footer-contact .ico { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .86rem; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Performance: skip off-screen rendering */
.section, .cta-band, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* Responsive */
@media (max-width: 1100px) {
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { gap: 22px; }
}
@media (max-width: 980px) {
  .burger { display: block; }
  .main-nav { position: fixed; left: 0; right: 0; top: 78px; bottom: 0; padding: 20px 24px 40px; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); }
  .main-nav.open { transform: none; }
  .main-nav > a:not(.btn), .drop-trigger { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; color: #fff; }
  .has-drop { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .has-drop .drop-trigger { border-bottom: 0; flex: 1; }
  .drop-trigger .ico { display: none; }
  .drop-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--surface); color: #fff; cursor: pointer; }
  .drop-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
  .drop { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 10px; display: none; }
  .drop.open { display: block; }
  .drop::before { display: none; }
  .nav-cta { margin-top: 22px; padding: 15px; }
  .hero-grid, .split, .faq-grid, .contact-grid, .svc-page { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 0; aspect-ratio: 1.25; max-width: 620px; width: 100%; margin: 0 auto; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .project-detailed { grid-template-columns: 1fr; }
  .svc-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0 40px; }
  .svc-grid, .project-grid, .tech-grid, .process, .feature-grid, .seo-cols, .ticks-2, .footer-grid { grid-template-columns: 1fr; }
  .lead-form { padding: 24px 18px; }
  .lead-form .row { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; padding: 26px 22px; gap: 14px; }
  .svc-row-head { flex-direction: row; align-items: center; }
  .code-card { width: 220px; }
  .code-card pre { font-size: .62rem; }
  .serp-chip { font-size: .75rem; top: 30px; }
  .actions .btn, .cta-actions .btn { width: 100%; }
  .site-logo { height: 40px; }
  .clients ul { gap: 8px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); }
.project-grid-3 { grid-template-columns: repeat(3, 1fr); }
.project-grid-3 .project-body { padding: 22px 22px 20px; }
.project-grid-3 .project-body h3 { font-size: 1.25rem; }
@media (max-width: 980px) { .project-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .project-grid-3 { grid-template-columns: 1fr; } }

/* ==========================================================
   Products & partnerships (v1.1)
   ========================================================== */
.product-list { display: grid; gap: 24px; }
.svc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.footer-grid ul + h2 { margin-top: 26px; }
.footer-grid small { opacity: .7; }

/* Status tags */
.tag-live { background: #e3f6ea; color: #1e7a46; }

/* "Coming soon" panel for products in development (Battanova) */
.soon-shot { position: relative; display: grid; place-content: center; justify-items: center; gap: 16px; aspect-ratio: 1100 / 558; padding: 24px; overflow: hidden; text-align: center;
  background:
    radial-gradient(60% 80% at 50% 110%, rgba(246,197,23,.22), transparent 70%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 28px 28px,
    #0d1220; }
.soon-name { font: 700 clamp(1.6rem, 3.6vw, 2.6rem)/1 var(--display); letter-spacing: -.01em; color: #fff; }
.soon-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(246,197,23,.35); background: var(--gold-soft); color: var(--gold); font: 600 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(246,197,23,.6); animation: rb-pulse 1.8s ease-out infinite; }
@keyframes rb-pulse { 70% { box-shadow: 0 0 0 10px rgba(246,197,23,0); } 100% { box-shadow: 0 0 0 0 rgba(246,197,23,0); } }
.soon-bar { position: relative; width: min(240px, 60%); height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.soon-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); animation: rb-progress 2.4s var(--ease) infinite; }
@keyframes rb-progress { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.project-detailed .soon-shot { height: 100%; }
.frame .soon-shot { padding: 16px; }
.frame .soon-name { font-size: clamp(1.3rem, 2.6vw, 2rem); }
.project-soon .visit { color: #8a6800; }

/* Scope note on the partnerships page */
.scope-note { display: flex; gap: 14px; align-items: flex-start; margin: 8px 0 0; padding: 20px 24px; border-radius: var(--radius); border: 1px dashed rgba(246,197,23,.35); background: var(--gold-soft); color: var(--muted); }
.scope-note .ico { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.scope-note strong { color: var(--text); }

@media (max-width: 640px) {
  .svc-grid-2 { grid-template-columns: 1fr; }
}

/* Product case study (/products/learn-typing/) */
.case-shot { margin-bottom: 40px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.case-shot:hover img { transform: scale(1.02); }
.glance { margin: 0 0 24px; display: grid; }
.glance div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.glance div:first-child { padding-top: 4px; }
.glance dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.glance dd { margin: 0; color: #fff; font-weight: 600; line-height: 1.45; }
.challenges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.challenges .value:last-child:nth-child(odd) { grid-column: 1 / -1; }
.challenges h3 { color: #fff; padding-right: 64px; }
.project-body .case-link { margin: 4px 0 18px; }
.section:not(.section-alt) .related h3 { color: var(--muted); }
.section:not(.section-alt) .related a { color: #fff; }
.section:not(.section-alt) .related a:hover { background: var(--surface); }
@media (max-width: 640px) {
  .challenges { grid-template-columns: 1fr; }
}
