/* Features section: /features/ and /features/<page>/.
   Sits on top of the homepage stylesheet stack (v2, v3, orbs, readability,
   type-scale, ...) so the header, footer, buttons, eyebrows, screenshot frames
   and orbs are the homepage's own. Everything below is scoped to .ft-page and
   uses the homepage's tokens (--bg, --line, --orange, --blue, --violet).
   Several homepage rules end in !important; the few that must change here
   (h1/h2 sizes) are repeated with !important and a higher specificity. */

.ft-page{--ft-copy:#bcc2cc;--ft-soft:#9aa1ad;--ft-line:#2b2f37;--ft-card:#12151a;--ft-edge:#39414e}
.ft-page [hidden]{display:none!important}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.ft-page .resource-hero{padding-block:46px 30px}
.ft-page .breadcrumbs{margin-bottom:38px}
.ft-page .resource-hero h1{font-size:clamp(38px,4.5vw,64px)!important;line-height:1.08;letter-spacing:-.03em;margin:16px 0 22px;max-width:16em;text-wrap:balance}
.ft-page .resource-hero.has-orbs h1{max-width:min(16em,calc(100% - 300px))}
.ft-page .resource-hero .resource-description{font-size:clamp(18px,1.55vw,22px)!important;line-height:1.7;color:var(--ft-copy);max-width:min(36em,calc(100% - 320px))}
.ft-page .resource-hero>.orb-art{top:70px}
.ft-hero-actions{display:flex;align-items:center;gap:14px 28px;flex-wrap:wrap;margin-top:30px}
.ft-page .resource-jumps{margin-top:34px}
.ft-page .resource-feature{padding-bottom:14px}

/* ── Sections ───────────────────────────────────────────────────────────── */
.ft-body{padding-block:18px 26px}
.ft-section{padding-block:64px;border-top:1px solid var(--ft-line);scroll-margin-top:104px}
.ft-section:first-child{border-top:0}
.ft-head{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-bottom:34px;max-width:46em}
.ft-head .eyebrow{color:var(--orange)}
.ft-page .ft-head h2{font-size:clamp(30px,3.3vw,48px)!important;line-height:1.1;letter-spacing:-.025em}
.ft-head p:not(.eyebrow){font-size:clamp(17px,1.35vw,20px);line-height:1.7;color:var(--ft-copy)}

/* What it does for you: a calm list, one row per benefit */
.ft-benefits{list-style:none;margin:0;padding:0;border-top:1px solid var(--ft-line)}
.ft-benefits li:last-child{border-bottom:0}
.ft-benefits li{display:grid;grid-template-columns:48px minmax(0,.8fr) minmax(0,1.5fr);gap:6px 28px;align-items:start;padding:26px 0;border-bottom:1px solid var(--ft-line)}
.ft-ico{width:46px;height:46px;border:1px solid #373d47;border-radius:12px;display:grid;place-items:center;color:var(--orange);background:#14171c}
.ft-ico .icon{width:23px;height:23px}
.ft-benefits li:nth-child(3n+2) .ft-ico{color:var(--blue)}
.ft-benefits li:nth-child(3n) .ft-ico{color:var(--violet)}
.ft-benefits h3{font-size:clamp(20px,1.7vw,24px);line-height:1.3;letter-spacing:-.01em;padding-top:8px}
.ft-benefits p{font-size:clamp(17px,1.3vw,19.5px);line-height:1.7;color:var(--ft-copy);padding-top:6px}

/* How it works: numbered steps beside a second screenshot */
.ft-how{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(30px,4.5vw,64px);align-items:start}
.ft-how.ft-how-single{grid-template-columns:minmax(0,52em)}
.ft-steps{list-style:none;margin:0;padding:0;counter-reset:step}
.ft-steps li{position:relative;counter-increment:step;padding:0 0 30px 62px}
.ft-steps li:before{content:counter(step);position:absolute;left:0;top:0;width:40px;height:40px;border-radius:50%;border:1px solid #4b5262;background:#14171c;display:grid;place-items:center;font:600 16px/1 var(--sans);color:var(--orange)}
.ft-steps li:not(:last-child):after{content:"";position:absolute;left:19.5px;top:48px;bottom:6px;width:1px;background:#313640}
.ft-steps h3{font-size:clamp(20px,1.6vw,23px);line-height:1.3;margin:5px 0 8px;letter-spacing:-.01em}
.ft-steps p{font-size:clamp(17px,1.3vw,19.5px);line-height:1.7;color:var(--ft-copy)}
.ft-steps li:last-child{padding-bottom:0}
.ft-how>figure{position:sticky;top:104px}
.ft-figures{display:grid;gap:20px;min-width:0}

/* For a founder / For a larger company */
.ft-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.ft-panel{border:1px solid var(--ft-edge);border-radius:12px;padding:clamp(24px,2.6vw,36px);background:linear-gradient(160deg,#181c23,#111418)}
.ft-panel .eyebrow{color:var(--orange)}
.ft-panel h3{font-size:clamp(22px,2vw,28px);line-height:1.25;letter-spacing:-.015em;margin:12px 0 14px}
.ft-panel p{font-size:clamp(17px,1.3vw,19.5px);line-height:1.75;color:var(--ft-copy)}

/* Good to know */
.ft-know{padding:clamp(24px,3vw,40px);background:linear-gradient(110deg,#252219,#17191c);border:1px solid #554739;border-radius:12px}
.ft-know h2{margin:0 0 24px}
.ft-page .ft-know h2{font-size:clamp(28px,2.8vw,40px)!important;letter-spacing:-.02em;line-height:1.12}
.ft-know ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px clamp(24px,4vw,56px)}
.ft-know li{position:relative;padding-left:26px;font-size:clamp(16.5px,1.25vw,19px);line-height:1.65;color:#d0ccc6}
.ft-know li:before{content:"";position:absolute;left:0;top:.62em;width:8px;height:8px;border-radius:50%;background:var(--orange)}
.ft-know strong{color:#ffc3a0;font-weight:600}

/* What you can connect (Connections page) */
.ft-cats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ft-cat{border:1px solid var(--ft-edge);border-radius:12px;padding:26px 26px 24px;background:var(--ft-card);display:flex;flex-direction:column;gap:12px}
.ft-cat:nth-child(3n+2) .ft-ico{color:var(--blue)}
.ft-cat:nth-child(3n) .ft-ico{color:var(--violet)}
.ft-cat .ft-ico{width:40px;height:40px;border-radius:10px}
.ft-cat .ft-ico .icon{width:20px;height:20px}
.ft-cat h3{font-size:clamp(19px,1.5vw,22px);line-height:1.3;letter-spacing:-.01em}
.ft-cat p{font-size:clamp(16px,1.15vw,18px);line-height:1.65;color:var(--ft-copy)}
.ft-pills{display:flex;flex-wrap:wrap;gap:8px;margin:auto 0 0;padding:6px 0 0;list-style:none}
.ft-pills li{font-size:14px;line-height:1;padding:8px 11px;border:1px solid #3b424e;border-radius:999px;color:#d9dde4;background:#181c22;white-space:nowrap}
.ft-note{margin-top:22px;font-size:clamp(15px,1.1vw,17px);line-height:1.7;color:var(--ft-soft);max-width:60em}

/* Screenshot still to come: same frame as a real screenshot, so the page
   layout does not change when the picture arrives. Replace the whole
   <figure class="screen-frame ft-missing"> with the standard figure. */
.ft-missing .ft-missing-body{aspect-ratio:1600/1050;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:8% 9%;background:
  repeating-linear-gradient(135deg,#0f1319 0 14px,#0d1116 14px 28px);color:#c3cad6}
.ft-missing .ft-missing-body>.icon{width:38px;height:38px;color:#7f8a9b}
.ft-missing .ft-missing-title{font-weight:600;font-size:clamp(17px,1.5vw,21px);color:#e3e8f0}
.ft-missing .ft-missing-desc{font-size:clamp(14px,1.1vw,17px);line-height:1.6;max-width:34em;color:#aab3c1}
.ft-missing .ft-missing-tag{font:400 12px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:#f1b48f;border:1px dashed #6a5343;border-radius:5px;padding:7px 10px}

/* CTA and related links */
.ft-page .resource-cta{margin-top:26px}
.ft-page .related-links nav{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.ft-page .related-links a.ft-back{display:inline-flex;justify-content:flex-start;gap:12px;width:auto;margin-top:26px;padding:0;border:0;background:none;font-weight:600}
.ft-page .related-links a.ft-back .icon{transition:transform .2s}
.ft-page .related-links a.ft-back:hover .icon{transform:translateX(-4px)}

/* ── Hub ────────────────────────────────────────────────────────────────── */
.ft-audience-lead{max-width:44em}
.ft-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;margin:0;padding:0}
.ft-cards>li[hidden]{display:none}
.ft-card{display:flex;flex-direction:column;height:100%;border:1px solid var(--ft-edge);border-radius:12px;background:var(--ft-card);overflow:hidden;transition:border-color .2s,transform .2s}
.ft-card:hover{border-color:#7a8597;transform:translateY(-4px)}
.ft-card-thumb{aspect-ratio:16/10;position:relative;overflow:hidden;border-bottom:1px solid var(--ft-edge);background:radial-gradient(ellipse at 70% 0,#33405a,#161c28 78%)}
.ft-card:nth-child(3n+2) .ft-card-thumb{background:radial-gradient(ellipse at 70% 0,#4b3a2e,#231d19 78%)}
.ft-card:nth-child(3n) .ft-card-thumb{background:radial-gradient(ellipse at 70% 0,#3a3650,#1b1b28 78%)}
.ft-card-thumb img{position:absolute;inset:0;width:100%;height:100%}
.ft-card-thumb img.ft-shot{inset:18px 0 0 18px;width:118%;height:auto;max-width:none;border:1px solid #596273;border-radius:6px 0 0 0;box-shadow:0 0 30px #0009;transition:transform .35s}
.ft-card:hover .ft-card-thumb img.ft-shot{transform:translate(-4px,-4px)}
.ft-card-thumb img.ft-orb{object-fit:contain;padding:9% 18%}
.ft-card-body{display:flex;flex-direction:column;flex:1;padding:24px 26px 26px}
.ft-card-body .eyebrow{margin:0}
.ft-card h3{font-size:clamp(22px,1.9vw,27px);line-height:1.25;letter-spacing:-.015em;margin:10px 0 10px}
.ft-card p:not(.eyebrow){font-size:clamp(16.5px,1.2vw,18.5px);line-height:1.65;color:var(--ft-copy);margin-bottom:20px}
.ft-card .ft-more{display:inline-flex;align-items:center;gap:10px;margin-top:auto;color:var(--orange);font-weight:600;font-size:clamp(15px,1.1vw,17px)}
.ft-card .ft-more .icon{width:16px;height:16px;transition:transform .2s}
.ft-card:hover .ft-more .icon{transform:translateX(4px)}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media(max-width:1100px){
  .ft-page .resource-hero.has-orbs h1{max-width:min(16em,calc(100% - 240px))}
  .ft-page .resource-hero .resource-description{max-width:min(36em,calc(100% - 250px))}
  .ft-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ft-cats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ft-how{grid-template-columns:minmax(0,1fr)}
  .ft-how>figure{position:static}
}
@media(max-width:820px){
  .ft-benefits li{grid-template-columns:44px minmax(0,1fr);gap:4px 18px}
  .ft-benefits p{grid-column:2;padding-top:0}
  .ft-panels{grid-template-columns:1fr}
  .ft-know ul{grid-template-columns:1fr}
}
@media(max-width:767px){
  .ft-page .resource-hero{padding-block:26px 20px}
  .ft-page .breadcrumbs{margin-bottom:24px}
  .ft-page .resource-hero h1,.ft-page .resource-hero.has-orbs h1{max-width:none;font-size:clamp(34px,9vw,46px)!important}
  .ft-page .resource-hero .resource-description{max-width:none}
  .ft-page .resource-hero>.orb-art{top:auto}
  .ft-page .resource-hero:after{content:"";display:block;clear:both}
  .ft-section{padding-block:42px}
  .ft-cards,.ft-cats{grid-template-columns:1fr}
  .ft-steps li{padding-left:54px}
  .ft-steps li:before{width:36px;height:36px;font-size:15px}
  .ft-steps li:not(:last-child):after{left:17.5px;top:44px}
}
