/* hgsf.css — full-site styles for higgsfieid.com */

/* === CUSTOM PROPERTIES === */
:root {
  --hgsf-nav-h: 72px;

  /* Palette */
  --hgsf-bg-deep:          #0C0A08;
  --hgsf-bg-dark:          #161210;
  --hgsf-bg-light:         #F6F4F0;
  --hgsf-bg-light-alt:     #EDEAE4;
  --hgsf-bg-white:         #FAFAF8;

  /* Text */
  --hgsf-text-dark-primary:  #F0EDE8;
  --hgsf-text-dark-muted:    #9B9690;
  --hgsf-text-light-primary: #111009;
  --hgsf-text-light-muted:   #5A5652;

  /* Accent */
  --hgsf-lime:             #C4FF00;
  --hgsf-lime-accessible:  #3A6200;
  --hgsf-lime-btn-text:    #0C0A08;

  /* Radius */
  --hgsf-r-sm:   6px;
  --hgsf-r-md:  12px;
  --hgsf-r-lg:  20px;
  --hgsf-r-xl:  32px;

  /* Spacing rhythm */
  --hgsf-section-py:     96px;
  --hgsf-section-py-sm:  56px;
  --hgsf-container-max: 1160px;
  --hgsf-prose-max:      720px;

  /* Transitions */
  --hgsf-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === RESET + BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--hgsf-bg-deep);
  color: var(--hgsf-text-dark-primary);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

/* === CONTAINER === */
.hgsf-container {
  width: 100%;
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* === UTILITY === */
.hgsf-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;
}

/* === NAVIGATION === */
.hgsf-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--hgsf-nav-h);
  transition: background-color 0.3s var(--hgsf-ease), box-shadow 0.3s var(--hgsf-ease);
}

.hgsf-nav__inner {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.hgsf-nav__logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.hgsf-nav__logo {
  height: 28px;
  width: auto;
  display: block;
}

.hgsf-nav__logo--dark {
  display: none;
}

.hgsf-nav__logo--light {
  display: block;
}

.hgsf-nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: 48px;
}

.hgsf-nav__link {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--hgsf-text-dark-primary);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.hgsf-nav__link:hover {
  color: var(--hgsf-lime);
}

.hgsf-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.hgsf-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 4px;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: auto;
}

.hgsf-nav__hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--hgsf-text-dark-primary);
  transition: transform 0.25s var(--hgsf-ease), opacity 0.2s;
  border-radius: 1px;
}

/* Nav — mobile overlay */
.hgsf-nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--hgsf-bg-deep);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 48px 24px;
}

.hgsf-nav__mobile.hgsf-nav__mobile--open {
  display: flex;
}

.hgsf-nav__mobile-link {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--hgsf-text-dark-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.hgsf-nav__mobile-link:hover {
  color: var(--hgsf-lime);
}

.hgsf-nav__mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 28px;
  color: var(--hgsf-text-dark-primary);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.hgsf-nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  margin-top: 16px;
}

/* Nav hamburger bars open state */
.hgsf-nav--mobile-open .hgsf-nav__hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hgsf-nav--mobile-open .hgsf-nav__hamburger-bar:nth-child(2) {
  opacity: 0;
}

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

/* Nav scrolled state — both page types go dark */
.hgsf-nav--scrolled {
  background-color: var(--hgsf-bg-deep);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.hgsf-nav--scrolled .hgsf-nav__logo--light {
  display: block !important;
}

.hgsf-nav--scrolled .hgsf-nav__logo--dark {
  display: none !important;
}

.hgsf-nav--scrolled .hgsf-nav__link {
  color: var(--hgsf-text-dark-primary);
}

.hgsf-nav--scrolled .hgsf-nav__link:hover {
  color: var(--hgsf-lime);
}

.hgsf-nav--scrolled .hgsf-nav__hamburger-bar {
  background-color: var(--hgsf-text-dark-primary);
}

/* Light-top pages — nav starts white */
.hgsf-page--light-top .hgsf-nav:not(.hgsf-nav--scrolled) {
  background-color: var(--hgsf-bg-white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.hgsf-page--light-top .hgsf-nav:not(.hgsf-nav--scrolled) .hgsf-nav__logo--light {
  display: none;
}

.hgsf-page--light-top .hgsf-nav:not(.hgsf-nav--scrolled) .hgsf-nav__logo--dark {
  display: block;
}

.hgsf-page--light-top .hgsf-nav:not(.hgsf-nav--scrolled) .hgsf-nav__link {
  color: var(--hgsf-text-light-primary);
}

.hgsf-page--light-top .hgsf-nav:not(.hgsf-nav--scrolled) .hgsf-nav__link:hover {
  color: var(--hgsf-lime-accessible);
}

.hgsf-page--light-top .hgsf-nav:not(.hgsf-nav--scrolled) .hgsf-nav__hamburger-bar {
  background-color: var(--hgsf-text-light-primary);
}

/* === BUTTONS === */
.hgsf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--hgsf-r-sm);
  padding: 11px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
  border: 1.5px solid transparent;
  line-height: 1.4;
}

.hgsf-btn--sm {
  font-size: 13px;
  padding: 8px 16px;
}

.hgsf-btn--lg {
  font-size: 15px;
  padding: 14px 28px;
}

.hgsf-btn--full {
  width: 100%;
}

/* Primary — lime bg, dark text */
.hgsf-btn--primary {
  background-color: var(--hgsf-lime);
  color: var(--hgsf-lime-btn-text);
  border-color: var(--hgsf-lime);
}

.hgsf-btn--primary:hover {
  background-color: #d4ff20;
  border-color: #d4ff20;
}

/* Outline-dark — for light sections */
.hgsf-btn--outline-dark {
  background-color: transparent;
  color: var(--hgsf-text-light-primary);
  border-color: var(--hgsf-text-light-primary);
}

.hgsf-btn--outline-dark:hover {
  background-color: var(--hgsf-text-light-primary);
  color: var(--hgsf-bg-white);
}

/* Outline-light — for dark sections */
.hgsf-btn--outline-light {
  background-color: transparent;
  color: var(--hgsf-text-dark-primary);
  border-color: rgba(240,237,232,0.5);
}

.hgsf-btn--outline-light:hover {
  border-color: var(--hgsf-text-dark-primary);
  background-color: rgba(240,237,232,0.06);
}

/* Ghost on dark */
.hgsf-btn--ghost-on-dark {
  background-color: transparent;
  color: var(--hgsf-text-dark-primary);
  border-color: transparent;
}

.hgsf-btn--ghost-on-dark:hover {
  color: var(--hgsf-lime);
}

/* Ghost on light */
.hgsf-btn--ghost-on-light {
  background-color: transparent;
  color: var(--hgsf-text-light-primary);
  border-color: transparent;
}

.hgsf-btn--ghost-on-light:hover {
  color: var(--hgsf-lime-accessible);
}

/* Light-top page nav button adjustments */
.hgsf-page--light-top .hgsf-nav:not(.hgsf-nav--scrolled) .hgsf-btn--outline-light {
  color: var(--hgsf-text-light-primary);
  border-color: rgba(17,16,9,0.35);
}

.hgsf-page--light-top .hgsf-nav:not(.hgsf-nav--scrolled) .hgsf-btn--outline-light:hover {
  background-color: var(--hgsf-text-light-primary);
  color: var(--hgsf-bg-white);
  border-color: var(--hgsf-text-light-primary);
}

/* === SECTION BACKGROUNDS + TEXT RESETS === */
.hgsf-section--dark {
  background-color: var(--hgsf-bg-deep);
  color: var(--hgsf-text-dark-primary);
}

.hgsf-section--dark-alt {
  background-color: var(--hgsf-bg-dark);
  color: var(--hgsf-text-dark-primary);
}

.hgsf-section--light {
  background-color: var(--hgsf-bg-light);
  color: var(--hgsf-text-light-primary);
}

.hgsf-section--light-alt {
  background-color: var(--hgsf-bg-light-alt);
  color: var(--hgsf-text-light-primary);
}

.hgsf-section--white {
  background-color: var(--hgsf-bg-white);
  color: var(--hgsf-text-light-primary);
}

.hgsf-section--light p,
.hgsf-section--light-alt p,
.hgsf-section--white p {
  color: var(--hgsf-text-light-primary);
}

.hgsf-section--dark p,
.hgsf-section--dark-alt p {
  color: var(--hgsf-text-dark-primary);
}

/* === SECTION SPACING === */
.hgsf-section {
  padding-block: var(--hgsf-section-py);
}

.hgsf-section--sm {
  padding-block: var(--hgsf-section-py-sm);
}

/* === TYPOGRAPHY — HEADINGS === */
.hgsf-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hgsf-lime);
  display: inline-block;
  margin-bottom: 16px;
}

.hgsf-section--light .hgsf-eyebrow,
.hgsf-section--light-alt .hgsf-eyebrow,
.hgsf-section--white .hgsf-eyebrow {
  color: var(--hgsf-lime-accessible);
}

.hgsf-heading-xl {
  font-family: 'Sora', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hgsf-heading-lg {
  font-family: 'Sora', sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.hgsf-heading-md {
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hgsf-heading-sm {
  font-family: 'Sora', sans-serif;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.hgsf-subhead {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--hgsf-text-dark-muted);
}

.hgsf-section--light .hgsf-subhead,
.hgsf-section--light-alt .hgsf-subhead,
.hgsf-section--white .hgsf-subhead {
  color: var(--hgsf-text-light-muted);
}

/* === HERO (INDEX) === */
.hgsf-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--hgsf-bg-deep);
  padding-top: var(--hgsf-nav-h);
}

.hgsf-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.hgsf-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(12,10,8,0.3) 0%,
    rgba(12,10,8,0.1) 40%,
    rgba(12,10,8,0.7) 100%);
  z-index: 1;
}

.hgsf-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-inline: auto;
  padding-inline: 24px;
  padding-block: 80px 60px;
}

.hgsf-hero__eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hgsf-lime);
  display: inline-block;
  margin-bottom: 24px;
  border: 1px solid rgba(196,255,0,0.3);
  border-radius: var(--hgsf-r-xl);
  padding: 5px 14px;
}

.hgsf-hero__h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--hgsf-text-dark-primary);
  margin-bottom: 28px;
}

.hgsf-hero__sub {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--hgsf-text-dark-muted);
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.hgsf-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Kinetic typography — word by word reveal */
.hgsf-hero__h1 .hgsf-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s var(--hgsf-ease), transform 0.45s var(--hgsf-ease);
}

.hgsf-hero__h1 .hgsf-word--visible,
.hgsf-hero__h1.hgsf-kinetic--done .hgsf-word {
  opacity: 1;
  transform: translateY(0);
}

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

/* === SUB-PAGE HERO === */
.hgsf-subhero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--hgsf-bg-deep);
  padding-top: var(--hgsf-nav-h);
}

.hgsf-subhero--light {
  background-color: var(--hgsf-bg-light);
}

.hgsf-subhero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.hgsf-subhero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12,10,8,0.4) 0%, rgba(12,10,8,0.6) 100%);
  z-index: 1;
}

.hgsf-subhero__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-inline: auto;
  padding-inline: 24px;
  padding-block: 72px 64px;
}

.hgsf-subhero--light .hgsf-subhero__inner {
  background: none;
}

.hgsf-subhero__h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--hgsf-text-dark-primary);
  margin-bottom: 20px;
}

.hgsf-subhero--light .hgsf-subhero__h1 {
  color: var(--hgsf-text-light-primary);
}

.hgsf-subhero__sub {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--hgsf-text-dark-muted);
  max-width: 600px;
  margin-inline: auto;
}

.hgsf-subhero--light .hgsf-subhero__sub {
  color: var(--hgsf-text-light-muted);
}

/* === PROOF / DATA STRIP === */
.hgsf-proof {
  background-color: var(--hgsf-bg-dark);
  padding-block: 64px;
}

.hgsf-proof__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.hgsf-proof__metric {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.hgsf-proof__metric:last-of-type {
  border-right: none;
}

.hgsf-proof__number {
  font-family: 'Sora', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--hgsf-lime);
  display: block;
  margin-bottom: 8px;
}

.hgsf-proof__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--hgsf-text-dark-muted);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.hgsf-proof__source {
  flex-basis: 100%;
  width: 100%;
  text-align: center;
  margin-top: 24px;
  font-size: 11px;
  color: var(--hgsf-text-dark-muted);
  opacity: 0.65;
  line-height: 1.5;
}

/* === INDEX WORKFLOW PREVIEW === */
.hgsf-workflow {
  background-color: var(--hgsf-bg-light);
  color: var(--hgsf-text-light-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-workflow__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.hgsf-workflow__header {
  text-align: center;
  margin-bottom: 64px;
}

.hgsf-workflow__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 16px;
}

.hgsf-workflow__subhead {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--hgsf-text-light-muted);
  max-width: 520px;
  margin-inline: auto;
}

.hgsf-workflow__steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.hgsf-workflow__step {
  text-align: center;
  padding: 40px 32px;
  background-color: var(--hgsf-bg-white);
  border-radius: var(--hgsf-r-lg);
  border: 1px solid rgba(0,0,0,0.06);
}

.hgsf-workflow__step-icon {
  width: 56px;
  height: 56px;
  margin-inline: auto;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--hgsf-bg-light-alt);
  border-radius: var(--hgsf-r-md);
}

.hgsf-workflow__step-icon svg {
  width: 32px;
  height: 32px;
}

.hgsf-workflow__step-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--hgsf-lime-accessible);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.hgsf-workflow__step-title {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 12px;
}

.hgsf-workflow__step-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--hgsf-text-light-muted);
}

.hgsf-workflow__footer {
  text-align: center;
  margin-top: 48px;
}

/* === INDEX USE CASES PREVIEW === */
.hgsf-usecases-preview {
  background-color: var(--hgsf-bg-light-alt);
  color: var(--hgsf-text-light-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-usecases-preview__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.hgsf-usecases-preview__header {
  text-align: center;
  margin-bottom: 56px;
}

.hgsf-usecases-preview__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 14px;
}

.hgsf-usecases-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}

.hgsf-uc-card {
  background-color: var(--hgsf-bg-white);
  border-radius: var(--hgsf-r-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}

.hgsf-uc-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.hgsf-uc-card__img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--hgsf-bg-light-alt);
}

.hgsf-uc-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--hgsf-ease);
}

.hgsf-uc-card:hover .hgsf-uc-card__img {
  transform: scale(1.04);
}

.hgsf-uc-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hgsf-uc-card__title {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.hgsf-uc-card__title a {
  color: inherit;
  text-decoration: none;
}

.hgsf-uc-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--hgsf-text-light-muted);
  margin-bottom: 20px;
  flex: 1;
}

.hgsf-uc-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--hgsf-lime-accessible);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.hgsf-uc-card__link:hover {
  color: var(--hgsf-text-light-primary);
}

/* === INDEX FEATURE HIGHLIGHT (BENTO GRID) === */
.hgsf-features {
  background-color: var(--hgsf-bg-deep);
  color: var(--hgsf-text-dark-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-features__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.hgsf-features__header {
  text-align: center;
  margin-bottom: 56px;
}

.hgsf-features__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--hgsf-text-dark-primary);
  margin-bottom: 14px;
}

.hgsf-features__subhead {
  font-size: 17px;
  color: var(--hgsf-text-dark-muted);
  max-width: 500px;
  margin-inline: auto;
}

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

.hgsf-feature-item {
  background-color: var(--hgsf-bg-dark);
  border-radius: var(--hgsf-r-lg);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.hgsf-feature-item--featured {
  display: flex;
  flex-direction: column;
}

.hgsf-feature-item__icon {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: rgba(196,255,0,0.08);
  border-radius: var(--hgsf-r-md);
}

.hgsf-feature-item__icon svg {
  width: 30px;
  height: 30px;
}

.hgsf-feature-item__title {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--hgsf-text-dark-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.hgsf-feature-item__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--hgsf-text-dark-muted);
  max-width: 360px;
}

.hgsf-feature-item--featured .hgsf-feature-item__title {
  font-size: 22px;
  font-weight: 700;
}

.hgsf-feature-item--featured .hgsf-feature-item__desc {
  max-width: 360px;
}

/* === INDEX TESTIMONIALS === */
.hgsf-testimonials {
  background-color: var(--hgsf-bg-light);
  color: var(--hgsf-text-light-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-testimonials__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.hgsf-testimonials__header {
  text-align: center;
  margin-bottom: 56px;
}

.hgsf-testimonials__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 12px;
}

.hgsf-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.hgsf-testimonial-card {
  background-color: var(--hgsf-bg-white);
  border-radius: var(--hgsf-r-lg);
  padding: 36px;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.hgsf-testimonial-card__quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--hgsf-text-light-primary);
  font-style: italic;
  margin-bottom: 28px;
  flex: 1;
}

.hgsf-testimonial-card__quote::before {
  content: '\201C';
  font-family: 'Sora', sans-serif;
  font-size: 40px;
  line-height: 0.8;
  display: block;
  color: var(--hgsf-lime-accessible);
  margin-bottom: 12px;
  font-style: normal;
}

.hgsf-testimonial-card__attribution {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: 20px;
  margin-top: auto;
}

.hgsf-testimonial-card__name {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--hgsf-text-light-primary);
}

.hgsf-testimonial-card__role {
  font-size: 13px;
  color: var(--hgsf-text-light-muted);
}

/* === INDEX PRICING PREVIEW === */
.hgsf-pricing-preview {
  background-color: var(--hgsf-bg-white);
  color: var(--hgsf-text-light-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-pricing-preview__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.hgsf-pricing-preview__header {
  text-align: center;
  margin-bottom: 16px;
}

.hgsf-pricing-preview__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 12px;
}

/* Pricing toggle — shared across index preview + pricing.html */
.hgsf-pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  margin-top: 24px;
}

.hgsf-pricing-toggle__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--hgsf-text-light-muted);
  user-select: none;
}

.hgsf-pricing-toggle__label--active {
  color: var(--hgsf-text-light-primary);
  font-weight: 600;
}

.hgsf-pricing-toggle__track {
  position: relative;
  width: 48px;
  height: 26px;
  background-color: var(--hgsf-bg-light-alt);
  border-radius: 13px;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.12);
  transition: background-color 0.2s;
}

.hgsf-pricing-toggle__track--annual {
  background-color: var(--hgsf-lime-accessible);
  border-color: var(--hgsf-lime-accessible);
}

.hgsf-pricing-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.2s var(--hgsf-ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.hgsf-pricing-toggle__track--annual .hgsf-pricing-toggle__thumb {
  transform: translateX(22px);
}

.hgsf-pricing-toggle__badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background-color: rgba(74,122,0,0.12);
  color: var(--hgsf-lime-accessible);
  border-radius: var(--hgsf-r-xl);
  padding: 3px 8px;
  text-transform: uppercase;
}

/* Pricing grid — shared */
.hgsf-pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.hgsf-pricing__grid--4col {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.hgsf-pricing-card {
  border-radius: var(--hgsf-r-lg);
  padding: 36px;
  border: 1px solid rgba(0,0,0,0.09);
  background-color: var(--hgsf-bg-white);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hgsf-pricing-card--highlighted {
  background-color: var(--hgsf-bg-deep);
  color: var(--hgsf-text-dark-primary);
  border-color: rgba(196,255,0,0.25);
  box-shadow: 0 0 0 1px rgba(196,255,0,0.1);
}

.hgsf-pricing-card__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hgsf-lime-btn-text);
  background-color: var(--hgsf-lime);
  border-radius: var(--hgsf-r-xl);
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 16px;
  width: fit-content;
}

.hgsf-pricing-card__name {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 20px;
}

.hgsf-pricing-card--highlighted .hgsf-pricing-card__name {
  color: var(--hgsf-text-dark-primary);
}

.hgsf-pricing-card__price-block {
  margin-bottom: 24px;
}

.hgsf-pricing-card__amount {
  font-family: 'Sora', sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--hgsf-text-light-primary);
  line-height: 1;
}

.hgsf-pricing-card--highlighted .hgsf-pricing-card__amount {
  color: var(--hgsf-text-dark-primary);
}

.hgsf-pricing-card__period {
  font-size: 14px;
  color: var(--hgsf-text-light-muted);
}

.hgsf-pricing-card--highlighted .hgsf-pricing-card__period {
  color: var(--hgsf-text-dark-muted);
}

.hgsf-pricing-card__features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hgsf-pricing-card__feature {
  font-size: 14px;
  line-height: 1.5;
  color: var(--hgsf-text-light-muted);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hgsf-pricing-card__feature::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--hgsf-lime-accessible);
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

.hgsf-pricing-card--highlighted .hgsf-pricing-card__feature {
  color: var(--hgsf-text-dark-muted);
}

.hgsf-pricing-card--highlighted .hgsf-pricing-card__feature::before {
  background-color: var(--hgsf-lime);
}

.hgsf-pricing-card__cta {
  margin-top: auto;
}

/* Price values - hidden/visible based on toggle */
.hgsf-price-monthly,
.hgsf-price-annual {
  display: inline;
}

.hgsf-pricing--annual .hgsf-price-monthly {
  display: none;
}

.hgsf-pricing--annual .hgsf-price-annual {
  display: inline;
}

.hgsf-pricing--monthly .hgsf-price-annual {
  display: none;
}

.hgsf-pricing--monthly .hgsf-price-monthly {
  display: inline;
}

/* === PRICING PAGE — FULL === */
.hgsf-price-hero {
  background-color: var(--hgsf-bg-light);
  color: var(--hgsf-text-light-primary);
  padding-top: var(--hgsf-nav-h);
  padding-block-end: 64px;
  text-align: center;
}

.hgsf-price-hero__inner {
  max-width: 820px;
  margin-inline: auto;
  padding-inline: 24px;
  padding-top: 64px;
}

.hgsf-price-hero__h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 16px;
}

.hgsf-price-hero__sub {
  font-size: 18px;
  color: var(--hgsf-text-light-muted);
}

.hgsf-price-tiers {
  background-color: var(--hgsf-bg-white);
  padding-block: var(--hgsf-section-py);
}

.hgsf-price-tiers__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* FAQ Section — pricing.html */
.hgsf-price-faq {
  background-color: var(--hgsf-bg-light-alt);
  padding-block: var(--hgsf-section-py);
}

.hgsf-price-faq__inner {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 24px;
}

.hgsf-price-faq__header {
  text-align: center;
  margin-bottom: 48px;
}

.hgsf-price-faq__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hgsf-text-light-primary);
}

.hgsf-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hgsf-faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.09);
}

.hgsf-faq-item:first-child {
  border-top: 1px solid rgba(0,0,0,0.09);
}

.hgsf-faq-item__question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--hgsf-text-light-primary);
  line-height: 1.4;
}

.hgsf-faq-item__question:hover {
  color: var(--hgsf-lime-accessible);
}

.hgsf-faq-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  color: var(--hgsf-text-light-muted);
  transition: transform 0.25s var(--hgsf-ease);
}

.hgsf-faq-item__icon::before,
.hgsf-faq-item__icon::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  border-radius: 1px;
  transition: transform 0.25s var(--hgsf-ease), opacity 0.2s;
}

.hgsf-faq-item__icon::before {
  width: 14px;
  height: 2px;
  top: 10px;
  left: 4px;
}

.hgsf-faq-item__icon::after {
  width: 2px;
  height: 14px;
  top: 4px;
  left: 10px;
}

.hgsf-faq-item--open .hgsf-faq-item__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.hgsf-faq-item__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--hgsf-ease);
}

.hgsf-faq-item--open .hgsf-faq-item__answer {
  max-height: 400px;
}

.hgsf-faq-item__answer-inner {
  padding-bottom: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--hgsf-text-light-muted);
}

/* Enterprise CTA */
.hgsf-enterprise-cta {
  background-color: var(--hgsf-bg-deep);
  color: var(--hgsf-text-dark-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-enterprise-cta__inner {
  max-width: 700px;
  margin-inline: auto;
  padding-inline: 24px;
  text-align: center;
}

.hgsf-enterprise-cta__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--hgsf-text-dark-primary);
  margin-bottom: 16px;
}

.hgsf-enterprise-cta__sub {
  font-size: 17px;
  color: var(--hgsf-text-dark-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hgsf-enterprise-cta__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.hgsf-enterprise-cta__item {
  font-size: 13px;
  font-weight: 500;
  color: var(--hgsf-text-dark-muted);
  background-color: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--hgsf-r-xl);
  padding: 6px 14px;
}

/* === HOW-IT-WORKS PAGE === */
.hgsf-hiw-step {
  padding-block: var(--hgsf-section-py);
}

.hgsf-hiw-step--light {
  background-color: var(--hgsf-bg-light);
  color: var(--hgsf-text-light-primary);
}

.hgsf-hiw-step--light-alt {
  background-color: var(--hgsf-bg-light-alt);
  color: var(--hgsf-text-light-primary);
}

.hgsf-hiw-step__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.hgsf-hiw-step--flip .hgsf-hiw-step__inner {
  direction: rtl;
}

.hgsf-hiw-step--flip .hgsf-hiw-step__inner > * {
  direction: ltr;
}

.hgsf-hiw-step__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hgsf-hiw-step__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hgsf-lime-accessible);
  display: block;
}

.hgsf-hiw-step__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 4px;
}

.hgsf-hiw-step__body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--hgsf-text-light-muted);
}

.hgsf-hiw-step__icon-wrap {
  overflow: hidden;
  background-color: rgba(0,0,0,0.04);
  border-radius: var(--hgsf-r-xl);
  aspect-ratio: 4 / 3;
  min-height: 280px;
}

.hgsf-hiw-step__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Benchmarks */
.hgsf-benchmarks {
  background-color: var(--hgsf-bg-dark);
  color: var(--hgsf-text-dark-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-benchmarks__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.hgsf-benchmarks__header {
  text-align: center;
  margin-bottom: 56px;
}

.hgsf-benchmarks__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--hgsf-text-dark-primary);
  margin-bottom: 12px;
}

.hgsf-benchmarks__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0;
}

.hgsf-benchmarks__item {
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.hgsf-benchmarks__item:last-child {
  border-right: none;
}

.hgsf-benchmarks__value {
  font-family: 'Sora', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--hgsf-lime);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.hgsf-benchmarks__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--hgsf-text-dark-muted);
  line-height: 1.4;
}

/* Integrations */
.hgsf-integrations {
  background-color: var(--hgsf-bg-light);
  color: var(--hgsf-text-light-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-integrations__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.hgsf-integrations__header {
  text-align: center;
  margin-bottom: 48px;
}

.hgsf-integrations__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 12px;
}

.hgsf-integrations__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hgsf-chip {
  font-size: 14px;
  font-weight: 600;
  color: var(--hgsf-text-light-primary);
  background-color: var(--hgsf-bg-white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--hgsf-r-xl);
  padding: 10px 20px;
  letter-spacing: 0.01em;
}

/* === USE CASES PAGE === */
.hgsf-uc-hero {
  background: radial-gradient(ellipse at center, #161210 0%, #0C0A08 70%);
  padding-top: var(--hgsf-nav-h);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hgsf-uc-hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(196,255,0,0.07) 0%, transparent 70%);
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hgsf-uc-section {
  padding-block: var(--hgsf-section-py);
}

.hgsf-uc-section--light {
  background-color: var(--hgsf-bg-light);
  color: var(--hgsf-text-light-primary);
}

.hgsf-uc-section--light-alt {
  background-color: var(--hgsf-bg-light-alt);
  color: var(--hgsf-text-light-primary);
}

.hgsf-uc-section__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.hgsf-uc-section--flip .hgsf-uc-section__inner {
  direction: rtl;
}

.hgsf-uc-section--flip .hgsf-uc-section__inner > * {
  direction: ltr;
}

.hgsf-uc-section__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hgsf-uc-section__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--hgsf-text-light-primary);
}

.hgsf-uc-section__body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--hgsf-text-light-muted);
}

.hgsf-uc-section__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--hgsf-r-lg);
  background-color: var(--hgsf-bg-light-alt);
}

.hgsf-uc-section__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hgsf-uc-library {
  background-color: var(--hgsf-bg-deep);
  color: var(--hgsf-text-dark-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-uc-library__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.hgsf-uc-library__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--hgsf-text-dark-primary);
  margin-bottom: 24px;
  max-width: 600px;
}

.hgsf-uc-library__body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--hgsf-text-dark-muted);
  max-width: var(--hgsf-prose-max);
}

.hgsf-uc-cta {
  background-color: var(--hgsf-bg-dark);
  color: var(--hgsf-text-dark-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-uc-cta__inner {
  max-width: 640px;
  margin-inline: auto;
  padding-inline: 24px;
  text-align: center;
}

.hgsf-uc-cta__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--hgsf-text-dark-primary);
  margin-bottom: 16px;
}

.hgsf-uc-cta__sub {
  font-size: 17px;
  color: var(--hgsf-text-dark-muted);
  margin-bottom: 36px;
}

.hgsf-uc-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === CUSTOMERS PAGE === */
.hgsf-cust-hero {
  background: linear-gradient(160deg, #161210 0%, #0C0A08 60%);
  padding-top: var(--hgsf-nav-h);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hgsf-cust-featured {
  background-color: var(--hgsf-bg-light);
  color: var(--hgsf-text-light-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-cust-featured__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.hgsf-cust-featured__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 20px;
}

.hgsf-cust-featured__story {
  font-size: 16px;
  line-height: 1.75;
  color: var(--hgsf-text-light-muted);
}

.hgsf-cust-featured__story p + p {
  margin-top: 16px;
}

.hgsf-cust-pullquote {
  background-color: var(--hgsf-bg-white);
  border-left: 3px solid var(--hgsf-lime-accessible);
  border-radius: 0 var(--hgsf-r-md) var(--hgsf-r-md) 0;
  padding: 32px;
}

.hgsf-cust-pullquote__text {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--hgsf-text-light-primary);
  font-style: italic;
  margin-bottom: 16px;
}

.hgsf-cust-pullquote__attr {
  font-size: 14px;
  color: var(--hgsf-text-light-muted);
}

.hgsf-cust-result {
  margin-top: 28px;
  background-color: var(--hgsf-bg-light-alt);
  border-radius: var(--hgsf-r-md);
  padding: 24px;
  text-align: center;
}

.hgsf-cust-result__value {
  font-family: 'Sora', sans-serif;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--hgsf-lime-accessible);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.hgsf-cust-result__label {
  font-size: 14px;
  color: var(--hgsf-text-light-muted);
}

.hgsf-cust-metrics {
  background-color: var(--hgsf-bg-dark);
  padding-block: var(--hgsf-section-py-sm);
}

.hgsf-cust-metrics__inner {
  display: flex;
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
  justify-content: center;
  gap: 0;
}

.hgsf-cust-metrics__item {
  flex: 1;
  text-align: center;
  padding-inline: 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.hgsf-cust-metrics__item:last-child {
  border-right: none;
}

.hgsf-cust-metrics__value {
  font-family: 'Sora', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--hgsf-lime);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.hgsf-cust-metrics__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--hgsf-text-dark-muted);
}

.hgsf-cust-stories {
  background-color: var(--hgsf-bg-light);
  color: var(--hgsf-text-light-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-cust-stories__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.hgsf-cust-stories__header {
  margin-bottom: 48px;
}

.hgsf-cust-stories__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 12px;
}

.hgsf-cust-stories__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.hgsf-story-card {
  background-color: var(--hgsf-bg-white);
  border-radius: var(--hgsf-r-lg);
  padding: 36px;
  border: 1px solid rgba(0,0,0,0.07);
}

.hgsf-story-card__company {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--hgsf-lime-accessible);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hgsf-story-card__heading {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.hgsf-story-card__body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--hgsf-text-light-muted);
}

.hgsf-cust-quote {
  background-color: var(--hgsf-bg-deep);
  color: var(--hgsf-text-dark-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-cust-quote__inner {
  max-width: 780px;
  margin-inline: auto;
  padding-inline: 24px;
  text-align: center;
}

.hgsf-cust-quote__mark {
  font-family: 'Sora', sans-serif;
  font-size: 80px;
  line-height: 0.6;
  display: block;
  color: var(--hgsf-lime);
  margin-bottom: 24px;
}

.hgsf-cust-quote__text {
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--hgsf-text-dark-primary);
  font-style: italic;
  margin-bottom: 28px;
}

.hgsf-cust-quote__attr {
  font-size: 14px;
  color: var(--hgsf-text-dark-muted);
}

/* === ABOUT PAGE === */
.hgsf-about-hero {
  background: linear-gradient(160deg, #111009 0%, #0C0A08 60%) no-repeat;
  padding-top: var(--hgsf-nav-h);
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hgsf-about-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(196,255,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hgsf-about-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-inline: auto;
  padding-inline: 24px;
  padding-block: 72px 64px;
  text-align: center;
}

.hgsf-about-story {
  background-color: var(--hgsf-bg-light);
  color: var(--hgsf-text-light-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-about-story__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.hgsf-about-story__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 24px;
}

.hgsf-about-story__body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--hgsf-text-light-muted);
  margin-bottom: 16px;
}

.hgsf-about-story__body p:last-child {
  margin-bottom: 0;
}

.hgsf-about-story__media {
  margin: 0;
}

.hgsf-about-story__media img {
  width: 100%;
  height: auto;
  border-radius: var(--hgsf-r-lg);
  display: block;
}

/* Team section */
.hgsf-about-team {
  background-color: var(--hgsf-bg-light-alt);
  color: var(--hgsf-text-light-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-about-team__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.hgsf-about-team__header {
  text-align: center;
  margin-bottom: 56px;
}

.hgsf-about-team__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hgsf-text-light-primary);
}

.hgsf-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 28px;
}

.hgsf-team-card {
  background-color: var(--hgsf-bg-white);
  border-radius: var(--hgsf-r-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}

.hgsf-team-card__portrait-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--hgsf-bg-light);
  position: relative;
}

.hgsf-team-card__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hgsf-team-card__initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--hgsf-text-light-muted);
  background-color: var(--hgsf-bg-light-alt);
}

.hgsf-team-card__info {
  padding: 24px;
}

.hgsf-team-card__name {
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 4px;
}

.hgsf-team-card__role {
  font-size: 13px;
  font-weight: 500;
  color: var(--hgsf-lime-accessible);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hgsf-team-card__bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--hgsf-text-light-muted);
}

/* Values */
.hgsf-about-values {
  background-color: var(--hgsf-bg-deep);
  color: var(--hgsf-text-dark-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-about-values__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.hgsf-about-values__header {
  text-align: center;
  margin-bottom: 56px;
}

.hgsf-about-values__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hgsf-text-dark-primary);
}

.hgsf-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.hgsf-value-item {
  padding: 40px;
  background-color: var(--hgsf-bg-dark);
  border-radius: var(--hgsf-r-lg);
  border: 1px solid rgba(255,255,255,0.06);
}

.hgsf-value-item__title {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--hgsf-text-dark-primary);
  margin-bottom: 16px;
}

.hgsf-value-item__title::before {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background-color: var(--hgsf-lime);
  border-radius: 2px;
  margin-bottom: 16px;
}

.hgsf-value-item__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--hgsf-text-dark-muted);
}

/* About contact info */
.hgsf-about-contact {
  background-color: var(--hgsf-bg-light);
  color: var(--hgsf-text-light-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-about-contact__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hgsf-about-contact__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 24px;
}

.hgsf-about-contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.hgsf-about-contact__detail-icon {
  width: 20px;
  height: 20px;
  color: var(--hgsf-lime-accessible);
  flex-shrink: 0;
  margin-top: 2px;
}

.hgsf-about-contact__detail-text {
  font-size: 15px;
  color: var(--hgsf-text-light-muted);
  line-height: 1.5;
}

.hgsf-about-contact__detail-text a {
  color: var(--hgsf-lime-accessible);
  text-decoration: none;
}

.hgsf-about-contact__detail-text a:hover {
  text-decoration: underline;
}

/* === CONTACT PAGE === */
.hgsf-contact-hero {
  background-color: var(--hgsf-bg-light);
  color: var(--hgsf-text-light-primary);
  padding-top: var(--hgsf-nav-h);
  padding-bottom: 48px;
  text-align: center;
}

.hgsf-contact-hero__inner {
  max-width: 700px;
  margin-inline: auto;
  padding-inline: 24px;
  padding-top: 56px;
}

.hgsf-contact-hero__h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 14px;
}

.hgsf-contact-form-section {
  background-color: var(--hgsf-bg-light);
  color: var(--hgsf-text-light-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-contact-form-section__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Contact form wrapper — JS state hook for submit handling */
.hgsf-contact-form {
  width: 100%;
}

/* Form styles — shared across contact + auth */
.hgsf-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hgsf-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hgsf-form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--hgsf-text-light-primary);
  letter-spacing: 0.02em;
}

.hgsf-form__input {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--hgsf-text-light-primary);
  background-color: var(--hgsf-bg-white);
  border: 1.5px solid rgba(0,0,0,0.13);
  border-radius: var(--hgsf-r-sm);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.hgsf-form__input::placeholder {
  color: var(--hgsf-text-light-muted);
  opacity: 0.7;
}

.hgsf-form__input:focus {
  border-color: var(--hgsf-lime-accessible);
  box-shadow: 0 0 0 3px rgba(74,122,0,0.12);
}

.hgsf-form__input--textarea {
  resize: vertical;
  min-height: 140px;
}

.hgsf-form__submit {
  margin-top: 4px;
}

.hgsf-form__feedback {
  padding: 14px 16px;
  border-radius: var(--hgsf-r-sm);
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.hgsf-form__feedback--success {
  background-color: rgba(74,122,0,0.1);
  color: var(--hgsf-lime-accessible);
  border: 1px solid rgba(74,122,0,0.2);
  display: block;
}

.hgsf-form__feedback--error {
  background-color: rgba(220,38,38,0.08);
  color: #B91C1C;
  border: 1px solid rgba(220,38,38,0.15);
  display: block;
}

.hgsf-contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hgsf-contact-info__heading {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 4px;
}

.hgsf-contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hgsf-contact-info__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--hgsf-lime-accessible);
  margin-top: 2px;
}

.hgsf-contact-info__text {
  font-size: 15px;
  color: var(--hgsf-text-light-muted);
  line-height: 1.5;
}

.hgsf-contact-info__text a {
  color: var(--hgsf-lime-accessible);
  text-decoration: none;
}

.hgsf-contact-info__text a:hover {
  text-decoration: underline;
}

/* === JOURNAL INDEX === */
.hgsf-journal-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--hgsf-bg-deep);
  padding-top: var(--hgsf-nav-h);
}

.hgsf-journal-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.hgsf-journal-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12,10,8,0.4) 0%, rgba(12,10,8,0.7) 100%);
  z-index: 1;
}

.hgsf-journal-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-inline: auto;
  padding-inline: 24px;
  padding-block: 56px;
}

.hgsf-journal-hero__h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--hgsf-text-dark-primary);
  margin-bottom: 16px;
}

.hgsf-journal-hero__sub {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--hgsf-text-dark-muted);
  max-width: 540px;
}

.hgsf-journal-grid {
  background-color: var(--hgsf-bg-light);
  color: var(--hgsf-text-light-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-journal-grid__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Featured card (large) */
.hgsf-article-card--featured {
  background-color: var(--hgsf-bg-white);
  border-radius: var(--hgsf-r-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  margin-bottom: 40px;
  display: grid !important;
  grid-template-columns: 4fr 6fr;
  align-items: stretch;
}

.hgsf-article-card--featured .hgsf-article-card__img-wrap {
  aspect-ratio: unset;
  min-height: 200px;
}

.hgsf-article-card--featured .hgsf-article-card__body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Standard 3-col grid */
.hgsf-journal-articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}

.hgsf-article-card {
  background-color: var(--hgsf-bg-white);
  border-radius: var(--hgsf-r-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}

.hgsf-article-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
}

.hgsf-article-card__img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--hgsf-bg-light-alt);
}

.hgsf-article-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--hgsf-ease);
}

.hgsf-article-card:hover .hgsf-article-card__img {
  transform: scale(1.04);
}

.hgsf-article-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hgsf-article-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hgsf-lime-accessible);
  margin-bottom: 10px;
}

.hgsf-article-card__title {
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--hgsf-text-light-primary);
  line-height: 1.35;
  margin-bottom: 10px;
}

.hgsf-article-card--featured .hgsf-article-card__title {
  font-size: 24px;
  margin-bottom: 14px;
}

.hgsf-article-card__title a {
  color: inherit;
  text-decoration: none;
}

.hgsf-article-card__title a:hover {
  color: var(--hgsf-lime-accessible);
}

.hgsf-article-card__excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--hgsf-text-light-muted);
  margin-bottom: 16px;
  flex: 1;
}

.hgsf-article-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--hgsf-text-light-muted);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.hgsf-article-card__author {
  font-weight: 600;
}

.hgsf-article-card__date,
.hgsf-article-card__read-time {
  font-weight: 400;
}

.hgsf-article-card__dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  background-color: var(--hgsf-text-light-muted);
  border-radius: 50%;
  flex-shrink: 0;
}

/* === JOURNAL ARTICLE TEMPLATE === */
.hgsf-article-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--hgsf-bg-deep);
  padding-top: var(--hgsf-nav-h);
}

.hgsf-article-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hgsf-article-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(12,10,8,0.2) 0%,
    rgba(12,10,8,0.8) 70%,
    rgba(12,10,8,0.95) 100%);
  z-index: 1;
}

.hgsf-article-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
  padding-block: 56px;
  width: 100%;
}

.hgsf-article-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hgsf-text-dark-muted);
  text-decoration: none;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.hgsf-article-hero__back:hover {
  color: var(--hgsf-text-dark-primary);
}

.hgsf-article-hero__meta {
  font-size: 13px;
  color: var(--hgsf-text-dark-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hgsf-article-hero__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hgsf-lime);
  background-color: rgba(196,255,0,0.1);
  border-radius: var(--hgsf-r-xl);
  padding: 4px 10px;
}

.hgsf-article-hero__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--hgsf-text-dark-primary);
  max-width: 720px;
}

.hgsf-article-content {
  background-color: var(--hgsf-bg-light);
  color: var(--hgsf-text-light-primary);
  padding-block: var(--hgsf-section-py);
}

.hgsf-article-content__inner {
  max-width: var(--hgsf-prose-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.hgsf-article-body {
  max-width: var(--hgsf-prose-max);
  margin-inline: auto;
}

.hgsf-article-body h2 {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--hgsf-text-light-primary);
  margin-top: 40px;
  margin-bottom: 16px;
}

.hgsf-article-body h3 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--hgsf-text-light-primary);
  margin-top: 32px;
  margin-bottom: 12px;
}

.hgsf-article-body p {
  font-size: 17px;
  line-height: 1.78;
  color: var(--hgsf-text-light-muted);
  margin-bottom: 20px;
}

.hgsf-article-body a {
  color: var(--hgsf-lime-accessible);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hgsf-article-body ul,
.hgsf-article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.hgsf-article-body ul {
  list-style: disc;
}

.hgsf-article-body ol {
  list-style: decimal;
}

.hgsf-article-body li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--hgsf-text-light-muted);
  margin-bottom: 8px;
}

.hgsf-article-body blockquote {
  border-left: 3px solid var(--hgsf-lime-accessible);
  padding-left: 20px;
  margin: 28px 0;
  font-style: italic;
  color: var(--hgsf-text-light-primary);
}

.hgsf-article-related {
  background-color: var(--hgsf-bg-light);
  color: var(--hgsf-text-light-primary);
  padding-block: var(--hgsf-section-py);
  border-top: 1px solid rgba(0,0,0,0.07);
}

.hgsf-article-related__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.hgsf-article-related__heading {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 32px;
}

.hgsf-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

/* === AUTH PAGES === */
.hgsf-auth-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 45% at 65% -5%, rgba(196,255,0,0.055) 0%, transparent 60%),
    linear-gradient(155deg, #0D0C0A 0%, #111410 50%, #0C0A0C 100%);
  display: flex;
  flex-direction: column;
}

.hgsf-auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
}

.hgsf-auth-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: 440px;
}

.hgsf-auth-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.hgsf-auth-logo img {
  height: 29px;
  width: 132px;
}

.hgsf-auth-card {
  background-color: var(--hgsf-bg-white);
  border-radius: var(--hgsf-r-xl);
  padding: 48px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.hgsf-auth-card__heading {
  font-family: 'Sora', sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 8px;
}

.hgsf-auth-card__sub {
  font-size: 15px;
  color: var(--hgsf-text-light-muted);
  margin-bottom: 32px;
  line-height: 1.5;
}

/* Auth form variant wrappers — JS state hooks for submit/toggle handling */
.hgsf-auth-login-form,
.hgsf-auth-register-form,
.hgsf-auth-forgot-form {
  width: 100%;
}

.hgsf-auth-form-view {
  display: block;
}

/* Auth form uses hgsf-form classes */
.hgsf-auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hgsf-auth-form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--hgsf-text-light-primary);
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 6px;
}

.hgsf-auth-form__input {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--hgsf-text-light-primary);
  background-color: var(--hgsf-bg-light);
  border: 1.5px solid rgba(0,0,0,0.13);
  border-radius: var(--hgsf-r-sm);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.hgsf-auth-form__input::placeholder {
  color: var(--hgsf-text-light-muted);
  opacity: 0.65;
}

.hgsf-auth-form__input:focus {
  border-color: var(--hgsf-lime-accessible);
  box-shadow: 0 0 0 3px rgba(74,122,0,0.12);
}

.hgsf-auth-form__field {
  display: flex;
  flex-direction: column;
}

.hgsf-auth-form__submit {
  margin-top: 6px;
}

.hgsf-auth-form__feedback {
  padding: 12px 16px;
  border-radius: var(--hgsf-r-sm);
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.hgsf-auth-form__feedback--show {
  display: block;
}

.hgsf-auth-form__feedback--neutral {
  background-color: rgba(0,0,0,0.05);
  color: var(--hgsf-text-light-muted);
  border: 1px solid rgba(0,0,0,0.1);
}

.hgsf-auth-form__feedback--error {
  background-color: rgba(185,28,28,0.08);
  color: #B91C1C;
  border: 1px solid rgba(185,28,28,0.15);
}

.hgsf-auth-form__confirm-view {
  display: none;
  text-align: center;
  padding: 24px 0;
}

.hgsf-auth-form__confirm-view--show {
  display: block;
}

.hgsf-auth-form__confirm-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.hgsf-auth-form__confirm-heading {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 10px;
}

.hgsf-auth-form__confirm-text {
  font-size: 15px;
  color: var(--hgsf-text-light-muted);
  line-height: 1.5;
}

.hgsf-auth-card__links {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--hgsf-text-light-muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hgsf-auth-card__links a {
  color: var(--hgsf-lime-accessible);
  text-decoration: none;
  font-weight: 600;
}

.hgsf-auth-card__links a:hover {
  text-decoration: underline;
}

.hgsf-auth-card__legal {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
  text-align: center;
  font-size: 12px;
  color: var(--hgsf-text-light-muted);
  line-height: 1.6;
}

.hgsf-auth-card__legal a {
  color: var(--hgsf-text-light-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* === LEGAL CONTENT (for abw-legal) === */
.hgsf-legal-page {
  background-color: var(--hgsf-bg-light);
  color: var(--hgsf-text-light-primary);
  min-height: 100vh;
  padding-top: var(--hgsf-nav-h);
}

.hgsf-legal-content {
  max-width: var(--hgsf-prose-max);
  margin-inline: auto;
  padding-inline: 24px;
  padding-block: var(--hgsf-section-py);
  color: var(--hgsf-text-light-primary);
}

.hgsf-legal-content h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--hgsf-text-light-primary);
  margin-bottom: 8px;
}

.hgsf-legal-content .hgsf-legal-updated {
  font-size: 13px;
  color: var(--hgsf-text-light-muted);
  margin-bottom: 48px;
  display: block;
}

.hgsf-legal-content h2 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--hgsf-text-light-primary);
  margin-top: 40px;
  margin-bottom: 14px;
}

.hgsf-legal-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--hgsf-text-light-muted);
  margin-bottom: 16px;
}

.hgsf-legal-content a {
  color: var(--hgsf-lime-accessible);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hgsf-legal-content ul,
.hgsf-legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.hgsf-legal-content ul {
  list-style: disc;
}

.hgsf-legal-content ol {
  list-style: decimal;
}

.hgsf-legal-content li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--hgsf-text-light-muted);
  margin-bottom: 8px;
}

/* === FOOTER === */
.hgsf-footer {
  background-color: var(--hgsf-bg-deep);
  color: var(--hgsf-text-dark-primary);
  padding-block: 64px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.hgsf-footer__inner {
  max-width: var(--hgsf-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.hgsf-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.hgsf-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hgsf-footer__logo {
  height: 26px;
  width: auto;
}

.hgsf-footer__tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--hgsf-text-dark-muted);
  max-width: 280px;
}

.hgsf-footer__col-heading {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hgsf-text-dark-primary);
  margin-bottom: 20px;
}

.hgsf-footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hgsf-footer__link {
  font-size: 14px;
  color: var(--hgsf-text-dark-muted);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
}

.hgsf-footer__link:hover {
  color: var(--hgsf-text-dark-primary);
}

.hgsf-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}

.hgsf-footer__copy {
  font-size: 13px;
  color: var(--hgsf-text-dark-muted);
}

.hgsf-footer__legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hgsf-footer__legal-link {
  font-size: 13px;
  color: var(--hgsf-text-dark-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.hgsf-footer__legal-link:hover {
  color: var(--hgsf-text-dark-primary);
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 48px);
  max-width: 720px;
  background-color: var(--hgsf-bg-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--hgsf-r-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--hgsf-text-dark-muted);
  min-width: 200px;
}

.cookie-banner__text a {
  color: var(--hgsf-lime);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-banner__btn {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--hgsf-r-sm);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.cookie-banner__btn--primary {
  background-color: var(--hgsf-lime);
  color: var(--hgsf-lime-btn-text);
  border-color: var(--hgsf-lime);
}

.cookie-banner__btn--primary:hover {
  background-color: #d4ff20;
  border-color: #d4ff20;
}

.cookie-banner__btn--secondary {
  background-color: transparent;
  color: var(--hgsf-text-dark-muted);
  border-color: rgba(255,255,255,0.2);
}

.cookie-banner__btn--secondary:hover {
  background-color: rgba(255,255,255,0.06);
  color: var(--hgsf-text-dark-primary);
  border-color: rgba(255,255,255,0.3);
}

/* === FADE-IN ANIMATION (IntersectionObserver) === */
.hgsf-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--hgsf-ease), transform 0.55s var(--hgsf-ease);
}

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

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

/* === RESPONSIVE — TABLET (768px) === */
@media (max-width: 900px) {
  :root {
    --hgsf-section-py: 72px;
  }

  .hgsf-features__bento {
    grid-template-columns: 1fr;
  }

  .hgsf-team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hgsf-pricing__grid--4col {
    grid-template-columns: 1fr 1fr;
  }

  .hgsf-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .hgsf-about-story__inner,
  .hgsf-about-contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hgsf-benchmarks__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hgsf-nav__links,
  .hgsf-nav__actions {
    display: none;
  }

  .hgsf-nav__hamburger {
    display: flex;
  }

  .hgsf-workflow__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hgsf-usecases-preview__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hgsf-testimonials__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hgsf-pricing__grid,
  .hgsf-pricing__grid--4col {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hgsf-proof__inner {
    flex-direction: column;
    gap: 32px;
  }

  .hgsf-proof__metric {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-block: 24px;
  }

  .hgsf-proof__metric:last-of-type {
    border-bottom: none;
  }

  .hgsf-proof__source {
    flex-basis: auto;
    width: auto;
    margin-top: 0;
  }

  .hgsf-hiw-step__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hgsf-hiw-step--flip .hgsf-hiw-step__inner {
    direction: ltr;
  }

  .hgsf-uc-section__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hgsf-uc-section--flip .hgsf-uc-section__inner {
    direction: ltr;
  }

  .hgsf-cust-featured__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hgsf-cust-stories__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hgsf-article-card--featured {
    grid-template-columns: 1fr;
  }

  .hgsf-article-card--featured .hgsf-article-card__img-wrap {
    aspect-ratio: 16/9;
    min-height: unset;
  }

  .hgsf-article-card--featured .hgsf-article-card__body {
    padding: 28px;
  }

  .hgsf-journal-articles-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .hgsf-related-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hgsf-values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hgsf-cust-metrics__inner {
    flex-direction: column;
    gap: 24px;
  }

  .hgsf-cust-metrics__item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-block: 20px;
  }

  .hgsf-cust-metrics__item:last-child {
    border-bottom: none;
  }

  .hgsf-contact-form-section__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hgsf-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .hgsf-auth-card {
    padding: 36px 28px;
  }

  .hgsf-benchmarks__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* === RESPONSIVE — MOBILE (375px) === */
@media (max-width: 480px) {
  :root {
    --hgsf-section-py: 56px;
  }

  .hgsf-journal-articles-grid {
    grid-template-columns: 1fr;
  }

  .hgsf-footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hgsf-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hgsf-team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hgsf-benchmarks__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hgsf-hero__actions {
    flex-direction: column;
  }

  .hgsf-btn {
    font-size: 15px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    justify-content: flex-end;
  }
}

/* === TABLE OVERFLOW GUARD === */
.hgsf-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* === PRE / CODE BLOCKS === */
pre,
code {
  font-family: 'Menlo', 'Monaco', 'Consolas', 'Courier New', monospace;
}

pre {
  overflow-x: auto;
  max-width: 100%;
  padding: 20px;
  border-radius: var(--hgsf-r-sm);
  background-color: var(--hgsf-bg-dark);
  color: var(--hgsf-text-dark-primary);
  font-size: 14px;
  line-height: 1.6;
}

/* === PAGE THEME STATE === */
.hgsf-page--dark-top {
  background-color: var(--hgsf-bg-deep);
  color: var(--hgsf-text-dark-primary);
}

/* === PRICING TOGGLE LABEL IDENTITY HOOKS (JS reads --monthly / --annual) === */
.hgsf-pricing-toggle__label--monthly,
.hgsf-pricing-toggle__label--annual {
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

/* === PRICING ROOT CONTAINER === */
.hgsf-pricing-root {
  width: 100%;
}
