/* =========================================================================
   GlobiFYE — Enterprise Design System
   -------------------------------------------------------------------------
   Authority : Novamira design system "globifye-enterprise" (authority: design)
   Dials     : variance .80 · density .40 · motion .50
   Do        : generous whitespace · sharp typographic contrast · editorial elegance
   Don't     : heavy borders · loud parallax · generic rounded-card templates

   Load order : base → chrome → icons → icon-styles → sections → refine → ENTERPRISE
   Composes with assets/js/gsap-animations.js, which owns every entrance and the
   .tilt-card pointer tilt (transform + opacity only). Nothing here may set
   `transform` on `.tilt-card`, and nothing here may duplicate section reveals.
   ========================================================================= */

/* ==========================================================================
   1 · TOKENS
   ========================================================================= */
:root {
  /* surface + ink */
  --gf-bg: #fbfafc;
  --gf-surface: #ffffff;
  --gf-surface-2: #f7f5fa;
  --gf-ink: #111015;
  --gf-ink-2: #26232e;
  --gf-muted: #6f6a7c;
  --gf-faint: #9a95a6;
  --gf-line: rgba(17, 16, 21, .10);
  --gf-line-2: rgba(17, 16, 21, .055);

  /* accent — one indigo, used sparingly */
  --gf-accent: #4f46e5;
  --gf-accent-strong: #4338ca;
  --gf-accent-soft: #e8e3ff;
  --gf-ink-deep: #1f1b2e;
  --gf-blush: #f1d9d3;
  --gf-sky: #c9e4ec;

  /* type */
  --gf-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --gf-font-text: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* fluid scale (ratio ≈1.25) */
  --gf-t-mega: clamp(2.75rem, 6.2vw, 5rem);
  --gf-t-xl: clamp(2.1rem, 4.3vw, 3.4rem);
  --gf-t-lg: clamp(1.6rem, 2.8vw, 2.3rem);
  --gf-t-md: clamp(1.2rem, 1.8vw, 1.5rem);
  --gf-t-sm: 1.0625rem;
  --gf-t-xs: .9375rem;
  --gf-t-eyebrow: .6875rem;

  /* space — density .40 → generous */
  --gf-1: .5rem;
  --gf-2: 1rem;
  --gf-3: 1.5rem;
  --gf-4: 2rem;
  --gf-5: 2.75rem;
  --gf-6: 3.75rem;
  --gf-7: 5rem;
  --gf-8: 6.5rem;
  --gf-9: 8.5rem;
  --gf-section-y: clamp(4.5rem, 8.5vw, 8rem);
  --gf-gutter: clamp(1.25rem, 4vw, 2.5rem);
  --gf-measure: 68ch;

  /* radius */
  --gf-r-sm: 8px;
  --gf-r-md: 12px;
  --gf-r-lg: 18px;
  --gf-r-full: 9999px;

  /* elevation — soft, layered, indigo-tinted */
  --gf-e1: 0 1px 2px rgba(17, 16, 21, .05), 0 1px 1px rgba(17, 16, 21, .03);
  --gf-e2: 0 14px 30px -18px rgba(31, 27, 46, .28), 0 2px 6px -3px rgba(17, 16, 21, .07);
  --gf-e3: 0 34px 68px -34px rgba(31, 27, 46, .34), 0 10px 22px -14px rgba(17, 16, 21, .12);

  /* motion */
  --gf-ease: cubic-bezier(.16, 1, .3, 1);
  --gf-ease-2: cubic-bezier(.22, .61, .36, 1);
  --gf-dur: .5s;
}

/* ==========================================================================
   2 · LAYOUT PRIMITIVES
   ========================================================================= */
.gf-wrap {
  width: 100%;
  max-width: 84rem;
  margin-inline: auto;
  padding-inline: var(--gf-gutter);
}

.gf-wrap--tight { max-width: 62rem; }
.gf-wrap--narrow { max-width: 46rem; }

.gf-section {
  padding-block: var(--gf-section-y);
  position: relative;
}

.gf-section--flush { padding-block: 0; }
.gf-section--tight { padding-block: clamp(3rem, 5.5vw, 5rem); }

.gf-section--tint { background: var(--gf-surface-2); }
.gf-section--canvas { background: var(--gf-bg); }
.gf-section--paper { background: var(--gf-surface); }
.gf-section--deep {
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(79, 70, 229, .22) 0%, rgba(79, 70, 229, 0) 55%),
    linear-gradient(140deg, #111015 0%, #1a1726 46%, #241d3c 100%);
  color: #f4f2fb;
  overflow: hidden;
}
.gf-section--deep .gf-eyebrow { color: #b9b1e8; }
.gf-section--deep .gf-lede { color: rgba(244, 242, 251, .78); }

.gf-section--hairline { border-top: 1px solid var(--gf-line); }

/* stacked-band rhythm helper */
.gf-band { display: grid; gap: var(--gf-5); }

/* ==========================================================================
   3 · TYPOGRAPHY — sharp contrast: serif display over sans text
   ========================================================================= */
.gf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--gf-font-text);
  font-size: var(--gf-t-eyebrow);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gf-accent-strong);
  margin: 0 0 var(--gf-3);
}
.gf-eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex: none;
}
.gf-eyebrow--plain::before { display: none; }

.gf-display,
.gf-h1, .gf-h2, .gf-h3, .gf-h4 {
  font-family: var(--gf-font-display);
  font-weight: 600;
  color: var(--gf-ink);
  letter-spacing: -.015em;
  text-wrap: balance;
  margin: 0;
}

.gf-display {
  font-size: var(--gf-t-mega);
  line-height: 1.02;
  font-weight: 600;
}
.gf-h1 { font-size: var(--gf-t-xl); line-height: 1.06; }
.gf-h2 { font-size: var(--gf-t-lg); line-height: 1.12; }
.gf-h3 { font-size: var(--gf-t-md); line-height: 1.25; letter-spacing: -.01em; }
.gf-h4 {
  font-family: var(--gf-font-text);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.005em;
}

.gf-section--deep .gf-display,
.gf-section--deep .gf-h1,
.gf-section--deep .gf-h2,
.gf-section--deep .gf-h3 { color: #fbfaff; }

.gf-accentword {
  font-style: italic;
  color: var(--gf-accent);
  font-weight: 600;
}
.gf-section--deep .gf-accentword { color: #b9a8ff; }

.gf-lede {
  font-family: var(--gf-font-text);
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.72;
  color: var(--gf-muted);
  max-width: var(--gf-measure);
  margin: var(--gf-3) 0 0;
  text-wrap: pretty;
}

.gf-body {
  font-family: var(--gf-font-text);
  font-size: var(--gf-t-sm);
  line-height: 1.78;
  color: var(--gf-muted);
  max-width: var(--gf-measure);
  text-wrap: pretty;
}
.gf-section--deep .gf-body { color: rgba(244, 242, 251, .76); }

.gf-small {
  font-family: var(--gf-font-text);
  font-size: var(--gf-t-xs);
  line-height: 1.65;
  color: var(--gf-faint);
}

.gf-mono-label {
  font-family: var(--gf-font-text);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gf-faint);
}

/* metric numerals — .font-black is picked up by the GSAP count-up, keep both */
.gf-metric__v {
  font-family: var(--gf-font-display);
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  line-height: 1;
  font-weight: 600;
  color: var(--gf-ink);
  letter-spacing: -.02em;
}
.gf-metric__l {
  display: block;
  margin-top: .75rem;
  font-family: var(--gf-font-text);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gf-muted);
  line-height: 1.5;
}
.gf-section--deep .gf-metric__v { color: #fff; }
.gf-section--deep .gf-metric__l { color: rgba(244, 242, 251, .62); }

/* ==========================================================================
   4 · SURFACES — editorial panels: hairline + index numeral, not a box
   ========================================================================= */
.gf-panel {
  position: relative;
  background: var(--gf-surface);
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-r-md);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  box-shadow: var(--gf-e1);
  transition: box-shadow var(--gf-dur) var(--gf-ease),
              border-color var(--gf-dur) var(--gf-ease),
              background-color var(--gf-dur) var(--gf-ease);
}
.gf-panel--flat { box-shadow: none; background: transparent; }
.gf-panel--tint { background: var(--gf-surface-2); box-shadow: none; }
.gf-panel--glass {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.gf-panel--deep {
  background: linear-gradient(150deg, #17141f 0%, #201a33 100%);
  border-color: rgba(255, 255, 255, .09);
  color: #f4f2fb;
}
.gf-panel--deep .gf-h3,
.gf-panel--deep .gf-h4 { color: #fbfaff; }
.gf-panel--deep .gf-body { color: rgba(244, 242, 251, .74); }

/* top accent hairline on hover — depth without a heavy border */
.gf-panel--rule::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  border-radius: var(--gf-r-md) var(--gf-r-md) 0 0;
  background: linear-gradient(90deg, var(--gf-accent) 0%, rgba(79, 70, 229, 0) 72%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--gf-dur) var(--gf-ease);
}
.gf-panel--rule:hover::before,
.gf-panel--rule:focus-within::before { transform: scaleX(1); }
.gf-panel--rule:hover,
.gf-panel--rule:focus-within {
  box-shadow: var(--gf-e2);
  border-color: rgba(79, 70, 229, .28);
}

/* index numeral — the editorial alternative to an icon chip */
.gf-panel__n {
  display: block;
  font-family: var(--gf-font-display);
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 600;
  color: var(--gf-accent);
  letter-spacing: -.02em;
  margin-bottom: var(--gf-3);
  font-variant-numeric: tabular-nums;
}
.gf-panel--deep .gf-panel__n { color: #b9a8ff; }

.gf-panel__title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gf-2);
  flex-wrap: wrap;
}

/* grid helpers */
.gf-grid { display: grid; gap: clamp(1.25rem, 2vw, 1.75rem); }
.gf-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.gf-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.gf-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); }
.gf-grid--wide { gap: clamp(1.5rem, 3vw, 3rem); }
.gf-grid--divide { border-top: 1px solid var(--gf-line); }

/* whole-card link target */
.gf-linkcard { display: block; color: inherit; text-decoration: none; }
.gf-linkcard .gf-h3 a::after,
.gf-linkcard--whole::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* ==========================================================================
   5 · CHIPS — service-line status language used across the catalog
   ========================================================================= */
.gf-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .7rem;
  border-radius: var(--gf-r-full);
  font-family: var(--gf-font-text);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
}
.gf-chip::before {
  content: "";
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.gf-chip--plain::before { display: none; }

.gf-chip--live { background: var(--gf-accent-soft); color: var(--gf-accent-strong); }
.gf-chip--pilot { background: var(--gf-sky); color: #1e5f75; }
.gf-chip--build { background: var(--gf-blush); color: #8a4433; }
.gf-chip--soon { background: transparent; border-color: var(--gf-line); color: var(--gf-muted); }
.gf-chip--na { background: var(--gf-surface-2); color: var(--gf-faint); }
.gf-chip--deep { background: rgba(255, 255, 255, .1); color: #ded8f7; }
.gf-section--deep .gf-chip--soon { border-color: rgba(255, 255, 255, .2); color: rgba(244, 242, 251, .7); }

/* ==========================================================================
   6 · DATA — tables for KPI, pricing, RACI and comparison content
   ========================================================================= */
.gf-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-r-md);
  background: var(--gf-surface);
  -webkit-overflow-scrolling: touch;
}
.gf-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-family: var(--gf-font-text);
  font-size: var(--gf-t-xs);
}
.gf-table caption {
  caption-side: top;
  text-align: left;
  padding: var(--gf-3) var(--gf-3) var(--gf-2);
  font-family: var(--gf-font-display);
  font-size: 1.25rem;
  color: var(--gf-ink);
}
.gf-table th,
.gf-table td {
  padding: .95rem 1.25rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gf-line-2);
  line-height: 1.6;
}
.gf-table thead th {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gf-faint);
  border-bottom: 1px solid var(--gf-line);
  background: var(--gf-surface-2);
  white-space: nowrap;
}
.gf-table tbody tr:last-child th,
.gf-table tbody tr:last-child td { border-bottom: 0; }
.gf-table tbody tr:hover { background: rgba(79, 70, 229, .035); }
.gf-table th[scope="row"] { font-weight: 600; color: var(--gf-ink); }
.gf-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gf-table .gf-chip { transform: translateY(-1px); }

/* definition rows — for method / spec pairs */
.gf-defs { display: grid; gap: 0; border-top: 1px solid var(--gf-line); }
.gf-defs > div {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: var(--gf-2) var(--gf-4);
  padding: var(--gf-3) 0;
  border-bottom: 1px solid var(--gf-line-2);
}
.gf-defs dt {
  font-family: var(--gf-font-text);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gf-muted);
}
.gf-defs dd { margin: 0; font-size: var(--gf-t-sm); line-height: 1.7; color: var(--gf-ink-2); }
@media (max-width: 640px) { .gf-defs > div { grid-template-columns: 1fr; gap: .35rem; } }

/* ==========================================================================
   7 · MEDIA — framed imagery with depth
   ========================================================================= */
.gf-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--gf-r-lg);
  background: var(--gf-surface-2);
  border: 1px solid var(--gf-line);
  box-shadow: var(--gf-e2);
  margin: 0;
}
.gf-frame img,
.gf-frame video,
.gf-frame canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--gf-ease);
}
.gf-frame--hover:hover img { transform: scale(1.045); }
.gf-frame--16x9 { aspect-ratio: 16 / 9; }
.gf-frame--4x3 { aspect-ratio: 4 / 3; }
.gf-frame--3x2 { aspect-ratio: 3 / 2; }
.gf-frame--1x1 { aspect-ratio: 1 / 1; }
.gf-frame--3x4 { aspect-ratio: 3 / 4; }
.gf-frame--21x9 { aspect-ratio: 21 / 9; }

.gf-frame__cap {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: .85rem;
  font-family: var(--gf-font-text);
  font-size: .8125rem;
  color: var(--gf-faint);
  line-height: 1.5;
}
.gf-frame__cap::before { content: ""; width: 1.25rem; height: 1px; background: var(--gf-line); flex: none; }

/* overlay scrim for text over imagery */
.gf-frame__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 16, 21, 0) 34%, rgba(17, 16, 21, .72) 100%);
  pointer-events: none;
}
.gf-frame__over {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  color: #fff;
}

/* broken-image guard so the layout never collapses on a missing asset */
.gf-frame img[data-broken="1"] { opacity: .001; }

/* ==========================================================================
   8 · MOTION PRIMITIVES (ambient only — entrances belong to GSAP)
   ========================================================================= */
.gf-hl {
  transition: transform var(--gf-dur) var(--gf-ease),
              box-shadow var(--gf-dur) var(--gf-ease),
              border-color var(--gf-dur) var(--gf-ease);
}
.gf-hl:hover,
.gf-hl:focus-visible { transform: translateY(-5px); box-shadow: var(--gf-e3); }

.gf-underline {
  position: relative;
  text-decoration: none;
  color: var(--gf-ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
}
.gf-underline--accent { color: var(--gf-accent-strong); }

.gf-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--gf-font-text);
  font-size: var(--gf-t-xs);
  font-weight: 700;
  color: var(--gf-accent-strong);
  text-decoration: none;
}
.gf-arrow-link span.gf-arrow {
  transition: transform var(--gf-dur) var(--gf-ease);
}
.gf-arrow-link:hover span.gf-arrow,
.gf-arrow-link:focus-visible span.gf-arrow { transform: translateX(5px); }

/* primary / secondary actions used by rebuilt page markup */
.gf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 1.85rem;
  border-radius: var(--gf-r-md);
  font-family: var(--gf-font-text);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .35s var(--gf-ease), color .35s var(--gf-ease),
              border-color .35s var(--gf-ease), box-shadow .35s var(--gf-ease),
              transform .35s var(--gf-ease);
}
.gf-btn--primary { background: var(--gf-ink); color: #fff; box-shadow: var(--gf-e2); }
.gf-btn--primary:hover,
.gf-btn--primary:focus-visible { background: var(--gf-accent); transform: translateY(-2px); box-shadow: var(--gf-e3); }
.gf-btn--ghost { background: var(--gf-surface); color: var(--gf-ink); border-color: var(--gf-line); }
.gf-btn--ghost:hover,
.gf-btn--ghost:focus-visible { border-color: var(--gf-accent); color: var(--gf-accent-strong); transform: translateY(-2px); }
.gf-btn--ondeep { background: #fff; color: var(--gf-ink); }
.gf-btn--ondeep:hover { background: var(--gf-accent-soft); }
.gf-section--deep .gf-btn--ghost { background: transparent; color: #f4f2fb; border-color: rgba(255, 255, 255, .25); }
.gf-section--deep .gf-btn--ghost:hover { border-color: #fff; color: #fff; }

/* ambient float — settles to rest under reduced motion */
@keyframes gf-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -9px, 0); }
}
.gf-float { animation: gf-float 7s var(--gf-ease-2) infinite; }

@keyframes gf-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.86); }
}
.gf-pulse-dot {
  position: relative;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--gf-accent);
  flex: none;
}
.gf-pulse-dot::after {
  content: "";
  position: absolute;
  inset: -.35rem;
  border-radius: 50%;
  border: 1px solid var(--gf-accent);
  animation: gf-pulse 2.4s ease-in-out infinite;
}

/* marquee — standards / capability strip */
.gf-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gf-marquee__track {
  display: flex;
  width: max-content;
  gap: clamp(2rem, 5vw, 4.5rem);
  animation: gf-marquee 42s linear infinite;
}
@keyframes gf-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.gf-marquee:hover .gf-marquee__track { animation-play-state: paused; }
.gf-marquee__item {
  font-family: var(--gf-font-text);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gf-faint);
  white-space: nowrap;
}

/* decorative blueprint grid + light orbs — subtle, never parallax-heavy */
.gf-grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 16, 21, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 16, 21, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 78%);
  pointer-events: none;
}
.gf-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.gf-orb--a { background: rgba(79, 70, 229, .30); }
.gf-orb--b { background: rgba(241, 217, 211, .55); }
.gf-orb--c { background: rgba(201, 228, 236, .55); }

/* ==========================================================================
   9 · COMPOSED BLOCKS
   ========================================================================= */

/* metrics band */
.gf-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 3rem);
  padding-top: var(--gf-5);
  border-top: 1px solid var(--gf-line);
}
.gf-section--deep .gf-metrics { border-color: rgba(255, 255, 255, .14); }

/* numbered steps / lifecycle */
.gf-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: gfstep;
}
.gf-step {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: var(--gf-4);
  padding: var(--gf-4) 0;
  border-top: 1px solid var(--gf-line);
  align-items: start;
}
.gf-step:last-child { border-bottom: 1px solid var(--gf-line); }
.gf-step__n {
  font-family: var(--gf-font-display);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--gf-accent);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.gf-step__body { display: grid; gap: .5rem; }
@media (max-width: 640px) {
  .gf-step { grid-template-columns: 1fr; gap: .5rem; }
}

/* pull quote / testimonial */
.gf-quote {
  position: relative;
  margin: 0;
  padding: var(--gf-5) 0 0;
  font-family: var(--gf-font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.42;
  color: var(--gf-ink);
  font-style: italic;
  max-width: 46rem;
}
.gf-quote::before {
  content: "\201C";
  position: absolute;
  top: -.35em;
  left: -.04em;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gf-accent);
  opacity: .22;
  font-style: normal;
}
.gf-quote__by {
  display: block;
  margin-top: var(--gf-3);
  font-family: var(--gf-font-text);
  font-size: .8125rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gf-muted);
}

/* tier / package cards */
.gf-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--gf-3);
  background: var(--gf-surface);
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-r-md);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: box-shadow var(--gf-dur) var(--gf-ease), border-color var(--gf-dur) var(--gf-ease);
}
.gf-tier--featured {
  border-color: rgba(79, 70, 229, .35);
  box-shadow: var(--gf-e3);
}
.gf-tier--featured::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: var(--gf-r-md) var(--gf-r-md) 0 0;
  background: linear-gradient(90deg, var(--gf-accent), #7c3aed);
}
.gf-tier__price {
  font-family: var(--gf-font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.05;
  color: var(--gf-ink);
  letter-spacing: -.02em;
}
.gf-tier__price small {
  display: block;
  margin-top: .4rem;
  font-family: var(--gf-font-text);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gf-faint);
}
.gf-tier__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.gf-tier__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: var(--gf-t-xs);
  line-height: 1.65;
  color: var(--gf-ink-2);
}
.gf-tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  border: 1.5px solid var(--gf-accent);
}

/* check lists */
.gf-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.gf-checks li {
  position: relative;
  padding-left: 1.85rem;
  font-size: var(--gf-t-xs);
  line-height: 1.7;
  color: var(--gf-ink-2);
  text-wrap: pretty;
}
.gf-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--gf-accent-soft);
}
.gf-checks li::after {
  content: "";
  position: absolute;
  left: .34rem;
  top: .52em;
  width: .38rem;
  height: .2rem;
  border-left: 2px solid var(--gf-accent-strong);
  border-bottom: 2px solid var(--gf-accent-strong);
  transform: rotate(-45deg);
}
.gf-section--deep .gf-checks li { color: rgba(244, 242, 251, .8); }
.gf-section--deep .gf-checks li::before { background: rgba(255, 255, 255, .14); }
.gf-section--deep .gf-checks li::after { border-color: #b9a8ff; }

/* FAQ — native disclosure, no JS */
.gf-faq { border-top: 1px solid var(--gf-line); }
.gf-faq details {
  border-bottom: 1px solid var(--gf-line);
}
.gf-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--gf-3);
  padding: var(--gf-4) 0;
  font-family: var(--gf-font-display);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.36;
  color: var(--gf-ink);
  transition: color .3s var(--gf-ease);
}
.gf-faq summary::-webkit-details-marker { display: none; }
.gf-faq summary:hover { color: var(--gf-accent-strong); }
.gf-faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--gf-font-text);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gf-accent);
  transition: transform .4s var(--gf-ease);
}
.gf-faq details[open] summary::after { transform: rotate(45deg); }
.gf-faq .gf-faq__a {
  padding: 0 0 var(--gf-4);
  font-size: var(--gf-t-sm);
  line-height: 1.78;
  color: var(--gf-muted);
  max-width: var(--gf-measure);
  text-wrap: pretty;
}

/* stat row inside a panel */
.gf-statrow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  gap: var(--gf-3);
  padding-top: var(--gf-4);
  margin-top: var(--gf-4);
  border-top: 1px solid var(--gf-line);
}

/* hairline rule with an inline label */
.gf-rule {
  display: flex;
  align-items: center;
  gap: var(--gf-3);
  margin-block: var(--gf-6);
  color: var(--gf-faint);
}
.gf-rule::before,
.gf-rule::after { content: ""; height: 1px; background: var(--gf-line); flex: 1; }

/* ==========================================================================
   10 · COMPAT LAYER — neutralise dead markup, keep the chrome intact
   ========================================================================= */
[data-gsap-trigger],
.scroll-reveal { pointer-events: auto; }

/* anchor targets clear the sticky header */
[id] { scroll-margin-top: 6.5rem; }

/* the pillar pages historically stacked identical cards; give any */
/* utility-class grid a sane gutter when it sits inside a rebuilt section */
.gf-section .grid { row-gap: inherit; }

/* ==========================================================================
   11 · RESPONSIVE POLISH
   ========================================================================= */
@media (max-width: 1023px) {
  :root { --gf-section-y: clamp(3.5rem, 9vw, 5.5rem); }
}

@media (max-width: 480px) {
  .gf-table { min-width: 28rem; }
  .gf-step { grid-template-columns: 3.25rem minmax(0, 1fr); gap: var(--gf-2); }
}

/* ==========================================================================
   12 · REDUCED MOTION — everything settles to its authored visible state
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  .gf-float,
  .gf-pulse-dot::after,
  .gf-marquee__track { animation: none; }
  .gf-frame img { transition: none; }
  .gf-hl:hover { transform: none; }
  .gf-btn:hover,
  .gf-btn:focus-visible { transform: none; }
}
