/* ============================================================
   GLOBAL
   ============================================================ */

:root {
  --bg: #050816;
  --bg-alt: #070b1a;
  --bg-soft: #0e1426;
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --accent-success: #22c55e;
  --text-main: #e5e7eb;
  --text-soft: #9ca3af;
  --border-subtle: rgba(148,163,184,0.35);
  --card-bg: rgba(15,23,42,0.9);
  --shadow-soft: 0 22px 60px rgba(15,23,42,0.95);
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-pill: 999px;
  --nav-height: 72px;
}

* {
  box-sizing: border-box;
}

body.fi-body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  color: var(--text-main);
  background: #020617;
  line-height: 1.6;
}

body.fi-body--gradient {
  background: radial-gradient(circle at top, #1d2438 0%, #020617 55%, #020617 100%);
}

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

img {
  max-width: 100%;
  display: block;
}

.fi-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */

.fi-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(2,6,23,0.98), rgba(2,6,23,0.88), transparent);
  border-bottom: 1px solid rgba(15,23,42,0.95);
}

.fi-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.fi-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fi-nav__logo-img {
  height: 80px;
  width: auto;
}

.fi-nav__brand-text {
  display: flex;
  flex-direction: column;
}

.fi-nav__brand-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.fi-nav__brand-sub {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.fi-nav__links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.88rem;
}

.fi-nav__link {
  color: var(--text-soft);
  position: relative;
  padding-bottom: 0.18rem;
}

.fi-nav__link:hover {
  color: var(--text-main);
}

.fi-nav__link--active {
  color: var(--accent);
}

.fi-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent-success), var(--accent-strong));
  transition: width 0.2s ease-out;
}

.fi-nav__link:hover::after,
.fi-nav__link--active::after {
  width: 16px;
}

/* ============================================================
   SECTIONS / HERO
   ============================================================ */

.fi-section {
  padding: 3.5rem 0;
}

.fi-section--hero {
  padding: 3rem 0 4.5rem;
}

.fi-section--band {
  background: radial-gradient(circle at top left, rgba(56,189,248,0.12), rgba(15,23,42,0.96));
  border-top: 1px solid rgba(15,23,42,0.9);
  border-bottom: 1px solid rgba(15,23,42,0.9);
}

.fi-section__header {
  max-width: 780px;
  margin-bottom: 2.2rem;
}

/* “WHO THIS IS FOR” on Consulting and all section labels on FrogNet */
#fit .fi-eyebrow,
.frognet-page .fi-section__header .fi-eyebrow {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--accent-strong);
  background: rgba(56,189,248,0.12);
  margin-bottom: 1rem;
}

.fi-section__title {
  margin: 1rem 0 0.6rem;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
}

.fi-section__subtitle {
  color: var(--text-soft);
  font-size: 0.96rem;
}

.fi-hero__title {
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  line-height: 1.05;
  margin: 1.2rem 0 0.85rem;
}

.fi-hero__title span {
  display: block;
  background: linear-gradient(to right, var(--accent-success), var(--accent));
  -webkit-background-clip: text;
  color: transparent;
}

.fi-hero__subtitle {
  color: var(--text-soft);
  font-size: 0.98rem;
  max-width: 640px;
}

/* ============================================================
   SHARED HERO GRID (CONSULTING + FROGNET)
   ============================================================ */

.fi-hero {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: center;
}

.fi-hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

/* little breathing room around primary CTA */
.fi-hero__cta-row .fi-btn--primary {
  margin: 0.2rem 0.1rem;
}

.fi-hero__graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hero logos (Consulting + FrogNet) — now 50% larger */
.fi-hero__logo-main {
  width: 270px;
  max-width: 270px;
  height: auto;
  display: block;
  opacity: 0.95;
}


/* Mobile: stack hero columns */
@media (max-width: 900px) {
  .fi-hero {
    grid-template-columns: 1fr;
  }
  .fi-hero__graphic {
    margin-top: 1.25rem;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.fi-btn {
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  background: transparent;
  color: inherit;
}

.fi-btn span {
  font-size: 0.9em;
}

.fi-btn--primary {
  background: radial-gradient(circle at top left, rgba(56,189,248,0.75), rgba(56,189,248,0.1));
  border-color: rgba(56,189,248,0.8);
  box-shadow: var(--shadow-soft);
}

.fi-btn--ghost {
  background: rgba(15,23,42,0.9);
  border-color: rgba(148,163,184,0.65);
  color: var(--text-soft);
}

/* ============================================================
   HOME: TWO BIG CHOICES
   ============================================================ */

.fi-choice-row {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.fi-choice-card {
  flex: 1 1 380px;
  max-width: 520px;
  text-decoration: none;
  color: inherit;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease-out,
             box-shadow 0.18s ease-out,
             border-color 0.18s ease-out,
             background 0.18s ease-out;
}

.fi-choice-heading {
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 0.8rem;
  font-weight: 700;
}

.fi-choice-tagline {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
}

.fi-choice-body {
  margin: 0;
  font-size: 0.97rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.fi-choice-cta {
  margin-top: 1.7rem;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
}

.fi-choice-arrow {
  font-size: 1.1rem;
}

.fi-choice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 70px rgba(15,23,42,0.98);
  border-color: rgba(56,189,248,0.7);
  background: radial-gradient(circle at top left,
                              rgba(56,189,248,0.16),
                              rgba(15,23,42,0.98));
}

.fi-choice-card--consulting .fi-choice-heading {
  border-bottom: 2px solid rgba(134,239,172,0.8);
  padding-bottom: 0.4rem;
}

.fi-choice-card--frognet .fi-choice-heading {
  border-bottom: 2px solid rgba(56,189,248,0.8);
  padding-bottom: 0.4rem;
}

@media (max-width: 900px) {
  .fi-choice-row {
    flex-direction: column;
  }
  .fi-choice-card {
    max-width: 100%;
  }
}

/* ============================================================
   GENERIC CARDS / GRIDS / LISTS
   ============================================================ */

.fi-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
}

.fi-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.fi-card__body {
  margin: 0.3rem 0;
  color: var(--text-soft);
  font-size: 0.93rem;
}

.fi-grid {
  display: grid;
  gap: 1.7rem;
}

.fi-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.fi-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.fi-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.fi-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.fi-list--compact li {
  margin-bottom: 0.25rem;
}

.fi-list--bulky li {
  margin-bottom: 0.6rem;
}

.fi-list--bulky li:last-child {
  margin-bottom: 0;
}

.fi-list--bulky li::marker {
  color: var(--accent-strong);
}

/* ============================================================
   “WHO THIS IS FOR” – punch up header
   ============================================================ */

#fit .fi-eyebrow {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--accent-strong);
  background: rgba(56,189,248,0.12);
  margin-bottom: 1rem;
}

/* ============================================================
   CONTACT / FORMS
   ============================================================ */

.fi-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.fi-contact__meta {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.fi-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.fi-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.88rem;
}

.fi-form__group label {
  color: var(--text-soft);
}

.fi-form__group input,
.fi-form__group textarea {
  border-radius: 0.75rem;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.95);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-main);
  font-family: inherit;
  resize: vertical;
}

/* ============================================================
   VIDEO CARDS / PILOT CALLOUT
   ============================================================ */

.fi-video-grid {
  align-items: stretch;
}

.fi-card--video {
  padding: 1rem 1rem 1.3rem;
}

.fi-video-frame iframe {
  width: 100%;
  min-height: 200px;
  border-radius: 1rem;
  border: none;
}

.fi-pilotcall {
  margin-top: 2rem;
  padding: 1.6rem 1.7rem;
  background: radial-gradient(circle at top left, rgba(56,189,248,0.14), rgba(15,23,42,0.98));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(56,189,248,0.45);
  box-shadow: var(--shadow-soft);
}

/* ============================================================
   FOUNDER STRIP (HOME)
   ============================================================ */

.fi-gateway__founder {
  margin-top: 2.5rem;
}

.fi-gateway__founder-inner {
  background: rgba(15,23,42,0.95);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--border-subtle);
}

.fi-foundertitle {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.fi-foundersub {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

.fi-footer {
  border-top: 1px solid rgba(15,23,42,0.95);
  padding: 1.4rem 0 2rem;
  background: linear-gradient(to top, #020617, transparent);
  font-size: 0.8rem;
  color: var(--text-soft);
}

.fi-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.fi-footer__links {
  display: flex;
  gap: 0.9rem;
}

.fi-footer__links a:hover {
  color: var(--text-main);
}

/* ============================================================
   RESPONSIVE NAV
   ============================================================ */

@media (max-width: 640px) {
  .fi-nav__links {
    display: none;
  }
}
