:root {
  --paw-red: #c00000;
  --paw-red-bright: #e10600;
  --paw-red-dim: rgba(192, 0, 0, 0.15);
  --paw-red-glow: rgba(192, 0, 0, 0.35);
  --bg-base: #050505;
  --bg-elevated: #0f0f12;
  --bg-card: #141418;
  --bg-card-hover: #1a1a21;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --radius: 14px;
  --radius-sm: 10px;
  --nav-h: 72px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --pixel-opacity: 0.06;
  --surface-alt: #0f0f12;
  --cookie-bg: #1a1f26;
  --cookie-title: #ffffff;
  --cookie-text: rgba(255, 255, 255, 0.78);
  --cookie-border: rgba(255, 255, 255, 0.08);
  --cookie-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

[data-theme='light'] {
  color-scheme: light;
  --bg-base: #ffffff;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border: rgba(15, 20, 25, 0.08);
  --border-strong: rgba(15, 20, 25, 0.14);
  --text: #0f1419;
  --text-muted: #64748b;
  --text-dim: #3d4f5f;
  --shadow: 0 24px 60px rgba(15, 20, 25, 0.12);
  --paw-red-dim: rgba(204, 0, 0, 0.08);
  --paw-red-glow: rgba(204, 0, 0, 0.18);
  --pixel-opacity: 0.04;
  --surface-alt: #f1f5f9;
  --cookie-bg: #ffffff;
  --cookie-title: #0f1419;
  --cookie-text: #3d4f5f;
  --cookie-border: rgba(15, 20, 25, 0.1);
  --cookie-shadow: 0 -8px 40px rgba(15, 20, 25, 0.12), 0 16px 48px rgba(15, 20, 25, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ── Nav ── */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
  border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled {
  background: color-mix(in srgb, var(--bg-base) 82%, transparent);
  backdrop-filter: blur(16px);
  border-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.nav-rpa {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-rpa-logo {
  height: 26px;
  width: auto;
}

.nav-brand-divider {
  width: 1px;
  height: 22px;
  background: var(--border-strong);
  flex-shrink: 0;
}

.nav-product-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.nav-product-link img[data-asset] {
  height: 28px;
  width: auto;
}

.nav-product {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

.nav-links a.is-active {
  color: var(--paw-red-bright);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 36px;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lang-toggle:hover {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--bg-card-hover);
}

.lang-toggle__label {
  line-height: 1;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.icon-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.nav-home {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.nav-home:hover {
  color: var(--paw-red-bright);
  background: var(--paw-red-dim);
}

.theme-switcher {
  position: relative;
  display: inline-flex;
}

.theme-switcher__trigger {
  position: relative;
}

.theme-switcher__icon {
  display: none;
}

html[data-theme-preference='light'] .theme-switcher__icon[data-pref-icon='light'],
html[data-theme-preference='system'] .theme-switcher__icon[data-pref-icon='system'],
html[data-theme-preference='dark'] .theme-switcher__icon[data-pref-icon='dark'] {
  display: block;
}

.theme-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  min-width: 160px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.theme-switcher__menu[hidden] {
  display: none !important;
}

.theme-switcher__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.theme-switcher__option svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.theme-switcher__option:hover,
.theme-switcher__option:focus {
  background: var(--bg-card-hover);
  color: var(--text);
  outline: none;
}

.theme-switcher__option.is-active {
  color: var(--paw-red-bright);
  background: var(--paw-red-dim);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--paw-red);
  color: #fff;
  box-shadow: 0 8px 28px var(--paw-red-glow);
}

.btn-primary:hover {
  background: var(--paw-red-bright);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--bg-card);
}

.nav-cta {
  display: none;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  padding: calc(var(--nav-h) + 1.5rem) 0 4.5rem;
  overflow: hidden;
  box-sizing: border-box;
  scroll-margin-top: 0;
}

.hero > .container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: none;
}

[data-theme='dark'] .hero-gradient {
  background: none;
}

.hero-pixels {
  position: absolute;
  inset: 0;
  opacity: var(--pixel-opacity);
  background-image:
    linear-gradient(var(--paw-red) 1px, transparent 1px),
    linear-gradient(90deg, var(--paw-red) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 20%, black, transparent);
}

[data-theme='dark'] .hero-pixels {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: start;
  width: 100%;
}

.hero-copy {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.85rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--paw-red);
  box-shadow: 0 0 10px var(--paw-red);
}

.hero-logo-wrap {
  margin-bottom: 0;
}

.hero-logo-wrap img {
  height: clamp(40px, 6vw, 56px);
  width: auto;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 700;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--text-dim);
  margin: 0;
  max-width: 52ch;
}

.hero-note {
  margin: 0;
  max-width: 52ch;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  padding-left: 0.85rem;
  border-left: 2px solid var(--paw-red);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-self: flex-start;
  gap: 0.75rem;
  justify-content: flex-start;
  margin-top: 0;
}

.hero-cta-group {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  box-shadow: none;
}

[data-theme='dark'] .hero-cta-group {
  box-shadow: none;
}

.hero-cta-group__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.8rem 1.25rem;
  border: 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, filter 0.2s;
}

.hero-cta-group__icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.hero-cta-group__btn--primary {
  background: var(--paw-red);
  color: #fff;
}

.hero-cta-group__btn--primary:hover {
  background: var(--paw-red-bright);
}

.hero-cta-group__btn--secondary {
  background: transparent;
  color: var(--text);
}

.hero-cta-group__btn--secondary:hover {
  background: var(--bg-elevated);
  color: var(--paw-red-bright);
}

.hero-cta-group__btn + .hero-cta-group__btn {
  border-left: 1px solid var(--border-strong);
}

.hero-cta-group__btn:active {
  filter: brightness(0.96);
}

@media (max-width: 480px) {
  .hero-cta-group {
    width: 100%;
    flex-direction: column;
    border-radius: 14px;
  }

  .hero-cta-group__btn {
    width: 100%;
    padding: 0.85rem 1rem;
  }

  .hero-cta-group__btn + .hero-cta-group__btn {
    border-left: none;
    border-top: 1px solid var(--border-strong);
  }
}

.hero-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  display: flex;
  align-self: stretch;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  animation: hero-scroll-bounce 2s ease infinite;
  z-index: 2;
}

.hero-scroll-hint:hover {
  color: var(--text-muted);
}

.hero-scroll-hint .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
}

@keyframes hero-scroll-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

.rpa-support {
  text-align: center;
}

.rpa-support-label {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.rpa-support-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.rpa-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  font-size: 0.9rem;
  font-weight: 600;
}

.rpa-chip--logo {
  box-sizing: border-box;
  width: 180px;
  height: 56px;
  min-width: 180px;
  min-height: 56px;
  padding: 0.55rem 0.9rem;
  background: #0a0a0a;
  border-color: rgba(255, 255, 255, 0.12);
}

.rpa-chip--logo img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 100%;
  max-height: 32px;
  object-fit: contain;
}

.rpa-chip--logo .rpa-logo-light {
  display: none;
}

.rpa-chip--logo[title='PAW Robot'] {
  background: var(--bg-card);
  border-color: var(--border-strong);
}

.rpa-chip--logo[title='PAW Robot'] img {
  height: 26px;
  max-height: 28px;
}

.rpa-chip--logo[title='Blue Prism'] img {
  height: 40px;
  max-height: 44px;
  max-width: 100%;
}

[data-theme='light'] .rpa-chip--logo {
  background: #ffffff;
  border-color: rgba(15, 20, 25, 0.12);
}

[data-theme='light'] .rpa-chip--logo .rpa-logo-dark {
  display: none;
}

[data-theme='light'] .rpa-chip--logo .rpa-logo-light {
  display: block;
}

[data-theme='light'] .rpa-chip--logo[title='PAW Robot'] .rpa-logo-dark,
[data-theme='light'] .rpa-chip--logo[title='PAW Robot'] img {
  display: block;
}

[data-theme='light'] .rpa-chip--logo[title='PAW Robot'] .rpa-logo-light {
  display: none;
}

/* ── Stats ── */
.hero-copy .stats {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 0;
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 100%;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-value {
  display: block;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 700;
  color: var(--paw-red);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ── Sections / one-page panels ── */
section[data-scroll-index] {
  scroll-margin-top: var(--nav-h);
  box-sizing: border-box;
}

.section {
  padding: 4rem 0;
}

.section.panel {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel-contact {
  background: var(--bg-base);
  justify-content: flex-start;
  padding-top: 3.5rem;
  padding-bottom: 0;
}

.panel-contact .contact-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding-bottom: 2rem;
}

.panel-contact .cta-box {
  margin-bottom: 1.25rem;
}

.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  background: linear-gradient(135deg, var(--paw-red) 0%, #7a0000 100%);
  color: #fff;
  text-align: center;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.cta-box h2 {
  position: relative;
  margin: 0 0 0.55rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: -0.02em;
}

.cta-box p {
  position: relative;
  margin: 0 auto 1rem;
  max-width: 52ch;
  opacity: 0.92;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cta-box a.brand-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-box a.brand-link:hover {
  opacity: 0.9;
}

.cta-box .btn {
  position: relative;
  background: #fff;
  color: var(--paw-red);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
}

.cta-box .btn:hover {
  background: #f4f4f5;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  border-color: color-mix(in srgb, var(--paw-red) 40%, var(--border));
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.65rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paw-red);
  color: #fff;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.contact-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.contact-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-card a {
  color: var(--paw-red);
  font-weight: 600;
}

.contact-card a:hover {
  text-decoration: underline;
}

.section-alt {
  background: var(--surface-alt);
  border-block: 1px solid var(--border);
}

.section-header {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paw-red);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-card,
.platform-card,
.enterprise-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover,
.platform-card:hover,
.enterprise-card:hover {
  border-color: color-mix(in srgb, var(--paw-red) 40%, var(--border));
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

/* Light: raised cards like hero stats */
[data-theme='light'] .stat-card,
[data-theme='light'] .feature-card,
[data-theme='light'] .platform-card,
[data-theme='light'] .enterprise-card,
[data-theme='light'] .step,
[data-theme='light'] .contact-card,
[data-theme='light'] .hero-card,
[data-theme='light'] .raas-diff__card {
  background: #ffffff;
  border-color: rgba(15, 20, 25, 0.12);
  box-shadow:
    0 1px 2px rgba(15, 20, 25, 0.04),
    0 10px 28px rgba(15, 20, 25, 0.08);
}

[data-theme='dark'] .stat-card,
[data-theme='dark'] .feature-card,
[data-theme='dark'] .platform-card,
[data-theme='dark'] .enterprise-card,
[data-theme='dark'] .step,
[data-theme='dark'] .contact-card,
[data-theme='dark'] .hero-card,
[data-theme='dark'] .raas-diff__card {
  background: #1a1a21;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 12px 32px rgba(0, 0, 0, 0.45);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--paw-red-dim);
  color: var(--paw-red);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.card-icon--logo {
  background: transparent;
  padding: 0;
  overflow: visible;
}

.card-icon--logo img {
  width: auto;
  height: 32px;
  max-width: 52px;
  object-fit: contain;
}

.platform-card .card-icon--logo img[src*='windows'] {
  height: 26px;
  max-width: 26px;
}

.platform-card .card-icon--logo img[src*='browser-tabs'],
.platform-card .card-icon--logo img[src*='code-brackets'],
.platform-card .card-icon--logo img[src*='data-db'],
.platform-card .card-icon--logo img[src*='java'] {
  height: 28px;
  max-width: 28px;
}

.platform-card .card-icon--logo img[src*='sap'] {
  height: 18px;
  max-width: 46px;
  width: auto;
  border-radius: 2px;
  /* Official logo has a bottom-right black wedge; nudge down for optical middle align */
  transform: translateY(1.5px);
}

.feature-card h3,
.platform-card h3,
.enterprise-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.platform-card h3 {
  margin: 0;
  min-width: 0;
  line-height: 1;
}

.feature-card p,
.platform-card p,
.enterprise-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.platform-card-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
  width: 100%;
}

.platform-card .card-icon,
.platform-card .card-icon--logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  width: auto;
  height: auto;
  min-height: 0;
  line-height: 0;
  background: transparent;
  place-items: unset;
}

.platform-card-head > h3 {
  display: block;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
  line-height: 1;
  text-align: left;
}

.platform-card p,
.platform-card .platform-tag {
  margin-left: 0;
  padding-left: 0;
  text-align: left;
}

.platform-card .card-icon--logo img {
  display: block;
  margin: 0;
  height: 28px;
  max-width: 40px;
  object-fit: contain;
  object-position: left center;
}

.platform-tag {
  display: inline-block;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--paw-red);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Workflow steps ── */
.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paw-red);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ── Contact panel ── */

/* ── Callback modal ── */
.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  margin-top: auto;
  margin-bottom: auto;
  flex-shrink: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem 1.5rem;
  overflow: visible;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
}

.modal-close:hover {
  color: var(--text);
}

.modal-dialog h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.modal-lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.field-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.prefer-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.28rem;
}

.prefer-option {
  margin: 0;
  cursor: pointer;
}

.prefer-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.prefer-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  min-height: 2.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-muted);
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  line-height: 1;
}

.prefer-icon {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.prefer-icon-email {
  transform: translateY(1px);
}

.prefer-icon-phone {
  transform: translateY(2px);
}

.prefer-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.prefer-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: inherit;
  line-height: 1.1rem;
  display: inline-flex;
  align-items: center;
}

.prefer-option input:checked + .prefer-card {
  border-color: var(--paw-red);
  background: var(--paw-red-dim);
  color: var(--text);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--paw-red) 45%, transparent);
}

.prefer-option:hover .prefer-card {
  border-color: var(--border-strong);
  color: var(--text);
}

.form-field.is-invalid input,
.form-field.is-invalid textarea,
.form-field.is-invalid .phone-country-btn,
.form-field.is-invalid .phone-row > input {
  border-color: #ef4444;
}

.form-field input,
.form-field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--paw-red);
}

.phone-row {
  display: grid;
  grid-template-columns: 7.25rem 1fr;
  gap: 0.5rem;
  align-items: stretch;
}

.phone-country-wrap {
  position: relative;
  min-width: 0;
}

.phone-country-btn {
  width: 100%;
  height: 100%;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  background-color: var(--bg-card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
  background-size: 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 1.55rem 0 0.35rem;
  cursor: pointer;
  outline: none;
}

.phone-country-btn:focus,
.phone-country-wrap.is-open .phone-country-btn {
  border-color: var(--paw-red);
}

.phone-country-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 30;
  width: min(18rem, calc(100vw - 3rem));
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-country-panel[hidden] {
  display: none !important;
}

.phone-country-filter {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--bg-card);
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 0.7rem 0.75rem;
  outline: none;
  min-height: auto !important;
}

.phone-country-filter:focus {
  border-color: var(--border);
  box-shadow: inset 0 -1px 0 var(--paw-red);
}

.phone-country-list {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  max-height: 220px;
  overflow-y: auto;
}

.phone-country-list li {
  margin: 0;
}

.phone-country-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  text-align: left;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
}

.phone-country-option:hover,
.phone-country-option.is-active {
  background: var(--paw-red-dim);
}

.phone-country-option.is-selected {
  color: var(--paw-red-bright);
  font-weight: 600;
}

.phone-country-option .dial {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.phone-country-empty {
  padding: 0.85rem 0.75rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.phone-row > input[type='tel'] {
  min-width: 0;
  min-height: 2.75rem;
}

.form-field textarea {
  resize: vertical;
  min-height: 72px;
}

.form-submit {
  width: 100%;
  margin-top: 0.35rem;
}

.form-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-status {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
}

.form-status.is-success {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
}

.form-status.is-error {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
}

[data-theme='light'] .form-status.is-success {
  color: #15803d;
}

[data-theme='light'] .form-status.is-error {
  color: #b91c1c;
}

/* ── Footer (aligned with rpa.work) ── */
.site-footer {
  position: relative;
  padding: 0;
  border-top: 1px solid var(--border);
}

.site-footer--in-contact {
  margin-top: auto;
  width: 100%;
  background: #ffffff;
  flex-shrink: 0;
  border-top: 1px solid var(--border);
}

[data-theme='dark'] .site-footer--in-contact {
  background: var(--bg-base);
  background-image: linear-gradient(180deg, rgba(192, 0, 0, 0.06) 0%, transparent 42%);
}

.site-footer__accent {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(320px, 60%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--paw-red), transparent);
  opacity: 0.85;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.site-footer__meta {
  text-align: center;
}

.site-footer__tagline {
  margin: 0 0 0.55rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}

.site-footer__tagline strong {
  color: var(--text);
  font-weight: 600;
}

.site-footer__copy {
  margin: 0 0 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
}

.site-footer__brand-name {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.site-footer__brand-name:hover {
  color: var(--paw-red);
}

.site-footer__dot {
  margin: 0 0.35em;
  color: var(--text-dim);
  opacity: 0.55;
}

.site-footer__rights {
  color: var(--text-muted);
  font-weight: 400;
}

.site-footer__legal {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

@media (max-height: 820px) {
  .site-footer__inner {
    padding: 14px 0;
  }
}

/* ── Responsive ── */
@media (min-width: 640px) {
  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .nav-product {
    display: none;
  }

  .nav-rpa-logo {
    height: 22px;
  }

  .hero,
  .section.panel {
    min-height: 0;
    height: auto;
  }

  .hero {
    padding: calc(var(--nav-h) + 2rem) 0 2rem;
  }

  .section.panel {
    padding: 3.5rem 0;
  }

  .hero-scroll-hint {
    display: none;
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 0.92fr 1.18fr;
    align-items: start;
  }

  .hero-copy {
    gap: 0.5rem;
  }

  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .step {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .step-num {
    margin-inline: auto;
  }
}

@media (min-width: 960px) {
  .card-grid.cols-2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* ── Cookie consent ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  padding: 16px;
  pointer-events: none;
}

.cookie-consent[hidden],
.cookie-settings[hidden] {
  display: none !important;
}

.cookie-consent__panel {
  pointer-events: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--cookie-border);
  background: var(--cookie-bg);
  color: var(--cookie-text);
  box-shadow: var(--cookie-shadow);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.cookie-consent__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.cookie-consent__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--cookie-title);
  letter-spacing: -0.01em;
}

.cookie-consent__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--cookie-text);
}

.cookie-consent__text-btn,
.cookie-consent__link,
.site-footer__link-btn {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--paw-red-bright);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cookie-consent__text-btn:hover,
.cookie-consent__link:hover,
.site-footer__link-btn:hover {
  color: var(--paw-red);
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.cookie-consent__settings-btn {
  border: 0;
  background: none;
  color: var(--paw-red-bright);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  padding: 0;
}

.cookie-consent__settings-btn:hover {
  color: var(--paw-red);
}

.cookie-consent__accept-btn {
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--paw-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 22px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s, transform 0.25s;
}

.cookie-consent__accept-btn:hover {
  background: var(--paw-red-bright);
}

.cookie-settings .cookie-consent__accept-btn {
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 600;
}

.cookie-settings {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-settings__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.65);
}

.cookie-settings__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cookie-settings__header,
.cookie-settings__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.cookie-settings__footer {
  border-bottom: 0;
  border-top: 1px solid var(--border);
  justify-content: flex-end;
}

.cookie-settings__title {
  margin: 0;
  font-size: 1.125rem;
  color: var(--text);
}

.cookie-settings__close {
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.cookie-settings__body {
  padding: 18px 22px;
}

.cookie-settings__intro {
  margin: 0 0 18px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cookie-settings__item {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.cookie-settings__item:last-child {
  padding-bottom: 0;
}

.cookie-settings__item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cookie-settings__item-title {
  margin: 0 0 6px;
  font-size: 0.9375rem;
  color: var(--text);
}

.cookie-settings__item-desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.cookie-settings__badge {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--paw-red-bright);
  background: var(--paw-red-dim);
  border-radius: 9999px;
  padding: 6px 10px;
  white-space: nowrap;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-switch__slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #94a3b8;
  border-radius: 9999px;
  transition: background 0.25s;
}

.cookie-switch__slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s;
}

.cookie-switch input:checked + .cookie-switch__slider {
  background: var(--paw-red);
}

.cookie-switch input:checked + .cookie-switch__slider::before {
  transform: translateX(20px);
}

.site-footer__links {
  margin: 10px 0 0;
  font-size: 0.8125rem;
}

.site-footer__links a,
.site-footer__link-btn {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.site-footer__links a:hover,
.site-footer__link-btn:hover {
  color: var(--paw-red-bright);
}

/* Legal / cookie policy page */
.legal-page {
  min-height: 100vh;
  padding-top: var(--nav-h);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(192, 0, 0, 0.1), transparent 60%),
    var(--bg-base);
}

.site-nav--static {
  background: color-mix(in srgb, var(--bg-base) 92%, transparent);
  backdrop-filter: blur(16px);
  border-color: var(--border);
}

.legal-page__main {
  padding: 56px 0 72px;
}

.legal-page__content {
  max-width: 760px;
}

.legal-page__eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paw-red-bright);
}

.legal-page__title {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--text);
}

.legal-page__updated {
  margin: 0 0 36px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-page__section {
  margin-bottom: 28px;
}

.legal-page__section h2 {
  margin: 0 0 10px;
  font-size: 1.125rem;
  color: var(--text);
}

.legal-page__section p,
.legal-page__section li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.legal-page__section ul {
  margin: 10px 0 0;
  padding-left: 1.2rem;
}

.legal-page__section li + li {
  margin-top: 8px;
}

.legal-page__cta {
  margin-top: 20px;
}

.legal-page__footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 32px;
  text-align: center;
}

.legal-page__footer p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.legal-page__footer-legal {
  margin-top: 4px !important;
  font-size: 0.6875rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .cookie-consent {
    padding: 12px;
  }

  .cookie-consent__panel {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 16px;
  }

  .cookie-consent__actions {
    justify-content: space-between;
  }

  .cookie-consent__accept-btn {
    flex: 1;
    text-align: center;
  }

  .cookie-settings__item-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Single-column hero: same 1120px container as other sections (nav, how, pricing). */
.panel-hero .hero-copy {
  max-width: none;
  width: 100%;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .panel-hero .hero-copy {
    /* PAW tightens to 0.5rem in a 2-col hero; keep air in this single column. */
    gap: 0.85rem;
  }
}

.panel-hero .hero-actions {
  margin-top: 0.35rem;
}

.panel-hero .hero-stats {
  margin-top: 0.85rem;
}

.hero-stats .stats-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .hero-stats .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* These containers set an explicit display, which would otherwise beat [hidden]. */
.pricing-layout[hidden],
.pricing-summary__line[hidden],
.catalog-filters[hidden],
.service-detail[hidden] {
  display: none;
}

/* ── How it works ── */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step-grid .step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.step-grid .step:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.step-grid .step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--paw-red-dim);
  color: var(--paw-red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.9rem;
}

.step-grid .step h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.step-grid .step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.raas-diff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 0 0 1.5rem;
}

.raas-diff__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}

.raas-diff__card--ours {
  border-color: color-mix(in srgb, var(--paw-red) 55%, var(--border));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--paw-red) 22%, transparent);
}

.raas-diff__kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.55rem;
}

.raas-diff__card--ours .raas-diff__kicker {
  color: var(--paw-red);
}

.raas-diff__card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.raas-diff-cards {
  margin: 0 0 2.35rem;
}

.raas-diff-cards .card-icon svg {
  display: block;
}

.how-steps-heading {
  margin: 0 0 1.25rem;
}

.how-steps-heading h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.how-steps-heading .section-lead {
  font-size: 1rem;
}

/* ── Catalog toolbar ── */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.catalog-search {
  position: relative;
  flex: 1 1 260px;
  min-width: 0;
}

.catalog-search input {
  width: 100%;
  padding: 0.7rem 0.9rem 0.7rem 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.catalog-search input:focus {
  border-color: var(--paw-red);
  box-shadow: 0 0 0 3px var(--paw-red-dim);
}

.catalog-search svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--text-dim);
  pointer-events: none;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.catalog-chip {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.catalog-chip:hover {
  color: var(--text);
  border-color: var(--paw-red);
}

.catalog-chip.is-active {
  background: var(--paw-red);
  border-color: var(--paw-red);
  color: #fff;
}

.catalog-count {
  font-size: 0.85rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.catalog-toolbar-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
  flex-shrink: 0;
}

.catalog-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem;
  border-radius: 0.55rem;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
}

.catalog-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 0.4rem;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.catalog-view-btn svg {
  width: 1rem;
  height: 1rem;
}

.catalog-view-btn:hover {
  color: var(--text);
  background: var(--bg-card-hover);
}

.catalog-view-btn.is-active {
  color: #fff;
  background: var(--paw-red);
}

.catalog-view-btn:focus-visible {
  outline: 2px solid var(--paw-red);
  outline-offset: 2px;
}

/* ── Service cards ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.service-grid--list {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.service-grid--list .service-card:hover {
  transform: none;
}

.service-grid--list .service-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "head head"
    "summary price"
    "tags actions";
  column-gap: 1.25rem;
  row-gap: 0.35rem;
  align-items: center;
}

.service-grid--list .service-card-head {
  grid-area: head;
  margin-bottom: 0;
  align-items: center;
}

.service-grid--list .service-summary {
  grid-area: summary;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-grid--list .service-tags {
  grid-area: tags;
  margin-bottom: 0;
}

.service-grid--list .service-price {
  grid-area: price;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  align-self: center;
  justify-content: flex-end;
  text-align: right;
  white-space: nowrap;
}

.service-grid--list .service-price__amount {
  font-size: 1rem;
}

.service-grid--list .service-card-actions {
  grid-area: actions;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0;
  min-width: 0;
  align-self: center;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.service-card.is-selected {
  border-color: var(--paw-red);
  box-shadow: 0 0 0 1px var(--paw-red);
}

.service-card-main {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  flex: 0 0 auto;
}

.service-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.service-card-head .service-detail-btn {
  flex-shrink: 0;
  margin-left: auto;
  padding: 0.15rem 0;
  white-space: nowrap;
}

.service-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}

.service-summary {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card-hover);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.service-tag svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.service-price {
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.service-price__amount {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--paw-red);
  letter-spacing: -0.02em;
}

.service-price__unit {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.service-price--quote .service-price__amount {
  font-size: 1rem;
  color: var(--text);
}

.service-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-shrink: 0;
  justify-content: flex-end;
}

.service-detail-btn {
  padding: 0.45rem 0.2rem;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}

.service-detail-btn:hover {
  color: var(--paw-red);
}

.service-detail-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.service-detail-btn[aria-expanded='true'] svg {
  transform: rotate(180deg);
}

.service-select {
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Checkbox rendered as a pill toggle so the selection reads as an action. */
.select-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.select-toggle:hover {
  border-color: var(--paw-red);
  color: var(--text);
}

.select-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.select-toggle__box {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1.5px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.select-toggle__box svg {
  width: 11px;
  height: 11px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s, transform 0.15s;
}

.select-toggle input:checked + .select-toggle__box svg {
  opacity: 1;
  transform: scale(1);
}

.select-toggle:has(input:checked) {
  background: var(--paw-red);
  border-color: var(--paw-red);
  color: #fff;
}

.select-toggle input:focus-visible + .select-toggle__box {
  outline: 2px solid var(--paw-red);
  outline-offset: 2px;
}

.service-detail {
  margin-top: 0;
  margin-left: 1.4rem;
  margin-right: 1.4rem;
  margin-bottom: 1.4rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-strong);
  display: grid;
  gap: 0.9rem;
}

.service-detail[hidden] {
  display: none;
}

.service-detail p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.detail-block dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paw-red);
  margin-bottom: 0.35rem;
}

.detail-block dd {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.detail-block ul {
  margin: 0;
  padding-left: 1.1rem;
}

.detail-block li {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

.detail-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.catalog-empty {
  padding: 2.5rem 0;
  text-align: center;
  color: var(--text-dim);
}

.catalog-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

/* Compact catalog so the grid fits a typical viewport better. */
#services.section.panel {
  justify-content: flex-start;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

#services .section-header {
  margin-bottom: 1.1rem;
}

#services .section-label {
  margin-bottom: 0.45rem;
}

#services .section-header h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
}

#services .section-lead {
  font-size: 0.98rem;
  line-height: 1.55;
}

#services .catalog-toolbar {
  margin-bottom: 1rem;
}

#services .catalog-search input {
  padding: 0.55rem 0.85rem 0.55rem 2.25rem;
  font-size: 0.88rem;
}

#services .service-grid {
  gap: 0.7rem;
}

#services .service-card {
  padding: 0;
}

#services .service-card-main {
  padding: 0.75rem 0.85rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "head head"
    "summary summary"
    "tags tags"
    "price actions";
  column-gap: 0.65rem;
  row-gap: 0.4rem;
  align-items: end;
}

#services .service-card:hover {
  transform: none;
}

#services .service-card-head {
  grid-area: head;
  margin-bottom: 0;
  align-items: flex-start;
  gap: 0.5rem;
}

#services .service-card h3 {
  font-size: 0.9rem;
  line-height: 1.3;
}

#services .service-summary {
  grid-area: summary;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#services .service-tags {
  grid-area: tags;
  margin-bottom: 0;
  gap: 0.25rem;
}

#services .service-tag {
  padding: 0.12rem 0.45rem;
  font-size: 0.66rem;
}

#services .service-price {
  grid-area: price;
  margin-top: 0;
  padding-top: 0.35rem;
  border-top: 1px solid var(--border);
}

#services .service-price__amount {
  font-size: 1rem;
}

#services .service-card-actions {
  grid-area: actions;
  margin-top: 0;
  padding-top: 0.35rem;
  gap: 0;
  align-self: end;
}

#services .service-detail {
  margin-left: 0.85rem;
  margin-right: 0.85rem;
  margin-bottom: 0.85rem;
}

#services .catalog-actions {
  margin-top: 1.15rem;
}

#services .select-toggle {
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  margin-left: 0;
}

#services .service-detail-btn {
  padding: 0.1rem 0;
  font-size: 0.75rem;
  gap: 0.2rem;
}

#services .service-detail-btn svg {
  width: 12px;
  height: 12px;
}

/* Liste: tanım+fiyat, etiketler+Seç — Detaylar altında sağ kolon */
#services .service-grid--list .service-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "head head"
    "summary price"
    "tags actions";
  column-gap: 1.25rem;
  row-gap: 0.3rem;
  align-items: center;
}

#services .service-grid--list .service-price {
  border-top: none;
  padding-top: 0;
  justify-content: flex-end;
  text-align: right;
  white-space: nowrap;
}

#services .service-grid--list .service-card-actions {
  padding-top: 0;
  align-self: center;
  justify-content: flex-end;
}

/* ── Pricing calculator ── */
.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
  align-items: start;
}

.pricing-list {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.pricing-rows {
  display: grid;
  gap: 0.75rem;
}

.pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 116px 30px;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}

.pricing-row__name {
  min-width: 0;
}

.pricing-row__name strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.pricing-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.tier-badge {
  display: inline-flex;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--paw-red-dim);
  color: var(--paw-red);
  font-weight: 700;
  font-size: 0.72rem;
}

.qty-field {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-base);
}

.qty-field button {
  width: 32px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.qty-field button:hover:not(:disabled) {
  color: var(--paw-red);
  background: var(--bg-card-hover);
}

.qty-field button:disabled {
  opacity: 0.35;
  cursor: default;
}

.qty-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  padding: 0.4rem 0;
  outline: none;
  cursor: default;
  user-select: none;
  -moz-appearance: textfield;
}

.qty-field input::-webkit-outer-spin-button,
.qty-field input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pricing-row__total {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.pricing-row__total.is-quote {
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dim);
  white-space: normal;
}

.pricing-row__remove {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.pricing-row__remove svg {
  width: 14px;
  height: 14px;
}

.pricing-row__remove:hover {
  color: var(--paw-red);
  border-color: var(--paw-red);
  background: var(--paw-red-dim);
}

.pricing-add {
  position: relative;
}

.pricing-add__btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.2rem;
  background: transparent;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.pricing-add__btn svg {
  width: 16px;
  height: 16px;
}

.pricing-add__btn:hover,
.pricing-add.is-open .pricing-add__btn {
  color: var(--paw-red);
  border-color: var(--paw-red);
  background: var(--paw-red-dim);
}

.pricing-add__btn:focus-visible {
  outline: 2px solid var(--paw-red);
  outline-offset: 2px;
}

.pricing-add__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.35rem;
  max-height: 280px;
  overflow-y: auto;
}

.pricing-add__menu[hidden] {
  display: none !important;
}

.pricing-add__option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  text-align: left;
  padding: 0.7rem 0.8rem;
  cursor: pointer;
}

.pricing-add__option:hover,
.pricing-add__option:focus-visible {
  background: var(--paw-red-dim);
  outline: none;
}

.pricing-add__option-name {
  font-weight: 600;
  min-width: 0;
}

.pricing-add__option-price {
  color: var(--text-dim);
  font-size: 0.8rem;
  white-space: nowrap;
}

.pricing-summary {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.pricing-summary h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.pricing-summary__line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.pricing-summary__line:last-of-type {
  border-bottom: 0;
}

.pricing-summary__line span:last-child {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.pricing-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-strong);
}

.pricing-summary__total span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-summary__total strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--paw-red);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.pricing-summary .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1.2rem;
}

.pricing-note {
  margin: 0.9rem 0 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--text-dim);
}

.pricing-empty {
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

.pricing-empty p {
  margin: 0 0 1rem;
}

.pricing-empty .pricing-add {
  max-width: 28rem;
  margin: 0 auto 0.9rem;
}

.pricing-empty .pricing-add-slot:not(:empty) + .pricing-empty__catalog {
  display: inline-block;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-decoration: none;
}

.pricing-empty .pricing-add-slot:not(:empty) + .pricing-empty__catalog:hover {
  color: var(--paw-red);
  background: transparent;
}

/* ── FAQ ── */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 820px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--paw-red);
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  margin: 0;
  padding: 0 1.3rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── Modal selection summary ── */
.modal-selection {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card-hover);
  padding: 0.9rem 1rem;
  margin-bottom: 1.1rem;
}

.modal-selection__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.modal-selection__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paw-red);
  margin: 0;
}

.modal-selection__edit {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.modal-selection__edit:hover {
  color: var(--paw-red);
  border-color: var(--paw-red);
}

.modal-selection__list {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 0.6rem;
  padding: 0;
  list-style: none;
  max-height: 168px;
  overflow-y: auto;
}

.modal-selection__list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-selection__list li span:last-child {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.modal-selection__total {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-strong);
  font-size: 0.88rem;
}

.modal-selection__total strong {
  color: var(--paw-red);
  white-space: nowrap;
}

.modal-selection__empty {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.modal-selection__empty a {
  color: var(--paw-red);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .pricing-summary {
    position: static;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid.service-grid--list {
    grid-template-columns: 1fr;
  }

  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .raas-diff {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .service-grid,
  .step-grid,
  .detail-grid,
  .raas-diff {
    grid-template-columns: 1fr;
  }

  .service-grid.service-grid--list {
    grid-template-columns: 1fr;
  }

  .pricing-row {
    grid-template-columns: 132px minmax(0, 1fr) 30px;
    gap: 0.75rem;
  }

  .pricing-row__name {
    grid-column: 1 / -1;
  }

  .catalog-toolbar-meta {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }

  .service-grid--list .service-card-main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "summary"
      "tags"
      "price"
      "actions";
  }

  .service-grid--list .service-card-actions,
  #services .service-grid--list .service-card-actions {
    flex-direction: row;
    align-items: center;
    min-width: 0;
    margin-top: 0.25rem;
    justify-content: flex-end;
  }

  #services .service-card-main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "summary"
      "tags"
      "price"
      "actions";
  }

  #services .service-card-actions {
    justify-content: flex-end;
  }
}

/* RaaS: count + minutes steppers on each pricing row */
.pricing-error {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.pricing-row--raas {
  grid-template-columns: minmax(7rem, 0.7fr) auto auto 140px;
  align-items: end;
}

.pricing-field {
  display: grid;
  gap: 0.35rem;
  min-width: 132px;
}

.pricing-field__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pricing-row--raas .pricing-row__name {
  display: flex;
  align-items: center;
  min-height: 36px;
}

.pricing-row--raas .pricing-row__total {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: end;
  min-height: 36px;
  line-height: 1.15;
}

.pricing-row--raas .pricing-row__amount {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.pricing-summary__line--discount span:last-child {
  color: var(--paw-red);
}

@media (max-width: 768px) {
  .pricing-row--raas {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .pricing-row--raas .pricing-row__name {
    grid-column: 1 / -1;
  }

  .pricing-row--raas .pricing-field--minutes {
    grid-column: 1 / -1;
  }

  .pricing-row--raas .pricing-row__total {
    grid-column: 1 / -1;
    text-align: right;
  }
}
