@font-face {
  font-family: 'PinkSunset';
  src: url('PinkSunset-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #090c0b;
  --bg-2:      #0e1210;
  --bg-3:      #131a17;
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.14);
  --text:      #f0f0ee;
  --text-2:    #8fa89e;
  --text-3:    #4d6660;
  --accent:    #00e0a0;
  --accent-2:  #33ebb8;
  --accent-glow: rgba(0,224,160,0.35);
  --green:     #00e0a0;
  --radius:    12px;
  --radius-lg: 20px;
  --font:      'Inter', system-ui, sans-serif;
  --mono:      'JetBrains Mono', 'Fira Code', monospace;
}

html { scroll-behavior: smooth; overflow-y: scroll; overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-lg { padding: 13px 28px; font-size: 0.95rem; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(0,224,160,0.3), 0 4px 20px rgba(0,224,160,0.25);
}
.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 0 0 1px rgba(0,224,160,0.5), 0 4px 28px rgba(0,224,160,0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

.btn-outline {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-2);
  width: 100%;
  justify-content: center;
}
.btn-outline:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 40px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-k {
  color: var(--accent);
}
.logo--footer { font-size: 1.4rem; }

.logo-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  text-decoration: none;
}
.logo-dot {
  color: #fff;
}
.logo-text--footer {
  color: #fff;
}
.logo-dot--footer {
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-active { color: var(--accent) !important; }

.logo-img--mark {
  height: 36px;
  width: 36px;
  border-radius: 8px;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  margin-right: 20px;
}
.nav-social a {
  color: var(--text-2);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.nav-social a:hover { color: var(--accent); }

.nav-cta {
  background: #000 !important;
  color: var(--accent) !important;
  border: 1.5px solid var(--accent) !important;
  box-shadow: none !important;
}
.nav-cta:hover {
  background: rgba(0,224,160,0.08) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0,200,150,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 100px;
}

.hero-badge {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-2);
  background: rgba(255,255,255,0.03);
  margin-bottom: 28px;
  font-family: var(--mono);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
  cursor: default;
}
.hero-badge:hover {
  color: var(--accent);
  border-color: rgba(0,224,160,0.4);
  background: rgba(0,224,160,0.06);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-typewriter-block {
  will-change: contents;
}
.hero-lower {
  transform: translateZ(0);
  will-change: transform;
  margin-top: 1rem;
}
.hero-headline {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 700px;
  height: 3.15em;
  overflow: hidden;
  position: relative;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 40px;
}

.br-desktop { display: block; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
@keyframes statFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stat-reveal {
  opacity: 0;
  animation: statFadeUp 0.7s ease forwards;
}
.stat-delay-1 { animation-delay: 0.8s; }
.stat-delay-2 { animation-delay: 1.4s; }
.stat-delay-3 { animation-delay: 2.0s; }
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--accent);
  font-family: var(--mono);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── Trust Bar / Marquee ── */
.trust {
  background: var(--bg-2);
  overflow: hidden;
  padding: 20px 0 0;
}
.trust-label {
  font-size: 0.75rem;
  color: var(--accent);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 14px;
}
.trust-carousel-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
}
.marquee-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.logo-slot {
  width: 160px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 40px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-logos {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-logo {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-3);
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.2s;
}
.trust-logo:hover {
  color: var(--text-2);
  border-color: var(--border-2);
}

/* ── Section Shared ── */
section { padding: 64px 0; }

/* ── Logo Grid ── */
.logo-grid-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.logo-grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 40px;
  border: 1px solid var(--border);
  min-height: 100px;
}
.logo-grid-item img {
  max-width: 140px;
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.45;
  filter: brightness(0) invert(1);
  transition: opacity 0.25s, filter 0.25s;
}
.logo-grid-item img.logo-sm {
  max-width: 100px;
  max-height: 26px;
}
.logo-grid-item:hover img {
  opacity: 1;
  filter: invert(56%) sepia(1) hue-rotate(124deg) saturate(550%) brightness(88%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--mono);
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-2);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Services ── */
.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: border-color 0.2s;
}
.service-card:hover { border-color: var(--border-2); }

.service-card--featured {
  border-color: rgba(0,224,160,0.35);
  background: linear-gradient(135deg, rgba(0,224,160,0.06), var(--bg-2) 60%);
}
.service-card--featured:hover { border-color: rgba(0,224,160,0.6); }
.service-card .btn { width: 100%; justify-content: center; }

.service-card-tag {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--mono);
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,224,160,0.12);
  border: 1px solid rgba(0,224,160,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.service-sub {
  font-size: 0.78rem;
  font-family: var(--mono);
  color: var(--accent-2);
  margin-top: -10px;
}
.service-card > p:not(.service-sub) {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.service-list li {
  font-size: 0.85rem;
  color: var(--text-2);
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* ── AI Agents ── */
.agents { background: var(--bg-2); }

.agents-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.agents-text .section-tag { display: block; margin-bottom: 12px; }

.agents-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.agents-text p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.agents-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.agent-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.agent-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: rgba(0,200,150,0.1);
  border: 1px solid rgba(0,200,150,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.agent-feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.agent-feature p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .agents-inner { grid-template-columns: 1fr; gap: 40px; }
  .nav-links, .nav-cta, .nav-social { display: none; }
  .nav-hamburger { display: flex; }
  .agents { display: none; }
}

/* ── Roles ── */
.roles { background: var(--bg-2); }

.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.role-category {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
}
.role-cat-title {
  font-size: 0.72rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.role-tags {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.role-tag {
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  background: none;
  border-radius: 0;
  border-top: none;
  border-left: none;
  border-right: none;
  transition: color 0.2s;
  cursor: default;
}
.role-tag:last-child {
  border-bottom: none;
}
.role-tag:hover {
  color: var(--accent);
}

/* ── Reviews ── */
.reviews { background: var(--bg); padding-top: 48px; padding-bottom: 48px; }
.reviews .section-header { margin-bottom: 32px; }

.tp-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.tp-stars { display: flex; gap: 2px; }
.tp-star { color: #00b67a; font-size: 1.2rem; }
.tp-star--half { position: relative; color: #ddd; }
.tp-star--half::before { content: '★'; position: absolute; left: 0; color: #00b67a; width: 50%; overflow: hidden; }
.tp-rating { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.tp-sep { color: var(--text-3); }
.tp-link {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,200,150,0.3);
  transition: border-color 0.2s;
}
.tp-link:hover { border-color: var(--accent); }

.reviews-marquee-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.reviews-marquee-inner {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 70s linear infinite;
}

.review-card {
  width: 340px;
  flex-shrink: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s;
}
.review-card:hover { border-color: var(--border-2); }

.review-stars { color: #00b67a; font-size: 1.1rem; letter-spacing: 2px; }

.review-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #00e6b0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bg);
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: 0.85rem; }
.review-author span { font-size: 0.75rem; color: var(--text-3); }

/* ── How It Works ── */
.how { background: var(--bg); }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(0,200,150,0.4);
  background: rgba(0,200,150,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-num span {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-2);
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.step-content p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
}

.step-connector {
  flex-shrink: 0;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,200,150,0.4), rgba(0,200,150,0.1));
  margin-top: 26px;
}

/* ── Proof ── */
.proof { background: var(--bg-2); }

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.testimonial {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-rating { display: flex; gap: 4px; }
.star { color: #f59e0b; font-size: 1rem; }

blockquote {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #00e6b0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
.author-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 2px solid rgba(0,200,150,0.3);
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-3);
}

.proof-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric-num {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.metric-unit {
  font-size: 1.2rem;
  color: var(--accent-2);
}
.metric-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 8px;
}
.metric-sub {
  font-size: 0.78rem;
  color: var(--text-3);
}

.poolside-callout {
  background: linear-gradient(135deg, rgba(0,200,150,0.08), rgba(34,211,160,0.05));
  border: 1px solid rgba(0,200,150,0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}
.poolside-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-family: var(--mono);
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.poolside-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s infinite;
}
.poolside-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.poolside-content p {
  font-size: 0.9rem;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.7;
}
.poolside-logo {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
}

/* ── CTA Section ── */
.cta-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,200,150,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.cta-section > .cta-inner > p {
  color: var(--text-2);
  margin-bottom: 40px;
  font-size: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group--full { grid-column: 1 / -1; }

label {
  font-size: 0.8rem;
  color: var(--text-2);
  font-weight: 500;
}
input, select, textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:focus, select:focus, textarea:focus {
  border-color: rgba(0,200,150,0.5);
  box-shadow: 0 0 0 3px rgba(0,200,150,0.1);
}
select option { background: var(--bg-2); }
textarea { resize: vertical; min-height: 90px; }

.btn-submit { margin-top: 8px; align-self: flex-start; }

/* ── Footer ── */
.client-ticker {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
}
.client-ticker-inner {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  animation: tickerScroll 35s linear infinite;
  will-change: transform;
}
.client-ticker:hover .client-ticker-inner {
  animation-play-state: running;
}
.client-ticker-inner img {
  height: 24px;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.45;
  flex-shrink: 0;
}
.client-ticker-inner img.ticker-logo-svg {
  filter: invert(1);
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.footer {
  background: var(--accent);
  border-top: none;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(0,0,0,0.6);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 260px;
  transition: color 0.25s;
  cursor: default;
}
.footer-brand p:hover {
  color: #fff;
}
.footer-brand .footer-address-inline {
  font-size: 0.78rem;
  color: rgba(0,0,0,0.5);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 260px;
}
.footer-col .footer-address-inline {
  font-size: 0.875rem;
  color: rgba(0,0,0,0.6);
  line-height: 1.7;
}
.footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-col h5 {
  font-size: 0.78rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.5);
  margin-bottom: 12px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col-toggle { cursor: default; }
.footer-col-chevron { display: none; }
.footer-col a {
  font-size: 0.875rem;
  color: #fff;
  transition: color 0.2s;
}
.footer-col a:hover { color: rgba(0,0,0,0.7); }

.footer-bottom {
  background: var(--accent);
  border-top: 1px solid rgba(0,0,0,0.1);
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom span {
  font-size: 0.78rem;
  color: #fff;
}
.footer-bottom a {
  font-size: 0.78rem;
  color: #fff;
  opacity: 0.85;
  text-decoration: underline;
}
.footer-bottom a:hover {
  opacity: 1;
}

/* ── Role accordion chevron ── */
.role-cat-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.role-chevron {
  display: none;
  color: var(--accent);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.role-category.open .role-chevron {
  transform: rotate(180deg);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: flex-start; gap: 32px; }
  .step { flex-direction: row; text-align: left; }
  .step-connector { display: none; }
  .poolside-callout { flex-direction: column; align-items: flex-start; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-grid-item { padding: 28px 24px; }
  .agents-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 680px) {
  .nav-links, .nav-cta { display: none; }
  .nav-social { display: none; }
  .nav-hamburger { display: flex; }

  section { padding: 48px 0; }

  .hero-inner { padding-top: 32px; padding-bottom: 12px; }
  .trust { padding-top: 12px; }
  .hero-headline { font-size: 3.4rem; height: 3.4em; }
  .hero-sub { font-size: 1rem; margin-bottom: 28px; }
  .hero-actions { margin-bottom: 40px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .stat-divider { display: none; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
  }
  .hero-stats .stat {
    padding: 16px 12px;
    text-align: center;
    border-right: 1px solid var(--border);
  }
  .hero-stats .stat:last-child { border-right: none; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 0.68rem; }
  .br-desktop { display: none; }

  .logo-grid-section { text-align: center; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); margin: 0 auto; }
  .logo-grid-item { padding: 24px 16px; }
  .logo-grid-item img { max-width: 100px; max-height: 28px; }
  .logo-grid-item img.logo-sm { max-width: 72px; max-height: 20px; }

  .review-card { min-width: 280px; max-width: 300px; }

  .proof-metrics { grid-template-columns: 1fr 1fr; }
  .poolside-callout { padding: 24px; }
  .poolside-logo { padding: 16px 24px; }
  .poolside-logo-img { height: 22px; max-width: 90px; }

  .form-row { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .role-chevron { display: block; }
  .role-cat-toggle { cursor: pointer; }
  .role-tags { overflow: hidden; max-height: 0; transition: max-height 0.3s ease; }
  .role-category.open .role-tags { max-height: 600px; }
  .agents { display: none; }

  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-brand p, .footer-brand .footer-address-inline { max-width: 100%; }
  .footer-links { flex-direction: column; gap: 0; }
  .footer-col { border-top: 1px solid rgba(0,0,0,0.12); padding: 12px 0; }
  .footer-col h5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    cursor: pointer;
  }
  .footer-col-chevron {
    display: block;
    color: rgba(0,0,0,0.4);
    transition: transform 0.25s;
  }
  .footer-col.open .footer-col-chevron { transform: rotate(180deg); }
  .footer-col ul {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, margin-top 0.2s;
    margin-top: 0;
  }
  .footer-col.open ul { max-height: 300px; margin-top: 12px; }
  .footer-col .footer-address-inline { display: none; }
  .footer-col.open .footer-address-inline { display: block; margin-top: 10px; }
}

@media (max-width: 420px) {
  .hero-headline { font-size: 3.4rem; height: 3.4em; }
  .hero-badge { font-size: 0.72rem; padding: 5px 10px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid-item { padding: 20px 12px; }
  .proof-metrics { grid-template-columns: 1fr; }
  .stat-num { font-size: 1.6rem; }
  .section-header h2 { font-size: 1.6rem; }
  .cta-inner h2 { font-size: 1.6rem; }
  .btn-lg { padding: 11px 20px; font-size: 0.9rem; }
  .review-card { min-width: 260px; }
}

/* ── Logo images ── */
.logo-img {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-img--footer {
  height: 36px;
  filter: brightness(0);
}

/* ── Hero image ── */
.hero-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0.18;
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(9,12,11,0.3) 0%, rgba(9,12,11,0.6) 60%, var(--bg) 100%);
}

/* ── Trust logo images ── */
.trust-logos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.trust-logo-img:hover { opacity: 0.85; }

/* ── Poolside logo in callout ── */
.poolside-logo-img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

/* Testimonial author company logo */
.author-company {
  margin-top: 5px;
}
.author-company-logo {
  height: 18px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  opacity: 0.9;
}

/* ── Scroll animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ── Typewriter ── */
.typewriter-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--text);
}
.typewriter-text::after {
  content: '|';
  color: var(--text);
  animation: blink 0.75s step-end infinite;
  margin-left: 1px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
