/* RJP Solutions — site styles */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-2: #efede6;
  --ink: #0d1321;
  --ink-2: #2a3142;
  --muted: #5d6576;
  --line: #e2dfd6;
  --accent: #2f55ff;
  --accent-ink: #ffffff;
  --accent-soft: #e6ebff;
  --tune-red: #ff453a;
  --tune-orange: #ff9f0a;
  --tune-green: #1fb954;
  --dark-panel: #0b0f19;
  --dark-panel-ink: #e9edf5;
  --shadow: 0 1px 2px rgb(13 19 33 / 0.04), 0 8px 24px rgb(13 19 33 / 0.06);
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1160px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --ft-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --ft-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

/* FasTune pages and panels use the app's type: SF Pro, with SF Mono for readouts */
.product.ft, body.ft main, body.ft .subnav { --font-display: var(--ft-font); --font-body: var(--ft-font); font-family: var(--ft-font); }
.product.ft h2, .product.ft h3, body.ft main h1, body.ft main h2, body.ft main h3 { letter-spacing: -0.025em; font-weight: 700; }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d14;
    --surface: #121722;
    --surface-2: #171d2a;
    --ink: #eef1f7;
    --ink-2: #cdd3df;
    --muted: #9099ab;
    --line: #242b3a;
    --accent: #6f8bff;
    --accent-ink: #0a0d14;
    --accent-soft: #1a2240;
    --tune-green: #30d158;
    --dark-panel: #05070c;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.25);
    color-scheme: dark;
  }
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 40em; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font: 600 0.78rem/1 var(--font-body);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--tune-green);
}

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { max-width: 44rem; margin-bottom: clamp(32px, 5vw, 56px); }
.center { text-align: center; margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font: 700 1.15rem/1 var(--font-display); letter-spacing: -0.02em; }
.brand-name span { font-weight: 500; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.96rem;
}
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-links .btn { margin-left: 8px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 1.05rem; }
  .nav-links .btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 0.98rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink) !important; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); background: var(--surface); }
.btn-light { background: #fff; color: #0b0f19 !important; }
.btn-sm { padding: 8px 16px; font-size: 0.92rem; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Tuning meter visual */
.meter-card {
  background: var(--dark-panel); color: var(--dark-panel-ink);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 30px 60px -20px rgb(13 19 33 / 0.35);
  position: relative; overflow: hidden;
}
.meter-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 70% at 50% 0%, rgb(79 179 255 / 0.12), transparent 60%);
}
.meter-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.8rem; color: #8892a6; letter-spacing: 0.08em; text-transform: uppercase; }
.meter-label { font: 600 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--font-display); color: #4fb3ff; margin: 26px 0 6px; letter-spacing: -0.02em; min-height: 2.4em; }
.meter-cents { font: 500 0.95rem/1 var(--font-body); color: #8892a6; font-variant-numeric: tabular-nums; }
.meter { display: grid; grid-template-columns: repeat(21, 1fr); gap: 4px; align-items: end; height: 64px; margin: 26px 0 14px; }
.meter i { display: block; height: 60%; border-radius: 3px; background: #1a2130; transition: background 0.18s, height 0.18s; }
.meter i.c { height: 100%; }
.meter i.on-red { background: var(--tune-red); }
.meter i.on-orange { background: #ff9f0a; }
.meter i.on-green { background: #30d158; }
.meter-scale { display: flex; justify-content: space-between; font-size: 0.75rem; color: #5d6576; }
.meter-status { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: #aab3c5; }
.meter-status b { color: #30d158; font-weight: 600; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 0 rgb(48 209 88 / 0.6); }
.meter-card.locked .pulse { animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(48 209 88 / 0.55); } 70% { box-shadow: 0 0 0 12px rgb(48 209 88 / 0); } 100% { box-shadow: 0 0 0 0 rgb(48 209 88 / 0); } }

/* ---------- Tech strip ---------- */
.strip { border-block: 1px solid var(--line); padding: 22px 0; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; justify-content: center; color: var(--muted); font: 500 0.95rem/1.4 var(--font-display); }
.strip-inner span:first-child { color: var(--ink-2); font-weight: 600; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); position: relative;
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); margin-bottom: 0; }
a.card { display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform 0.18s, border-color 0.18s; }
a.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.card .more { margin-top: auto; padding-top: 20px; color: var(--accent); font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 16px; height: 16px; transition: transform 0.18s; }
a.card:hover .more svg { transform: translateX(3px); }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 20px;
}
.icon svg { width: 24px; height: 24px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { padding-top: 24px; border-top: 2px solid var(--line); }
.step:hover { border-top-color: var(--accent); }
.step .num { font: 600 0.85rem/1 var(--font-display); color: var(--accent); letter-spacing: 0.06em; margin-bottom: 14px; display: block; }
.step p { color: var(--muted); }

/* ---------- Product feature (dark) ---------- */
.product {
  background: var(--dark-panel); color: var(--dark-panel-ink);
  border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
}
.product h2, .product h3 { color: #fff; }
.product p { color: #aab3c5; }
.product .eyebrow { color: #4fb3ff; }
.product-copy { padding: clamp(32px, 5vw, 64px); }
.product-art { padding: clamp(32px, 5vw, 64px); display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 50%, rgb(79 179 255 / 0.16), transparent 70%); height: 100%; }
.product-art img { width: min(280px, 70%); border-radius: 22%; box-shadow: 0 30px 80px -10px rgb(79 179 255 / 0.25); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; margin-top: 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--tune-green); }
.product .checks li { color: #cdd3df; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product-art { order: -1; padding-bottom: 0; } }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.portrait {
  display: block; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface-2); box-shadow: var(--shadow);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
@media (max-width: 860px) { .portrait { max-width: 420px; } }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.pill-list li { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-2); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.facts div { border-top: 2px solid var(--line); padding-top: 14px; }
.facts b { display: block; font: 600 1.05rem/1.3 var(--font-display); }
.facts span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta {
  background: var(--accent); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
}
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { margin: 0; color: rgb(255 255 255 / 0.85); max-width: 34em; }
@media (prefers-color-scheme: dark) { .cta { background: #2442d6; } }

/* ---------- Page header ---------- */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* ---------- Prose ---------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; }

.callout { background: var(--accent-soft); border-radius: var(--radius); padding: 18px 22px; color: var(--ink-2); margin: 1.5em 0; }

/* ---------- Service detail ---------- */
.svc-layout { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; } }
.side-card { position: sticky; top: 96px; }
.side-card h3 { font-size: 1.05rem; }
.side-card ul { list-style: none; padding: 0; margin: 0 0 20px; }
.side-card li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-2); }
.side-card li:last-child { border-bottom: 0; }
.deliver { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0 8px; }
.deliver .card { padding: 22px; }
.deliver h3 { font-size: 1.05rem; }
@media (max-width: 640px) { .deliver { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: inherit; font-size: 1rem;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field .hint { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; font-weight: 500; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.chips input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 16px 18px; border-radius: 12px; font-weight: 500; }
.form-status.ok { display: block; background: color-mix(in srgb, var(--tune-green) 14%, var(--surface)); color: var(--ink); border: 1px solid color-mix(in srgb, var(--tune-green) 40%, var(--line)); }
.form-status.err { display: block; background: color-mix(in srgb, var(--tune-red) 12%, var(--surface)); color: var(--ink); border: 1px solid color-mix(in srgb, var(--tune-red) 40%, var(--line)); }
.form button[disabled] { opacity: 0.6; cursor: progress; }

.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside .card + .card { margin-top: 16px; }
.contact-aside h3 { font-size: 1.05rem; margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.search { position: relative; flex: 1 1 320px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search input { width: 100%; padding: 14px 16px 14px 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-cats button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: 500 0.92rem/1 var(--font-body); cursor: pointer; }
.faq-cats button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-size: 1.3rem; margin-bottom: 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-weight: 600; font-size: 1.04rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); max-width: 46rem; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-empty { display: none; padding: 32px; text-align: center; color: var(--muted); }
kbd, .path { font: 500 0.88em/1 ui-monospace, "SF Mono", Menlo, monospace; background: var(--surface-2); padding: 3px 7px; border-radius: 6px; white-space: nowrap; }

/* ---------- FasTune sub-nav ---------- */
.subnav { border-bottom: 1px solid var(--line); background: var(--surface); }
.subnav .wrap { display: flex; align-items: center; gap: 6px; overflow-x: auto; height: 56px; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav .app { display: inline-flex; align-items: center; gap: 10px; font: 700 1rem/1 var(--font-display); color: var(--ink); text-decoration: none; margin-right: 12px; white-space: nowrap; }
.subnav .app img { width: 28px; height: 28px; border-radius: 7px; }
.subnav a.tab { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.94rem; white-space: nowrap; }
.subnav a.tab:hover { color: var(--ink); background: var(--surface-2); }
.subnav a.tab[aria-current="page"] { color: var(--ink); background: var(--surface-2); }

/* FasTune hero */
.ft-hero { background: #000; color: #e9edf5; padding: clamp(56px, 9vw, 120px) 0; overflow: hidden; }
.ft-hero h1 { color: #fff; }
.ft-hero .lede { color: #aab3c5; }
.ft-hero .eyebrow { color: #4fb3ff; }
.ft-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 900px) { .ft-grid { grid-template-columns: 1fr; } }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid #2a3142; color: #cdd3df; font-size: 0.9rem; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff9f0a; }
.devices { display: flex; gap: 20px; align-items: flex-end; justify-content: center; }
.phone, .watch { background: #000; border: 2px solid #232a38; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.phone { width: 220px; aspect-ratio: 9/19; border-radius: 38px; padding: 20px 18px; gap: 14px; }
.watch { width: 140px; aspect-ratio: 41/48; border-radius: 36px; padding: 12px; gap: 7px; }
.watch::before, .watch::after { content: ""; position: absolute; left: 22%; right: 22%; height: 40px; background: #161b25; z-index: -1; border-radius: 8px; }
.watch::before { top: -36px; } .watch::after { bottom: -36px; }
.ft-note { display: flex; align-items: flex-start; gap: 4px; transform: translateX(8px); }
.ft-glyph { height: 110px; width: auto; }
.watch .ft-glyph { height: 58px; }
.ft-sharp { font: 700 34px/1 var(--ft-font); color: #0A1E2E; }
.watch .ft-sharp { font-size: 18px; }
.ft-meter { width: 100%; height: auto; }
.ft-status { font: 500 15px/1 var(--ft-mono); color: #30D158; }
.watch .ft-status { font-size: 11px; }
.ft-hz { font: 400 11px/1 var(--ft-mono); color: #8E8E93; margin-top: -6px; }
.ft-strings { display: flex; gap: 10px; font: 400 13px/1 var(--ft-mono); color: rgb(142 142 147 / 0.6); }
.ft-strings b { color: #30D158; font-weight: 700; }

.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.swatch { border-radius: var(--radius); padding: 22px; background: var(--surface); border: 1px solid var(--line); }
.swatch i { display: block; height: 10px; border-radius: 3px; margin-bottom: 16px; }
.swatch b { display: block; font-family: var(--font-display); }
.swatch span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 640px) { .swatches { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: clamp(48px, 8vw, 96px); font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.site-footer h4 { font: 600 0.8rem/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.foot-tag { color: var(--muted); max-width: 26em; margin-top: 14px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-color-scheme: dark) {
  .meter-card, .product { border: 1px solid #1f2636; box-shadow: none; }
}

/* About: areas of expertise */
.expertise { display: grid; gap: 0; margin: 8px 0 8px; }
.expertise div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.expertise div:last-child { border-bottom: 1px solid var(--line); }
.expertise b { font: 600 0.98rem/1.4 var(--font-display); color: var(--ink); }
.expertise span { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 640px) { .expertise div { grid-template-columns: 1fr; gap: 4px; } }
.span-2 { grid-column: 1 / -1; }
