/* =========================================================
   Pangolin Home Page - exported from Figma
   Fonts: Hanken Grotesk (headings), Inter (body), JetBrains Mono (labels)
   ========================================================= */

:root {
  --ink:        #334155;  /* primary heading */
  --slate:      #565e74;  /* body text */
  --slate-alt:  #5c647a;  /* badge label */
  --accent:     #ff6b35;  /* orange */
  --accent-dk:  #ab3500;  /* delta text */
  --tan:        #e1bfb5;  /* card border / muted bars */
  --badge-bg:   #dae2fd;
  --hero-bg:    #f7f9fb;
  --insights-bg:#f7f9fb;
  --cta-bg:     #0f172a;
  --cta-text:   #bec6e0;
  --card-border:#e0e3e5;
  --chart-bg:   #f2f4f6;
  --max:        1440px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--slate);
  background: #fff;
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: var(--accent);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.7px;
  line-height: 16px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn:hover { background: #f2601f; }
.btn--wide { width: 220px; padding: 16px 32px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--hero-bg);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.site-header__logo { display: inline-flex; }
.site-header__logo img { height: 40px; width: auto; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--hero-bg);
  padding: 80px 0 30px;
}

.hero__inner {
  display: flex;
  gap: 64px;
  align-items: center;
  justify-content: center;
}

.hero__text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: var(--badge-bg);
  border-radius: 12px;
}
.badge__icon { width: 13.33px; height: 8px; }
.badge__label {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.6px;
  line-height: 14px;
  color: var(--slate-alt);
}

.hero__title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -0.96px;
  color: var(--ink);
}
.hero__title-accent { color: var(--accent); font-weight: 400; }

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 576px;
}
.hero__copy p {
  font-size: 18px;
  line-height: 28px;
  color: var(--slate);
}

.hero__cta {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 16px;
}

/* Hero dashboard card */
.hero__image { flex: 1 0 0; min-width: 0; }

.dash-card {
  background: #fff;
  border: 1px solid var(--tan);
  border-radius: 8px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}

.dash-card__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.dash-card__label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--slate);
  text-transform: uppercase;
}
.dash-card__value {
  display: block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.32px;
  color: var(--ink);
}
.dash-card__delta {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--accent-dk);
}

.dash-card__bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
}
.bar {
  width: 8px;
  border-radius: 2px 2px 0 0;
  display: block;
}
.bar--muted  { background: var(--tan); }
.bar--accent { background: var(--accent); }

.dash-card__chart {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--chart-bg);
  border: 1px solid var(--card-border);
  border-radius: 2px;
  overflow: hidden;
}
.dash-card__chart > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.dash-card__legend {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
}
.legend-pill { width: 48px; height: 8px; border-radius: 12px; display: block; }
.legend-pill--blue   { background: #0a66c2; }
.legend-pill--orange { background: var(--accent); }

/* Benefits row */
.benefits {
  padding-top: 51px;
  text-align: center;
}
.benefits p {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #000;
}

/* Trusted by */
.trusted {
  padding-top: 20px;
}
.trusted__label {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--slate);
  text-align: center;
}
.trusted__logos {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.trusted__logos img { object-fit: contain; }

/* =========================================================
   FEATURES
   ========================================================= */
.features {
  background: #fff;
  border-top: 1px solid var(--tan);
  border-bottom: 1px solid var(--tan);
  padding: 97px 0;
}
.features__inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.features__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.section-title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 40px;
  letter-spacing: -0.32px;
  color: var(--ink);
}
.features__sub {
  max-width: 672px;
  font-size: 20px;
  line-height: 24px;
  color: var(--slate);
}

.features__grid {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: center;
}
.feature {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10.8px;
  padding: 33px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.feature__icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__icon img { width: 18px; height: 18px; }
.feature__title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 32px;
  color: var(--ink);
  padding-top: 13.2px;
  min-height: 96px;
  display: flex;
  align-items: center;
}
.feature__body {
  font-size: 16px;
  line-height: 22.75px;
  color: var(--slate);
}

/* =========================================================
   INSIGHTS
   ========================================================= */
.insights {
  background: var(--insights-bg);
  padding: 96px 0;
}
.insights__inner {
  display: flex;
  gap: 64px;
  align-items: center;
}
.insights__media {
  flex: 1 0 0;
  min-width: 0;
}
.insights__media img {
  width: 500px;
  max-width: 100%;
  height: auto;
}
.insights__content {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.insights__title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.32px;
  color: var(--ink);
}
.insights__intro {
  font-size: 16px;
  line-height: 24px;
  color: var(--slate);
}

.insights__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
}
.insight-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.insight-item__check {
  width: 20px;
  height: 24px;
  flex-shrink: 0;
}
.insight-item__strong {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
}
.insight-item__text {
  font-size: 14px;
  line-height: 20px;
  color: var(--slate);
  margin-top: 2.5px;
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative;
  background: var(--cta-bg);
  padding: 80px 192px;
  overflow: hidden;
}
.cta__inner {
  position: relative;
  max-width: 896px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.cta__title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.96px;
  color: #fff;
}
.cta__text {
  font-size: 18px;
  line-height: 28px;
  color: var(--cta-text);
}
.cta__note {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: var(--cta-text);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--cta-bg);
  border-top: 1px solid #3f465c;
  padding: 33px 0 32px;
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-footer__brand { display: inline-flex; }
.site-footer__brand img { height: 40px; width: auto; }

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-footer__links a {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: var(--cta-text);
  text-decoration: none;
}
.site-footer__links a:hover { color: #fff; }
.site-footer__social { display: inline-flex; }
.site-footer__social img { height: 21px; width: auto; }

.site-footer__copy {
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  opacity: 0.6;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero__inner { flex-direction: column; }
  .hero__text  { align-items: center; text-align: center; }
  .hero__title { text-align: center; }
  .hero__image { width: 100%; max-width: 568px; }

  .features__grid { flex-direction: column; align-items: stretch; }
  .feature__title { min-height: 0; }

  .insights__inner { flex-direction: column; align-items: flex-start; }
  .insights__media img { width: 100%; }

  .cta { padding: 80px 24px; }
}

@media (max-width: 560px) {
  .hero__title, .section-title, .cta__title { font-size: 34px; line-height: 42px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .benefits p, .trusted__label { letter-spacing: 1px; font-size: 13px; }

  .site-footer__inner { flex-direction: column; text-align: center; gap: 20px; }
}
