/* =========================================================================
   Sitely — modern static marketing site
   Sleek monochrome base (black / graphite / silver / white) with a cool
   indigo→cyan accent. Single stylesheet, no build step. Safe on S3.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --ink: #0e0e10;
  --ink-2: #3f3f46;
  --muted: #6b6d76;
  --line: #e4e4e7;

  --bg: #ffffff;
  --bg-alt: #f4f4f6;
  --dark: #0a0a0b;
  --dark-2: #141416;

  /* Cool accent — the pop of color */
  --accent: #6366f1;                       /* indigo */
  --accent-2: #22d3ee;                     /* cyan */
  --accent-grad: linear-gradient(135deg, #6366f1 0%, #3b82f6 52%, #22d3ee 100%);
  /* Light tint of the accent for text/shine on dark backgrounds */
  --shine: linear-gradient(120deg, #c7d2fe 0%, #a5b4fc 45%, #7dd3fc 100%);

  /* Brushed silver — kept for the hero CTA + logo, for a sleek metallic touch */
  --metal: linear-gradient(135deg, #ffffff 0%, #d7d8dc 40%, #a6a8ae 62%, #cfd0d4 78%, #85878d 100%);

  --brand: #0e0e10;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(9, 9, 11, .06), 0 4px 16px rgba(9, 9, 11, .05);
  --shadow-md: 0 12px 34px rgba(9, 9, 11, .12);
  --shadow-glow: 0 12px 40px rgba(99, 102, 241, .30);

  --container: 1140px;
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Space Grotesk", var(--font-sans);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: .98rem;
  padding: .8rem 1.35rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .55rem 1.05rem; font-size: .9rem; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.02rem; }

/* Accent-gradient primary (on light surfaces) */
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 46px rgba(99, 102, 241, .42); }

/* On the dark hero, the primary CTA is a polished silver pill (sleek metallic accent) */
.hero .btn-primary {
  background: var(--metal); color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 10px 30px rgba(0, 0, 0, .45);
}
.hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 16px 44px rgba(199, 210, 254, .28);
}

.btn-outline-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }

/* Same shape as btn-outline-light, for use on light surfaces */
.btn-outline-dark { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- Utility ---------- */
.hidden { display: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.brand-mark { display: inline-flex; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav > a:not(.btn) { font-weight: 500; color: var(--ink-2); font-size: .96rem; transition: color .15s ease; }
.nav > a:not(.btn):hover { color: var(--accent); }

/* Existing-client entry point — deliberately quieter than the sales nav */
.nav > a.nav-support { color: var(--muted); }
.nav > a.nav-support:hover { color: var(--accent); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: 96px 0 120px; isolation: isolate; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 640px; z-index: -2;
  background:
    radial-gradient(closest-side at 22% 28%, rgba(99, 102, 241, .40), transparent 70%),
    radial-gradient(closest-side at 74% 20%, rgba(34, 211, 238, .28), transparent 70%),
    radial-gradient(closest-side at 52% 62%, rgba(59, 130, 246, .30), transparent 70%);
  filter: blur(26px);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.hero-inner { max-width: 800px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; margin: .5rem 0 1.2rem; }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: rgba(255, 255, 255, .78); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.gradient-text { background: var(--shine); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow { display: inline-block; font-family: var(--font-sans); font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.eyebrow-ink { color: var(--accent); }

/* ---------- Value strip ---------- */
.value-strip { background: var(--dark-2); color: #fff; padding: 26px 0; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.value { display: flex; flex-direction: column; }
.value strong { font-family: var(--font-head); font-size: 1.4rem; background: var(--shine); -webkit-background-clip: text; background-clip: text; color: transparent; }
.value span { color: rgba(255, 255, 255, .62); font-size: .92rem; }

/* ---------- Section shell ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: .6rem 0 .8rem; }
.section-lead { color: var(--muted); font-size: 1.08rem; }

/* ---------- AI receptionist (flagship section) ---------- */
.recep { position: relative; overflow: hidden; }
.recep-glow {
  position: absolute; top: -12%; right: -8%; width: 62%; height: 560px; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(99, 102, 241, .16), transparent 72%);
  filter: blur(30px);
}
.recep .container { position: relative; z-index: 1; }
.recep-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: start; }
.recep-points { display: grid; gap: 30px; }

.recep-point { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.recep-num {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; background: var(--accent-grad);
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  box-shadow: var(--shadow-glow);
}
.recep-point h3 { font-size: 1.16rem; margin-bottom: .45rem; }
.recep-point p { color: var(--muted); font-size: 1rem; }
.recep-point em { font-style: normal; color: var(--ink); font-weight: 600; }
.recep-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 6px; }

/* The example call — dark card so it pops off the light section */
.call-card {
  background: var(--dark); color: #fff; border-radius: var(--radius-lg);
  padding: 22px; box-shadow: 0 26px 60px rgba(9, 9, 11, .34);
  border: 1px solid rgba(255, 255, 255, .1); position: sticky; top: 100px;
}
.call-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.call-head strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.call-head span { display: block; font-size: .78rem; color: rgba(255, 255, 255, .5); }
.call-live { width: 10px; height: 10px; border-radius: 50%; background: #22d3ee; flex: none; box-shadow: 0 0 0 0 rgba(34, 211, 238, .6); animation: callPulse 2s ease-out infinite; }
@keyframes callPulse { 70% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); } }

.call-log { list-style: none; padding: 18px 0 4px; margin: 0; display: grid; gap: 10px; }
.call-log li { display: flex; }
.call-log span {
  display: inline-block; max-width: 84%; padding: .62rem .9rem; border-radius: 16px;
  font-size: .93rem; line-height: 1.45;
}
.call-log .from-them { justify-content: flex-start; }
.call-log .from-them span { background: rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .84); border-bottom-left-radius: 5px; }
.call-log .from-ai { justify-content: flex-end; }
.call-log .from-ai span { background: var(--accent-grad); color: #fff; border-bottom-right-radius: 5px; }

.call-out { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 8px; }
.call-out-row { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: rgba(255, 255, 255, .74); }
.call-tick { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .68rem; font-weight: 700; color: #0a0a0b; background: #7dd3fc; }

/* ---------- Product families ---------- */
.family-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 22px; }
.family-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.family-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #c9cbf0; }
.family-card .card-img { aspect-ratio: 16 / 9; }
.family-body { padding: 22px 24px 26px; }
.family-head { display: flex; align-items: center; gap: 12px; margin-bottom: .6rem; }
.family-head h3 { font-size: 1.24rem; }
.family-head .card-icon { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 0; flex: none; }
.family-head .card-icon svg { width: 21px; height: 21px; }
.family-flag {
  margin-left: auto; flex: none; font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #fff; background: var(--accent-grad);
  padding: .3rem .62rem; border-radius: 999px; box-shadow: 0 6px 16px rgba(99, 102, 241, .35);
}
.family-body > p { color: var(--ink-2); font-size: .99rem; margin-bottom: 1rem; }
.family-list { list-style: none; padding: 0; display: grid; gap: .52rem; }
.family-list li { position: relative; padding-left: 1.6rem; color: var(--muted); font-size: .95rem; }
.family-list li::before {
  content: ""; position: absolute; left: 0; top: .48em; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-grad);
}
.cta-only { grid-template-columns: 1fr; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #c9cbf0; }
.card h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center; color: #fff; background: var(--accent-grad);
  box-shadow: 0 6px 16px rgba(99, 102, 241, .30), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.card-icon svg { width: 24px; height: 24px; }

/* Visual service cards — picture + header, no body copy */
.card-visual { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .35s ease; }
.card-visual:hover .card-img img { transform: scale(1.05); }
.card-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.card-visual .card-icon { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 0; flex: none; }
.card-visual .card-icon svg { width: 20px; height: 20px; }
.card-visual h3 { font-size: 1.02rem; margin: 0; line-height: 1.25; }

.card-cta { background: var(--dark); color: #fff; border: none; position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; grid-column: 1 / -1; text-align: center; align-items: center; padding: 34px 28px; }
.card-cta::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background: radial-gradient(120% 100% at 85% 15%, rgba(99, 102, 241, .55), transparent 60%);
}
.card-cta > * { position: relative; z-index: 1; }
.card-cta h3 { color: #fff; }
.card-cta p { color: rgba(255, 255, 255, .78); }
.card-cta:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(99, 102, 241, .35); }
.card-cta-arrow { position: absolute; top: 22px; right: 22px; font-size: 1.4rem; color: #7dd3fc; transition: transform .2s ease; }
.card-cta:hover .card-cta-arrow { transform: translateX(4px); }

/* ---------- Process steps (styles retained, section optional) ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step-num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  font-family: var(--font-head); font-weight: 700; color: #fff; background: var(--accent-grad);
  margin-bottom: 14px; box-shadow: var(--shadow-glow);
}
.step h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Industries pills ---------- */
.pill-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 860px; margin: 0 auto; }
.pill {
  padding: .7rem 1.25rem; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-sm); font-size: .98rem;
  transition: transform .18s ease, border-color .18s ease, color .18s ease;
}
.pill:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
a.pill { text-decoration: none; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.why-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: .6rem 0 .9rem; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--ink-2); font-weight: 500; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: #fff; background: var(--accent-grad);
}

/* Mock browser illustration */
.why-card { position: relative; }
.why-card-glow { position: absolute; inset: 10% 5%; background: var(--accent-grad); filter: blur(60px); opacity: .38; border-radius: 50%; z-index: 0; }
.mock-window { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.mock-bar { display: flex; gap: 7px; padding: 14px 16px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: #d4d4d8; }
.mock-bar span:nth-child(1) { background: #6366f1; }
.mock-bar span:nth-child(2) { background: #3b82f6; }
.mock-bar span:nth-child(3) { background: #22d3ee; }
.mock-body { padding: 26px; display: grid; gap: 14px; }
.mock-line { height: 12px; border-radius: 6px; background: var(--line); }
.mock-line-lg { height: 26px; width: 70%; background: var(--accent-grad); opacity: .92; }
.mock-line-sm { width: 45%; }
.mock-btn { height: 34px; width: 130px; border-radius: 999px; background: var(--accent-grad); margin-top: 4px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.mock-tile { height: 64px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); }

/* ---------- Intake form ---------- */
.form-section { background: var(--bg-alt); }
.form-wrap { max-width: 760px; }

/* Offset anchor target so the sticky header doesn't cover the heading */
.anchor { display: block; position: relative; top: -84px; visibility: hidden; }

/* New project vs. existing client */
.form-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.form-mode {
  font-family: inherit; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.form-mode strong { display: block; font-family: var(--font-head); font-size: 1.02rem; color: var(--ink); }
.form-mode span { display: block; font-size: .89rem; color: var(--muted); margin-top: .2rem; }
.form-mode:hover { border-color: #c9cbf0; transform: translateY(-2px); }
.form-mode.active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99, 102, 241, .16), var(--shadow-sm); }
.form-mode.active strong { color: var(--accent); }
.form-mode:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.fieldset-note { color: var(--muted); font-size: .92rem; margin-bottom: 18px; margin-top: -6px; }
.field-hint { color: var(--muted); font-size: .86rem; margin-top: .45rem; }

/* Result of the client-verification check, shown after a ticket is filed */
.verify-note {
  margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-size: .93rem;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
}
.verify-note.matched { border-color: #86efac; background: #f0fdf4; color: #14532d; }
.verify-note.unmatched { border-color: #fcd34d; background: #fffbeb; color: #713f12; }
.intake-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px; box-shadow: var(--shadow-md);
}
.intake-form fieldset { border: none; padding: 0; margin: 0 0 30px; }
.intake-form legend { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; padding: 0; margin-bottom: 18px; width: 100%; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .field-label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .5rem; color: var(--ink); }
.req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(99, 102, 241, .14);
}
.field textarea { resize: vertical; min-height: 84px; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.check { display: flex; align-items: center; gap: .6rem; font-weight: 500; font-size: .96rem; color: var(--ink-2); cursor: pointer; margin: 0; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }

/* Color-scheme swatch picker */
.swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.swatch { position: relative; display: block; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch-chip {
  display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.swatch-chip:hover { border-color: #c9cbf0; }
.swatch input:checked + .swatch-chip {
  border-color: var(--accent); background: #fafaff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .16);
}
.swatch input:focus-visible + .swatch-chip { outline: 2px solid var(--accent); outline-offset: 2px; }
.swatch-colors { display: inline-flex; flex: none; }
.swatch-colors i {
  width: 22px; height: 22px; border-radius: 50%; margin-left: -8px;
  border: 2px solid #fff; box-shadow: 0 1px 3px rgba(9, 9, 11, .25);
  font-style: normal;
}
.swatch-colors i:first-child { margin-left: 0; }
.swatch-brand { background: conic-gradient(#f43f5e, #f59e0b, #22c55e, #22d3ee, #6366f1, #f43f5e); }
.swatch-question {
  background: var(--bg-alt); color: var(--muted); font-weight: 700; font-size: .8rem;
  display: inline-grid; place-items: center; line-height: 1;
}
.swatch-name { font-weight: 500; font-size: .95rem; color: var(--ink-2); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-footer { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.form-status { font-weight: 600; font-size: .96rem; margin: 0; }
.form-status.success { color: #15803d; }
.form-status.error { color: #dc2626; }
.form-status.loading { color: var(--muted); }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .72); padding: 60px 0 30px; }
.site-footer .brand { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand p { margin-top: 14px; max-width: 320px; }
.footer-links { display: flex; flex-direction: column; gap: .7rem; }
.footer-links a:hover, .footer-email:hover { color: #fff; }
.footer-contact p { margin-bottom: .5rem; }
.footer-email { font-family: var(--font-head); font-size: 1.15rem; color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: .88rem; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { margin: 0; }

/* ---------- Live examples ---------- */
.live-section { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.live-section .section-head h2 { color: #fff; }
.live-section .section-lead { color: rgba(255, 255, 255, .68); }
.live-section .eyebrow-ink { color: #a5b4fc; }
.live-glow {
  position: absolute; top: 4%; left: 50%; width: 74%; height: 440px; transform: translateX(-50%); z-index: 0;
  background: radial-gradient(closest-side, rgba(99, 102, 241, .26), transparent 72%); filter: blur(34px); pointer-events: none;
}
.live-rows { position: relative; z-index: 1; display: grid; gap: 76px; max-width: 1040px; margin: 0 auto; }

.live-row { display: grid; grid-template-columns: 1.02fr .98fr; gap: 50px; align-items: center; }
.live-row:nth-child(even) .live-media { order: 2; }

.live-badge {
  display: inline-block; font-family: var(--font-sans); font-weight: 700; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; color: #fff;
  padding: .42rem .9rem; border-radius: 999px; background: var(--accent-grad);
  box-shadow: 0 8px 22px rgba(99, 102, 241, .40); margin-bottom: 18px;
}
.live-copy h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.95rem); line-height: 1.16; margin-bottom: .85rem; }
.live-copy p { color: rgba(255, 255, 255, .74); font-size: 1.06rem; }

/* Framed "browser" preview around each live example */
.live-frame {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  transition: transform .25s ease, box-shadow .25s ease;
}
.live-row:hover .live-frame { transform: translateY(-4px); box-shadow: 0 40px 84px rgba(0, 0, 0, .6); }
.live-bar { display: flex; align-items: center; gap: 8px; padding: 11px 15px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.live-bar .dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.live-bar .dot:nth-child(1) { background: #6366f1; }
.live-bar .dot:nth-child(2) { background: #3b82f6; }
.live-bar .dot:nth-child(3) { background: #22d3ee; }
.live-url { margin-left: 8px; font-size: .82rem; color: var(--muted); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-screen { background: #fff; line-height: 0; }
.live-screen img { width: 100%; height: auto; display: block; }

.live-frame-link { display: block; color: inherit; }
.live-open { margin-left: auto; font-size: .82rem; font-weight: 700; color: var(--accent); white-space: nowrap; }

/* Auto-cycling preview inside the first frame — fades through real launches + demos */
.live-cycler { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.live-cycler img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  opacity: 0; transition: opacity .55s ease;
}
.live-cycler img.active { opacity: 1; }
.live-tag {
  position: absolute; top: 12px; left: 12px; z-index: 1; line-height: 1.4;
  font-weight: 700; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: rgba(10, 10, 11, .72); padding: .34rem .8rem; border-radius: 999px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.live-tag-client { background: var(--accent-grad); box-shadow: 0 8px 22px rgba(99, 102, 241, .45); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .family-grid { grid-template-columns: 1fr; }
}

/* The receptionist section's example call drops below the points */
@media (max-width: 860px) {
  .recep-grid { grid-template-columns: 1fr; gap: 36px; }
  .call-card { position: static; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
    box-shadow: var(--shadow-md); transform: translateY(-140%); transition: transform .3s ease; z-index: 40;
  }
  .nav.open { transform: translateY(0); }
  .nav > a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .nav-toggle { display: flex; }
  .value-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .section { padding: 68px 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .field-row, .checks, .swatches, .form-modes { grid-template-columns: 1fr; }
  .call-log span { max-width: 92%; }
  .intake-form { padding: 26px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Live examples: stack on smaller screens ---------- */
@media (max-width: 860px) {
  .live-row { grid-template-columns: 1fr; gap: 26px; }
  .live-row:nth-child(even) .live-media { order: 0; }
  .live-rows { gap: 58px; }
}
/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
