/* Homepage patterns: shared by the public page and Gutenberg. All visuals use local CSS. */
.fti-home-main { padding-block: 0 72px; }
.fti-home-content > *, .editor-styles-wrapper .fti-home-section { max-width: 100%; }
.fti-home-content .wp-block-group { min-width: 0; }
.fti-home-hero > *, .fti-home-grid > *, .fti-home-split > *, .fti-workspace > *, .fti-workspace-grid > *, .fti-trace-flow > *, .fti-trace-branches > *, .fti-example-network > *, .fti-review-fields > *, .fti-risk-list > *, .fti-api-line > * { margin-block: 0; }
.fti-home-content p, .fti-home-section p { color: var(--fti-muted); }
.fti-home-content h1, .fti-home-content h2, .fti-home-content h3 { color: var(--fti-text); }
.fti-home-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; padding-block: 76px 84px; }
.fti-hero-copy > :first-child { margin-top: 0; }
.fti-hero-copy h1 { font-size: clamp(2.75rem, 5.4vw, 4.8rem); font-weight: 550; letter-spacing: -.06em; line-height: 1.06; margin: 26px 0; max-width: 640px; }
.fti-home-content .fti-hero-lead { font-size: 1.35rem; color: var(--fti-text); margin-bottom: 10px; }
.fti-hero-description { font-size: .9375rem; max-width: 480px; }
.fti-hero-copy .wp-block-buttons { margin-top: 28px; }
.fti-home-note { font-size: .75rem; line-height: 1.65; color: var(--fti-muted); }
.fti-hero-copy .fti-home-note { margin-top: 22px; max-width: 430px; }
.fti-hero-art { min-height: 410px; border: 1px solid #cfe1d9; border-radius: 30px; position: relative; overflow: hidden; padding: 28px; background: radial-gradient(circle at 70% 25%, #cbe8d7, transparent 58%), #eaf4ef; display: flex; flex-direction: column; justify-content: space-between; }
.fti-hero-art::before, .fti-hero-art::after { content: ''; position: absolute; width: 290px; height: 290px; border: 1px solid #77a796; border-radius: 50%; right: -56px; top: 62px; transform: rotate(-28deg); box-shadow: 0 0 0 22px #eaf4ef, 0 0 0 23px #aecdc0, 0 0 0 57px #eaf4ef, 0 0 0 58px #c2d9ce; }
.fti-hero-art::after { width: 150px; height: 150px; top: 129px; right: 12px; box-shadow: none; background: repeating-linear-gradient(0deg, transparent, transparent 18px, #9abeb033 19px), repeating-linear-gradient(90deg, transparent, transparent 18px, #9abeb033 19px); border-color: #77a796; }
.fti-orbit-label, .fti-orbit-bottom { position: relative; z-index: 1; }
.fti-orbit-text { font-size: .75rem; letter-spacing: .025em; }
.fti-orbit-bottom { padding-top: 130px; max-width: 250px; }
.fti-home-content .fti-orbit-title { font-size: 2rem; color: var(--fti-text); line-height: 1.1; letter-spacing: -.04em; margin-bottom: 8px; }
.fti-home-section { padding-block: clamp(42px, 6vw, 76px); margin-block: 0; border-top: 1px solid var(--fti-line); scroll-margin-top: 24px; }
.fti-section-heading { max-width: 700px; margin-bottom: 32px; }
.fti-home-section h2 { font-weight: 550; letter-spacing: -.04em; line-height: 1.13; margin: 16px 0; }
.fti-home-section h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.3; }
.fti-home-section .is-style-fti-eyebrow, .fti-home-hero .is-style-fti-eyebrow { color: var(--fti-accent); font-weight: 650; }
.fti-home-grid { display: grid; gap: 18px; }
.fti-grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.fti-grid-four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.fti-home-grid .is-style-fti-card { padding: 26px; height: auto; margin: 0; }
.fti-home-grid .is-style-fti-card > :last-child { margin-bottom: 0; }
.fti-home-grid .is-style-fti-card > p { font-size: .8125rem; }
.fti-home-content .fti-card-index { font-size: .6875rem; color: var(--fti-accent); letter-spacing: .08em; margin: 0 0 32px; }
.fti-home-section > .wp-block-buttons { margin-top: 26px; }
.fti-workspace { background: #fff; border: 1px solid var(--fti-line); border-radius: 18px; box-shadow: var(--fti-shadow); overflow: hidden; }
.fti-workspace-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 24px; border-bottom: 1px solid var(--fti-line); }
.fti-home-content .fti-workspace-brand { color: var(--fti-text); font-size: .8125rem; font-weight: 650; margin: 0; }
.fti-workspace-grid { display: grid; grid-template-columns: 210px minmax(0,1fr) 220px; }
.fti-workspace-sidebar { border-right: 1px solid var(--fti-line); padding: 24px 20px; }
.fti-workspace-sidebar p { font-size: .6875rem; padding-block: 9px; }
.fti-workspace-sidebar .fti-active-step { color: var(--fti-accent); border-left: 2px solid var(--fti-accent); padding-left: 10px; background: var(--fti-accent-soft); }
.fti-workspace-sidebar .fti-home-note { margin-top: 40px; }
.fti-workspace-canvas { padding: 36px 24px 20px; background-color: #f7faf9; background-image: radial-gradient(#b5cbbf 1px,transparent 1px); background-size: 18px 18px; }
.fti-example-network { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.fti-example-node { width: min(220px,100%); position: relative; padding: 18px; background: #fff; border: 1px solid #b8cfc3; border-radius: 12px; }
.fti-example-node + .fti-example-node::before { content: ''; position: absolute; height: 28px; width: 1px; background: #689c87; top: -29px; left: 50%; }
.fti-example-node h3 { font-size: .9375rem; margin: 12px 0 5px; }
.fti-example-node p { font-size: .6875rem; margin: 0; }
.fti-example-node:nth-child(2), .fti-example-node:nth-child(3) { align-self: center; }
.fti-workspace-canvas > .fti-home-note { background: #f7faf9; margin-top: 28px; padding: 8px; }
.fti-workspace-inspector { padding: 24px; border-left: 1px solid var(--fti-line); }
.fti-workspace-inspector > p { font-size: .75rem; }
.fti-workspace-inspector h3 { font-size: 1.4rem; }
.fti-trust-section .is-style-fti-card { background: transparent; border-style: dashed; }
.fti-home-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,6vw,80px); align-items: center; }
.fti-split-copy { max-width: 520px; }
.fti-screening-card { padding: clamp(24px,4vw,40px); box-shadow: var(--fti-shadow); height: auto; }
.fti-sample-address { font-family: ui-monospace, monospace; background: var(--fti-bg); padding: 16px; border: 1px solid var(--fti-line); border-radius: 6px; font-size: .875rem; }
.fti-screening-demo { border-bottom: 0; padding-bottom: 0; }
.fti-screening-demo summary { color: var(--fti-accent); font-size: .875rem; padding-block: 8px; }
.fti-review-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-block: 14px; }
.fti-review-fields p { font-size: .75rem; border-bottom: 1px solid var(--fti-line); padding-block: 10px; margin: 0; }
.fti-trace-panel { padding: 28px; border-radius: 18px; border: 1px solid #c7dcd1; background: #edf5f0; }
.fti-trace-flow { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; align-items: center; margin-block: 38px; position: relative; }
.fti-trace-flow::before { content: ''; position: absolute; height: 1px; background: #689c87; left: 10%; right: 10%; top: 50%; }
.fti-trace-node { position: relative; background: #fff; padding: 14px 10px; border: 1px solid #adcbbd; border-radius: 9px; z-index: 1; }
.fti-trace-node h3 { font-size: .8125rem; margin: 8px 0 0; }
.fti-trace-node .is-style-fti-eyebrow { font-size: .5625rem; letter-spacing: .05em; margin: 0; }
.fti-trace-branches { display: grid; gap: 26px; position: relative; }
.fti-trace-branches::before { content: ''; position: absolute; left: -10px; right: 50%; top: 24%; bottom: 24%; border: 1px solid #689c87; border-right: 0; }
.fti-risk-list { display: flex; flex-wrap: wrap; gap: 12px; }
.fti-risk-list .badge { font-size: .8125rem; padding: 12px 18px; background: #fff; border: 1px solid #ccded4; }
.fti-home-section.is-style-fti-spotlight { padding: clamp(28px,5vw,56px); border: 1px solid #d2e7dc; margin-block: 26px; }
.fti-api-card { padding: clamp(24px,4vw,36px); border: 1px solid var(--fti-line); background: #fff; border-radius: 18px; box-shadow: var(--fti-shadow); }
.fti-api-card h3 { margin-block: 28px; }
.fti-api-line { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; border-top: 1px solid var(--fti-line); padding-block: 12px; }
.fti-api-line p { margin: 0; font: .75rem/1.6 ui-monospace,monospace; }
.fti-resource-empty { padding: 36px; background: #fff; border: 1px dashed #b4c5d1; border-radius: 14px; }
.fti-resource-empty > :first-child { margin-top: 0; }
.fti-resource-query .wp-block-post-template { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.fti-resource-query .wp-block-post { margin: 0; }
.fti-resource-query .wp-block-post-date { color: var(--fti-muted); font-size: .75rem; }
.fti-resource-query .wp-block-post-excerpt { font-size: .875rem; }
.fti-faq-section { align-items: start; }
.fti-faq-list .wp-block-details:first-child { padding-top: 8px; }
.fti-faq-list p { font-size: .875rem; }
.fti-home-final { border: 0; padding-top: 24px; padding-bottom: 0; }
.fti-home-final .fti-cta { min-height: 240px; }
@media(min-width:1100px) {
  .fti-example-network { flex-direction: row; gap: 16px; min-height: 290px; }
  .fti-example-node { padding: 14px; width: 33.333%; }
  .fti-example-node:nth-child(2) { align-self: center; }
  .fti-example-node:nth-child(3) { align-self: center; }
  .fti-example-node + .fti-example-node::before { width: 17px; height: 1px; top: 50%; left: -18px; }
  .fti-example-node .badge { font-size: .5625rem; padding-inline: 8px; }
}
@media(max-width:1050px) {
  .fti-home-hero { gap: 30px; }
  .fti-hero-art { min-height: 390px; }
  .fti-workspace-grid { grid-template-columns: 170px minmax(0,1fr); }
  .fti-workspace-inspector { grid-column: 1/-1; border-left: 0; border-top: 1px solid var(--fti-line); }
  .fti-grid-four { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:780px) {
  .fti-home-hero, .fti-home-split { grid-template-columns: 1fr; gap: 30px; }
  .fti-home-hero { padding-block: 48px; }
  .fti-hero-copy h1 { max-width: 550px; }
  .fti-hero-art { min-height: 300px; }
  .fti-grid-three { grid-template-columns: 1fr; }
  .fti-hero-description, .fti-split-copy { max-width: 100%; }
  .fti-card-index { margin-bottom: 16px; }
  .fti-resource-query .wp-block-post-template { grid-template-columns: 1fr; }
}
@media(max-width:480px) {
  .fti-home-hero { padding-top: 36px; }
  .fti-hero-copy h1 { font-size: 2.85rem; }
  .fti-hero-copy .wp-block-buttons { align-items: stretch; flex-direction: column; }
  .fti-hero-copy .wp-block-button, .fti-hero-copy .wp-block-button__link { width: 100%; text-align: center; }
  .fti-grid-four, .fti-workspace-grid { grid-template-columns: 1fr; }
  .fti-workspace-sidebar { border-right: 0; border-bottom: 1px solid var(--fti-line); }
  .fti-workspace-sidebar .fti-home-note { margin-top: 16px; }
  .fti-workspace-top { align-items: start; flex-direction: column; padding: 20px; }
  .fti-workspace-canvas { padding-inline: 20px; }
  .fti-example-node { width: 85%; }
  .fti-trace-panel { padding: 22px; }
  .fti-trace-flow { grid-template-columns: 1fr; gap: 24px; padding-inline: 20px; }
  .fti-trace-flow::before { width: 1px; height: auto; top: 0; bottom: 30px; left: 50%; }
  .fti-trace-branches { grid-template-columns: 1fr 1fr; gap: 14px; }
  .fti-trace-branches::before { left: 24%; right: 24%; top: -12px; bottom: 50%; border: 1px solid #689c87; border-bottom: 0; }
  .fti-trace-node { text-align: center; }
  .fti-resource-empty { padding: 24px; }
}
.fti-demo-metrics { margin-top:32px; }
.fti-home-section .fti-demo-stat { font-size:clamp(2.5rem,5vw,4rem); letter-spacing:-.04em; color:var(--fti-accent); }
.fti-demo-testimonial { margin-top:24px; padding:clamp(24px,4vw,48px); border-radius:24px; }
.fti-demo-editorial { margin-top:24px; }
