/* ==========================================================================
   Grok Sites — styles.css
   Theme colors live in :root. Swap these variables to retheme the site.
   ========================================================================== */

:root {
  --bg: #080b11;
  --bg-raised: #0d121b;
  --bg-card: #111824;
  --bg-hover: #182131;
  --blue: #1e4e8c;
  --blue-mid: #2a63ad;
  --blue-bright: #3b7bd4;
  --blue-soft: #7aa9e0;
  --silver: #c8d0db;
  --silver-bright: #eef2f7;
  --silver-dim: #8b95a4;
  --line: rgba(200, 208, 219, 0.12);
  --line-strong: rgba(200, 208, 219, 0.26);
  --text: #e6ebf2;
  --muted: #9aa4b3;
  --ok: #b7d7c6;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 70px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", Inter, system-ui, sans-serif;
  --max: 1180px;
  --grad-silver: linear-gradient(180deg, #ffffff 0%, #b9c4d2 100%);
  --grad-blue: linear-gradient(135deg, #3b7bd4 0%, #1e4e8c 100%);
  --grad-line: linear-gradient(90deg, transparent, rgba(200,208,219,.5), transparent);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }

img, svg { max-width: 100%; display: block; }
a { color: var(--blue-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--silver-bright); }

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--silver-bright);
  margin: 0 0 0.55em;
}
h1 { font-size: clamp(2.2rem, 5.6vw, 3.7rem); font-weight: 600; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
h3 { font-size: 1.18rem; margin-bottom: 0.4em; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.grad-text {
  background: var(--grad-silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent { color: var(--blue-soft); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--silver-bright); color: var(--bg);
  padding: 8px 14px; font-weight: 600; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 0.78rem var(--font);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: currentColor; opacity: .8;
}
.lead { font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.note { font-size: 0.85rem; color: var(--silver-dim); }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 11, 17, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 12px; }
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--silver-bright); font-family: var(--display); font-weight: 600;
  letter-spacing: -0.03em; font-size: 1.22rem; flex-shrink: 0;
}
.brand:hover { color: var(--silver-bright); }
.brand svg { width: 32px; height: 32px; }
.brand .wordmark span { color: var(--blue-soft); }

.menu-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--silver);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 14px; font: 600 0.9rem var(--font); cursor: pointer;
}
.menu-btn:hover { background: var(--bg-hover); color: var(--silver-bright); }
.menu-btn .bars { width: 14px; height: 10px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px;
}
.menu-btn .bars::before { top: 1px; } .menu-btn .bars::after { bottom: 1px; }

#menu {
  display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--bg-raised); border-bottom: 1px solid var(--line);
  padding: 8px 20px 20px; flex-direction: column; gap: 2px;
  box-shadow: var(--shadow);
}
#menu.open { display: flex; }
#menu a { color: var(--text); text-decoration: none; padding: 12px 10px; border-radius: 10px; font-weight: 500; }
#menu a:hover { background: var(--bg-hover); color: var(--silver-bright); }
#menu a[aria-current="page"] { color: var(--silver-bright); box-shadow: inset 3px 0 0 var(--blue-soft); }
#menu .nav-cta { margin-top: 10px; text-align: center; background: var(--grad-blue); color: #fff; font-weight: 600; }
#menu .nav-cta:hover { color: #fff; filter: brightness(1.1); }

@media (min-width: 980px) {
  .menu-btn { display: none; }
  #menu {
    display: flex; position: static; flex-direction: row; align-items: center;
    background: none; border: 0; padding: 0; gap: 2px; box-shadow: none;
  }
  #menu a { padding: 8px 12px; font-size: 0.93rem; color: var(--muted); }
  #menu a:hover { background: transparent; color: var(--silver-bright); }
  #menu a[aria-current="page"] { box-shadow: none; color: var(--silver-bright); }
  #menu .nav-cta { margin: 0 0 0 10px; padding: 9px 18px; border-radius: 999px; color: #fff; }
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font: 600 0.96rem var(--font); text-decoration: none;
  border: 1px solid transparent; cursor: pointer; line-height: 1.2;
  transition: transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: var(--grad-blue); color: #fff; border-color: rgba(122,169,224,.45);
  box-shadow: 0 10px 30px rgba(42, 99, 173, 0.35), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn.primary:hover { color: #fff; filter: brightness(1.1); }
.btn.ghost { background: rgba(255,255,255,.02); color: var(--silver-bright); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--bg-hover); color: #fff; }
.btn.silver { background: var(--grad-silver); color: #0b1220; border-color: #fff; }
.btn.silver:hover { color: #0b1220; filter: brightness(1.04); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections ---------------------------------------------------------------- */
.section { padding: 76px 0; position: relative; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.divider { height: 1px; background: var(--grad-line); border: 0; margin: 0; }
@media (min-width: 760px) { .section { padding: 104px 0; } }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 78% 18%, rgba(42, 99, 173, 0.35), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(200, 208, 219, 0.08), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(200,208,219,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,208,219,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 20%, #000 30%, transparent 80%);
  mask-image: radial-gradient(80% 70% at 50% 20%, #000 30%, transparent 80%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.92rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 16px; height: 16px; color: var(--blue-soft); flex-shrink: 0; }
@media (min-width: 980px) {
  .hero { padding: 96px 0 110px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

.page-hero { position: relative; overflow: hidden; padding: 64px 0 48px; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 80% at 85% 0%, rgba(42, 99, 173, 0.28), transparent 70%);
}
.page-hero h1 { font-size: clamp(2rem, 5.4vw, 3.4rem); max-width: 820px; }
@media (min-width: 760px) { .page-hero { padding: 92px 0 64px; } }

/* Browser mockups (pure CSS) -------------------------------------------- */
.mock-stage { position: relative; min-height: 360px; }
.browser {
  background: #0e1420; border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.4); overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 12px;
  background: #121a28; border-bottom: 1px solid var(--line);
}
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2b3546; display: block; }
.browser-bar .url {
  margin-left: 10px; flex: 1; height: 20px; border-radius: 6px; background: #0a0f18;
  border: 1px solid var(--line); font: 500 0.68rem var(--font); color: var(--silver-dim);
  display: flex; align-items: center; padding: 0 8px; white-space: nowrap; overflow: hidden;
}
.browser-body { padding: 18px; }
.sk { background: rgba(200,208,219,.14); border-radius: 5px; height: 9px; margin-bottom: 8px; }
.sk.w30 { width: 30%; } .sk.w40 { width: 40%; } .sk.w50 { width: 50%; } .sk.w60 { width: 60%; } .sk.w70 { width: 70%; } .sk.w80 { width: 80%; } .sk.w90 { width: 90%; }
.sk.h { height: 16px; background: rgba(238,242,247,.75); border-radius: 6px; margin-bottom: 10px; }
.sk.blue { background: var(--blue-bright); }
.sk.pill { height: 22px; width: 92px; border-radius: 999px; background: var(--grad-blue); margin-top: 12px; }
.sk-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.sk-nav .logo { width: 56px; height: 10px; border-radius: 4px; background: var(--silver); }
.sk-nav .links { display: flex; gap: 6px; } .sk-nav .links span { width: 22px; height: 6px; border-radius: 3px; background: rgba(200,208,219,.25); }
.sk-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: center; margin-bottom: 16px; }
.sk-img {
  aspect-ratio: 4/3; border-radius: 10px;
  background: linear-gradient(135deg, rgba(59,123,212,.55), rgba(30,78,140,.2)), repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 8px, transparent 8px 16px);
  border: 1px solid var(--line);
}
.sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sk-card { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: rgba(255,255,255,.02); }
.sk-card .dot { width: 16px; height: 16px; border-radius: 5px; background: rgba(122,169,224,.35); margin-bottom: 8px; }

.mock-stage .browser.main { position: relative; z-index: 2; }
.phone {
  position: absolute; z-index: 3; right: -6px; bottom: -28px; width: 132px;
  background: #0e1420; border: 1px solid var(--line-strong); border-radius: 22px;
  padding: 8px; box-shadow: var(--shadow);
}
.phone .screen { border-radius: 15px; background: #0b111b; padding: 14px 10px; border: 1px solid var(--line); }
.phone .notch { width: 40px; height: 5px; border-radius: 3px; background: #243044; margin: 0 auto 12px; }
.chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(17,24,36,.92); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 14px; font: 600 0.78rem var(--font); color: var(--silver-bright);
  box-shadow: 0 12px 30px rgba(0,0,0,.4); backdrop-filter: blur(8px);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(183,215,198,.15); }
.chip.c1 { top: -16px; left: 18px; }
.chip.c2 { bottom: 40px; left: -8px; }
@media (max-width: 520px) {
  .phone { width: 104px; right: 0; bottom: -22px; }
  .chip.c2 { display: none; }
}

/* Cards / grids ---------------------------------------------------------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 680px) { .grid.g2 { grid-template-columns: repeat(2, 1fr); } .grid.g3, .grid.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid.g3 { grid-template-columns: repeat(3, 1fr); } .grid.g4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)), var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-strong); }
.card p { color: var(--muted); }
.card h3 { margin-top: 0; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(59,123,212,.28), rgba(30,78,140,.12));
  border: 1px solid rgba(122,169,224,.3); color: var(--blue-soft); margin-bottom: 18px;
}
.icon svg { width: 22px; height: 22px; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
.ticks { align-content: start; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); font-size: 0.95rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(122,169,224,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237aa9e0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.ticks.muted li { color: var(--muted); }

/* Value strip ------------------------------------------------------------ */
.strip { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.strip > div { background: var(--bg-raised); padding: 22px; }
.strip strong { display: block; font-family: var(--display); font-size: 1.1rem; color: var(--silver-bright); margin-bottom: 4px; font-weight: 600; }
.strip span { color: var(--muted); font-size: 0.92rem; }
@media (min-width: 680px) { .strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .strip { grid-template-columns: repeat(4, 1fr); } }

/* Steps ------------------------------------------------------------------ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative; padding: 24px 24px 24px 76px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
}
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 22px; top: 22px;
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  font: 600 0.85rem var(--display); color: var(--silver-bright);
  background: var(--grad-blue); border: 1px solid rgba(122,169,224,.4);
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }
@media (min-width: 980px) {
  .steps.row { grid-template-columns: repeat(5, 1fr); }
  .steps.row li { padding: 76px 22px 24px; }
  .steps.row li::before { top: 22px; left: 22px; }
}

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--blue-soft), transparent); }
.timeline li { position: relative; padding: 0 0 40px 64px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .num {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; background: var(--grad-blue); color: #fff;
  font: 600 0.9rem var(--display); border: 1px solid rgba(122,169,224,.45);
}
.timeline h3 { font-size: 1.35rem; margin-bottom: 4px; }
.timeline .when { font-size: 0.82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 10px; }
.timeline p { color: var(--muted); max-width: 640px; }

/* Pricing ---------------------------------------------------------------- */
.price-grid { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } .price-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; } }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px;
}
.price-card.featured {
  background: linear-gradient(180deg, rgba(59,123,212,.16), rgba(17,24,36,0) 60%), var(--bg-card);
  border-color: rgba(122,169,224,.5);
  box-shadow: 0 30px 80px rgba(30,78,140,.25);
}
.price-card .badge {
  position: absolute; top: -13px; left: 28px; background: var(--grad-silver); color: #0b1220;
  font: 700 0.72rem var(--font); letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.price-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.price-card .desc { color: var(--muted); font-size: 0.95rem; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; }
.price .amt { font: 600 clamp(2.6rem, 6vw, 3.2rem)/1 var(--display); letter-spacing: -0.04em; color: var(--silver-bright); }
.price .per { color: var(--muted); font-size: 0.95rem; }
.price-sub { color: var(--silver-dim); font-size: 0.86rem; margin-bottom: 18px; }
.price-card .ticks { margin-bottom: 26px; flex: 1; }
.price-card .btn { width: 100%; }
.strike { text-decoration: line-through; color: var(--silver-dim); font-weight: 500; }

.offer {
  position: relative; overflow: hidden; border-radius: 22px; padding: 34px 28px;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(59,123,212,.35), transparent 60%),
    linear-gradient(180deg, #111a2a, #0d131e);
  border: 1px solid rgba(122,169,224,.4);
  display: grid; gap: 24px; align-items: center;
}
.offer h2, .offer h3 { margin-bottom: 8px; }
.offer .math { font-family: var(--display); color: var(--silver-bright); font-size: 1.05rem; }
.offer .math b { font-weight: 600; }
@media (min-width: 900px) { .offer { grid-template-columns: 1.4fr auto; padding: 44px; } }

/* Work / portfolio -------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  background: transparent; border: 1px solid var(--line-strong); color: var(--muted);
  padding: 8px 16px; border-radius: 999px; font: 500 0.88rem var(--font); cursor: pointer;
}
.filters button:hover { color: var(--silver-bright); }
.filters button[aria-pressed="true"] { background: var(--silver-bright); color: #0b1220; border-color: var(--silver-bright); }

.work-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.work-card .thumb { position: relative; padding: 20px 20px 0; background: var(--th, linear-gradient(160deg, #13213a, #0d141f)); border-bottom: 1px solid var(--line); }
.work-card .thumb .browser { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; box-shadow: 0 -4px 30px rgba(0,0,0,.35); }
.work-card .thumb .browser-body { padding: 14px; min-height: 150px; }
.work-card .meta { padding: 20px 22px 24px; }
.work-card .meta h3 { margin-bottom: 4px; }
.work-card .meta p { font-size: 0.92rem; margin-bottom: 12px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font: 500 0.74rem var(--font); color: var(--silver); border: 1px solid var(--line-strong); padding: 3px 10px; border-radius: 999px; }
.soon {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  background: rgba(8,11,17,.82); border: 1px solid var(--line-strong); color: var(--silver-bright);
  font: 600 0.7rem var(--font); letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px);
}
.work-card[hidden] { display: none; }

/* Niche theme accents for demo thumbnails */
.t-barber  { --th: linear-gradient(160deg, #2a1d14, #0f0d0c); --acc: #c9a46a; }
.t-auto    { --th: linear-gradient(160deg, #2a1414, #0e0c0c); --acc: #d9534f; }
.t-salon   { --th: linear-gradient(160deg, #2a1625, #100c10); --acc: #e2a3c7; }
.t-plumb   { --th: linear-gradient(160deg, #0f2333, #0b1016); --acc: #4fb3e8; }
.t-storage { --th: linear-gradient(160deg, #121c2e, #0a0d13); --acc: #c8d0db; }
.t-lawn    { --th: linear-gradient(160deg, #13261a, #0b100c); --acc: #7cc58b; }
.t-food    { --th: linear-gradient(160deg, #2c2012, #100d0a); --acc: #f0b357; }
.t-fit     { --th: linear-gradient(160deg, #1b1430, #0c0b12); --acc: #9b8cff; }
.t-pro     { --th: linear-gradient(160deg, #18202a, #0b0e12); --acc: #9fb6cf; }
.work-card .sk.h, .work-card .sk.pill { background: var(--acc, var(--silver)); }
.work-card .sk-img { background: linear-gradient(135deg, color-mix(in srgb, var(--acc, #3b7bd4) 55%, transparent), transparent), repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 8px, transparent 8px 16px); }

/* FAQ ------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative;
  font-weight: 600; color: var(--silver-bright);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 1.5px solid var(--blue-soft); border-bottom: 1.5px solid var(--blue-soft);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 20px; color: var(--muted); }
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: 1.4rem; margin-bottom: 18px; }

/* Forms ------------------------------------------------------------------ */
.form-card { background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: 20px; padding: 28px; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 680px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--silver-bright); margin-bottom: 6px; }
label .opt { color: var(--silver-dim); font-weight: 500; }
input, select, textarea {
  width: 100%; font: 400 1rem var(--font); color: var(--text);
  background: #0a0f18; border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px;
}
textarea { min-height: 130px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #6b7585; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-soft); box-shadow: 0 0 0 3px rgba(122,169,224,.2); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: 0.9rem; color: var(--silver-bright); margin-bottom: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; cursor: pointer; color: var(--text);
}
.choices input { width: auto; accent-color: var(--blue-bright); }
.choices label:has(input:checked) { border-color: var(--blue-soft); background: rgba(59,123,212,.14); }
.form-msg { display: none; margin-top: 16px; padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(183,215,198,.35); background: rgba(183,215,198,.08); color: var(--ok); }
.form-msg.show { display: block; }
.form-msg strong { color: var(--silver-bright); }

/* CTA band --------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 26px; padding: 48px 28px; text-align: center;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(59,123,212,.42), transparent 65%),
    linear-gradient(180deg, #101a2b, #0b111b);
  border: 1px solid rgba(122,169,224,.35);
}
.cta-band h2 { max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-band .lead { margin: 0 auto 28px; }
.cta-band .btn-row { justify-content: center; }
@media (min-width: 760px) { .cta-band { padding: 72px 48px; } }

/* Split / misc ----------------------------------------------------------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.wide-left { grid-template-columns: 1.2fr 1fr; } }
.panel { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.kv { display: grid; gap: 0; margin: 0; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.kv div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--silver-bright); font-weight: 600; text-align: right; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { color: var(--silver-bright); font-weight: 600; }
.compare td { color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); }
.ph-flag { display: inline-block; font: 600 0.7rem var(--font); letter-spacing: .08em; text-transform: uppercase; color: #0b1220; background: var(--silver); border-radius: 4px; padding: 1px 6px; vertical-align: middle; }

/* Footer ----------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: #06090e; padding: 56px 0 32px; margin-top: 0; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer h4 { font-family: var(--font); font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-dim); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--silver-bright); }
.site-footer .blurb { color: var(--muted); font-size: 0.93rem; max-width: 340px; margin-top: 14px; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--silver-dim); font-size: 0.85rem; }

/* 404 -------------------------------------------------------------------- */
.nf { text-align: center; padding: 110px 0; }
.nf .code { font: 600 clamp(5rem, 18vw, 9rem)/1 var(--display); letter-spacing: -0.06em; margin-bottom: 10px; }
.nf .btn-row { justify-content: center; margin-top: 28px; }

/* Reveal on scroll (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
