/* Self-hosted fonts (latin subset, SIL Open Font License): Inter Tight, Instrument Serif, JetBrains Mono */
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/inter-tight.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: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-400.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/assets/fonts/jetbrains-mono.woff2) format('woff2'); }

/* ===== Design tokens ===== */
:root {
  --bg: #07070b;
  --bg-2: #0b0b11;
  --card: #101017;
  --card-2: #15151e;
  --line: #1e1e2a;
  --line-2: #2b2b3a;
  --ink: #f4f3f8;
  --text: #d5d4de;
  --muted: #a09eb0;
  --dim: #8d8b9c;
  --a1: #9d8cff;
  --a2: #4fe3be;
  --grad: linear-gradient(120deg, #b3a6ff 0%, #8f7bff 40%, #4fe3be 100%);
  --accent: #b3a6ff;
  --on-accent: #07070b;
  --green: #34d27b;
  --red: #ff4d4d;
  --focus: #ffb020;

  --sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-h1: clamp(2.9rem, 1.6rem + 6vw, 7.25rem);
  --fs-h2: clamp(2.4rem, 1.6rem + 3.6vw, 5rem);
  --fs-h3: 1.25rem;
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 5rem; --s-9: 8rem;
  --radius: 22px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --container: 1320px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.04; letter-spacing: -0.04em; margin: 0 0 var(--s-4); font-weight: 600; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.25; font-weight: 600; }
h1 em, h2 em, .h-xl em, .h-xxl em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
p { margin: 0 0 var(--s-4); }
strong { color: var(--ink); font-weight: 600; }
.mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s-4); top: -100px; background: var(--ink); color: var(--bg); padding: var(--s-2) var(--s-4); border-radius: 8px; z-index: 200; }
.skip-link:focus { top: var(--s-4); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem); }
.narrow { max-width: 900px; }
.narrow-left { max-width: 920px; }
.center { text-align: center; margin-top: var(--s-6); }
.muted { color: var(--muted); }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 60ch; font-weight: 300; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-3); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-5); }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--muted); }
.eyebrow-live::before { display: none; }
.kicker { color: var(--muted); margin-bottom: var(--s-2); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.dot-green { background: var(--green); box-shadow: 0 0 0 0 rgba(52, 210, 123, .5); animation: pulse 2.2s infinite; }
.dot-red { background: var(--red); animation: pulse-red 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(52, 210, 123, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 210, 123, 0); } }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, .5); } 70% { box-shadow: 0 0 0 7px rgba(255, 77, 77, 0); } 100% { box-shadow: none; } }

/* ===== Icons ===== */
.icon { display: inline-flex; flex-shrink: 0; width: 1.5rem; height: 1.5rem; }
.icon svg, .tick svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-xs { width: 1rem; height: 1rem; }
.icon-sm { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 2.75rem; height: 2.75rem; padding: 0.6rem; border-radius: 12px; background: var(--card-2); color: var(--accent); border: 1px solid var(--line); }
.tick { display: inline-flex; width: 1.1rem; height: 1.1rem; color: var(--accent); flex-shrink: 0; margin-top: 0.3rem; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); font: inherit; font-weight: 500; font-size: 0.975rem; line-height: 1.2; padding: 0.85rem 1.4rem; border-radius: 999px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 1.6rem; }
.btn-block { width: 100%; }
.btn-primary, .btn-light { background: var(--grad); color: var(--on-accent); font-weight: 600; box-shadow: 0 8px 30px -10px rgba(143, 123, 255, .65); }
.btn-primary:hover, .btn-light:hover { filter: brightness(1.08); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-6) 0; }
.round { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); background: transparent; font: inherit; cursor: pointer; flex-shrink: 0; transition: background .2s, color .2s, border-color .2s; }
.round:hover { background: var(--ink); color: var(--bg); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-arrow { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--ink); }

/* ===== Header ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(7, 7, 11, .55); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.scrolled { background: rgba(7, 7, 11, .85); border-bottom-color: var(--line); }
.nav-bar { display: flex; align-items: center; gap: var(--s-4); height: 70px; }
.brand { display: inline-flex; align-items: center; gap: var(--s-2); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: var(--on-accent); font-weight: 800; font-size: 1rem; letter-spacing: -0.04em; }
.site-nav { margin: 0 auto; }
.nav-list { list-style: none; margin: 0; padding: 4px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .02); }
.nav-list > li > a { display: inline-block; padding: 0.45rem 0.9rem; color: var(--muted); text-decoration: none; font-size: 0.9rem; border-radius: 999px; transition: color .2s, background .2s; }
.nav-list > li > a:hover, .nav-list > li > a[aria-current] { color: var(--ink); background: rgba(255, 255, 255, .06); }
.hire { display: inline-flex; align-items: center; gap: 8px; background: var(--grad); color: var(--on-accent); text-decoration: none; font-weight: 600; font-size: 0.9rem; padding: 0.6rem 1.1rem; border-radius: 999px; white-space: nowrap; }
.hire .dot { background: #0b6b4f; }
.hire:hover { filter: brightness(1.08); }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { background: none; border: 0; padding: 0.3rem 0.2rem; margin-left: -0.7rem; margin-right: 0.2rem; cursor: pointer; color: var(--muted); }
.sub-toggle svg { width: 0.9rem; height: 0.9rem; fill: none; stroke: currentColor; stroke-width: 2; display: block; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub-menu { list-style: none; margin: 0; padding: var(--s-2); position: absolute; top: calc(100% + 14px); left: -120px; width: 370px; background: #0f0f16; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); display: none; }
.has-sub.open .sub-menu { display: block; }
@media (hover: hover) and (min-width: 1001px) { .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: block; } .has-sub::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 16px; } }
.sub-menu a { display: flex; gap: var(--s-3); padding: var(--s-3); border-radius: 12px; text-decoration: none; color: var(--text); }
.sub-menu a:hover { background: var(--card-2); }
.sub-menu .icon { color: var(--a1); margin-top: 0.1rem; }
.sub-menu strong { display: block; color: var(--ink); font-size: 0.9rem; font-weight: 500; }
.sub-menu small { display: block; color: var(--muted); font-size: 0.78rem; line-height: 1.4; }
.sub-all { border-top: 1px solid var(--line); margin-top: var(--s-1); padding-top: var(--s-1); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 50%; width: 42px; height: 42px; cursor: pointer; position: relative; flex-shrink: 0; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 12px; width: 16px; height: 1.5px; background: var(--ink); content: ''; transition: transform .2s; }
.nav-toggle-bars { top: 20px; }
.nav-toggle-bars::before { left: 0; top: -5px; }
.nav-toggle-bars::after { left: 0; top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .hire { margin-left: auto; }
  .site-nav { position: fixed; top: 78px; left: 12px; right: 12px; max-height: calc(100vh - 92px); overflow-y: auto; background: #0d0d14; border: 1px solid var(--line-2); border-radius: 22px; padding: var(--s-4); display: none; margin: 0; }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; border: 0; padding: 0; background: none; }
  .nav-list > li > a { display: block; padding: 0.85rem 0.5rem; font-size: 1.125rem; color: var(--ink); border-bottom: 1px solid var(--line); border-radius: 0; flex: 1; }
  .nav-list > li > a:hover { background: none; }
  .has-sub { flex-wrap: wrap; }
  .sub-toggle { margin: 0; padding: 0.85rem; border-bottom: 1px solid var(--line); }
  .sub-menu { position: static; width: 100%; box-shadow: none; border: 0; background: transparent; padding: 0; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .hire { padding: 0.55rem 0.9rem; } }

/* ===== Breadcrumbs / page hero ===== */
.breadcrumbs { padding-top: 96px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 auto; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.breadcrumbs li + li::before { content: '/'; margin-right: var(--s-2); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.page-hero { padding: var(--s-7) 0 var(--s-6); }
main > .page-hero:first-child { padding-top: 130px; }
.page-hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.8vw, 5rem); max-width: 18ch; }
.page-hero-sm h1 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.5rem); }
.page-hero .eyebrow .icon { color: var(--accent); }

/* ===== Sections ===== */
.section { padding: var(--s-9) 0; }
.section-tight { padding: var(--s-6) 0 var(--s-8); }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .section { padding: var(--s-8) 0; } }
.section-head { margin-bottom: var(--s-7); max-width: 760px; }
.section-head h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin: 0 auto; }
.bighead { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-6); flex-wrap: wrap; margin-bottom: var(--s-7); }
.bighead h2 { margin: 0; }
.bighead h2 em { display: block; }
.bighead-text { max-width: 34ch; color: var(--muted); margin: 0; font-weight: 300; }
.h-xl { font-size: var(--fs-h2); }
.h-xxl { font-size: clamp(3.2rem, 1.5rem + 8vw, 9rem); line-height: 0.95; }

/* ===== About ===== */
.about-text { font-size: clamp(1.6rem, 1.1rem + 2vw, 3rem); line-height: 1.15; letter-spacing: -0.03em; color: var(--ink); font-weight: 400; margin-bottom: var(--s-7); }
.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.about-cards > div { padding: var(--s-5); border-right: 1px solid var(--line); }
.about-cards > div:last-child { border-right: 0; }
.about-cards p:last-child { margin: 0; color: var(--ink); }
.about-more { margin-top: var(--s-5); }
@media (max-width: 800px) { .about-cards { grid-template-columns: 1fr; } .about-cards > div { border-right: 0; border-bottom: 1px solid var(--line); } }

.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #151515; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); align-self: center; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #1a1a1a; border-bottom: 1px solid var(--line); }
.browser-bar > span { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.browser-bar > span:nth-child(2) { background: #febc2e; }
.browser-bar > span:nth-child(3) { background: #28c840; }
.browser-bar em { font-style: normal; margin-left: 10px; background: #262626; color: var(--muted); padding: 3px 12px; border-radius: 999px; font-size: 0.62rem; text-transform: none; letter-spacing: 0.04em; }
.browser-view { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }

/* Scrolling screenshot (pans from top to bottom on hover) */
.pan { width: 100%; height: auto; object-fit: cover; object-position: top; transition: transform 5s cubic-bezier(.45, .05, .35, 1); }
.browser:hover .pan, .pcard:hover .pan { transform: translateY(var(--pan, -50%)); }
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-2); background: radial-gradient(400px 260px at 50% 40%, #1d1d1d, #0e0e0e); color: var(--muted); text-align: center; padding: var(--s-4); }
.ph-name { font-family: var(--serif); font-size: 1.6rem; color: var(--text); line-height: 1.1; }

/* ===== Project cards / archive ===== */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.chip-btn { font: inherit; font-size: 0.85rem; padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; transition: background .2s, color .2s; }
.chip-btn sup { font-family: var(--mono); font-size: 0.6rem; color: var(--dim); margin-left: 2px; }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-btn[aria-pressed="true"] sup { color: #555; }
.archive, .project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
@media (max-width: 1000px) { .archive, .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .archive, .project-grid { grid-template-columns: 1fr; } }
.archive-item[hidden] { display: none; }
.archive:not(.expanded) [data-more] { display: none; }
.pcard { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .25s var(--ease); }
.pcard:hover { border-color: #3a3a3a; transform: translateY(-3px); }
.pcard-media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: #0e0e0e; border-bottom: 1px solid var(--line); }
.pcard-body { position: relative; padding: var(--s-5); flex: 1; }
.pcard-body h3 { margin-bottom: var(--s-2); padding-right: 48px; }
.pcard-body h3 a { text-decoration: none; color: var(--ink); }
.pcard-body h3 a::after { content: ''; position: absolute; inset: 0; }
.pcard-body p { color: var(--muted); font-size: 0.925rem; }
.pcard-body p.kicker { font-size: 0.68rem; }
.pcard-arrow { position: absolute; top: var(--s-5); right: var(--s-5); width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s; }
.pcard:hover .pcard-arrow { background: var(--ink); color: var(--bg); }
.tags { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 0.75rem; padding: 0.25rem 0.7rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); }

/* ===== Systems ===== */
.systems { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-4); }
.scard { grid-column: span 2; position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.scard-lg { grid-column: span 3; }
.scard-media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(160deg, #1b1a22, #0d0d10); border-bottom: 1px solid var(--line); }
.scard-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.scard-media .ph { background: radial-gradient(400px 220px at 50% 40%, #1c1b25, #0c0c0f); }
.live { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(10, 10, 10, .7); color: var(--text); font-size: 0.6rem; }
.live .dot { background: var(--green); width: 6px; height: 6px; }
@media (max-width: 1000px) { .systems { grid-template-columns: 1fr 1fr; } .scard, .scard-lg { grid-column: span 1; } }
@media (max-width: 620px) { .systems { grid-template-columns: 1fr; } }

/* ===== Services list ===== */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: 70px 1fr 1fr 48px; gap: var(--s-5); align-items: center; padding: var(--s-6) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding .3s var(--ease); }
.svc-list a:hover { padding-left: var(--s-3); }
.svc-list a:hover .round { background: var(--ink); color: var(--bg); }
.idx { color: var(--dim); }
.svc-t { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); letter-spacing: -0.035em; line-height: 1.05; }
.svc-d { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 800px) { .svc-list a { grid-template-columns: 1fr 44px; gap: var(--s-2) var(--s-4); } .idx { grid-column: 1 / -1; } .svc-d { grid-column: 1; } .svc-list .round { grid-row: 2; grid-column: 2; } }

/* ===== Pricing ===== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.plan { position: relative; display: flex; flex-direction: column; padding: var(--s-6) var(--s-5); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.plan-hi { border: 1px solid transparent; background: linear-gradient(160deg, #1a1830, #101017 60%) padding-box, var(--grad) border-box; box-shadow: 0 30px 80px -40px rgba(143, 123, 255, .6); }
.plan-badge { position: absolute; top: 18px; right: 18px; background: var(--grad); color: var(--on-accent); padding: 3px 10px; border-radius: 999px; font-size: 0.6rem; }
.plan h3 { font-size: 1.4rem; margin-bottom: var(--s-6); }
.plan-price { font-size: 3.4rem; font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--ink); margin: 0 0 var(--s-4); }
.plan-text { color: var(--muted); font-size: 0.9rem; }
.plan ul { list-style: none; padding: 0; margin: var(--s-4) 0 var(--s-6); border-top: 1px solid var(--line); }
.plan li { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.plan li span:last-child { color: var(--ink); white-space: nowrap; }
.plan .btn { margin-top: auto; }
.plans-note { text-align: center; color: var(--dim); font-size: 0.85rem; margin-top: var(--s-5); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-8); align-items: start; margin-top: var(--s-7); }
.page-hero .contact-grid { margin-top: 0; padding-top: 0; border-top: 0; }
.contact-info dl { margin: var(--s-6) 0 0; display: grid; gap: var(--s-5); }
.contact-info dt { color: var(--dim); margin-bottom: var(--s-2); }
.contact-info dd { margin: 0; }
.contact-info dd a { color: var(--ink); text-decoration: none; }
.contact-info dd a:hover { text-decoration: underline; }
.big-link { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); letter-spacing: -0.03em; border-bottom: 1px solid var(--line-2); word-break: break-word; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ===== Generic cards (service pages etc.) ===== */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
@media (max-width: 1100px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } }
.service-card { position: relative; display: flex; flex-direction: column; transition: border-color .25s, transform .25s var(--ease); }
.service-card:hover { border-color: #3a3a3a; transform: translateY(-3px); }
.service-card .icon-lg { margin-bottom: var(--s-5); }
.service-card h3 a { color: var(--ink); text-decoration: none; }
.service-card h3 a::after { content: ''; position: absolute; inset: 0; }
.service-card p { color: var(--muted); font-size: 0.95rem; }
.service-card .card-link { margin-top: auto; position: relative; z-index: 1; }
.card-link { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--ink); text-decoration: none; font-weight: 500; }
.card-link:hover { gap: var(--s-3); }
.ticks { list-style: none; padding: 0; margin: 0 0 var(--s-5); font-size: 0.925rem; }
.ticks li { display: flex; gap: var(--s-2); padding: 3px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--bg); padding: var(--s-5); }
.section-alt .feature { background: var(--bg-2); }
.feature .icon { color: var(--accent); margin-bottom: var(--s-3); }
.feature h3 { font-size: 1.075rem; margin-bottom: var(--s-2); }
.feature p { color: var(--muted); font-size: 0.925rem; margin: 0; }
.feature-grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.sub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s-4); }
.sub-card { display: flex; flex-direction: column; gap: var(--s-2); text-decoration: none; color: var(--text); transition: border-color .2s; }
.sub-card:hover { border-color: var(--ink); }
.sub-card strong { color: var(--ink); font-size: 1.15rem; font-weight: 500; }
.sub-card span:last-child { font-size: 0.9rem; color: var(--muted); }
.sub-card .muted { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--s-4); }
.post-card h2, .post-card h3 { font-size: 1.3rem; margin: var(--s-3) 0; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { text-decoration: underline; }
.post-card p { color: var(--muted); font-size: 0.95rem; }
.meta { font-size: 0.85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.meta a { color: var(--ink); }
.badge { display: inline-block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 0.78rem; padding: 0.25rem 0.7rem; border-radius: 999px; border: 1px solid var(--line-2); }
.empty { text-align: center; padding: var(--s-7) var(--s-5); max-width: 640px; margin: 0 auto; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card a { display: flex; justify-content: space-between; align-items: center; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.side-card li:last-child a { border-bottom: 0; }
.side-title { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-3); }
.hero-grid-service { grid-template-columns: 1.6fr 1fr; align-items: start; gap: var(--s-7); }
@media (max-width: 960px) { .hero-grid-service { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s-5) var(--s-7) var(--s-5) 0; color: var(--ink); font-size: 1.15rem; position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 1.1rem; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding-bottom: var(--s-5); color: var(--muted); max-width: 70ch; }
.faq-a p:last-child { margin: 0; }

/* ===== CTA band ===== */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; padding: clamp(2rem, 5vw, 4rem); border-radius: var(--radius); background: radial-gradient(700px 300px at 80% 0%, rgba(255, 255, 255, .09), transparent 70%), var(--card); border: 1px solid var(--line-2); }
.cta-band h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 3rem); margin-bottom: var(--s-2); }
.cta-band p { margin: 0; max-width: 52ch; color: var(--muted); }

/* ===== Content / prose ===== */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-8); align-items: start; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; gap: var(--s-6); } }
.sticky-aside { position: sticky; top: 100px; display: grid; gap: var(--s-4); }
.aside-cta p { font-size: 0.925rem; color: var(--muted); }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: var(--s-1) 0; }
.link-list a { color: var(--ink); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-top: var(--s-7); letter-spacing: -0.03em; line-height: 1.1; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s-6); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--dim); }
.prose a:hover { text-decoration-color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 var(--s-5); }
.prose li { margin-bottom: var(--s-2); }
.prose li::marker { color: var(--dim); }
.prose code { font-family: var(--mono); font-size: 0.85em; background: var(--card-2); padding: 0.1em 0.4em; border-radius: 4px; }
.prose blockquote { margin: var(--s-5) 0; padding: var(--s-4) var(--s-5); border-left: 2px solid var(--ink); background: var(--card); border-radius: 0 12px 12px 0; }
.prose em:first-child { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--s-4); margin: var(--s-5) 0; padding: var(--s-4) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); }
.facts dd { margin: 0; color: var(--ink); }
.case-image { margin: 0 0 var(--s-5); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

/* ===== Forms ===== */
.form-card { padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin-bottom: var(--s-5); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field-full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field .opt { color: var(--dim); text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; width: 100%; padding: 0.8rem 0.95rem; border: 1px solid var(--line-2); border-radius: 12px; background: #0c0c0c; color: var(--ink); transition: border-color .15s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #807f7b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { color: #ff8a8a; font-size: 0.85rem; margin: 0; }
.checkbox { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: var(--s-3); }
.checkbox input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--ink); padding: 0; }
.checkbox label { flex: 1; font-family: var(--sans); font-size: 0.9rem; letter-spacing: 0; text-transform: none; color: var(--text); }
.checkbox label a { color: var(--ink); }
.checkbox .field-error { flex-basis: 100%; }
.form-alert { background: rgba(255, 77, 77, .1); color: #ffb3b3; border: 1px solid rgba(255, 77, 77, .35); padding: var(--s-3) var(--s-4); border-radius: 12px; margin-bottom: var(--s-4); }
.form-note { font-size: 0.85rem; color: var(--muted); margin: var(--s-4) 0 0; }
.form-note a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-direct { margin-top: var(--s-5); }
.contact-direct p { margin-bottom: var(--s-2); }
.contact-direct a { color: var(--ink); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); padding: var(--s-8) 0 var(--s-5); font-size: 0.925rem; color: var(--muted); }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .brand { margin-bottom: var(--s-4); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 0.8fr; gap: var(--s-6); }
.footer-brand p { max-width: 40ch; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-h { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: var(--s-4); font-weight: 400; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.footer-email { color: var(--ink) !important; font-size: 1.15rem; }
.social { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--dim); font-size: 0.62rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: var(--s-4); flex-wrap: wrap; }
.footer-bottom li { padding: 0; }
.footer-bottom a, .footer-bottom .linklike { color: var(--muted); text-decoration: none; font: inherit; letter-spacing: inherit; text-transform: inherit; }

/* ===== Consent ===== */
.consent { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(680px, calc(100% - 32px)); z-index: 120; background: #111; border: 1px solid var(--line-2); border-radius: 18px; padding: var(--s-4) var(--s-5); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; font-size: 0.9rem; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 280px; }
.consent a { color: var(--ink); }
.consent-actions { display: flex; gap: var(--s-2); }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none !important; }
}
@media print { .site-header, .site-footer, .consent, .cta-band, .sticky-aside { display: none !important; } body { background: #fff; color: #000; } }

/* ===================================================================
   v2 layout
   =================================================================== */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03); font-size: 0.85rem; color: var(--text); margin-bottom: var(--s-5); }
.head2 { max-width: 760px; margin-bottom: var(--s-7); }
.head2 h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); letter-spacing: -0.045em; line-height: 1.02; font-weight: 600; }
.head2 .lead { margin-top: var(--s-4); }
.head2-center { margin-left: auto; margin-right: auto; text-align: center; }
.head2-center .eyebrow { justify-content: center; }
.head2-center .lead { margin-left: auto; margin-right: auto; }
.section-alt { background: var(--bg-2); }
main > section:first-child { scroll-margin-top: 0; }

/* Hero */
.hero2 { position: relative; padding: 150px 0 0; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: blob 20s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 520px; height: 520px; background: #6b4dff; top: -160px; left: -120px; }
.aurora span:nth-child(2) { width: 460px; height: 460px; background: #1fbf96; top: 40px; right: -140px; animation-delay: -7s; opacity: .35; }
.aurora span:nth-child(3) { width: 380px; height: 380px; background: #3b5bff; bottom: -140px; left: 40%; animation-delay: -12s; opacity: .3; }
@keyframes blob { to { transform: translate3d(60px, 40px, 0) scale(1.1); } }
.grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero2-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s-8); align-items: center; }
.hero2 h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; margin-bottom: var(--s-5); }
.hero2 .lead { max-width: 52ch; }
.trust2 { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: 0.875rem; color: var(--muted); }
.trust2 li { display: flex; gap: 6px; }
.trust2 .tick { color: var(--a2); margin-top: 0.15rem; }
@media (max-width: 1000px) { .hero2 { padding-top: 120px; } .hero2-grid { grid-template-columns: 1fr; gap: var(--s-7); } }

.bento { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.tile { position: relative; overflow: hidden; padding: 18px; border-radius: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); border: 1px solid var(--line-2); backdrop-filter: blur(8px); min-height: 150px; }
.tile .mono { color: var(--muted); font-size: 0.62rem; margin: 0 0 6px; }
.tile-seo { grid-row: span 2; display: flex; flex-direction: column; }
.tile-num { font-size: 2rem; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spark { width: 100%; height: auto; margin-top: auto; overflow: visible; }
.spark-line { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 3s var(--ease) .3s forwards; }
.spark-fill { opacity: 0; animation: fadein 1.2s ease 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.flow { display: flex; align-items: center; gap: 6px; margin-top: 18px; }
.flow span { font-size: 0.72rem; padding: 6px 9px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--card); color: var(--ink); white-space: nowrap; }
.flow i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--a1), var(--a2)); min-width: 10px; }
.flow-dot { position: absolute; left: 18px; top: 66px; width: 8px; height: 8px; border-radius: 50%; background: var(--a2); box-shadow: 0 0 12px var(--a2); animation: travel 3.5s var(--ease) infinite; }
@keyframes travel { 0% { left: 18px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 26px); opacity: 0; } }
.mini-browser { border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); overflow: hidden; margin-bottom: 10px; }
.mb-bar { display: flex; gap: 4px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.mb-bar span { width: 6px; height: 6px; border-radius: 50%; background: #3a3a4c; }
.mb-body { padding: 10px; display: grid; gap: 6px; }
.mb-body b { display: block; height: 7px; border-radius: 4px; background: #262635; }
.mb-body b:first-child { width: 45%; height: 10px; background: var(--grad); opacity: .85; }
.mb-body .w60 { width: 60%; } .mb-body .w80 { width: 80%; }
.mb-btn { width: 36%; height: 14px; border-radius: 7px; background: var(--ink); margin-top: 2px; }
.blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.blocks span { height: 30px; border-radius: 8px; background: #20202d; border: 1px solid var(--line-2); animation: shuffle 6s var(--ease) infinite; }
.blocks span:nth-child(1) { background: rgba(157, 140, 255, .35); }
.blocks span:nth-child(4) { background: rgba(79, 227, 190, .3); animation-delay: -3s; }
@keyframes shuffle { 0%, 40% { transform: none; } 50%, 90% { transform: translateY(-4px) scale(1.04); } 100% { transform: none; } }
@media (max-width: 520px) { .bento { grid-template-columns: 1fr 1fr; } .tile-seo { grid-row: auto; grid-column: span 2; } .tile { min-height: 130px; } }

.marquee2 { margin-top: var(--s-8); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: var(--s-4) 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: var(--s-3); width: max-content; animation: marquee 45s linear infinite; }
.marquee2 span { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Services bento */
.svc-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-4); }
.svc-card { position: relative; grid-column: span 3; display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 26px; border: 1px solid var(--line); background: var(--card); overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.svc-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 220px at 100% 0%, rgba(157, 140, 255, .14), transparent 70%); opacity: .7; pointer-events: none; transition: opacity .3s; }
.svc-2::before, .svc-3::before { background: radial-gradient(500px 220px at 100% 0%, rgba(79, 227, 190, .12), transparent 70%); }
.svc-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.svc-card:hover::before { opacity: 1; }
.svc-1, .svc-4 { grid-column: span 4; }
.svc-2, .svc-3 { grid-column: span 2; }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--s-6); }
.svc-top .mono { color: var(--dim); }
.svc-card .icon-lg { color: var(--a1); }
.svc-card h3 { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.035em; }
.svc-card h3 a { color: var(--ink); text-decoration: none; }
.svc-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.svc-card p { color: var(--muted); }
.svc-card .card-link { margin-top: auto; color: var(--a1); }
@media (max-width: 1000px) { .svc-bento { grid-template-columns: 1fr 1fr; } .svc-card, .svc-1, .svc-2, .svc-3, .svc-4 { grid-column: span 1; } }
@media (max-width: 640px) { .svc-bento { grid-template-columns: 1fr; } }
.svc-more { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-6); }
.svc-more p { margin: 0; color: var(--dim); }
.svc-more ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; }
.svc-more a { display: inline-block; padding: 0.45rem 0.9rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); text-decoration: none; font-size: 0.875rem; }
.svc-more a:hover { border-color: var(--a1); color: var(--ink); }

/* Stats band */
.stats2-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats2 { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.stats2 > div { padding: var(--s-6) var(--s-5); border-left: 1px solid var(--line); }
.stats2 > div:first-child { border-left: 0; padding-left: 0; }
.stats2 dd { margin: 0 0 var(--s-2); font-size: clamp(2.6rem, 1.8rem + 2.6vw, 4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.stats2 .num { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats2 sup { font-size: 0.45em; color: var(--a2); margin-left: 2px; }
.stats2 dt { color: var(--muted); }
@media (max-width: 720px) { .stats2 { grid-template-columns: 1fr 1fr; } .stats2 > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .stats2 > div:nth-child(-n+2) { border-top: 0; } }

/* Featured work */
.fwork { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-8); }
.frow { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-7); align-items: center; }
.frow-rev .browser { order: 2; }
.frow-copy h3 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); font-weight: 600; letter-spacing: -0.04em; }
.frow-copy p { color: var(--muted); }
.frow-copy .kicker { display: flex; align-items: center; gap: var(--s-3); }
.fnum { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--grad); color: var(--on-accent); letter-spacing: 0.04em; }
.frow-copy .btn-row { margin: var(--s-5) 0 0; }
.frow .browser { border-radius: 20px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02); }
@media (max-width: 900px) { .frow { grid-template-columns: 1fr; gap: var(--s-5); } .frow-rev .browser { order: 0; } }

/* About */
.about2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-8); align-items: start; }
.about2 .about-text { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: var(--s-6); }
.about2 .about-cards { grid-template-columns: 1fr; }
.about2 .about-cards > div { border-right: 0; border-bottom: 1px solid var(--line); }
.about2 .about-cards > div:last-child { border-bottom: 0; }
@media (max-width: 900px) { .about2 { grid-template-columns: 1fr; gap: var(--s-6); } }

/* Process */
.steps2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-4); counter-reset: s; position: relative; }
.steps2::before { content: ''; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px; background: linear-gradient(90deg, var(--a1), var(--a2)); opacity: .5; }
.steps2 li { position: relative; }
.step-n { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 1px solid var(--a1); color: var(--ink); font-family: var(--mono); font-size: 0.8rem; margin-bottom: var(--s-4); }
.steps2 h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: var(--s-2); }
.steps2 p { color: var(--muted); font-size: 0.925rem; margin: 0; }
@media (max-width: 1000px) { .steps2 { grid-template-columns: 1fr; gap: var(--s-5); } .steps2::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--a1), var(--a2)); } .steps2 li { padding-left: 64px; } .step-n { position: absolute; left: 0; top: 0; } }

/* Testimonials */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.tcard { margin: 0; display: flex; flex-direction: column; padding: var(--s-6) var(--s-5) var(--s-5); border-radius: 22px; border: 1px solid var(--line); background: var(--card); }
.tcard:nth-child(5n+1) { grid-column: span 2; }
.tquote { width: 28px; height: 21px; fill: var(--a1); opacity: .8; margin-bottom: var(--s-4); }
.tcard blockquote { margin: 0 0 var(--s-5); color: var(--ink); font-size: 1.05rem; line-height: 1.55; flex: 1; }
.tcard blockquote p { margin: 0; }
.tcard figcaption { display: flex; align-items: center; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.tcard figcaption > span:not(.avatar) { display: flex; flex-direction: column; }
.tcard strong { font-size: 0.95rem; font-weight: 600; }
.tcard small { color: var(--muted); font-size: 0.8rem; }
.tcard small.mono { color: var(--dim); font-size: 0.6rem; margin-top: 2px; }
.tsource { margin-left: auto; font-size: 0.8rem; color: var(--muted); }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: var(--on-accent); font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }
@media (max-width: 1000px) { .tgrid { grid-template-columns: 1fr 1fr; } .tcard:nth-child(5n+1) { grid-column: span 2; } }
@media (max-width: 640px) { .tgrid { grid-template-columns: 1fr; } .tcard:nth-child(5n+1) { grid-column: auto; } }

/* FAQ two-column */
.faq2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-8); align-items: start; }
.faq2 .head2 { margin-bottom: var(--s-5); }
.faq2 > div:first-child { position: sticky; top: 110px; }
@media (max-width: 900px) { .faq2 { grid-template-columns: 1fr; gap: var(--s-5); } .faq2 > div:first-child { position: static; } }

/* CTA panel */
.cta2 { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 4vw, 3rem); border-radius: 32px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #12111d, #0b0b11); }
.cta2-glow { position: absolute; inset: -40% -10% auto; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(143, 123, 255, .45), transparent 70%), radial-gradient(400px 300px at 80% 80%, rgba(79, 227, 190, .25), transparent 70%); }
.cta2 h2 { font-size: clamp(2.6rem, 1.4rem + 5vw, 6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 0.98; }
.cta2 h2 em { display: block; }
.cta2 .eyebrow { justify-content: center; }
.cta2 .lead { margin: 0 auto; }
.cta2 .btn-row { justify-content: center; margin-bottom: 0; }
.contact-info dl { margin: 0; }

/* Cards: tint with new palette */
.pcard-arrow { background: rgba(7, 7, 11, .4); }
.pcard:hover .pcard-arrow { background: var(--grad); color: var(--on-accent); border-color: transparent; }
.chip-btn[aria-pressed="true"] { background: var(--grad); color: var(--on-accent); border-color: transparent; }
.eyebrow::before { background: var(--grad); }
.frow-rev { grid-template-columns: 1fr 1.3fr; }
@media (max-width: 900px) { .frow-rev { grid-template-columns: 1fr; } }
.ph-name { font-family: var(--sans); font-weight: 600; letter-spacing: -0.03em; font-size: 1.4rem; }
.tile-cms { grid-column: span 2; display: flex; align-items: center; gap: var(--s-4); min-height: 0; }
.tile-cms .mono { margin: 0; white-space: nowrap; }
.tile-cms .blocks { flex: 1; grid-template-columns: repeat(4, 1fr); margin: 0; }
.cta2-glow { inset: 0; height: auto; background: radial-gradient(600px 360px at 50% 0%, rgba(143, 123, 255, .45), transparent 70%), radial-gradient(420px 300px at 85% 90%, rgba(79, 227, 190, .22), transparent 70%); }
@media (max-width: 520px) { .tile-auto, .tile-web { grid-column: span 2; } .tile-web { display: flex; gap: var(--s-4); align-items: center; } .tile-web .mini-browser { flex: 1; margin: 0; } .tile-web .mono { max-width: 9ch; } }

/* ===== Consistency: one heading system and radius scale everywhere ===== */
.bighead h2, .section-head h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); letter-spacing: -0.045em; line-height: 1.02; font-weight: 600; }
.bighead h2 em { display: inline; }
.page-hero h1 { letter-spacing: -0.05em; line-height: 1.02; }
.svc-card { border-radius: var(--radius-lg); }
.cta2 { border-radius: var(--radius-lg); }
.pcard, .scard, .tcard, .plan, .card, .form-card, .fcard, .about-cards, .feature-grid { border-radius: var(--radius); }

/* ===== By the numbers ===== */
.numbers { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s-5); align-items: stretch; }
.kpis { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin: 0; }
.kpi { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: var(--s-5); border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.kpi::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(157, 140, 255, .22), transparent); pointer-events: none; }
.kpi:nth-child(even)::after { background: radial-gradient(closest-side, rgba(79, 227, 190, .18), transparent); }
.kpi-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--a1); margin-bottom: var(--s-6); }
.kpi:nth-child(even) .kpi-icon { color: var(--a2); }
.kpi-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kpi .kpi-value { margin: 0 0 var(--s-2); font-size: clamp(2.4rem, 1.7rem + 2.2vw, 3.6rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi-num { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi-suf { color: var(--a2); font-size: 0.6em; margin-left: 2px; vertical-align: top; }
.kpi .kpi-label { color: var(--muted); font-size: 0.925rem; margin-top: auto; }
@media (max-width: 1000px) { .numbers-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .kpis { grid-template-columns: 1fr; } }

.chart { margin: 0; padding: var(--s-5); border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; }
.chart figcaption { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); }
.chart-title { color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.chart-sub { color: var(--muted); font-size: 0.85rem; }
.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hbar { position: relative; display: grid; grid-template-columns: 9.5rem 1fr; align-items: center; gap: var(--s-3); border-radius: 8px; padding: 2px 4px; margin: 0 -4px; outline: none; }
.hbar:hover, .hbar:focus-visible { background: rgba(255, 255, 255, .03); }
.hbar:focus-visible { box-shadow: 0 0 0 2px var(--focus); }
.hbar-label { color: var(--text); font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar-track { position: relative; display: flex; align-items: center; height: 24px; border-left: 1px solid var(--line-2); }
.hbar-fill { display: block; height: 16px; width: 0; background: var(--a1); border-radius: 0 4px 4px 0; transition: width 1.1s var(--ease); }
.numbers.in .hbar-fill, .no-io .hbar-fill { width: var(--w); }
.hbar:hover .hbar-fill, .hbar:focus-visible .hbar-fill { background: #b3a6ff; }
.hbar-val { margin-left: 8px; color: var(--ink); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.hbar-tip { position: absolute; z-index: 5; left: 10rem; bottom: calc(100% + 6px); display: none; flex-direction: column; padding: 8px 12px; border-radius: 10px; background: #1b1b27; border: 1px solid var(--line-2); color: var(--muted); font-size: 0.8rem; white-space: nowrap; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); pointer-events: none; }
.hbar-tip strong { color: var(--ink); font-weight: 600; }
.hbar:hover .hbar-tip, .hbar:focus-visible .hbar-tip { display: flex; }
.chart-table { margin-top: var(--s-5); font-size: 0.85rem; color: var(--muted); }
.chart-table summary { cursor: pointer; width: max-content; }
.chart-table summary:hover { color: var(--ink); }
.chart-table table { margin-top: var(--s-3); }
.chart-table th, .chart-table td { text-align: left; padding: 6px 10px 6px 0; border-bottom: 1px solid var(--line); }
.chart-table th { color: var(--dim); font-weight: 500; }
@media (max-width: 520px) { .hbar { grid-template-columns: 7rem 1fr; } .hbar-tip { left: 7.5rem; } }
@media (prefers-reduced-motion: reduce) { .hbar-fill { width: var(--w); } }
.kpi .kpi-value { margin-top: auto; }
.kpi .kpi-label { margin-top: 0; }

/* ===================================================================
   v3: themes, portrait hero, dashboards, cursor, WhatsApp
   =================================================================== */
[data-theme="lime"] { --a1: #c3f53c; --a2: #4fe3be; --grad: linear-gradient(120deg, #e4ff7a 0%, #c3f53c 45%, #4fe3be 100%); --accent: #d4fb6a; }
[data-theme="ocean"] { --a1: #60a5fa; --a2: #22d3ee; --grad: linear-gradient(120deg, #a5c8ff 0%, #4f8dff 45%, #22d3ee 100%); --accent: #93c5fd; }
[data-theme="ember"] { --a1: #ff7a45; --a2: #ffc24b; --grad: linear-gradient(120deg, #ffb48a 0%, #ff6a3d 45%, #ffc24b 100%); --accent: #ffa27a; }
.aurora span:nth-child(1) { background: var(--a1); }
.aurora span:nth-child(2) { background: var(--a2); }

/* Theme switch */
.theme-switch { position: fixed; left: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; gap: 8px; padding: 7px 10px 7px 14px; background: rgba(12, 12, 18, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.theme-switch .mono { color: var(--dim); font-size: 0.55rem; margin-right: 2px; }
.sw { width: 30px; height: 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); cursor: pointer; padding: 0; transition: transform .2s var(--ease); }
.sw:hover { transform: scale(1.1); }
.sw-violet { background: linear-gradient(120deg, #b3a6ff, #4fe3be); }
.sw-lime { background: linear-gradient(120deg, #e4ff7a, #c3f53c); }
.sw-ocean { background: linear-gradient(120deg, #a5c8ff, #22d3ee); }
.sw-ember { background: linear-gradient(120deg, #ffb48a, #ff6a3d); }
.sw[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 640px) { .theme-switch { left: 10px; bottom: 10px; padding: 6px 8px; } .theme-switch .mono { display: none; } .sw { width: 24px; height: 16px; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 95; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -6px rgba(37, 211, 102, .55); transition: transform .25s var(--ease); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: wa-ping 2.4s var(--ease) infinite; }
@keyframes wa-ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.06); }
.wa-tip { position: absolute; right: calc(100% + 12px); white-space: nowrap; background: #111119; color: var(--ink); border: 1px solid var(--line-2); font-size: 0.85rem; padding: 7px 12px; border-radius: 10px; opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: none; }
@media (max-width: 640px) { .wa-float { width: 52px; height: 52px; right: 12px; bottom: 12px; } .wa-tip { display: none; } }

/* Custom cursor (fine pointers only, enabled by JS) */
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .2s, width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s; will-change: transform; }
.cursor-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--ink); }
.cursor-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1.5px solid rgba(244, 243, 248, .5); }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.has-cursor.cursor-hover .cursor-ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: var(--a1); background: color-mix(in srgb, var(--a1) 12%, transparent); }
.has-cursor.cursor-hover .cursor-dot { background: var(--a1); }
.has-cursor.cursor-out .cursor-dot, .has-cursor.cursor-out .cursor-ring { opacity: 0; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor summary, html.has-cursor label { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }

/* Portrait hero */
.portrait { position: relative; justify-self: center; width: min(100%, 470px); aspect-ratio: 720 / 930; }
.portrait-ring { position: absolute; left: 50%; bottom: 0; width: 92%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--a1) 40%, transparent), transparent 72%), conic-gradient(from 200deg, transparent, color-mix(in srgb, var(--a1) 55%, transparent), color-mix(in srgb, var(--a2) 45%, transparent), transparent 70%); filter: blur(2px); opacity: .9; animation: spin 18s linear infinite; }
.portrait-glow { position: absolute; left: 50%; bottom: 0; width: 70%; height: 30%; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--a2) 35%, transparent), transparent); filter: blur(20px); }
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }
.portrait-img { position: relative; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); }
.float { position: absolute; z-index: 2; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 16px; background: rgba(18, 18, 28, .72); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); font-size: 0.78rem; color: var(--text); animation: bob 6s ease-in-out infinite; }
.float b { display: block; color: var(--ink); font-weight: 600; font-size: 0.82rem; }
.float small { display: block; color: var(--muted); font-size: 0.7rem; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.fl-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0; }
.fl-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fl-ico-pay { background: color-mix(in srgb, var(--a1) 22%, transparent); color: var(--a1); }
.fl-ico-lead { background: color-mix(in srgb, var(--a2) 22%, transparent); color: var(--a2); }
.fl-pay { top: 12%; left: -16%; flex-direction: column; align-items: stretch; width: 210px; animation-delay: -1s; }
.fl-row { display: flex; gap: 10px; align-items: center; }
.fl-card { position: relative; height: 54px; border-radius: 10px; background: linear-gradient(120deg, #ff8a5b, #e2457c 55%, #7b4dff); overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; padding: 8px 10px; color: rgba(255, 255, 255, .9); font-size: 0.7rem; letter-spacing: 0.1em; animation: tap 6s var(--ease) infinite; }
.fl-card i { position: absolute; left: 10px; top: 9px; width: 20px; height: 14px; border-radius: 3px; background: linear-gradient(135deg, #f8e08e, #c9a43c); }
@keyframes tap { 0%, 30% { transform: none; } 35% { transform: scale(.96); } 42%, 100% { transform: none; } }
.fl-ok { display: flex; align-items: center; gap: 6px; color: #5ef0a8; font-weight: 600; font-size: 0.75rem; opacity: 0; animation: paid 6s var(--ease) infinite; }
.fl-ok svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes paid { 0%, 40% { opacity: 0; transform: translateY(4px); } 48%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.fl-seo { top: 38%; right: -12%; flex-direction: column; align-items: stretch; width: 160px; animation-delay: -3s; }
.fl-label { color: var(--muted); font-size: 0.68rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; }
.fl-seo svg { width: 100%; height: 40px; }
.fl-line { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw2 6s var(--ease) infinite; }
@keyframes draw2 { 0% { stroke-dashoffset: 160; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fl-lead { bottom: 22%; left: -12%; animation-delay: -2s; }
.fl-steps { display: flex !important; gap: 6px; margin-top: 3px; }
.fl-steps em { font-style: normal; padding: 1px 6px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.62rem; color: var(--dim); animation: stepon 6s infinite; }
.fl-steps em:nth-child(2) { animation-delay: .8s; }
.fl-steps em:nth-child(3) { animation-delay: 1.6s; }
@keyframes stepon { 0%, 20% { color: var(--dim); border-color: var(--line-2); } 30%, 90% { color: var(--on-accent); background: var(--a2); border-color: transparent; } 100% { color: var(--dim); } }
.fl-badge { bottom: 6%; right: -6%; gap: 18px; padding: 12px 16px; animation-delay: -4s; }
.fl-badge b { font-size: 1.4rem; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fl-badge > span + span { padding-left: 18px; border-left: 1px solid var(--line-2); }
@media (max-width: 1200px) { .fl-pay { left: -6%; } .fl-lead { left: -4%; } .fl-seo { right: -4%; } .fl-badge { right: 0; } }
@media (max-width: 1000px) { .portrait { width: min(88%, 420px); margin-top: var(--s-4); } }
@media (max-width: 560px) { .float { transform: scale(.86); } .fl-pay { left: -4%; top: 4%; width: 180px; } .fl-seo { right: -6%; top: 34%; width: 130px; } .fl-lead { left: -6%; bottom: 26%; } .fl-badge { right: -4%; bottom: 4%; } @keyframes bob { 50% { transform: translateY(-6px) scale(.86); } } }

/* About identity */
.about-id { display: flex; align-items: center; gap: var(--s-4); margin-bottom: var(--s-5); }
.about-id img { width: 64px; height: 64px; object-fit: cover; object-position: top; border-radius: 50%; background: var(--grad); border: 2px solid var(--line-2); }
.about-id strong { display: block; font-size: 1.05rem; }
.about-id small { color: var(--muted); }
.about-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-7); align-items: end; }
.about-hero-photo { position: relative; justify-self: center; width: min(100%, 380px); }
.about-hero-photo::before { content: ''; position: absolute; inset: 20% 0 0; border-radius: var(--radius-lg); background: var(--grad); opacity: .25; filter: blur(40px); }
.about-hero-photo img { position: relative; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); mask-image: linear-gradient(to bottom, #000 82%, transparent); }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } .about-hero-photo { width: min(80%, 340px); } }

/* Dashboard mock-ups */
.scard-media:has(.dash) { aspect-ratio: auto; container-type: inline-size; padding: 0; background: #0b0b12; }
.scard-media:has(.dash) .live { display: none; }
.dash { --dh: var(--a1); display: flex; font-size: clamp(7px, 1.65cqw, 12px); color: var(--text); background: linear-gradient(180deg, #11111a, #0c0c13); }
.dash-side { display: flex; flex-direction: column; gap: 0.9em; padding: 1.2em 0.9em; border-right: 1px solid var(--line); }
.dash-side i { width: 2.2em; height: 2.2em; border-radius: 0.6em; background: #1b1b27; }
.dash-side i.on { background: var(--dh); }
.dash-main { flex: 1; min-width: 0; padding: 1.2em 1.4em 1.4em; display: flex; flex-direction: column; gap: 1em; }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.dash-brand { display: flex; gap: 0.7em; align-items: center; min-width: 0; }
.dash-brand b { display: block; color: var(--ink); font-size: 1.15em; white-space: nowrap; }
.dash-brand small { display: block; color: var(--dim); font-size: 0.85em; white-space: nowrap; }
.dash-logo { width: 2.2em; height: 2.2em; border-radius: 0.6em; background: var(--dh); flex-shrink: 0; }
.dash-tools { display: flex; align-items: center; gap: 0.8em; }
.dash-live { display: flex; align-items: center; gap: 0.4em; font-family: var(--mono); font-size: 0.8em; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.dash-live i { width: 0.55em; height: 0.55em; border-radius: 50%; background: #34d27b; animation: pulse 2s infinite; }
.dash-demo { font-family: var(--mono); font-size: 0.72em; color: var(--dim); border: 1px dashed var(--line-2); padding: 0.2em 0.6em; border-radius: 999px; }
.dash-tabs { display: flex; padding: 0.2em; border-radius: 0.7em; background: #161620; border: 1px solid var(--line); }
.dash-tabs button { font: inherit; font-size: 0.85em; color: var(--muted); background: none; border: 0; padding: 0.35em 0.8em; border-radius: 0.5em; cursor: pointer; }
.dash-tabs button.on { background: var(--dh); color: #0b0b12; font-weight: 600; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7em; }
.dash-kpis > div { padding: 0.8em 0.9em; border-radius: 0.8em; background: #141420; border: 1px solid var(--line); min-width: 0; }
.dash-kpis small { display: block; color: var(--dim); font-size: 0.8em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-kpis b { display: block; color: var(--ink); font-size: 1.45em; letter-spacing: -0.03em; margin: 0.15em 0; white-space: nowrap; }
.dash-kpis em { font-style: normal; font-size: 0.75em; white-space: nowrap; }
.dash-kpis em.up { color: #5ee0a0; } .dash-kpis em.warn { color: #f5c25b; }
.dash-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0.8em; }
.dash-chart, .dash-list { padding: 0.9em; border-radius: 0.8em; background: #141420; border: 1px solid var(--line); min-width: 0; }
.dash-chart > small, .dash-list > small { display: block; color: var(--muted); font-size: 0.85em; margin-bottom: 0.8em; }
.dash-bars { display: flex; align-items: flex-end; gap: 0.6em; height: 10em; border-bottom: 1px solid var(--line-2); }
.dash-bars span { flex: 1; height: var(--h); max-width: 2.4em; border-radius: 0.35em 0.35em 0 0; background: linear-gradient(180deg, var(--dh), color-mix(in srgb, var(--dh) 35%, transparent)); transition: height .8s var(--ease); }
.dash-item { display: flex; align-items: center; gap: 0.6em; padding: 0.45em 0; border-bottom: 1px solid var(--line); }
.dash-item:last-child { border-bottom: 0; }
.dash-av { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 0.5em; background: #1e1e2b; color: var(--muted); font-size: 0.75em; flex-shrink: 0; }
.dash-it { flex: 1; min-width: 0; }
.dash-it b { display: block; color: var(--ink); font-weight: 500; font-size: 0.9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-it small { display: block; color: var(--dim); font-size: 0.75em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-item em { font-style: normal; font-size: 0.72em; padding: 0.2em 0.6em; border-radius: 999px; white-space: nowrap; }
.tag-ok { color: #5ee0a0; background: rgba(94, 224, 160, .12); } .tag-warn { color: #f5c25b; background: rgba(245, 194, 91, .12); } .tag-bad { color: #ff8080; background: rgba(255, 128, 128, .12); }
.scard:not(.scard-lg) .dash-list .dash-item:nth-child(n+4) { display: none; }
.scard:not(.scard-lg) .dash-demo { display: none; }
@media (prefers-reduced-motion: reduce) { .portrait-ring, .float, .fl-card { animation: none !important; } .fl-ok { opacity: 1; } .fl-line { stroke-dashoffset: 0; } }
.about-hero-photo::before { inset: 15% -10% 0; border-radius: 50%; opacity: 1; filter: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--a1) 32%, transparent), color-mix(in srgb, var(--a2) 10%, transparent) 60%, transparent); }
.brand .logo { display: block; flex-shrink: 0; transition: transform .4s var(--ease); }
.brand:hover .logo { transform: rotate(-8deg) scale(1.05); }
.site-footer .brand .logo { width: 32px; height: 32px; }
