*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  /* Shared with the app type scale (16px root). */
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-md: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-display: clamp(1.5rem, 2.5vw, 2rem);
  --gf-primary: #2563eb;
  --gf-primary-hover: #1d4ed8;
  --gf-primary-soft: #eff6ff;
  --gf-primary-border: #bfdbfe;
  --gf-text: #1a1a2e;
  --gf-text-muted: #4b5563;
  --gf-text-subtle: #64748b;
  --gf-border: #e5e7eb;
  --gf-border-soft: #dbe3ef;
  --gf-surface: #f8fafc;
  --gf-footer-bg: #1a1a2e;
  --gf-radius-sm: 12px;
  --gf-radius-md: 16px;
  --gf-radius-lg: 20px;
  --gf-section-x: clamp(1.25rem, 4vw, 4rem);
  --gf-content-max: min(1400px, 100%);
  --gf-header-height: 4.25rem;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--gf-text);
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

/* ----- Layout bands ----- */
.section-band {
  width: 100%;
  padding-left: var(--gf-section-x);
  padding-right: var(--gf-section-x);
}

.section-inner {
  width: var(--gf-content-max);
  margin: 0 auto;
}

.section-band--surface {
  background: var(--gf-surface);
}

.section-band--cta {
  position: relative;
  isolation: isolate;
}

.section-band--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 70% at center,
    rgba(37, 99, 235, 0.12) 0%,
    rgba(37, 99, 235, 0.04) 45%,
    rgba(255, 255, 255, 0) 72%
  );
  pointer-events: none;
  z-index: 0;
}

.section-band--cta > .section-inner {
  position: relative;
  z-index: 1;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--gf-border);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: var(--gf-content-max);
  max-width: 100%;
  margin: 0 auto;
  padding: 0.85rem var(--gf-section-x);
  min-height: var(--gf-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin: 0;
  line-height: 0;
  flex-shrink: 0;
}

.logo img {
  height: 38px;
  width: auto;
  max-width: min(220px, 52vw);
  display: block;
  object-fit: contain;
}

.logo:hover img {
  opacity: 0.92;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--gf-border);
  border-radius: var(--gf-radius-sm);
  background: #fff;
  cursor: pointer;
  color: var(--gf-text);
}

.nav-toggle-bar {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.site-header.is-nav-open .nav-toggle-bar {
  background: transparent;
}

.site-header.is-nav-open .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--gf-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--text-md);
}

.nav-links a:hover {
  color: var(--gf-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.05rem;
  font-size: var(--text-md);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--gf-radius-sm);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-lg {
  padding: 0.8rem 1.45rem;
  font-size: var(--text-base);
}

.btn-primary {
  color: #fff;
  background: var(--gf-primary);
}

.btn-primary:hover {
  background: var(--gf-primary-hover);
}

.btn-secondary {
  color: var(--gf-primary);
  background: transparent;
  border-color: var(--gf-primary);
}

.btn-secondary:hover {
  background: var(--gf-primary-soft);
}

.btn-outline-app {
  color: var(--gf-primary) !important;
  background: #fff;
  border-color: var(--gf-border);
}

.btn-outline-app:hover {
  background: var(--gf-primary-soft);
  border-color: #cbd5e1;
}

.site-header .nav a.btn-primary,
.site-header .nav a.btn-primary:hover {
  color: #fff !important;
}

/* ----- Hero ----- */
.hero-band {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero-band::before {
  content: "";
  position: absolute;
  inset: -10% auto auto 50%;
  width: min(1100px, 120vw);
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.11) 0%, rgba(37, 99, 235, 0.03) 45%, rgba(255, 255, 255, 0) 75%);
  z-index: 0;
  animation: heroGlow 10s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  text-align: left;
}

.hero-badge {
  margin: 0 0 1rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gf-primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: var(--text-display);
  font-weight: 800;
  line-height: 1.12;
  color: var(--gf-text);
  max-width: 18ch;
}

.hero-lead {
  margin: 0 0 1.5rem;
  font-size: var(--text-xl);
  color: var(--gf-text-muted);
  line-height: 1.65;
  max-width: 38rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hero-note {
  margin: 0.85rem 0 0;
  font-size: var(--text-md);
  color: var(--gf-text-subtle);
}

.hero-value-strip {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-value-strip li {
  font-size: var(--text-sm);
  color: #1d4ed8;
  background: var(--gf-primary-soft);
  border: 1px solid var(--gf-primary-border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  white-space: nowrap;
}

.hero-visual {
  position: relative;
  min-height: 280px;
}

.hero-media {
  margin: 0;
  position: relative;
  z-index: 1;
}

.hero-video {
  width: 100%;
  display: block;
  border-radius: var(--gf-radius-lg);
  border: 1px solid var(--gf-border-soft);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
  background: #0f172a;
}

.hero-media figcaption {
  margin-top: 0.75rem;
  font-size: var(--text-md);
  color: var(--gf-text-subtle);
}

/* ----- Section typography ----- */
.section-title {
  margin: 0 0 0.75rem;
  font-size: var(--text-display);
  font-weight: 800;
  color: var(--gf-text);
  text-align: center;
}

.section-lead {
  margin: 0 auto 1.5rem;
  max-width: 42rem;
  font-size: var(--text-base);
  color: var(--gf-text-muted);
  text-align: center;
  line-height: 1.65;
}

.section-eyebrow {
  margin: 0 0 0.5rem;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gf-primary);
  text-align: center;
}

/* ----- Jobs (customer profile) ----- */
.section-jobs {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.jobs-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.job-card {
  background: #fff;
  border: 1px solid var(--gf-border-soft);
  border-radius: var(--gf-radius-md);
  padding: 1.35rem 1.25rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.job-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.job-mark {
  margin: 0 0 0.75rem;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d4ed8;
}

.job-card h3 {
  margin: 0 0 0.45rem;
  font-size: var(--text-base);
  line-height: 1.35;
}

.job-card p {
  margin: 0;
  font-size: var(--text-md);
  color: var(--gf-text-muted);
  line-height: 1.55;
}

/* ----- Pains ----- */
.section-pains {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.pain-list {
  list-style: none;
  margin: 2rem auto 0;
  padding: 0;
  max-width: 48rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.pain-item {
  margin: 0;
  padding: 0.95rem 1.15rem;
  background: #fff;
  border: 1px solid var(--gf-border-soft);
  border-left: 3px solid #94a3b8;
  border-radius: var(--gf-radius-sm);
  font-size: var(--text-base);
  color: var(--gf-text);
  line-height: 1.55;
}

/* ----- Fit / value map ----- */
.section-fit {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.fit-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.fit-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gf-border-soft);
  border-radius: var(--gf-radius-md);
  padding: 1.35rem 1.25rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.fit-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.fit-pain {
  margin: 0 0 0.85rem;
  font-size: var(--text-md);
  font-style: italic;
  color: var(--gf-text-subtle);
  line-height: 1.5;
}

.fit-card h3 {
  margin: 0 0 0.5rem;
  font-size: var(--text-base);
  line-height: 1.35;
}

.fit-proof {
  margin: 0 0 0.75rem;
  font-size: var(--text-md);
  color: var(--gf-text-muted);
  line-height: 1.55;
}

.fit-gain {
  margin: 0;
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--gf-text);
  line-height: 1.5;
}

.plan-pill {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0.9rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #1d4ed8;
  background: var(--gf-primary-soft);
  border: 1px solid var(--gf-primary-border);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}

/* ----- Video showcase sections ----- */
.section-showcase {
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.showcase-copy {
  text-align: left;
}

.showcase-eyebrow {
  margin: 0 0 0.6rem;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gf-primary);
}

.showcase-title {
  margin: 0 0 1rem;
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.25;
  color: var(--gf-text);
}

.showcase-body {
  margin: 0;
  font-size: var(--text-base);
  color: var(--gf-text-muted);
  line-height: 1.65;
}

.showcase-media {
  margin: 0;
}

.showcase-media-tablet {
  max-width: min(680px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.showcase-video-frame {
  border-radius: var(--gf-radius-lg);
  overflow: hidden;
}

.showcase-video {
  width: 100%;
  display: block;
  border-radius: var(--gf-radius-lg);
  border: 1px solid var(--gf-border-soft);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  background: #0f172a;
}

.showcase-video-tablet {
  aspect-ratio: 855 / 832;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015) translateX(2px);
}

.showcase-media figcaption {
  margin-top: 0.65rem;
  font-size: var(--text-md);
  color: var(--gf-text-subtle);
}

/* ----- Workflow ----- */
.section-workflow {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.workflow-grid {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.workflow-card {
  background: linear-gradient(180deg, #ffffff 0%, var(--gf-surface) 100%);
  border: 1px solid var(--gf-border-soft);
  border-radius: var(--gf-radius-md);
  padding: 1.5rem;
}

.workflow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.workflow-card h3 {
  margin: 0 0 0.5rem;
  font-size: var(--text-base);
  line-height: 1.35;
}

.workflow-card p {
  margin: 0;
  font-size: var(--text-md);
  color: var(--gf-text-muted);
}

/* ----- Pricing ----- */
.section-pricing {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 2rem 0 1.5rem;
}

.pricing-toggle {
  display: inline-flex;
  padding: 0.3rem;
  border: 1px solid var(--gf-border-soft);
  border-radius: 999px;
  background: var(--gf-surface);
  gap: 0.25rem;
}

.pricing-toggle-btn {
  border: none;
  background: transparent;
  color: var(--gf-text-muted);
  font-size: var(--text-md);
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease;
}

.pricing-toggle-btn.is-active {
  background: var(--gf-primary);
  color: #fff;
}

.pricing-toggle-btn:focus-visible {
  outline: 2px solid var(--gf-primary);
  outline-offset: 2px;
}

.pricing-package-desc {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: var(--gf-text-muted);
  font-size: var(--text-base);
  line-height: 1.55;
}

.pricing-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 1.75rem 1.5rem;
  border-radius: var(--gf-radius-lg);
  border: 1px solid var(--gf-border-soft);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-card:hover {
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
  border-color: #c7d2fe;
}

.pricing-tier {
  margin: 0 0 0.35rem;
  font-size: var(--text-base);
  font-weight: 700;
}

.pricing-size {
  margin: 0 0 0.75rem;
  font-size: var(--text-md);
  color: var(--gf-text-subtle);
}

.pricing-amount {
  margin: 0 0 0.25rem;
  font-size: var(--text-display);
  font-weight: 800;
  color: var(--gf-text);
  line-height: 1.1;
}

.pricing-amount.is-placeholder {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--gf-text-muted);
}

.pricing-per {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--gf-text-muted);
}

.pricing-features {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  flex: 1;
}

.pricing-features li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  font-size: var(--text-md);
  color: var(--gf-text-muted);
  line-height: 1.45;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gf-primary);
  font-weight: 700;
}

.pricing-features li.is-muted {
  opacity: 0.55;
}

.pricing-features li.is-muted::before {
  content: "—";
  color: var(--gf-text-subtle);
}

.pricing-cta {
  margin-top: auto;
}

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

/* ----- About section ----- */
.section-about {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.about-copy .section-lead:first-child {
  margin-bottom: 1rem;
}

.about-copy .section-lead:last-child {
  margin-bottom: 2rem;
}

.about-contact {
  text-align: center;
}

.about-contact-label {
  margin: 0 0 0.5rem;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gf-primary);
}

.about-contact-location {
  margin: 0.75rem 0 0;
  font-size: var(--text-md);
  color: var(--gf-text-subtle);
}

/* ----- CTA section ----- */
.section-cta {
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-cta .btn {
  margin-top: 0.5rem;
}

.section-contact .section-eyebrow {
  margin-bottom: 0.5rem;
}

.contact-email-display {
  margin: 0 0 2rem;
}

.contact-email-primary {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--gf-primary, #2563eb);
  text-decoration: none;
}

.contact-email-primary:hover {
  text-decoration: underline;
}

.section-contact-cta-lead {
  margin-bottom: 0.25rem;
}

/* ----- Footer ----- */
.site-footer {
  margin-top: auto;
  background: var(--gf-footer-bg);
  color: #9ca3af;
  padding: 3rem var(--gf-section-x) 2.5rem;
}

.footer-inner {
  width: var(--gf-content-max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand-block p {
  margin: 0.75rem 0 0;
  font-size: var(--text-md);
  max-width: 20rem;
  line-height: 1.55;
}

.footer-logo {
  height: 28px;
  width: auto;
  max-width: min(200px, 70vw);
  display: block;
  object-fit: contain;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: #93c5fd;
  text-decoration: none;
  font-size: var(--text-md);
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--text-sm);
  text-align: center;
}

.footer-contact {
  margin: 0 0 0.75rem;
  font-size: var(--text-md);
  text-align: center;
}

.footer-contact a {
  color: #93c5fd;
  text-decoration: none;
}

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

.section-lead-muted {
  font-size: var(--text-base);
  color: #6b7280;
  margin-top: -0.25rem;
}

.section-lead-muted a {
  color: var(--gf-primary, #2563eb);
  text-decoration: none;
}

.section-lead-muted a:hover {
  text-decoration: underline;
}

.pricing-package-email-note {
  margin: -0.5rem auto 1.5rem;
  max-width: 36rem;
  text-align: center;
  font-size: var(--text-md);
  color: #6b7280;
}

.pricing-package-email-note a {
  color: var(--gf-primary, #2563eb);
  text-decoration: none;
}

.pricing-package-email-note a:hover {
  text-decoration: underline;
}

.pricing-contact-link {
  color: inherit;
  text-decoration: none;
}

.pricing-contact-link:hover {
  text-decoration: underline;
}

/* ----- Scroll motion ----- */
.reveal,
.reveal-left,
.reveal-right,
.reveal-stagger {
  opacity: 1;
  transform: none;
}

body.motion-enabled .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

body.motion-enabled .reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

body.motion-enabled .reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

body.motion-enabled .reveal-stagger {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--stagger-delay, 0ms);
}

body.motion-enabled .reveal.is-visible,
body.motion-enabled .reveal-left.is-visible,
body.motion-enabled .reveal-right.is-visible,
body.motion-enabled .reveal-stagger.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ----- Responsive ----- */
@media (min-width: 640px) {
  .jobs-grid,
  .fit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(320px, 0.46fr) minmax(380px, 0.54fr);
    gap: 3rem;
  }

  .showcase-inner {
    grid-template-columns: minmax(280px, 0.38fr) minmax(420px, 0.62fr);
    gap: 3rem;
  }

  .section-showcase-alt .showcase-inner {
    grid-template-columns: minmax(420px, 0.62fr) minmax(280px, 0.38fr);
  }

  .section-showcase-alt .showcase-media {
    order: -1;
  }

  .jobs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .fit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--gf-section-x) 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--gf-border);
    display: none;
  }

  .site-header.is-nav-open .nav {
    display: flex;
  }

  .nav-links,
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.35rem;
    padding-top: 0.75rem;
  }

  .nav-links {
    border-bottom: 1px solid var(--gf-border);
    padding-bottom: 0.75rem;
  }

  .nav-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 639px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-value-strip li {
    white-space: normal;
  }
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes heroGlow {
  0%,
  100% {
    opacity: 0.8;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-band::before {
    animation: none;
  }

  body.motion-enabled .reveal,
  body.motion-enabled .reveal-left,
  body.motion-enabled .reveal-right,
  body.motion-enabled .reveal-stagger {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ----- Error toast ----- */
.marketing-error-toast {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: end center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.35);
}

.marketing-error-toast[hidden] {
  display: none !important;
}

.marketing-error-toast-panel {
  width: min(100%, 28rem);
  background: #fff;
  border: 1px solid var(--gf-border-soft);
  border-radius: var(--gf-radius-md);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
  padding: 1rem 1.1rem 1.1rem;
  animation: toastIn 0.22s ease;
}

.marketing-error-toast-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.marketing-error-toast-title {
  margin: 0;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gf-text);
}

.marketing-error-toast-message {
  margin: 0 0 0.75rem;
  font-size: var(--text-md);
  color: var(--gf-text-muted);
  line-height: 1.5;
}

.marketing-error-toast-close {
  border: none;
  background: transparent;
  color: var(--gf-text-subtle);
  font-size: var(--text-xl);
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.25rem;
  border-radius: 8px;
}

.marketing-error-toast-close:hover {
  color: var(--gf-text);
  background: var(--gf-surface);
}

.marketing-error-toast-details-toggle {
  border: none;
  background: transparent;
  color: var(--gf-primary);
  font-size: var(--text-md);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 0.5rem;
  font-family: inherit;
}

.marketing-error-toast-details-toggle:hover {
  text-decoration: underline;
}

.marketing-error-toast-details {
  margin: 0;
  padding: 0.75rem;
  border-radius: var(--gf-radius-sm);
  background: var(--gf-surface);
  border: 1px solid var(--gf-border);
  font-size: var(--text-xs);
  line-height: 1.45;
  color: var(--gf-text-muted);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 12rem;
  overflow: auto;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-error-toast-panel {
    animation: none;
  }
}
