/* Flaiver — marketing site */

:root {
  --accent: #E5893A;
  --accent-ink: #122238;
  --link: #C46A1B;
  --link-hover: #9A4C0E;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #EBEEF3;
  color: #12233A;
  font-family: 'IBM Plex Sans', sans-serif;
}

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

a {
  text-decoration: none;
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: 'IBM Plex Sans', sans-serif;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 6px 20px rgba(229, 137, 58, 0.32);
  border: none;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ── Sticky nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: rgba(18, 34, 56, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.site-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 64px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.site-logo-mark-sm {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  font-size: 13px;
}

.site-logo-word {
  color: #fff;
  font-weight: 600;
  font-size: 17px;
}

.site-nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav-link {
  color: #AFBED0;
  font-size: 13.5px;
  font-weight: 500;
}

.site-nav-link:hover {
  color: #fff;
}

.site-nav-cta {
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 9px;
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--accent-ink);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow-top {
  top: -160px;
  right: -140px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(229, 137, 58, 0.26), transparent 68%);
}

.hero-glow-bottom {
  bottom: -160px;
  left: -140px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(74, 120, 196, 0.16), transparent 68%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 28px 0;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 7px 16px 7px 13px;
  font-size: 12.5px;
  font-weight: 500;
  color: #C3D0DF;
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-h1 {
  max-width: 820px;
  margin: 0 0 20px;
  font-size: 54px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -1.4px;
  color: #fff;
}

.hero-sub {
  max-width: 600px;
  margin: 0 0 36px;
  font-size: 17px;
  line-height: 1.6;
  color: #AFBED0;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 56px;
}

.browser-frame {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0E1B2E;
  padding: 12px 16px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.browser-dot-red { background: #C0504A; }
.browser-dot-amber { background: #D99A2B; }
.browser-dot-green { background: #5B9E6F; }

.browser-url {
  margin-left: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  font-weight: 500;
  color: #8FA0B5;
}

.browser-shot {
  width: 100%;
  display: block;
}

/* ── Stats band ── */
.stats-band {
  background: #fff;
  border-bottom: 1px solid #E1E7EE;
}

.stats-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-col {
  padding: 44px 28px 44px 0;
}

.stat-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -1px;
  color: #12233A;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13.5px;
  color: #66768A;
}

/* ── Platform ── */
.platform {
  background: #EBEEF3;
  padding: 96px 0;
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-h2 {
  margin: 0 0 16px;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.8px;
  color: #12233A;
}

.section-sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #66768A;
}

.section-heading .eyebrow {
  display: flex;
  justify-content: center;
}

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

.feature-card {
  background: #fff;
  border: 1px solid #E1E7EE;
  border-radius: 16px;
  padding: 26px 24px;
}

.feature-icon-chip {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FBF1DE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: #12233A;
}

.feature-body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #66768A;
}

/* ── Work showcase ── */
.work {
  background: #EBEEF3;
  padding: 40px 0 96px;
}

.work-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}

.work-row-reverse .work-media {
  order: 2;
}

.work-row-reverse .work-copy {
  order: 1;
}

.work-media img {
  border-radius: 14px;
  border: 1px solid #E1E7EE;
  box-shadow: 0 18px 44px rgba(16, 36, 58, 0.14);
}

.work-h3 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #12233A;
}

.work-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #66768A;
}

/* ── Testimonial ── */
.testimonial {
  background: #fff;
  border-top: 1px solid #E1E7EE;
  border-bottom: 1px solid #E1E7EE;
}

.testimonial-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 28px;
  text-align: center;
}

.testimonial-inner .eyebrow {
  display: flex;
  justify-content: center;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 64px;
  color: #E7C8A6;
  line-height: 1;
  margin-bottom: 8px;
}

.quote-body {
  margin: 0 0 32px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.45;
  color: #12233A;
}

.quote-attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.quote-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #26405E;
  color: #CDDAEA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.quote-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #12233A;
  text-align: left;
}

.quote-role {
  font-size: 13px;
  color: #66768A;
  text-align: left;
}

/* ── About / founder ── */
.about {
  background: var(--accent-ink);
}

.about-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px 28px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media-glow {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(229, 137, 58, 0.5), rgba(74, 120, 196, 0.35));
  z-index: 0;
}

.about-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.about-h2 {
  margin: 0 0 22px;
  font-size: 34px;
  font-weight: 600;
  color: #fff;
}

.about-p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
  color: #C3D0DF;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.about-stat-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 26px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.about-stat-label {
  font-size: 13px;
  color: #AFBED0;
}

/* ── Contact ── */
.contact {
  background: #EBEEF3;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 96px 28px;
  text-align: center;
}

.contact-inner .eyebrow {
  display: flex;
  justify-content: center;
}

.contact-h2 {
  max-width: 560px;
  margin: 0 auto 16px;
  font-size: 36px;
  font-weight: 600;
  color: #12233A;
}

.contact-sub {
  max-width: 500px;
  margin: 0 auto 32px;
  font-size: 16px;
  line-height: 1.6;
  color: #66768A;
}

/* ── Footer ── */
.site-footer {
  background: #0E1B2E;
}

.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer-caption {
  font-size: 12.5px;
  color: #7E90A6;
}

/* ── Hero (no product shot) ── */
.hero-inner.no-shot {
  padding-bottom: 88px;
}

/* ── How We Work / engagement model ── */
.model-section {
  background: #EBEEF3;
  padding: 96px 0;
}

.engagement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.engagement-card {
  background: #fff;
  border: 1px solid #E1E7EE;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}

.tag-chip-amber {
  background: #FBF1DE;
  color: #C46A1B;
}

.tag-chip-blue {
  background: #E8F0F8;
  color: #2C5C86;
}

.engagement-h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 600;
  color: #12233A;
}

.engagement-bullets {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex-grow: 1;
}

.engagement-bullets li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #66768A;
}

.engagement-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.engagement-footer {
  padding-top: 18px;
  border-top: 1px solid #E1E7EE;
  font-size: 13px;
  font-weight: 600;
  color: #12233A;
}

.callout-strip {
  background: #fff;
  border: 1px solid #E1E7EE;
  border-radius: 16px;
  padding: 24px 28px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #66768A;
  text-align: center;
}

/* ── Engineering Philosophy ── */
.philosophy {
  background: #fff;
  border-top: 1px solid #E1E7EE;
  border-bottom: 1px solid #E1E7EE;
  padding: 96px 0;
}

.philosophy-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.philosophy-h2 {
  margin: 0 0 20px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.6px;
  color: #12233A;
}

.philosophy-p {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #66768A;
}

.philosophy-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.philosophy-card {
  display: flex;
  gap: 16px;
  background: #EBEEF3;
  border-radius: 14px;
  padding: 20px 22px;
}

.philosophy-card .feature-icon-chip {
  margin-bottom: 0;
  flex-shrink: 0;
}

.philosophy-card-title {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 600;
  color: #12233A;
}

.philosophy-card-body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #66768A;
}

/* ── Case study ── */
.case-study {
  background: #EBEEF3;
  padding: 96px 0;
}

.case-study-frame {
  margin: 0 0 48px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E1E7EE;
  box-shadow: 0 18px 44px rgba(16, 36, 58, 0.14);
}

.case-study-frame .browser-frame {
  border: none;
  border-radius: 0;
}

/* ── Beyond Banking / capabilities ── */
.capabilities {
  background: #fff;
  border-top: 1px solid #E1E7EE;
  border-bottom: 1px solid #E1E7EE;
  padding: 96px 0;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.capability-tile {
  background: #EBEEF3;
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
}

.capability-tile .feature-icon-chip {
  margin: 0 auto 16px;
}

.capability-label {
  font-size: 14.5px;
  font-weight: 600;
  color: #12233A;
  margin-bottom: 6px;
}

.capability-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #66768A;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .site-nav-link {
    display: none;
  }

  .hero-h1 {
    font-size: 36px;
    letter-spacing: -0.8px;
  }

  .hero-inner {
    padding-top: 64px;
  }

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

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .engagement-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .work-row,
  .work-row-reverse .work-media,
  .work-row-reverse .work-copy {
    order: initial;
  }

  .work-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 320px;
  }

  .quote-body {
    font-size: 20px;
  }

  .section-h2,
  .contact-h2 {
    font-size: 28px;
  }

  .site-footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
