/* ============================================
   PHOENIX DIGITAL SCOTLAND — Design System
   Plain CSS · Custom Properties · No frameworks
   ============================================ */

/* --- 1. Custom Properties --- */
:root {
  /* Colour Tokens (§8.1) */
  --ember: #F97316;
  --ember-light: #FB923C;
  --ember-deep: #EA580C;
  --ember-tint: #FFF4EC;
  --phoenix: #7C3AED;
  --phoenix-deep: #5B21B6;
  --phoenix-light: #A78BFA;
  --phoenix-tint: #F3EEFF;
  --ink: #12071F;
  --dark-surface: #2A1650;
  --ink-text: #1B1033;
  --muted: #6C6478;
  --card-border: #E8E3F2;
  --white: #FFFFFF;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--ember), var(--phoenix));
  --gradient-ember: linear-gradient(135deg, var(--ember-deep), var(--ember), var(--ember-light));
  --gradient-phoenix: linear-gradient(135deg, var(--phoenix-deep), var(--phoenix), var(--phoenix-light));

  /* Typography (§8.2) */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Type Scale */
  --fs-h1: clamp(2.5rem, 5vw + 1rem, 4rem);
  --fs-h2: clamp(2rem, 3vw + 0.5rem, 2.75rem);
  --fs-h3: clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem);
  --fs-h4: 1.125rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.8125rem;
  --fs-eyebrow: 0.75rem;
  --lh-body: 1.7;
  --lh-heading: 1.2;
  --max-measure: 70ch;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(18, 7, 31, 0.08);
  --shadow-md: 0 4px 12px rgba(18, 7, 31, 0.1);
  --shadow-lg: 0 8px 30px rgba(18, 7, 31, 0.12);
  --shadow-card: 0 2px 8px rgba(18, 7, 31, 0.06);
  --shadow-card-hover: 0 8px 24px rgba(18, 7, 31, 0.12);
  --shadow-glow-orange: 0 0 30px rgba(249, 115, 22, 0.25);
  --shadow-glow-purple: 0 0 30px rgba(124, 58, 237, 0.2);

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 600ms ease-out;

  /* Z-index */
  --z-nav: 100;
  --z-mobile-menu: 200;
  --z-overlay: 300;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

a {
  color: var(--phoenix);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--phoenix-deep);
}

ul, ol {
  list-style: none;
}

p + p {
  margin-top: var(--space-md);
}

/* --- 3. Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: var(--lh-heading);
  color: var(--ink-text);
  font-weight: 600;
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--fs-h2);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--phoenix-light);
  margin-bottom: var(--space-md);
  display: block;
}

.section-dark .eyebrow {
  color: var(--phoenix-light);
}

.section-light .eyebrow {
  color: var(--phoenix);
}

.text-muted {
  color: var(--muted);
}

.text-white {
  color: var(--white);
}

.section-dark .text-muted {
  color: rgba(255, 255, 255, 0.65);
}

/* --- 4. Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding-top: var(--space-5xl);
  padding-bottom: var(--space-5xl);
}

.section--sm {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.section-dark {
  background-color: var(--ink);
  color: var(--white);
}

.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, 0.85);
}

.section-light {
  background-color: var(--white);
}

.section-tint {
  background-color: var(--phoenix-tint);
}

.section-ember-tint {
  background-color: var(--ember-tint);
}

.max-measure {
  max-width: var(--max-measure);
}

/* --- 5. Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 9999;
  padding: var(--space-sm) var(--space-lg);
  background: var(--ember);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
  outline: 3px solid var(--phoenix-light);
  outline-offset: 2px;
}

/* --- 6. Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: var(--z-nav);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.nav--scrolled {
  background: rgba(18, 7, 31, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  z-index: 10;
}

.nav__brand-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav__brand svg {
  width: 36px;
  height: 36px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--white);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ember);
  border-radius: 1px;
}

/* Services dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 0;
  transition: color var(--transition-fast);
}

.nav__dropdown-toggle:hover {
  color: var(--white);
}

.nav__dropdown-arrow {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.nav__dropdown:hover .nav__dropdown-arrow,
.nav__dropdown--open .nav__dropdown-arrow {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  box-shadow: var(--shadow-lg);
}

.nav__dropdown--open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: var(--fs-small);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav__dropdown-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav__dropdown-link--flagship {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav__dropdown-flagship-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ember-light);
  display: block;
  margin-top: 2px;
}

.nav__cta {
  margin-left: var(--space-md);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 4px;
}

.nav__hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav__hamburger--open .nav__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger--open .nav__hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--open .nav__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-mobile-menu);
  background: var(--ink);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-menu--open {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-menu__link:hover {
  color: var(--ember);
}

.mobile-menu__link--flagship {
  color: var(--ember);
}

.mobile-menu__phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.125rem;
  color: var(--white);
  text-decoration: none;
  margin-top: var(--space-lg);
}

.mobile-menu__phone svg {
  width: 20px;
  height: 20px;
}

/* --- 7. Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__title {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.hero__title em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(1.0625rem, 1.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--lh-body);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Aurora gradient background */
.aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.35;
  background-size: 400% 400%;
  animation: aurora-drift 15s ease infinite;
}

/* Option 1: Ember → Phoenix (default brand) */
.aurora--brand {
  background: linear-gradient(135deg,
    var(--ember-deep) 0%,
    var(--ember) 25%,
    var(--phoenix) 50%,
    var(--phoenix-deep) 75%,
    var(--ember-deep) 100%
  );
}

/* Option 2: Phoenix Deep → Ember Light (warm) */
.aurora--warm {
  background: linear-gradient(135deg,
    var(--phoenix-deep) 0%,
    var(--ember-light) 30%,
    var(--phoenix) 60%,
    var(--ember) 100%
  );
}

/* Option 3: Ink → Phoenix (dark dramatic) */
.aurora--dramatic {
  background: linear-gradient(135deg,
    var(--ink) 0%,
    var(--phoenix) 35%,
    var(--dark-surface) 60%,
    var(--phoenix-light) 100%
  );
  opacity: 0.5;
}

@keyframes aurora-drift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- 8. Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid var(--phoenix-light);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--gradient-ember);
  color: var(--white);
  box-shadow: var(--shadow-glow-orange);
}

.btn--primary:hover {
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.35);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--phoenix);
  border: 2px solid var(--phoenix);
}

.btn--outline:hover {
  background: var(--phoenix);
  color: var(--white);
  box-shadow: var(--shadow-glow-purple);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn--ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-xs);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--fs-body);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --- 9. Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--phoenix-tint);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  color: var(--phoenix);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.card__text {
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: var(--lh-body);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-lg);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--phoenix);
}

.card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card__link:hover svg {
  transform: translateX(4px);
}

/* Dark card variant */
.card--dark {
  background: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.08);
}

.card--dark .card__title {
  color: var(--white);
}

.card--dark .card__text {
  color: rgba(255, 255, 255, 0.65);
}

.card--dark .card__icon {
  background: rgba(124, 58, 237, 0.2);
}

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

/* --- 10. Tier Pricing Cards --- */
.tier {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.tier:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.tier--popular {
  border: 2px solid var(--ember);
  box-shadow: var(--shadow-glow-orange);
}

.tier__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-ember);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.tier__name {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--phoenix);
  margin-bottom: var(--space-sm);
}

.tier__price {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--ink-text);
  margin-bottom: var(--space-xs);
}

.tier__price-note {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--muted);
  margin-bottom: var(--space-lg);
}

.tier__features {
  flex: 1;
  margin-bottom: var(--space-xl);
}

.tier__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: var(--fs-small);
  color: var(--ink-text);
}

.tier__feature svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--ember);
  margin-top: 2px;
}

.tier__cta {
  width: 100%;
}

.tier__asterisk {
  color: var(--ember);
  font-size: 0.6em;
  vertical-align: super;
  margin-left: var(--space-2xs);
}

.tier__footnote {
  font-size: var(--fs-small);
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

/* --- 11. Process Timeline --- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.timeline__step {
  display: flex;
  gap: var(--space-lg);
  padding-bottom: var(--space-2xl);
  position: relative;
}

.timeline__step:last-child {
  padding-bottom: 0;
}

.timeline__node {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.timeline__content {
  padding-top: 8px;
}

.timeline__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-body);
  margin-bottom: var(--space-xs);
}

.timeline__text {
  font-size: var(--fs-small);
  color: var(--muted);
  line-height: var(--lh-body);
}

.timeline__line {
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--ember), var(--phoenix));
  z-index: 1;
}

.section-dark .timeline__title {
  color: var(--white);
}

.section-dark .timeline__text {
  color: rgba(255, 255, 255, 0.65);
}

/* --- 12. FAQ Accordion --- */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--card-border);
}

.section-dark .faq__item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--ink-text);
}

.section-dark .faq__question {
  color: var(--white);
}

.faq__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
  color: var(--phoenix);
}

.faq__item--open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq__item--open .faq__answer {
  max-height: 400px;
}

.faq__answer-inner {
  padding-bottom: var(--space-lg);
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  color: var(--muted);
}

.section-dark .faq__answer-inner {
  color: rgba(255, 255, 255, 0.65);
}

/* --- 13. Industry Chips --- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.chip {
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  border: 1px solid var(--card-border);
  background: var(--white);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink-text);
  cursor: default;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.chip--active,
.chip:hover {
  background: var(--phoenix);
  border-color: var(--phoenix);
  color: var(--white);
}

.section-dark .chip {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
}

.section-dark .chip--active,
.section-dark .chip:hover {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--white);
}

/* --- 14. Testimonials --- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.section-dark .testimonial {
  background: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.08);
}

.testimonial__quote {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-text);
  margin-bottom: var(--space-lg);
  position: relative;
  padding-left: var(--space-lg);
}

.section-dark .testimonial__quote {
  color: rgba(255, 255, 255, 0.85);
}

.testimonial__quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--gradient-brand);
}

.testimonial__author {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--ink-text);
}

.section-dark .testimonial__author {
  color: var(--white);
}

.testimonial__role {
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* Metric chips */
.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.metric-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: var(--ember-tint);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ember-deep);
}

.section-dark .metric-chip {
  background: rgba(249, 115, 22, 0.15);
  color: var(--ember-light);
}

/* --- 15. Trust Strip --- */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  padding: var(--space-lg) 0;
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.7);
}

.trust-strip__item svg {
  width: 20px;
  height: 20px;
  color: var(--ember);
  flex-shrink: 0;
}

/* --- 16. ROI Estimator --- */
.estimator {
  background: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
}

.estimator__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.estimator__sliders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.estimator__field label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--phoenix-light);
  margin-bottom: var(--space-sm);
}

.estimator__slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  margin-bottom: var(--space-sm);
}

.estimator__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-ember);
  cursor: pointer;
  box-shadow: var(--shadow-glow-orange);
}

.estimator__slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-ember);
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-glow-orange);
}

.estimator__value {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--ember);
  text-align: right;
}

.estimator__result {
  text-align: center;
  padding: var(--space-2xl);
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--radius-lg);
}

.estimator__result-label {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--phoenix-light);
  margin-bottom: var(--space-sm);
}

.estimator__result-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
}

.estimator__result-note {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-sm);
}

/* --- 17. Form --- */
.form {
  max-width: 560px;
  margin: 0 auto;
}

.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--ink-text);
}

.section-dark .form__label {
  color: var(--white);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: var(--fs-body);
  color: var(--ink-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.section-dark .form__input,
.section-dark .form__select,
.section-dark .form__textarea {
  background: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--phoenix);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.form__input--error,
.form__select--error,
.form__textarea--error {
  border-color: #EF4444;
}

.form__error {
  font-size: var(--fs-xs);
  color: #EF4444;
  margin-top: var(--space-xs);
  display: none;
}

.form__error--visible {
  display: block;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.form__checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.form__checkbox-label:has(input:checked) {
  background: var(--phoenix);
  border-color: var(--phoenix);
  color: var(--white);
}

.form__checkbox-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.form__consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--phoenix);
}

.form__consent-text {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.5;
}

/* Honeypot */
.form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form__success {
  display: none;
  text-align: center;
  padding: var(--space-3xl);
}

.form__success--visible {
  display: block;
}

.form__success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: var(--ember-tint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ember);
}

.form__success-title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.form__success-text {
  color: var(--muted);
  font-size: var(--fs-small);
}

/* --- 18. Breadcrumbs --- */
.breadcrumbs {
  padding: calc(var(--nav-height) + var(--space-lg)) 0 var(--space-lg);
  background: var(--ink);
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.breadcrumbs__item {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs__item a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumbs__item a:hover {
  color: var(--ember);
}

.breadcrumbs__separator {
  color: rgba(255, 255, 255, 0.25);
  font-size: var(--fs-xs);
}

.breadcrumbs__current {
  color: rgba(255, 255, 255, 0.8);
}

/* --- 19. Footer --- */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-4xl) 0 var(--space-2xl);
  color: rgba(255, 255, 255, 0.7);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  text-decoration: none;
}

.footer__brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
}

.footer__desc {
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  max-width: 320px;
  margin-bottom: var(--space-lg);
}

.footer__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer__link {
  display: block;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--ember);
}

.footer__nap {
  font-size: var(--fs-small);
  line-height: var(--lh-body);
}

.footer__nap a {
  color: rgba(255, 255, 255, 0.6);
}

.footer__nap a:hover {
  color: var(--ember);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
}

/* --- 20. Blog / Article --- */
.article {
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-5xl);
}

.article__header {
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
}

.article__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  font-size: var(--fs-xs);
  color: var(--muted);
}

.article__tag {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--phoenix);
}

.article__title {
  margin-bottom: var(--space-lg);
}

.article__body {
  max-width: 720px;
  margin: 0 auto;
}

.article__body h2 {
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
}

.article__body h3 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.article__body p {
  margin-bottom: var(--space-md);
  max-width: var(--max-measure);
}

.article__body ul,
.article__body ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.article__body li {
  margin-bottom: var(--space-sm);
  list-style: disc;
}

.article__body ol li {
  list-style: decimal;
}

.article__body blockquote {
  border-left: 3px solid var(--ember);
  padding-left: var(--space-lg);
  margin: var(--space-xl) 0;
  font-style: italic;
  color: var(--muted);
}

.article__body strong {
  font-weight: 600;
  color: var(--ink-text);
}

.section-dark .article__body strong {
  color: var(--white);
}

/* Author box */
.author-box {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--phoenix-tint);
  border-radius: var(--radius-lg);
  margin-top: var(--space-3xl);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.author-box__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.author-box__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--ink-text);
}

.author-box__role {
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* --- 21. Case Studies --- */
.case-study {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.case-study__header {
  padding: var(--space-2xl);
  border-bottom: 1px solid var(--card-border);
}

.case-study__client {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h4);
  margin-bottom: var(--space-xs);
}

.case-study__meta {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.case-study__body {
  padding: var(--space-2xl);
}

.case-study__section {
  margin-bottom: var(--space-xl);
}

.case-study__section:last-child {
  margin-bottom: 0;
}

.case-study__section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--phoenix);
  margin-bottom: var(--space-sm);
}

.case-study__text {
  font-size: var(--fs-small);
  color: var(--muted);
  line-height: var(--lh-body);
}

.case-study__bullets {
  list-style: none;
  padding: 0;
}

.case-study__bullets li {
  font-size: var(--fs-small);
  color: var(--muted);
  padding: 4px 0;
  padding-left: var(--space-lg);
  position: relative;
}

.case-study__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
}

.case-study__placeholder {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--phoenix-light);
  font-style: italic;
}

/* --- 22. Insights Index --- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.post-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.post-card__image {
  height: 180px;
  background: var(--gradient-phoenix);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card__image svg {
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.3);
}

.post-card__body {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__tag {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--phoenix);
  margin-bottom: var(--space-sm);
}

.post-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--ink-text);
  margin-bottom: var(--space-sm);
  line-height: var(--lh-heading);
}

.post-card__excerpt {
  font-size: var(--fs-small);
  color: var(--muted);
  line-height: var(--lh-body);
  flex: 1;
}

.post-card__date {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: var(--space-md);
  font-family: var(--font-mono);
}

/* --- 23. Contact Block --- */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--phoenix-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--phoenix);
}

.section-dark .contact-info__icon {
  background: rgba(124, 58, 237, 0.2);
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--ink-text);
  margin-bottom: 2px;
}

.section-dark .contact-info__label {
  color: var(--white);
}

.contact-info__value {
  font-size: var(--fs-small);
  color: var(--muted);
}

.contact-info__value a {
  color: var(--phoenix);
}

/* --- 24. Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 80ms; }
.reveal--delay-2 { transition-delay: 160ms; }
.reveal--delay-3 { transition-delay: 240ms; }
.reveal--delay-4 { transition-delay: 320ms; }

/* --- 25. Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .aurora {
    animation: none;
  }
}

/* --- 26. Responsive --- */

/* Large screens */
@media (max-width: 1280px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* Tablet */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .container {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }

  .section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }

  /* Nav */
  .nav__links {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  /* Buttons: let long labels wrap instead of overflowing the viewport */
  .btn {
    white-space: normal;
    max-width: 100%;
    text-align: center;
  }

  .btn--lg {
    padding: 0.875rem 1.5rem;
  }

  /* Buttons whose copy is long enough to need two lines on mobile */
  .btn--wrap {
    max-width: min(22rem, 100%);
  }

  /* Trust strip */
  .trust-strip {
    flex-direction: column;
    gap: var(--space-md);
  }

  /* Timeline */
  .timeline__step {
    gap: var(--space-md);
  }

  /* Estimator */
  .estimator__sliders {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-block {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  /* Tier grid */
  .tiers-grid {
    grid-template-columns: 1fr;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .tier {
    padding: var(--space-xl);
  }

  .estimator {
    padding: var(--space-xl);
  }

  .card {
    padding: var(--space-xl);
  }
}

/* --- 27. Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Tiers grid helper */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 768px) {
  .tiers-grid {
    grid-template-columns: 1fr;
  }
}

/* Service page CTA bar */
.cta-bar {
  background: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-3xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.cta-bar__text {
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
}

@media (max-width: 768px) {
  .cta-bar {
    flex-direction: column;
    text-align: center;
    padding: var(--space-2xl);
  }

  .cta-bar .btn {
    width: 100%;
  }
}

/* Workflow cards on AI page */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .workflow-grid {
    grid-template-columns: 1fr;
  }
}

/* Industry detail cards */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 1024px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }
}

/* Guarantees list */
.guarantees-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .guarantees-list {
    grid-template-columns: 1fr;
  }
}

.guarantee {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.guarantee__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ember);
}

.guarantee__icon svg {
  width: 18px;
  height: 18px;
}

.guarantee__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--white);
  margin-bottom: 2px;
}

.guarantee__text {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* Tooling stack logos row */
.tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.tool-badge {
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

/* Work page grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

/* Care plan tiers - extra style */
.care-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 768px) {
  .care-tiers-grid {
    grid-template-columns: 1fr;
  }
}

.care-tier {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
}

.care-tier--popular {
  border: 2px solid var(--phoenix);
  position: relative;
}

.care-tier__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h3);
  color: var(--ink-text);
  margin-bottom: var(--space-sm);
}

.care-tier__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  color: var(--phoenix);
  margin-bottom: var(--space-xs);
}

.care-tier__period {
  font-size: var(--fs-small);
  color: var(--muted);
  margin-bottom: var(--space-xl);
}

.care-tier__features {
  text-align: left;
  margin-bottom: var(--space-xl);
}

.care-tier__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: var(--fs-small);
}

.care-tier__feature svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--ember);
  margin-top: 2px;
}
