/* Self-hosted fonts (Google Fonts latin subsets, woff2) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/jetbrains-mono-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/plus-jakarta-sans-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/plus-jakarta-sans-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/plus-jakarta-sans-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/plus-jakarta-sans-700.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/space-grotesk-500.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/space-grotesk-600.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/space-grotesk-700.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;
}

/* ============================================================
   Automate With Rox — design system v2
   Brand palette per wiki/sources/brand-assets.md (navy base,
   cyan accent), elevated: glass panels, hairline borders,
   layered depth, mono technical details, one accent treatment.
   Type: Space Grotesk (display) · Plus Jakarta Sans (body)
         · JetBrains Mono (technical labels)
   ============================================================ */

:root {
  --bg: #070e1c;
  --bg-raise: #0a1628;
  --panel: rgba(255, 255, 255, 0.028);
  --panel-strong: rgba(255, 255, 255, 0.05);
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-soft: rgba(255, 255, 255, 0.055);
  --white: #f4f8fc;
  --ink: #dbe6f2;
  --gray: #93a5bb;
  --gray-dim: #6b7d94;
  --cyan: #00e5e8;
  --teal: #0e9eb5;
  --blue: #1e4db7;
  --light-cyan: #7ecfda;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 11px;
  --max: 1140px;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(ellipse 55% 38% at 78% -4%, rgba(30, 77, 183, 0.20), transparent 70%),
    radial-gradient(ellipse 40% 30% at 8% 12%, rgba(14, 158, 181, 0.10), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

::selection { background: rgba(0, 229, 232, 0.25); color: var(--white); }

a { color: var(--cyan); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--light-cyan); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ============================================================
   Typography scale — hard contrast between display and body
   ============================================================ */

h1, h2, h3 { font-family: var(--font-display); color: var(--white); }

h1 {
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: 900px;
  text-wrap: balance;
}
h1 .accent {
  background: linear-gradient(92deg, var(--cyan), var(--light-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 18px;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--light-cyan);
  border: 1px solid rgba(0, 229, 232, 0.18);
  background: rgba(0, 229, 232, 0.05);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 229, 232, 0.9);
}

.section-lead {
  color: var(--gray);
  font-size: 18px;
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 56px;
}

/* ============================================================
   Nav — floating glass island
   ============================================================ */

.nav {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 14px 16px 0;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(9, 17, 32, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--hairline);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 12px 40px rgba(2, 6, 14, 0.55);
  border-radius: 999px;
  padding: 8px 8px 8px 18px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em;
  color: var(--white);
  margin-right: 14px;
  white-space: nowrap;
}
.nav-brand:hover { color: var(--white); }
.nav-brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a:not(.btn) {
  display: block;
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.nav-links .cta { margin-left: 10px; }

/* ============================================================
   Buttons — pill, button-in-button arrow chip
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  border-radius: 999px;
  padding: 13px 15px 13px 26px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
              background-color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .btn-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.5s var(--ease);
}
.btn:hover .btn-ic { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, #10c3d6, var(--cyan));
  color: #03222b;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 10px 30px rgba(0, 229, 232, 0.22);
}
.btn-primary:hover {
  color: #03222b;
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 16px 44px rgba(0, 229, 232, 0.34);
}
.btn-primary:active { transform: scale(0.98); }
.btn-primary .btn-ic { background: rgba(3, 34, 43, 0.14); color: #03222b; }

.btn-ghost {
  border: 1px solid var(--hairline);
  color: var(--white);
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}
.btn-ghost:hover {
  color: var(--white);
  background: var(--panel-strong);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}
.btn-ghost .btn-ic { background: rgba(255, 255, 255, 0.08); color: var(--white); }

.btn-sm { padding: 9px 10px 9px 18px; font-size: 13.5px; gap: 9px; }
.btn-sm .btn-ic { width: 24px; height: 24px; font-size: 12.5px; }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding: 120px 0 96px;
}
.hero::before {
  /* faint engineering dot grid, fades out downward */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(148, 180, 214, 0.13) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 78%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 78%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-sub {
  margin-top: 28px;
  color: var(--gray);
  font-size: 19px;
  line-height: 1.75;
  max-width: 620px;
}
.hero-ctas { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--gray-dim); }

/* Stats — one bezel strip, hairline-divided */
.stats {
  margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--panel);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 24px 60px rgba(2, 6, 14, 0.4);
  overflow: hidden;
}
.stat { padding: 30px 24px 26px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--hairline-soft); }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.1;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-dim);
}

/* ============================================================
   Sections — rhythm + transitions
   ============================================================ */

section { padding: 120px 0; position: relative; }
section.alt {
  background: linear-gradient(to bottom, rgba(15, 39, 68, 0.34), rgba(15, 39, 68, 0.08));
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}
/* hairline glow seam at each alt-section boundary */
section.alt::before {
  content: "";
  position: absolute; top: -1px; left: 50%;
  transform: translateX(-50%);
  width: min(560px, 70%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 232, 0.4), transparent);
}

/* ============================================================
   Answer block (AEO/GEO) — do not restructure content
   ============================================================ */

.answer-block {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-md);
  padding: 34px 38px;
  max-width: 860px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.answer-block::before {
  content: "";
  position: absolute; left: 0; top: 22px; bottom: 22px;
  width: 2px; border-radius: 2px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
}
.answer-block p { color: var(--ink); font-size: 16.5px; }
.answer-block p + p { margin-top: 14px; }

/* ============================================================
   Cards / grids — glass panel + double-bezel accents
   ============================================================ */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-md);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.045) inset;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
              background-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  background: var(--panel-strong);
  border-color: var(--hairline);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 24px 48px rgba(2, 6, 14, 0.45);
}
.card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.card .price {
  font-family: var(--font-mono);
  color: var(--light-cyan);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.card p { color: var(--gray); font-size: 15px; line-height: 1.65; }
.card .outcome {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline-soft);
  color: var(--white);
  font-size: 14.5px;
  font-weight: 600;
}
.card .bestfor { margin-top: 5px; font-size: 13px; color: var(--gray-dim); }

/* ============================================================
   Before / after
   ============================================================ */

.shift-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  max-width: 880px;
  background: var(--panel);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.shift-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 18px 26px;
  color: var(--gray-dim);
  border-bottom: 1px solid var(--hairline-soft);
}
.shift-table th:last-child { color: var(--light-cyan); border-left: 1px solid var(--hairline-soft); }
.shift-table td {
  padding: 16px 26px;
  font-size: 15.5px;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.shift-table tr:last-child td { border-bottom: none; }
.shift-table td:first-child { color: var(--gray-dim); }
.shift-table td:last-child { color: var(--ink); border-left: 1px solid var(--hairline-soft); }

/* ============================================================
   Process — numbered rail
   ============================================================ */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-md);
  padding: 26px 22px 24px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.step:hover { transform: translateY(-3px); border-color: var(--hairline); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 232, 0.22);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 16px;
}
.step h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 7px; }
.step p { font-size: 13.5px; line-height: 1.6; color: var(--gray); }

/* ============================================================
   Platform filter (CSS-only, :has) + tool logos
   ============================================================ */

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -20px 0 40px;
}
.filter-row input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  background: var(--panel);
  border: 1px solid var(--hairline-soft);
  border-radius: 999px;
  padding: 9px 18px;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease),
              background-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.filter-chip:hover { color: var(--white); border-color: var(--hairline); transform: translateY(-1px); }
.filter-chip .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-dim);
}
.filter-row input:focus-visible + .filter-chip {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.filter-row input:checked + .filter-chip {
  color: var(--white);
  background: rgba(0, 229, 232, 0.08);
  border-color: rgba(0, 229, 232, 0.35);
}
.filter-row input:checked + .filter-chip .count { color: var(--light-cyan); }

/* filtering behavior */
body:has(#flt-n8n:checked) .work-card:not(.p-n8n),
body:has(#flt-make:checked) .work-card:not(.p-make),
body:has(#flt-zapier:checked) .work-card:not(.p-zapier),
body:has(#flt-ghl:checked) .work-card:not(.p-ghl) { display: none; }

/* featured card spans two columns only in the unfiltered view */
body:has(#flt-all:checked) .work-grid .work-card.featured { grid-column: span 2; }
body:has(#flt-all:checked) .work-grid .work-card.featured img { height: 240px; }

/* tool logo chip — official marks sit on a light plate for correct brand color */
.tl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: #f5f7fa;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10), 0 2px 6px rgba(2, 6, 14, 0.4);
  flex: none;
}
.tl svg { width: 16px; height: 16px; display: block; }
.tl-lg { width: 34px; height: 34px; border-radius: 9px; }
.tl-lg svg { width: 21px; height: 21px; }

/* ============================================================
   Work grid
   ============================================================ */

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-lg);
  padding: 7px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.045) inset;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
              background-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.work-card:hover {
  color: var(--white);
  transform: translateY(-5px);
  background: var(--panel-strong);
  border-color: var(--hairline);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 28px 56px rgba(2, 6, 14, 0.5);
}
.work-card img {
  /* inner core of the double bezel */
  width: 100%;
  height: 172px;
  object-fit: cover;
  object-position: top;
  background: #0a1424;
  border-radius: calc(var(--r-lg) - 7px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.work-body { padding: 18px 16px 15px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.work-tag { display: flex; align-items: center; gap: 9px; }
.work-tag .platform {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}
.work-tag .num {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-dim);
}
.work-body h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.work-body p { font-size: 14px; line-height: 1.6; color: var(--gray); }
.work-body .more {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13.5px;
  color: var(--light-cyan);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.4s var(--ease);
}
.work-card:hover .more { gap: 11px; }

/* legacy badge (kept for case-study meta chips) */
.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--panel-strong);
  border: 1px solid var(--hairline-soft);
  border-radius: 999px;
  padding: 4px 12px;
}

/* platform group headers on hub page */
.platform-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 72px 0 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline-soft);
}
.platform-head h2 { font-size: 24px; margin-bottom: 0; }
.platform-head .count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gray-dim);
}

/* ============================================================
   About
   ============================================================ */

.about-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.about-frame {
  background: var(--panel-strong);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-lg);
  padding: 7px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 24px 56px rgba(2, 6, 14, 0.45);
}
.about-frame img { border-radius: calc(var(--r-lg) - 7px); }
.about-points { margin-top: 24px; list-style: none; display: grid; gap: 13px; }
.about-points li { padding-left: 28px; position: relative; color: var(--ink); font-size: 15.5px; }
.about-points li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--cyan); font-weight: 700;
}
.about-points li b { color: var(--white); }

/* ============================================================
   Tools strip
   ============================================================ */

.tools-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--hairline-soft);
  background: var(--panel);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 17px;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.tool-chip:hover { border-color: var(--hairline); background: var(--panel-strong); transform: translateY(-1px); }

/* profile links (Upwork / LinkedIn) — proof links, quieter than the primary CTA */
.plink { display: inline-flex; align-items: center; gap: 9px; }
.plink .tl { width: 22px; height: 22px; border-radius: 6px; }
.plink .tl svg { width: 14px; height: 14px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 22px; font-size: 15px; font-weight: 600; }
.profile-links a { color: var(--light-cyan); }
.profile-links a:hover { color: var(--white); }

/* ============================================================
   FAQ — editorial hairline list
   ============================================================ */

.faq { max-width: 880px; border-top: 1px solid var(--hairline-soft); }
.faq details { border-bottom: 1px solid var(--hairline-soft); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--white);
  padding: 24px 44px 24px 4px;
  list-style: none;
  position: relative;
  transition: color 0.35s var(--ease);
}
.faq summary:hover { color: var(--light-cyan); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline-soft);
  border-radius: 50%;
  color: var(--light-cyan);
  font-size: 18px;
  font-weight: 400;
  font-family: var(--font-body);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.faq details[open] summary::after {
  content: "+";
  transform: translateY(-50%) rotate(45deg);
  border-color: rgba(0, 229, 232, 0.35);
}
.faq .faq-a { padding: 0 44px 26px 4px; color: var(--gray); font-size: 15.5px; }
.faq .faq-a p + p { margin-top: 10px; }

/* ============================================================
   Booking
   ============================================================ */

.book-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.book-points { list-style: none; display: grid; gap: 14px; margin: 26px 0 34px; }
.book-points li { padding-left: 32px; position: relative; color: var(--ink); }
.book-points li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(0, 229, 232, 0.1);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
}
.book-meta { font-size: 14px; color: var(--gray-dim); line-height: 2.1; }
.book-meta a { color: var(--light-cyan); }
.cal-shell {
  background: var(--panel-strong);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-lg);
  padding: 7px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 28px 64px rgba(2, 6, 14, 0.5);
}
.cal-frame {
  width: 100%;
  height: 620px;
  border: none;
  border-radius: calc(var(--r-lg) - 7px);
  background: var(--bg-raise);
  display: block;
}

/* ============================================================
   CTA band
   ============================================================ */

.cta-band {
  text-align: center;
  padding: 96px 24px;
  position: relative;
  background: radial-gradient(ellipse 46% 70% at 50% 100%, rgba(14, 158, 181, 0.16), transparent);
  border-top: 1px solid var(--hairline-soft);
}
.cta-band::before {
  content: "";
  position: absolute; top: -1px; left: 50%;
  transform: translateX(-50%);
  width: min(560px, 70%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 232, 0.4), transparent);
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--gray); margin-bottom: 32px; }

/* ============================================================
   Footer
   ============================================================ */

footer {
  border-top: 1px solid var(--hairline-soft);
  padding: 64px 0 48px;
  font-size: 14px;
  color: var(--gray-dim);
  background: linear-gradient(to bottom, transparent, rgba(2, 6, 14, 0.5));
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 0.9fr; gap: 48px; margin-bottom: 44px; }
.footer-grid img { height: 38px; width: auto; margin-bottom: 16px; }
.footer-grid p { max-width: 300px; line-height: 1.7; }
.footer-grid .foot-head {
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: var(--gray); }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 26px;
  font-size: 13px;
}
.footer-bottom a { color: var(--gray); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   Case study pages
   ============================================================ */

.cs-hero { padding: 96px 0 44px; }
.breadcrumbs { font-size: 13.5px; color: var(--gray-dim); margin-bottom: 28px; }
.breadcrumbs a { color: var(--gray); }
.breadcrumbs a:hover { color: var(--light-cyan); }
.cs-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cs-shot {
  background: var(--panel-strong);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-lg);
  padding: 8px;
  margin: 48px 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 32px 72px rgba(2, 6, 14, 0.5);
}
.cs-shot img { border-radius: calc(var(--r-lg) - 8px); width: 100%; }
.cs-section { padding: 0 0 52px; max-width: 760px; }
.cs-section h2 { font-size: 26px; margin-bottom: 14px; }
.cs-section p, .cs-section li { color: var(--ink); }
.cs-section ul { margin: 14px 0 0 2px; list-style: none; display: grid; gap: 11px; }
.cs-section ul li { padding-left: 28px; position: relative; }
.cs-section ul li::before { content: "→"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.result-callout {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-md);
  padding: 28px 32px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.5;
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.result-callout::before {
  content: "";
  position: absolute; left: 0; top: 20px; bottom: 20px;
  width: 2px; border-radius: 2px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
}
.related { padding: 64px 0 110px; }
.related h2 { font-size: 26px; margin-bottom: 28px; }

/* ============================================================
   Motion preferences
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n+1) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--hairline-soft); }
  .grid-3, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-wrap, .book-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links li.hide-m { display: none; }
  body:has(#flt-all:checked) .work-grid .work-card.featured { grid-column: span 2; }
}

@media (max-width: 620px) {
  section { padding: 76px 0; }
  .hero { padding: 72px 0 64px; }
  .container { padding: 0 20px; }
  .grid-3, .grid-2, .work-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 60px; }
  .nav { top: 10px; padding: 10px 12px 0; }
  .nav-inner { width: 100%; justify-content: space-between; padding-left: 14px; }
  .nav-brand { margin-right: 0; }
  .nav-brand span { display: none; }
  .nav-links li:not(.cta):not(.keep-m) { display: none; }
  .nav-links .cta { margin-left: 0; }
  body:has(#flt-all:checked) .work-grid .work-card.featured { grid-column: auto; }
  body:has(#flt-all:checked) .work-grid .work-card.featured img { height: 172px; }
  .section-lead { margin-bottom: 40px; }
  .filter-row { margin: -12px 0 32px; }
  .cal-frame { height: 560px; }
  .cs-hero { padding: 72px 0 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
