/* StaticFrameLab marketing pages use the workspace palette and type scale. */
body.sp-marketing main {
  width: min(100% - 40px, 1320px);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 0 42px;
}
.mkt-page { min-width: 0; }
.mkt-page a { text-underline-offset: 4px; }
.mkt-page a:focus-visible, .mkt-page summary:focus-visible { outline: 3px solid var(--sp-blue); outline-offset: 4px; }
.mkt-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(34px, 5vw, 86px); padding: clamp(64px, 8vw, 116px) 0 clamp(62px, 7vw, 92px); }
.mkt-hero-copy { min-width: 0; }
.mkt-kicker, .mkt-section-label { margin: 0; font: 700 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .17em; text-transform: uppercase; }
.mkt-kicker { display: flex; align-items: center; gap: 12px; color: var(--sp-ink-soft); }
.mkt-kicker-line { width: 30px; height: 2px; background: var(--sp-blue); }
body.sp-marketing h1 { max-width: 760px; margin: 23px 0 24px; font-size: clamp(49px, 5.9vw, 91px); font-weight: 660; line-height: .98; letter-spacing: -.069em; color: var(--sp-ink); text-wrap: balance; }
.mkt-hero h1 em { color: var(--sp-blue); font-style: normal; }
.mkt-lede { max-width: 620px; margin: 0; color: #4a585b; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.65; }
.mkt-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin: 31px 0 17px; }
.mkt-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 51px; padding: 12px 17px; border: 1px solid transparent; border-radius: 3px; font-size: 13px; font-weight: 750; line-height: 1.2; text-decoration: none; transition: background .18s, transform .18s, border-color .18s; }
.mkt-button:hover { transform: translateY(-2px); text-decoration: none; }
.mkt-button span { font-size: 17px; font-weight: 400; line-height: 1; }
.mkt-button-primary { min-width: 206px; background: var(--sp-blue); color: #fff; }
.mkt-button-primary:hover { background: var(--sp-blue-hover); color: #fff; }
.mkt-button-outline { min-width: 196px; border-color: var(--sp-line-strong); background: var(--sp-surface); color: var(--sp-ink); }
.mkt-button-outline:hover { border-color: var(--sp-ink-soft); color: var(--sp-ink); }
.mkt-hero-note { display: flex; align-items: baseline; gap: 8px; max-width: 560px; margin: 0; color: #647173; font-size: 11px; }
.mkt-hero-note span { color: var(--sp-success); font-size: 9px; }
.mkt-demo-wrap { min-width: 0; margin: 0; }
.mkt-demo { border: 1px solid #45565b; background: #1b2b32; box-shadow: 15px 16px 0 #e0e7d6; overflow: hidden; }
.mkt-demo-top { display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 13px; border-bottom: 1px solid #384950; color: #b9c7c2; font: 600 9px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .06em; }
.mkt-demo-dots { display: flex; gap: 4px; }
.mkt-demo-dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #70817e; }
.mkt-demo-top-state { margin-left: auto; color: var(--sp-lime); white-space: nowrap; }
.mkt-demo-body { display: grid; grid-template-columns: 50px minmax(0, 1fr); min-height: 414px; }
.mkt-demo-rail { display: flex; align-items: center; flex-direction: column; gap: 12px; padding: 15px 7px; border-right: 1px solid #384950; color: #a8b8b4; font-size: 17px; }
.mkt-demo-rail-logo { display: grid; place-items: center; width: 29px; height: 29px; margin-bottom: 23px; border-radius: 3px; background: var(--sp-lime); color: var(--sp-nav); font: 800 10px ui-monospace, monospace; }
.mkt-demo-rail-on { display: grid; place-items: center; width: 29px; height: 29px; border-left: 2px solid var(--sp-lime); background: #32434a; color: #fff; }
.mkt-demo-canvas { min-width: 0; padding: 22px 22px 18px; background: #f6f4ed; }
.mkt-demo-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 20px; }
.mkt-demo-heading small { display: block; margin-bottom: 5px; color: #78827e; font: 700 9px ui-monospace, monospace; letter-spacing: .12em; }
.mkt-demo-heading strong { display: block; font-size: 19px; line-height: 1.1; letter-spacing: -.04em; }
.mkt-demo-pill { padding: 5px 8px; border: 1px solid #cad7a4; background: #edf3d8; color: #4e6328; font: 700 9px ui-monospace, monospace; white-space: nowrap; }
.mkt-demo-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 11px; }
.mkt-demo-source, .mkt-demo-edit { display: flex; flex-direction: column; min-width: 0; min-height: 245px; padding: 13px; border: 1px solid #d6dcd3; background: #fffefa; }
.mkt-demo-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; color: #6a7774; font: 700 9px ui-monospace, monospace; letter-spacing: .1em; }
.mkt-demo-card-head b { color: var(--sp-blue); font-size: 16px; font-weight: 450; }
.mkt-demo-file { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid #edf0e9; color: #475756; font: 11px ui-monospace, monospace; }
.mkt-demo-file span { color: #819786; }
.mkt-demo-source-foot, .mkt-demo-edit-foot { margin-top: auto; padding-top: 16px; color: #6d7776; font-size: 9px; }
.mkt-demo-edit-foot span { color: #84a63a; }
.mkt-demo-preview { display: flex; flex-direction: column; gap: 8px; min-height: 130px; padding: 12px; border: 1px solid #dce3d5; background: #f4f4eb; }
.mkt-demo-preview-line { width: 43%; height: 6px; background: #bdd381; }
.mkt-demo-preview-title { width: 78%; height: 16px; margin-top: 2px; background: #24383e; }
.mkt-demo-preview-copy { width: 90%; height: 5px; background: #c5cebf; }
.mkt-demo-preview-copy.short { width: 67%; }
.mkt-demo-preview-button { width: 48px; height: 13px; margin-top: 5px; background: var(--sp-blue); }
.mkt-demo-review { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 13px; border: 1px solid #ccd7b6; background: #edf3df; }
.mkt-demo-review-number { color: #536b2f; font: 700 9px ui-monospace, monospace; white-space: nowrap; }
.mkt-demo-review strong { font-size: 11px; font-weight: 670; }
.mkt-demo-review-check { display: grid; place-items: center; width: 19px; height: 19px; margin-left: auto; background: #daeab8; color: #536b2f; font-size: 12px; }
.mkt-demo-caption { margin: 11px 0 0; color: #687578; font-size: 10px; text-align: right; }
.mkt-principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--sp-line-strong); border-bottom: 1px solid var(--sp-line-strong); }
.mkt-principles span { display: flex; align-items: center; gap: 13px; min-height: 67px; padding: 12px 17px; color: var(--sp-ink-soft); font-size: 12px; font-weight: 650; }
.mkt-principles span + span { border-left: 1px solid var(--sp-line); }
.mkt-principles b { color: var(--sp-blue); font: 700 10px ui-monospace, monospace; }
.mkt-section { padding: clamp(74px, 9vw, 124px) 0; scroll-margin-top: 80px; }
.mkt-section-label { color: var(--sp-blue); }
.mkt-section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .75fr); align-items: end; gap: 16px 64px; margin-bottom: 32px; }
.mkt-section-intro .mkt-section-label { grid-column: 1 / -1; }
body.sp-marketing h2 { margin: 0; font-size: clamp(37px, 4vw, 61px); font-weight: 650; line-height: 1.03; letter-spacing: -.058em; text-wrap: balance; }
.mkt-section-intro > p:last-child { max-width: 470px; margin: 0; color: #617072; font-size: 14px; line-height: 1.7; }
.mkt-step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mkt-step { min-height: 320px; padding: 22px 24px 20px; border: 1px solid var(--sp-line); background: var(--sp-surface); }
.mkt-step-no { color: #8a9693; font: 700 10px ui-monospace, monospace; }
.mkt-step-symbol { display: grid; place-items: center; width: 46px; height: 46px; margin: 37px 0 28px; border: 1px solid #c6d2c7; background: #eaf0db; color: var(--sp-ink); font-size: 27px; }
.mkt-step h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.04em; }
.mkt-step p { max-width: 340px; margin: 0; color: #657173; font-size: 13px; line-height: 1.65; }
.mkt-step small { display: block; margin-top: 20px; color: #677f40; font: 700 9px ui-monospace, monospace; letter-spacing: .08em; }
.mkt-dark-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(38px, 5vw, 80px); padding: clamp(48px, 6vw, 85px); background: var(--sp-nav); color: #eef1ea; scroll-margin-top: 72px; }
.mkt-dark-section .mkt-section-label { color: var(--sp-lime); }
body.sp-marketing .mkt-dark-section h2 { margin: 16px 0 17px; color: #f6f4ed; font-size: clamp(34px, 3.6vw, 55px); }
.mkt-dark-intro p:not(.mkt-section-label) { max-width: 450px; margin: 0; color: #b8c5c0; font-size: 15px; line-height: 1.65; }
.mkt-dark-intro > a { display: inline-flex; align-items: center; gap: 17px; margin-top: 35px; color: var(--sp-lime); font-size: 13px; font-weight: 750; }
.mkt-dark-intro > a:hover { color: #e9fbb3; }
.mkt-capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #45535a; border-left: 1px solid #45535a; }
.mkt-capability-grid article { min-height: 220px; padding: 25px; border-right: 1px solid #45535a; border-bottom: 1px solid #45535a; }
.mkt-cap-icon { display: grid; place-items: center; width: 33px; height: 33px; margin-bottom: 22px; background: #32434a; color: var(--sp-lime); font-size: 20px; }
body.sp-marketing .mkt-capability-grid h3 { margin: 0 0 8px; color: #f6f4ed; font-size: 17px; letter-spacing: -.03em; }
.mkt-capability-grid p { max-width: 300px; margin: 0; color: #b5c1bd; font-size: 12px; line-height: 1.65; }
.mkt-fit { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: clamp(35px, 7vw, 100px); }
.mkt-fit-copy h2 { max-width: 650px; margin: 16px 0 21px; }
.mkt-fit-copy > p:not(.mkt-section-label) { max-width: 610px; color: #5e6d70; font-size: 15px; line-height: 1.7; }
.mkt-fit-copy .mkt-fit-caveat { padding-left: 16px; border-left: 3px solid var(--sp-lime); font-size: 13px !important; }
.mkt-fit-panel { padding: clamp(25px, 4vw, 43px); border: 1px solid var(--sp-line-strong); background: var(--sp-surface); box-shadow: 11px 11px 0 #e2e8d8; }
.mkt-fit-label { color: var(--sp-blue); font: 700 10px ui-monospace, monospace; letter-spacing: .14em; }
.mkt-fit-panel ul { margin: 28px 0; padding: 0; list-style: none; }
.mkt-fit-panel li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid #e8ece5; font-size: 14px; font-weight: 650; }
.mkt-fit-panel li::before { content: '✓'; color: var(--sp-success); }
.mkt-fit-panel a, .mkt-inline-link, .mkt-faq-heading a { color: var(--sp-blue); font-size: 13px; font-weight: 750; }
.mkt-plans { border-top: 1px solid var(--sp-line); }
.mkt-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mkt-plan-grid article { min-height: 220px; padding: 23px; border: 1px solid var(--sp-line); background: var(--sp-surface); }
.mkt-plan-grid .mkt-plan-featured { border-color: var(--sp-blue); box-shadow: inset 0 3px var(--sp-blue); }
.mkt-plan-grid article > span { display: block; margin-bottom: 22px; font-size: 14px; font-weight: 750; }
.mkt-plan-grid article > strong { display: block; font-size: 37px; letter-spacing: -.055em; line-height: 1; }
.mkt-plan-grid article > strong small { color: #687578; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.mkt-plan-grid article > p { margin: 14px 0 21px; color: #607070; font-size: 12px; }
.mkt-plan-grid article > small { color: #465751; font-size: 11px; font-weight: 650; }
.mkt-inline-link { display: inline-flex; align-items: center; gap: 11px; margin-top: 22px; }
.mkt-faq { display: grid; grid-template-columns: .73fr 1.27fr; gap: clamp(35px, 6vw, 92px); border-top: 1px solid var(--sp-line); }
.mkt-faq-heading h2 { margin: 16px 0 14px; }
.mkt-faq-heading > p:not(.mkt-section-label) { max-width: 340px; color: #617072; font-size: 14px; }
.mkt-faq-heading a { display: inline-flex; gap: 9px; margin-top: 10px; }
.mkt-faq-list { border-top: 1px solid var(--sp-line-strong); }
.mkt-faq-list details { border-bottom: 1px solid var(--sp-line-strong); }
.mkt-faq-list summary { position: relative; padding: 20px 38px 20px 0; color: var(--sp-ink); font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
.mkt-faq-list summary::-webkit-details-marker { display: none; }
.mkt-faq-list summary::after { position: absolute; right: 5px; top: 17px; color: var(--sp-blue); content: '+'; font-size: 23px; font-weight: 400; }
.mkt-faq-list details[open] summary::after { content: '−'; }
.mkt-faq-list details p { max-width: 630px; margin: -2px 35px 22px 0; color: #5f6e70; font-size: 13px; line-height: 1.7; }
.mkt-final { display: flex; align-items: end; justify-content: space-between; gap: 35px; padding: clamp(34px, 5vw, 65px); background: var(--sp-nav); color: #eef1e9; }
.mkt-final .mkt-section-label { color: var(--sp-lime); }
body.sp-marketing .mkt-final h2 { max-width: 790px; margin: 16px 0 13px; color: #fff; font-size: clamp(34px, 3.8vw, 59px); }
.mkt-final p:not(.mkt-section-label) { max-width: 570px; margin: 0; color: #b9c6c0; font-size: 14px; }
.mkt-final-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex: 0 0 auto; }
.mkt-button-lime { min-width: 220px; background: var(--sp-lime); color: var(--sp-ink); }
.mkt-button-lime:hover { background: #eafbb7; color: var(--sp-ink); }
.mkt-final-actions > a:not(.mkt-button) { color: #f1f4eb; font-size: 12px; font-weight: 700; }
.mkt-operator { max-width: 850px; margin: 20px 0 0; color: #758181; font-size: 11px; line-height: 1.6; }
.mkt-operator a { color: var(--sp-blue); }
@media (max-width: 1060px) {
  .mkt-hero { grid-template-columns: 1fr; gap: 42px; }
  .mkt-hero-copy { max-width: 760px; }
  .mkt-demo-wrap { max-width: 720px; }
  .mkt-dark-section { grid-template-columns: 1fr; }
  .mkt-capability-grid { max-width: 850px; }
}
@media (max-width: 760px) {
  body.sp-marketing main { width: min(100% - 28px, 680px); }
  .mkt-hero { padding: 54px 0 55px; }
  body.sp-marketing h1 { font-size: clamp(43px, 10vw, 64px); }
  .mkt-principles { grid-template-columns: 1fr; }
  .mkt-principles span { min-height: 49px; padding: 8px 4px; }
  .mkt-principles span + span { border-left: 0; border-top: 1px solid var(--sp-line); }
  .mkt-section-intro, .mkt-fit, .mkt-faq { grid-template-columns: 1fr; }
  .mkt-step-grid, .mkt-plan-grid { grid-template-columns: 1fr; }
  .mkt-step { min-height: 0; }
  .mkt-step-symbol { margin: 24px 0; }
  .mkt-dark-section { padding: 38px 24px; }
  .mkt-capability-grid article { min-height: 0; }
  .mkt-fit-panel { box-shadow: 7px 7px 0 #e2e8d8; }
  .mkt-final { flex-direction: column; align-items: stretch; }
  .mkt-final-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
}
@media (max-width: 520px) {
  body.sp-marketing main { width: min(100% - 24px, 480px); }
  .mkt-actions { align-items: stretch; flex-direction: column; }
  .mkt-button { width: 100%; }
  .mkt-demo { box-shadow: 7px 7px 0 #e0e7d6; }
  .mkt-demo-body { grid-template-columns: 1fr; }
  .mkt-demo-rail { display: none; }
  .mkt-demo-canvas { padding: 17px 13px; }
  .mkt-demo-grid { gap: 7px; }
  .mkt-demo-source, .mkt-demo-edit { padding: 9px; min-height: 220px; }
  .mkt-demo-top { font-size: 8px; }
  .mkt-demo-top-state { display: none; }
  .mkt-demo-heading strong { font-size: 16px; }
  .mkt-demo-pill { font-size: 8px; }
  .mkt-demo-file { font-size: 9px; }
  .mkt-demo-review { gap: 7px; }
  .mkt-demo-review strong { font-size: 10px; }
  .mkt-capability-grid { grid-template-columns: 1fr; }
  .mkt-final-actions { align-items: stretch; flex-direction: column; }
  .mkt-section { padding: 70px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mkt-button { transition: none; }
  .mkt-button:hover { transform: none; }
}
