/* FlatPAC brand page. Every rule is scoped to .fpb or body.flatpac-page. */

body.flatpac-page {
  background: #f7f4ee;
  color: #1c1e1d;
  font-family: Inter, "Segoe UI", sans-serif;
}

.fpb {
  --fpb-orange: #ca6139;
  --fpb-orange-deep: #a84e2c;
  --fpb-ink: #1c1e1d;
  --fpb-paper: #f7f4ee;
  --fpb-sand: #efe6d8;
  --fpb-charcoal: #252927;
  --fpb-line: #e4dcd2;
  --fpb-muted: #5e5954;
  background: var(--fpb-paper);
  color: var(--fpb-ink);
  font-family: Inter, "Segoe UI", sans-serif;
  overflow-x: clip;
}
.fpb h1, .fpb h2, .fpb h3, .fpb p { font-family: inherit; }
.fpb a { color: inherit; }
.fpb a.fpb-btn,
.fpb a.fpb-login,
.fpb a.fpb-pill,
.fpb .fpb-foot a { color: #fff; }
.fpb a.fpb-btn--light,
.fpb a.fpb-card { color: var(--fpb-ink); }
.fpb a.fpb-textlink--orange { color: var(--fpb-orange); }
.fpb .fpb-close p a { color: #fff; }
.fpb img { max-width: 100%; display: block; }

.fpb-head {
  background: #fff;
  border-bottom: 0;
}
.fpb-top {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 8px 40px;
  background: #fff;
  border-bottom: 1px solid #efeae3;
}
.fpb-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 40px 6px;
  background: var(--fpb-paper);
}
.fpb-parent {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  flex: none;
}
.fpb-parent img { height: 64px; width: auto; filter: brightness(0); }
.fpb-parent-nav { margin-left: auto; display: flex; gap: 22px; }
.fpb-parent-nav a, .fpb-subnav a, .fpb-subnav button {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}
.fpb-parent-nav a:hover, .fpb-subnav a:hover, .fpb-subnav button:hover { text-decoration: underline; text-underline-offset: 3px; }
.fpb-logo { text-decoration: none; color: inherit; line-height: 0; flex: none; }
.fpb-subnav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.fpb-login {
  background: var(--fpb-charcoal);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 6px;
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
}
.fpb-login:hover { background: #111; }
.fpb-toggle, .fpb-menu { display: none; }

.fpb-lockup { display: inline-flex; align-items: center; }
.fpb-logo-img { width: auto; height: 92px; }

.fpb-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 36px;
  align-items: stretch;
  padding: 4px 0 0 48px;
}
.fpb-eyebrow {
  margin: 8px 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fpb-orange);
}
.fpb-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(46px, 4.7vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.94;
}
.fpb-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 8px 8px 8px 0; }
.fpb-hero-copy > p { max-width: 38ch; font-size: 17px; line-height: 1.45; margin: 0 0 18px; }
.fpb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-bottom: 12px; }
.fpb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  background: var(--fpb-orange);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
}
.fpb-btn:hover { background: var(--fpb-orange-deep); }
.fpb-btn--light { background: #fff; color: var(--fpb-ink); }
.fpb-btn--light:hover { background: #f6f1ea; }
.fpb-textlink {
  font-weight: 600;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}
.fpb-fine { margin: 0; font-size: 13px; color: var(--fpb-muted); }
.fpb-hero-media { position: relative; min-height: 100%; overflow: hidden; border-radius: 0; }
.fpb-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 48%;
  min-height: 460px;
  border-radius: 0;
}
.fpb-badge {
  position: absolute;
  top: 0;
  right: 22px;
  margin: 0;
  width: 78px;
  min-height: 78px;
  padding: 10px 8px;
  background: var(--fpb-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  border-radius: 0 0 3px 3px;
}

.fpb-benefits { background: var(--fpb-charcoal); color: #fff; }
.fpb-benefits ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.fpb-benefits li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 22px 12px;
  font-weight: 600;
  font-size: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.fpb-benefits li:first-child { border-left: 0; }
.fpb-benefits svg, .fpb-benefits img { width: 44px; height: 44px; color: #fff; }

.fpb-fit { padding: 48px 48px 28px; }
.fpb h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 2.8vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.fpb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fpb-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--fpb-ink);
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
}
.fpb-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
}
.fpb-card img.fpb-card-boards { object-position: 72% center; }
.fpb-card:nth-child(2) img { object-position: 28% center; }
.fpb-card-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 108px;
  padding: 16px 16px 18px;
  background: #fff;
}
.fpb-card-copy > span:first-child { min-height: 68px; justify-content: flex-start; }
.fpb-card-copy > span:first-child { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.fpb-card strong { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.fpb-card-copy span span { font-size: 14.5px; line-height: 1.35; color: #3f3c39; }
.fpb-arrow { color: var(--fpb-orange); font-size: 18px; font-weight: 600; flex: none; }

.fpb-how {
  background: var(--fpb-sand);
  text-align: center;
  padding: 28px 32px 22px;
}
.fpb-how h2 { margin-bottom: 22px; }
.fpb-how ol {
  list-style: none;
  margin: 0 auto 16px;
  padding: 0;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.fpb-how li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  padding: 8px 14px;
  border-left: 1px solid #ddd3c6;
}
.fpb-how li:first-child { border-left: 0; }
.fpb-how li span {
  font-size: 28px;
  font-weight: 600;
  color: #9a9186;
  letter-spacing: 0.02em;
  line-height: 1;
}
.fpb-how svg { width: 32px; height: 32px; flex: none; color: var(--fpb-ink); }
.fpb-how li strong { font-size: 16px; font-weight: 650; letter-spacing: -0.02em; text-align: left; line-height: 1.2; }
.fpb-how > p { margin: 0 auto; max-width: 52ch; color: var(--fpb-muted); font-size: 15px; }

.fpb-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--fpb-paper);
}
.fpb-split figure { margin: 0; height: 380px; overflow: hidden; }
.fpb-split img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 58%;
  border-radius: 0;
}
.fpb-split div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
}
.fpb-split h2 { margin-bottom: 14px; }
.fpb-split p { max-width: 36ch; font-size: 17px; line-height: 1.5; margin: 0 0 16px; }

.fpb-faq { padding: 28px 48px 18px; }
.fpb-faq h2 { margin-bottom: 16px; }
.fpb-faqs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.fpb-faqs details {
  background: #fff;
  border: 1px solid #e6dfd6;
  border-radius: 4px;
  padding: 0 16px;
}
.fpb-faqs summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
}
.fpb-faqs summary::-webkit-details-marker { display: none; }
.fpb-faqs summary::after { content: "+"; font-size: 22px; font-weight: 400; line-height: 1; color: #6d6760; }
.fpb-faqs details[open] summary::after { content: "–"; }
.fpb-faqs details p { margin: 0 0 14px; color: #4e4a46; font-size: 15px; line-height: 1.45; max-width: 62ch; }

.fpb-close {
  background: var(--fpb-orange);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 22px 48px;
}
.fpb-close h2 { margin: 0; color: #fff; font-size: clamp(28px, 2.6vw, 38px); }
.fpb-close p {
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  line-height: 1.3;
  font-size: 14px;
}
.fpb-close p a { text-decoration: underline; text-underline-offset: 2px; }

.fpb-foot {
  background: #1c211f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 40px;
}
.fpb-foot .fpb-logo-img { height: 58px; }
.fpb-foot nav { display: flex; gap: 26px; margin-left: auto; }
.fpb-foot a { color: #fff; text-decoration: none; font-size: 14px; }
.fpb-foot nav a:hover, .fpb-part:hover { text-decoration: underline; text-underline-offset: 3px; }
.fpb-part {
  white-space: nowrap;
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.fpb-modal {
  width: min(960px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: #141615;
  color: #fff;
}
.fpb-modal::backdrop { background: rgba(20, 22, 21, 0.72); }
.fpb-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 16px;
}
.fpb-modal-bar p { margin: 0; font-weight: 600; font-size: 15px; }
.fpb-modal-close {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: var(--fpb-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.fpb-modal-close:hover { background: #f6f1ea; }
.fpb-modal video {
  display: block;
  width: 100%;
  max-height: min(78vh, 540px);
  background: #000;
}

@media (max-width: 1100px) {
  .fpb-how li strong { font-size: 15px; }
  .fpb-how li { gap: 8px; padding: 8px 8px; }
}

@media (max-width: 980px) {
  .fpb-cards { grid-template-columns: 1fr; }
  .fpb-card img { height: 240px; }
  .fpb-how ol { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .fpb-how li:nth-child(odd) { border-left: 0; }
  .fpb-how li { justify-content: flex-start; }
  .fpb-split { grid-template-columns: 1fr; }
  .fpb-split figure, .fpb-split img { min-height: 280px; }
  .fpb-split div { padding: 32px 28px 36px; }
  .fpb-close { grid-template-columns: 1fr; gap: 14px; }
  .fpb-close p { padding-left: 0; border-left: 0; }
}

@media (max-width: 860px) {
  .fpb-top, .fpb-bar { padding-left: 18px; padding-right: 18px; }
  .fpb-top { padding-top: 8px; padding-bottom: 8px; }
  .fpb-bar { padding-top: 6px; padding-bottom: 8px; gap: 12px; }
  .fpb-parent img { height: 52px; }
  .fpb-parent-nav, .fpb-subnav { display: none; }
  .fpb-logo-img { height: 64px; }
  .fpb-login { margin-left: auto; }
  .fpb-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--fpb-line);
    background: #fff;
    border-radius: 6px;
    font: inherit;
    font-weight: 600;
  }
  .fpb-menu { display: none; padding: 4px 18px 12px; background: #fff; }
  .fpb-menu:not([hidden]) { display: grid; }
  .fpb-menu a, .fpb-menu button {
    text-decoration: none;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-weight: 600;
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    text-align: left;
    width: 100%;
  }
  .fpb-hero { grid-template-columns: 1fr; padding: 6px 0 0; gap: 0; }
  .fpb-split figure { height: 240px; }
  .fpb-hero-copy { padding: 8px 20px 18px; }
  .fpb-hero h1 { font-size: clamp(42px, 12vw, 58px); }
  .fpb-hero-media img { min-height: 240px; height: 62vw; max-height: 420px; }
  .fpb-btn { min-height: 48px; }
  .fpb-benefits ul { grid-template-columns: 1fr 1fr; }
  .fpb-benefits li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); min-height: 108px; }
  .fpb-benefits li:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.18); }
  .fpb-benefits li:nth-child(-n+2) { border-top: 0; }
  .fpb-fit, .fpb-faq { padding: 32px 20px 20px; }
  .fpb-how { padding: 28px 20px 24px; }
  .fpb-how ol, .fpb-faqs { grid-template-columns: 1fr; }
  .fpb-how li, .fpb-how li:nth-child(odd) {
    border-left: 0;
    border-top: 1px solid #ddd3c6;
    justify-content: flex-start;
    min-height: 52px;
    padding: 8px 4px;
  }
  .fpb-how li:first-child { border-top: 0; }
  .fpb-close, .fpb-foot { padding-left: 20px; padding-right: 20px; }
  .fpb-foot { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 18px; padding-bottom: 20px; }
  .fpb-foot nav { flex-direction: column; gap: 8px; margin-left: 0; }
  .fpb-part { border-left: 0; padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .fpb * { scroll-behavior: auto; }
}
