/* =====================================================================
   g∞zel — Landing page stylesheet
   Shared by site/for/<industry>.html. Pages link this alongside
   oat.min.css. Mirrors index.html's visual language (dark, amber,
   monospaced detail) so landing pages feel continuous with the home.
   ===================================================================== */

:root,
[data-theme="dark"] {
  color-scheme: dark;

  --background:           #0a0a0a;
  --foreground:           #fafafa;
  --card:                 #141414;
  --card-foreground:      #fafafa;
  --primary:              #f5a524;
  --primary-foreground:   #1a1300;
  --secondary:            #1c1c1c;
  --secondary-foreground: #fafafa;
  --muted:                #141414;
  --muted-foreground:     #8b8b8b;
  --faint:                #111;
  --faint-foreground:     #5a5a5a;
  --accent:               rgba(245, 165, 36, 0.12);
  --accent-foreground:    #f5a524;
  --border:               #222;
  --input:                #2e2e2e;
  --ring:                 #f5a524;

  --dot:                  rgba(245, 165, 36, 0.18);
  --dot-strong:           rgba(245, 165, 36, 0.65);
}

html { background: var(--background); overflow-x: clip; -webkit-tap-highlight-color: transparent; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100%;
}

main, .site-footer {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

main { padding-top: 1.5rem; }

.mono {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

/* =====================================================================
   Header — same chrome as the home page so visitors don't feel like
   they've left. Brand prompt + amber infinity + slash; back-to-home
   crumb sits in nav-links.
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.88);
  border-bottom-color: var(--border);
}

.site-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.85rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--foreground);
  display: inline-flex;
  align-items: baseline;
  line-height: 0.3;
}
.brand-prompt {
  color: var(--primary);
  font-weight: 500;
  margin-right: 0.4em;
}
.brand-slash {
  color: var(--primary);
  font-weight: 500;
  opacity: 0.85;
  margin-left: 0.12em;
}
.brand-infin {
  color: var(--primary);
  font-variant-emoji: text;
  display: inline-block;
  transition: transform 0.3s ease;
}
.brand:hover .brand-infin { transform: scale(1.08); }

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  align-items: center;
}
.nav-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--foreground); }
.nav-links a[aria-current="page"] { color: var(--primary); }

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-back::before {
  content: "←";
  color: var(--primary);
  transition: transform 0.15s ease;
}
.nav-back:hover::before { transform: translateX(-3px); }

/* Booking pill — desktop state: text + pulsing dot. Mobile state (below)
   collapses to a phone icon button. */
.nav-status-icon {
  display: none;
  flex-shrink: 0;
  vertical-align: middle;
}
.nav-status-text {
  display: inline-block;
}

/* Booking pill — matches the home page nav so visitors don't see the
   chrome change between home and industry pages. */
.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
a.nav-status:hover {
  border-color: var(--primary);
  color: var(--foreground);
}
.nav-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(245, 165, 36, 0.6);
  animation: nav-pulse 2.4s ease-out infinite;
  flex-shrink: 0;
}
@keyframes nav-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245, 165, 36, 0.55); }
  100% { box-shadow: 0 0 0 8px rgba(245, 165, 36, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-status::before { animation: none; }
}

/* ===========================================================
   Agent banner row — same chrome as the home page sticky
   header. Lives between the main nav row and the industry
   switcher row.
   =========================================================== */
.site-header-banner {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(0,0,0,0.20) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -1px 0 rgba(0,0,0,0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.4rem 1rem;
  min-height: 2rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.site-header-banner::before,
.site-header-banner::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60%;
  height: 600%;
  border-radius: 50%;
  filter: blur(38px);
  opacity: 0.12;
  mix-blend-mode: screen;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}
.site-header-banner::before {
  left: 0;
  background: radial-gradient(circle at center, var(--agent-color, rgba(245,165,36,1)) 0%, transparent 60%);
  animation: banner-drift-a 24s ease-in-out infinite alternate;
}
.site-header-banner::after {
  right: 0;
  background: radial-gradient(circle at center, rgba(139,156,255,0.95) 0%, transparent 60%);
  animation: banner-drift-b 31s ease-in-out infinite alternate;
}
@keyframes banner-drift-a {
  0%   { transform: translate(-25%, -50%); }
  50%  { transform: translate(15%,  -48%); }
  100% { transform: translate(55%,  -52%); }
}
@keyframes banner-drift-b {
  0%   { transform: translate(25%,  -50%); }
  50%  { transform: translate(-15%, -52%); }
  100% { transform: translate(-55%, -48%); }
}

.agent-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.15rem 0;
  margin: 0;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1;
  color: #c8c8c8;
  position: relative;
  max-width: 100%;
}

.agent-spinner {
  display: inline-block;
  width: 1.1em;
  text-align: center;
  color: var(--agent-color, var(--primary));
  text-shadow: 0 0 4px var(--agent-color, var(--primary));
  transition: color 0.4s ease, text-shadow 0.4s ease;
  font-weight: 500;
}

.agent-verb {
  font-weight: 500;
  min-width: 8.5ch;
  display: inline-block;
  background-color: var(--agent-color, var(--primary));
  background-image: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.95) 50%, transparent 100%);
  background-size: 40% 100%;
  background-repeat: no-repeat;
  background-position: -40% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: verb-shimmer 1.4s ease-in-out infinite alternate;
}
.agent-verb::after {
  content: "\2026";
  color: var(--agent-color, var(--primary));
  opacity: 0.75;
  -webkit-text-fill-color: var(--agent-color, var(--primary));
}
@keyframes verb-shimmer {
  0%   { background-position: -40% 0; }
  100% { background-position: 140% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .agent-verb {
    animation: none;
    background-image: none;
    color: var(--agent-color, var(--primary));
    -webkit-text-fill-color: currentColor;
  }
}

.agent-meta {
  color: #6a6a6a;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.agent-spinner,
.agent-meta .arrow {
  font-variant-emoji: text;
  text-rendering: optimizeLegibility;
}
.agent-meta .time   { color: #b8b8b8; min-width: 2.6ch; display: inline-block; text-align: right; }
.agent-meta .tokens { color: #b8b8b8; min-width: 4.2ch; display: inline-block; text-align: right; }
.agent-meta .arrow  { color: var(--agent-color, var(--primary)); opacity: 0.85; display: inline-block; width: 1ch; text-align: center; }
.agent-meta .sep    { color: #444; }
.agent-meta .hint   { color: #6a6a6a; }
.agent-meta kbd {
  font: inherit;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 3px;
  padding: 0 0.35em;
  color: #aaa;
}

@media (prefers-reduced-motion: reduce) {
  .site-header-banner::before,
  .site-header-banner::after { animation: none; }
  .agent-spinner { animation: none !important; }
}

/* ===========================================================
   Industry switcher — Apple-style product-family row. Sits
   under the agent banner. Six colored pills, current one
   filled, horizontally scrollable on narrow viewports with
   fade-edge mask so it feels like a swipeable shelf.
   =========================================================== */
.industry-switcher {
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.6);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Scroll-snap so pills "click" into a centred position as the user
     swipes — native-feeling shelf interaction. JS centres the active
     pill on load (agent-banner.js > industry switcher block); snap
     keeps that center sticky as the user explores. */
  scroll-snap-type: x proximity;
  scroll-padding-inline: 24px;
  scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.industry-switcher::-webkit-scrollbar { display: none; }

.industry-switcher-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.6rem 1.75rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-width: max-content;
}

.industry-switcher a {
  --pill-color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  color: var(--muted-foreground);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  scroll-snap-align: center;
  scroll-margin-inline: 24px;
  flex-shrink: 0;             /* never let a pill compress itself off-shape */
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.industry-switcher a:hover,
.industry-switcher a:focus-visible {
  color: var(--foreground);
  border-color: var(--pill-color);
  background: color-mix(in oklab, var(--pill-color) 12%, transparent);
  transform: translateY(-1px);
  outline: none;
}
.industry-switcher a:active {
  transform: translateY(0) scale(0.97);
  transition: transform 0.08s ease;
}

/* Current industry — pill is filled in its own colour so visitors
   instantly see "you are here". Pre-pended dot adds a tiny tactile
   marker like Apple uses on its active product nav entries. */
.industry-switcher a[aria-current="page"] {
  color: var(--foreground);
  border-color: var(--pill-color);
  background: color-mix(in oklab, var(--pill-color) 18%, transparent);
}
.industry-switcher a[aria-current="page"]::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pill-color);
  box-shadow: 0 0 8px var(--pill-color);
}

/* On narrow viewports the switcher is the primary way around — make the
   active pill more prominent so it doesn't get lost beside its siblings.
   Slight upscale, brighter fill, larger glow on the dot. The pill bar
   itself drops `justify-content: center` so JS-driven scroll positioning
   is honoured (centred via scrollLeft, not flex-centred). */
@media (max-width: 720px) {
  .industry-switcher-inner {
    justify-content: flex-start;
    padding: 0.55rem 1.25rem;
    gap: 0.45rem;
  }
  .industry-switcher a {
    padding: 0.45rem 0.9rem;
    font-size: 0.7625rem;
  }
  .industry-switcher a[aria-current="page"] {
    background: color-mix(in oklab, var(--pill-color) 28%, transparent);
    box-shadow:
      inset 0 0 0 1px var(--pill-color),
      0 4px 14px -4px color-mix(in oklab, var(--pill-color) 60%, transparent);
  }
  .industry-switcher a[aria-current="page"]::before {
    width: 7px;
    height: 7px;
    box-shadow: 0 0 10px var(--pill-color), 0 0 18px var(--pill-color);
  }
}

/* ===========================================================
   Tap / focus polish — Apple-grade. Same vocabulary the home
   page uses; carried across every interactive element.
   =========================================================== */
.button {
  -webkit-tap-highlight-color: transparent;
}
.button:active {
  transform: translateY(0) scale(0.98);
  transition: transform 0.08s ease, background 0.15s ease;
}
.button.primary:active {
  transform: scale(0.98);
}

a:focus-visible:not(.brand):not(.industry-switcher a) {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Pressable install cards — tactile feedback on tap */
.install {
  -webkit-tap-highlight-color: transparent;
}
.install:active {
  transform: translateY(-1px) scale(0.99);
  transition: transform 0.08s ease;
}

/* ===========================================================
   Wordmark moment — display-scale brand close. Mirrors home.
   =========================================================== */
.wordmark-moment {
  max-width: 1080px;
  margin: 6rem auto 0;
  padding: 3rem 1.75rem 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: clip;
  text-align: left;
}
.wordmark-moment .big-mark {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: clamp(3.5rem, 16vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--foreground);
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  line-height: 0.3;
}
.big-mark .brand-infin {
  color: var(--primary);
}
.big-mark .brand-prompt,
.big-mark .brand-slash {
  color: var(--primary);
  font-weight: 500;
}
.big-mark .brand-prompt { margin-right: 0.3em; }
.big-mark .brand-slash  { margin-left: 0.1em; opacity: 0.85; }

.wordmark-moment .tagline {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 2rem 0 0;
}

/* =====================================================================
   Section system — large amber section indices + dot dividers between
   ===================================================================== */
main > section {
  position: relative;
  padding: 5rem 0 4rem;
}

main > section + section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow:
    -22px 0 0 -1px var(--dot-strong),
     22px 0 0 -1px var(--dot-strong),
    -44px 0 0 -2px var(--dot);
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}

.section-num {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 500;
  color: var(--primary);
  line-height: 0.85;
  letter-spacing: -0.04em;
  grid-row: 1 / span 2;
}

.section-kicker {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: var(--faint-foreground);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 0.6rem;
}

main > section h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  letter-spacing: -0.025em;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  max-width: 22ch;
}

.section-lead {
  grid-column: 2;
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  max-width: 60ch;
}

/* =====================================================================
   HERO — industry-specific. Single column, text-led.
   The eyebrow names the industry; the h1 carries the value prop;
   .lead expands it with industry vocabulary.
   ===================================================================== */
.hero {
  padding: 3rem 0 4rem !important;
  position: relative;
}

.hero-eyebrow {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero-eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--primary);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 1.5rem;
  max-width: 18ch;
}

.hero h1 .accent {
  color: var(--primary);
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.05em;
  height: 5px;
  background-image: radial-gradient(circle, var(--primary) 1px, transparent 1.2px);
  background-size: 8px 5px;
  background-repeat: repeat-x;
  background-position: 0 50%;
  opacity: 0.85;
}

.hero .lead {
  font-size: 1.1875rem;
  color: var(--muted-foreground);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 0 2.25rem;
}

.hero menu.buttons {
  margin: 0;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0;
}

.button.primary {
  background: linear-gradient(180deg, #ffb73a 0%, var(--primary) 100%);
  color: var(--primary-foreground);
  border: 1px solid var(--primary);
  font-weight: 600;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.18s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 4px 14px -6px rgba(245, 165, 36, 0.45);
}
.button.primary:hover {
  background: linear-gradient(180deg, #ffc24d 0%, #ffb838 100%);
  transform: translateY(-1px);
}

.button .arrow {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  display: inline-block;
  margin-left: 0.4rem;
  transition: transform 0.15s ease;
}
.button:hover .arrow { transform: translateX(3px); }

.hero-specs {
  margin-top: 2.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hero-spec {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}
.hero-spec strong {
  display: block;
  color: var(--foreground);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.15rem;
}

/* =====================================================================
   Installs — 4 (or 3+1) cards of industry-specific automations.
   Bigger than the home page workflow cards because each is doing more
   work: it has to anchor a specific install for this audience.
   ===================================================================== */
.installs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.install {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0) 35%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.3);
}

.install:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 24px -8px rgba(0, 0, 0, 0.5);
}

.install-num {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin: 0 0 0.1rem;
  font-weight: 500;
}

.install h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.25;
  max-width: 28ch;
}

.install-desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.55;
}

.install-detail {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border);
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: var(--faint-foreground);
  line-height: 1.55;
  letter-spacing: 0.01em;
}
.install-detail strong {
  color: var(--primary);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.35rem;
}

/* =====================================================================
   Scenario — a paragraph of editorial copy that paints a typical
   engagement in this industry. Sits in a quietly-styled block.
   ===================================================================== */
.scenario {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 2.25rem;
  position: relative;
  overflow: hidden;
}

.scenario::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(245, 165, 36, 0.10) 0.8px, transparent 1.1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse at 100% 0%, black 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.4;
}

.scenario > * { position: relative; z-index: 1; }

.scenario-kicker {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 1rem;
}

.scenario p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--foreground);
  max-width: 65ch;
}

.scenario p:last-child { margin-bottom: 0; }
.scenario p + p { color: var(--muted-foreground); }

.scenario-outcomes {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px dashed var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.scenario-outcomes li {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.scenario-outcomes li strong {
  display: block;
  color: var(--primary);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

/* =====================================================================
   Pricing preview — a compact, link-out version of the home page
   engagements section. One starter card + a row of Setup/Retainer/
   Bespoke as text references with a link to the full pricing page.
   ===================================================================== */
.pricing-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.pricing-card {
  background: linear-gradient(180deg, rgba(245, 165, 36, 0.08) 0%, var(--card) 70%);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.pricing-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  color: var(--primary-foreground);
  background: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.pricing-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-foreground);
}

.pricing-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pricing-card-desc {
  margin: 0 0 0.85rem;
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 52ch;
}

.pricing-card-outcome {
  margin: 0;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  color: var(--primary);
  line-height: 1.55;
  max-width: 56ch;
}

.pricing-card-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding-left: 2rem;
  border-left: 1px solid var(--border);
  min-width: 11rem;
}

.pricing-card-price {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 1.75rem;
  color: var(--foreground);
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 500;
  margin: 0;
}

.pricing-card-duration {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin: 0;
}

.pricing-more {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 0 10px 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}
.pricing-more strong {
  color: var(--foreground);
  font-weight: 600;
  margin-right: 0.4em;
}
.pricing-more a {
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
}
.pricing-more a:hover { color: #ffb838; }
.pricing-more .arrow { display: inline-block; margin-left: 0.2rem; transition: transform 0.15s ease; }
.pricing-more a:hover .arrow { transform: translateX(3px); }

/* =====================================================================
   Closing CTA
   ===================================================================== */
.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.contact .button {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.0625rem;
}

/* =====================================================================
   Sibling industries — a quiet row of cross-links at the bottom of
   each landing page so a visitor on the wrong page can navigate sideways.
   ===================================================================== */
.siblings {
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.siblings-label {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  color: var(--faint-foreground);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 0.75rem;
}

.siblings-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
}

.siblings-row a {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-decoration: none;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.siblings-row a:hover {
  color: var(--foreground);
  border-color: var(--primary);
  background: rgba(245, 165, 36, 0.06);
  transform: translateY(-1px);
}

.siblings-row a[aria-current="page"] {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(245, 165, 36, 0.08);
}

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  padding-bottom: 4rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: var(--faint-foreground);
}

/* =====================================================================
   Reveal-on-scroll
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 900px) {
  .installs-grid { grid-template-columns: 1fr; }
  .scenario-outcomes { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 720px) {
  main, .site-footer { padding-left: 1.25rem; padding-right: 1.25rem; }
  main { padding-top: 1rem; }
  .site-header-inner { padding: 0.75rem 1.25rem; gap: 0.75rem; }
  .site-header-banner { padding: 0.4rem 1rem; }

  /* Booking pill → small circular phone-icon button. Pulsing dot is
     hidden (icon + tap is a clearer "call to book" cue at this size). */
  .nav-status {
    padding: 0.45rem;
    font-size: 0;
    letter-spacing: 0;
    line-height: 0;
    width: 32px;
    height: 32px;
    justify-content: center;
  }
  .nav-status::before { display: none; }
  .nav-status-text { display: none; }
  .nav-status-icon {
    display: inline-flex;
    width: 15px;
    height: 15px;
    color: var(--primary);
  }
  a.nav-status:hover .nav-status-icon { color: var(--foreground); }

  .nav-links { gap: 1rem; font-size: 0.75rem; }

  /* Live agent banner: keep verb + spinner only on mobile. The
     parenthesized meta is decorative and gets clipped on narrow phones. */
  .agent-status { font-size: 0.6875rem; gap: 0.5rem; }
  .agent-status .agent-meta { display: none; }

  main > section { padding: 3rem 0 2.5rem; }
  .section-head { grid-template-columns: 1fr; gap: 0.5rem; }
  .section-num { font-size: 2.5rem; }
  .section-lead { grid-column: 1; }

  .hero { padding: 1.5rem 0 3rem !important; }
  .hero h1 { max-width: 100%; }
  .hero-specs { gap: 1.25rem; }

  .install { padding: 1.5rem 1.25rem; }
  .scenario { padding: 1.5rem 1.25rem; }

  .pricing-card {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
  }
  .pricing-card-right {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 1.25rem 0 0;
    margin-top: 0.25rem;
  }
}

@media (max-width: 480px) {
  /* At very narrow widths, drop one nav link to keep breathing room.
     Writing is the most discretionary — keep work / about / contact. */
  .nav-links a[href*="writing"] { display: none; }
  .nav-links { gap: 0.85rem; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 2.1rem; }
  .nav-links { gap: 0.75rem; font-size: 0.7rem; }
}
