:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #080a0b;
  color: #f4f7f6;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #080a0b; color: #f4f7f6; }
a { color: inherit; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
code { color: #b7f7d6; }

.fmp-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 100vh;
}

.fmp-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #222829;
}

.fmp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f8fbfa;
  text-decoration: none;
  font-size: 21px;
  letter-spacing: -0.04em;
}
.fmp-brand strong { color: #78e9ad; font-weight: 750; }
.fmp-brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #3f7056;
  border-radius: 9px;
  color: #78e9ad;
  background: #10251a;
  font-size: 15px;
}
.fmp-header nav { display: flex; align-items: center; gap: 24px; }
.fmp-header nav a, .fmp-footer a { color: #b4bfbb; text-decoration: none; font-size: 14px; }
.fmp-header nav a:hover, .fmp-footer a:hover { color: #8af0b8; }

.fmp-hero { padding: 112px 0 92px; max-width: 900px; }
.fmp-eyebrow {
  margin: 0 0 20px;
  color: #78e9ad;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .13em;
}
.fmp-hero h1, .fmp-page-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(48px, 8vw, 88px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 680;
}
.fmp-page-hero h1 { font-size: clamp(42px, 6.5vw, 72px); }
.fmp-lead {
  margin: 30px 0 0;
  max-width: 760px;
  color: #aeb9b5;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}
.fmp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.fmp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid #78e9ad;
  border-radius: 10px;
  background: #78e9ad;
  color: #06110b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 720;
}
.fmp-button-secondary { color: #dce5e1; background: transparent; border-color: #38413e; }

.fmp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fmp-grid article, .fmp-card {
  padding: 28px;
  border: 1px solid #252c2a;
  border-radius: 16px;
  background: linear-gradient(145deg, #111514, #0b0e0d);
}
.fmp-grid h2, .fmp-card h2, .fmp-card h3 { margin: 0 0 12px; letter-spacing: -.025em; }
.fmp-grid p, .fmp-card p, .fmp-card li { color: #a9b4b0; line-height: 1.65; }
.fmp-grid p, .fmp-card p { margin: 0; }

.fmp-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin: 96px 0;
  padding: 48px;
  border: 1px solid #315540;
  border-radius: 20px;
  background: radial-gradient(circle at 0 0, #183525 0, #0d1611 48%, #0b0e0d 100%);
}
.fmp-band h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.08; letter-spacing: -.045em; }
.fmp-band > p { margin: 0; color: #afbbb6; line-height: 1.75; }

.fmp-page-hero { padding: 82px 0 58px; border-bottom: 1px solid #222829; }
.fmp-page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 72px; padding: 58px 0 96px; }
.fmp-content { min-width: 0; }
.fmp-content section { margin-bottom: 62px; scroll-margin-top: 28px; }
.fmp-content h2 { margin: 0 0 18px; font-size: 31px; letter-spacing: -.04em; }
.fmp-content h3 { margin: 28px 0 10px; font-size: 20px; letter-spacing: -.025em; }
.fmp-content p, .fmp-content li { color: #b2bdb9; font-size: 16px; line-height: 1.75; }
.fmp-content a { color: #8af0b8; }
.fmp-content table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; }
.fmp-content th, .fmp-content td { padding: 13px 14px; border: 1px solid #29312e; text-align: left; vertical-align: top; }
.fmp-content th { color: #e8efec; background: #121715; }
.fmp-content td { color: #acb7b3; }
.fmp-content pre {
  overflow: auto;
  margin: 20px 0;
  padding: 20px;
  border: 1px solid #29312e;
  border-radius: 12px;
  background: #050706;
  color: #d7e3de;
  line-height: 1.55;
  font-size: 13px;
}
.fmp-aside { position: sticky; top: 24px; align-self: start; padding: 20px; border-left: 1px solid #28302d; }
.fmp-aside strong { display: block; margin-bottom: 13px; color: #eef4f1; font-size: 13px; letter-spacing: .08em; }
.fmp-aside a { display: block; padding: 7px 0; color: #98a49f; text-decoration: none; font-size: 14px; }
.fmp-aside a:hover { color: #8af0b8; }
.fmp-callout { padding: 20px 22px; border: 1px solid #315540; border-radius: 12px; background: #0f1c14; color: #c5d2cc; line-height: 1.65; }
.fmp-endpoint { word-break: break-all; }
.fmp-badge { display: inline-block; padding: 4px 8px; border: 1px solid #315540; border-radius: 999px; color: #8af0b8; font-size: 12px; }

.fmp-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 40px;
  border-top: 1px solid #222829;
  color: #77817d;
  font-size: 13px;
}
.fmp-footer span:last-child { display: flex; gap: 18px; }
.fmp-noscript { margin: 0; padding: 12px 20px; text-align: center; color: #acb7b3; background: #111514; }

@media (max-width: 820px) {
  .fmp-shell { width: min(100% - 28px, 1180px); }
  .fmp-header { align-items: flex-start; padding: 20px 0; }
  .fmp-header nav { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
  .fmp-hero { padding: 80px 0 66px; }
  .fmp-grid, .fmp-band { grid-template-columns: 1fr; }
  .fmp-band { gap: 26px; padding: 30px; margin: 68px 0; }
  .fmp-page-layout { grid-template-columns: 1fr; gap: 24px; }
  .fmp-aside { position: static; order: -1; border-left: 0; border-bottom: 1px solid #28302d; padding: 0 0 20px; }
  .fmp-aside a { display: inline-block; margin-right: 14px; }
}

@media (max-width: 520px) {
  .fmp-header { display: block; }
  .fmp-header nav { margin-top: 18px; justify-content: flex-start; }
  .fmp-hero h1, .fmp-page-hero h1 { font-size: 44px; }
  .fmp-grid article, .fmp-card { padding: 22px; }
  .fmp-footer { display: block; }
  .fmp-footer span { display: flex; margin-top: 12px; flex-wrap: wrap; }
}
