@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

body { margin: 0; font-family: var(--font-sans); font-weight: 500; font-size: 16px; line-height: 1.65; background: var(--surface); color: var(--ink); -webkit-font-smoothing: antialiased; }
.gi-icon { flex: none; display: block; }

/* Button */
.gi-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: var(--radius-pill); border: 2px solid transparent; font: 700 15px/1 var(--font-sans); letter-spacing: -0.005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease; }
.gi-btn .gi-icon { transition: transform 150ms ease; }
.gi-btn:hover .gi-icon { transform: translateX(3px); }
.gi-btn:active { transform: translateY(1px); }
.gi-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.gi-btn-lg { min-height: 56px; padding: 0 32px; font-size: 16px; }
.gi-btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 20px rgba(255, 99, 0, 0.28); }
.gi-btn-primary:hover { background: var(--orange-600); }
.gi-btn-secondary { background: var(--green-700); color: var(--white); }
.gi-btn-secondary:hover { background: #00612e; }
.gi-btn-ghost { background: transparent; color: var(--ink); padding: 0 6px; }
.gi-btn-ghost:hover { color: var(--highlight); }
.gi-btn-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.gi-btn-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.gi-btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Eyebrow */
.gi-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line); font: 700 12px/16px var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.gi-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); }
.gi-eyebrow-dark { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); color: var(--white); }

/* SectionHeading */
.gi-heading { display: grid; gap: var(--space-5); justify-items: start; max-width: 720px; }
.gi-heading .gi-eyebrow { margin-bottom: -4px; }
.gi-heading-center { justify-items: center; text-align: center; margin-inline: auto; }
.gi-heading-title { margin: 0; font-family: var(--font-sans); font-weight: 800; color: var(--ink); text-wrap: balance; }
.gi-title-xl { font-size: clamp(40px, 5vw, 62px); line-height: 1.02; letter-spacing: -0.035em; }
.gi-title-lg { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -0.03em; }
.gi-title-md { font-size: clamp(26px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.02em; }
.gi-heading-text { margin: 0; max-width: 60ch; font-size: 18px; line-height: 1.6; color: var(--ink-muted); }
.gi-hl-wrap { white-space: nowrap; }
.gi-hl { position: relative; color: var(--highlight); white-space: nowrap; }
.gi-hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.14em; border-radius: 99px; background: var(--orange-500); transform: rotate(-1deg); }
.gi-on-dark .gi-heading-title { color: var(--ink-on-dark); }
.gi-on-dark .gi-heading-text { color: var(--ink-on-dark-muted); }
.gi-on-dark .gi-hl { color: var(--lime-400); }

/* FeatureCard */
.gi-feature { display: grid; gap: 12px; align-content: start; padding: var(--space-8); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: transform 200ms ease, box-shadow 200ms ease; }
.gi-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.gi-feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 8px; border-radius: var(--radius-md); background: var(--tint); color: var(--icon); }
.gi-feature-title { margin: 0; font: 700 20px/1.3 var(--font-sans); letter-spacing: -0.01em; color: var(--ink); }
.gi-feature-text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-muted); }
.gi-feature-dark { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); box-shadow: none; }
.gi-feature-dark .gi-feature-icon { background: rgba(131, 197, 96, 0.16); color: var(--lime-400); }
.gi-feature-dark .gi-feature-title { color: var(--white); }
.gi-feature-dark .gi-feature-text { color: var(--ink-on-dark-muted); }

/* StatList */
.gi-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gi-stats li { display: flex; align-items: center; gap: var(--space-3); font-size: 16px; line-height: 1.4; color: var(--ink-muted); }
.gi-stats strong { color: var(--ink); font-weight: 700; }
.gi-stats-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--icon); }
.gi-on-dark.gi-stats li { color: var(--ink-on-dark-muted); }
.gi-on-dark.gi-stats strong { color: var(--white); }
.gi-on-dark .gi-stats-icon { background: rgba(131, 197, 96, 0.16); color: var(--lime-400); }

/* Steps */
.gi-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--gi-cols, 3), minmax(0, 1fr)); gap: var(--space-6); counter-reset: none; }
.gi-step { position: relative; display: grid; gap: 10px; align-content: start; padding: var(--space-8); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.gi-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.gi-step-num { font: 800 44px/1 var(--font-sans); letter-spacing: -0.04em; color: var(--orange-500); }
.gi-step-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; background: var(--tint); color: var(--icon); }
.gi-step-title { margin: 0; font: 700 20px/1.3 var(--font-sans); letter-spacing: -0.01em; color: var(--ink); }
.gi-step-text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-muted); }
.gi-steps-dark .gi-step { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }
.gi-steps-dark .gi-step-title { color: var(--white); }
.gi-steps-dark .gi-step-text { color: var(--ink-on-dark-muted); }
.gi-steps-dark .gi-step-icon { background: rgba(131, 197, 96, 0.16); color: var(--lime-400); }

/* Faq */
.gi-faq { display: grid; gap: 12px; }
.gi-faq-item { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.gi-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: 22px 26px; list-style: none; cursor: pointer; font: 700 17px/1.4 var(--font-sans); color: var(--ink); }
.gi-faq-item summary::-webkit-details-marker { display: none; }
.gi-faq-item summary:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: var(--radius-lg); }
.gi-faq-item summary .gi-icon { color: var(--icon); transition: transform 200ms ease; }
.gi-faq-item[open] summary .gi-icon { transform: rotate(180deg); }
.gi-faq-item[open] { border-color: var(--icon); }
.gi-faq-a { padding: 0 26px 24px; font-size: 16px; line-height: 1.65; color: var(--ink-muted); }

/* LeadForm */
.gi-form { display: grid; gap: 16px; padding: var(--space-8); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-raised); color: var(--ink); }
.gi-form-title { margin: 0; font: 800 24px/1.2 var(--font-sans); letter-spacing: -0.02em; color: var(--ink); }
.gi-form-text { margin: -6px 0 4px; font-size: 15px; line-height: 1.55; color: var(--ink-muted); }
.gi-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gi-field { display: grid; gap: 6px; }
.gi-field label { font: 700 14px/20px var(--font-sans); color: var(--ink); }
.gi-field input, .gi-field select { width: 100%; box-sizing: border-box; min-height: 48px; padding: 0 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--field-border); background: var(--surface); color: var(--ink); font: 500 16px/1.4 var(--font-sans); }
.gi-field input::placeholder { color: var(--ink-muted); opacity: 0.8; }
.gi-field input:focus-visible, .gi-field select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.gi-field [aria-invalid="true"] { border-color: var(--danger); }
.gi-field-err { margin: 0; font-size: 13px; font-weight: 600; color: var(--danger); }
.gi-field-hint { margin: 0; font-size: 13px; color: var(--ink-muted); }
.gi-form-submit { width: 100%; margin-top: 4px; }
.gi-form-legal { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink-muted); text-align: center; }
.gi-form-done { justify-items: center; text-align: center; padding-block: var(--space-12); }

/* Navbar */
.gi-nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.gi-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); max-width: var(--container); margin: 0 auto; padding: 14px 24px; }
.gi-nav-logo { display: inline-flex; align-items: center; min-height: 48px; }
.gi-nav-logo img { display: block; height: 46px; width: auto; }
.gi-nav-logo:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 6px; }
.gi-nav-menu { display: flex; align-items: center; gap: var(--space-8); }
.gi-nav-menu ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.gi-nav-menu ul a { font: 600 15px/1 var(--font-sans); color: var(--ink); text-decoration: none; padding: 8px 0; }
.gi-nav-menu ul a:hover { color: var(--highlight); }
.gi-nav-menu ul a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
.gi-nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--surface-alt); color: var(--ink); cursor: pointer; }
.gi-nav-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

@media (max-width: 900px) {
  .gi-nav-toggle { display: inline-flex; }
  .gi-nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: var(--space-4); padding: var(--space-4) var(--space-6) var(--space-6); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-card); }
  .gi-nav-open .gi-nav-menu { display: flex; }
  .gi-nav-menu ul { flex-direction: column; gap: 0; }
  .gi-nav-menu ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .gi-nav-logo img { height: 38px; }
  .gi-steps { grid-template-columns: 1fr; }
  .gi-form-row { grid-template-columns: 1fr; }
  .gi-form { padding: var(--space-6); }
}

/* Preview helpers */
.gi-pv { padding: 32px; }
.gi-pv-alt { padding: 32px; background: var(--surface-alt); }
.gi-pv-dark { padding: 32px; background: var(--surface-dark); }
.gi-pv-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.gi-pv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
