    :root {
      --primary: #0e8a5f; --primary-dark: #0b6e4c; --primary-light: #e6f4ee;
      --ink: #1c2530; --ink-soft: #51606f; --faint: #8b98a5; --line: #e3e8ee;
      --bg: #f7f9fb; --white: #ffffff; --headbg: rgba(255,255,255,.88); --footbg: #11181c; --footink: #c4ccd4; --footline: #243038;
    }
    html[data-fpai-theme="dark"] {
      --primary: #16a571; --primary-dark: #34c188; --primary-light: #143323;
      --ink: #f2f5f7; --ink-soft: #aab5bf; --faint: #7e8893; --line: #2a3036;
      --bg: #15181b; --white: #1e2329; --headbg: rgba(18,21,25,.9); --footbg: #0c1114; --footink: #aab5bf; --footline: #1c252b;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      background: var(--bg); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; }

    /* ---------- site header ---------- */
    .site-head {
      position: sticky; top: 0; z-index: 30;
      background: var(--headbg); backdrop-filter: saturate(180%) blur(10px);
      border-bottom: 1px solid var(--line);
    }
    .site-head-inner { position: relative; max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 11px 20px; }
    .site-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
    .site-brand svg { width: 30px; height: 30px; }
    .site-brand b { font-size: 19px; font-weight: 800; letter-spacing: -.3px; color: var(--ink); }
    .navburger {
      display: none; margin-left: 4px; align-items: center; gap: 7px; cursor: pointer; user-select: none;
      font-size: 14.5px; font-weight: 700; color: var(--ink); padding: 8px 12px;
      border: 1.5px solid var(--line); border-radius: 9px;
    }
    .site-nav { display: flex; align-items: center; gap: 2px; margin-left: 4px; }
    .nav-item { position: relative; }
    .nav-top {
      display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
      background: none; border: 0; font-family: inherit;
      color: var(--ink-soft); font-size: 14.5px; font-weight: 600;
      padding: 8px 11px; border-radius: 8px; white-space: nowrap;
    }
    .nav-top svg { width: 11px; height: 11px; transition: transform .15s; }
    .nav-item:hover .nav-top, .nav-item:focus-within .nav-top { color: var(--primary-dark); background: var(--primary-light); }
    .nav-item:hover .nav-top svg, .nav-item:focus-within .nav-top svg { transform: rotate(180deg); }
    /* Desktop: panels open on hover/focus ONLY - never click-pinned, so they can't
       get stuck open. Closed state is display:none (no phantom scroll); the fade uses
       display+allow-discrete and degrades to an instant toggle on older browsers. */
    .nav-panel {
      display: none;
      position: absolute; top: calc(100% + 9px); left: 0; z-index: 40;
      flex-wrap: wrap; gap: 4px 22px; padding: 16px 18px;
      background: var(--white); border: 1px solid var(--line); border-radius: 14px;
      box-shadow: 0 18px 44px rgba(16,24,32,.16);
      width: max-content; max-width: min(720px, 92vw); align-content: start;
    }
    /* transparent bridge so the cursor can cross the gap to the panel without it closing */
    .nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
    .nav-panel.alignright { left: auto; right: 0; }
    .nav-item:hover > .nav-panel, .nav-item:focus-within > .nav-panel { display: flex; }
    .mega-col { min-width: 192px; }
    .mega-head { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--faint); margin: 8px 0 5px; padding: 0 6px; text-decoration: none; }
    .mega-col > .mega-head:first-child { margin-top: 0; }
    a.mega-head:hover { color: var(--primary-dark); }
    .nav-panel ul { list-style: none; margin: 0; padding: 0; }
    .nav-panel a { display: block; text-decoration: none; color: var(--ink); font-size: 13.5px; font-weight: 500; padding: 5px 6px; border-radius: 7px; white-space: nowrap; }
    .nav-panel a:hover { color: var(--primary-dark); background: var(--primary-light); }
    .mega-sub { margin: 1px 0 4px 9px; padding-left: 7px; border-left: 1px solid var(--line); }
    .mega-sub a { font-size: 12.5px; color: var(--ink-soft); padding: 3px 6px; }
    .site-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
    .site-signin { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 14.5px; padding: 8px 10px; }
    .site-signin:hover { color: var(--primary-dark); }
    .site-cta {
      text-decoration: none; background: var(--primary); color: #fff; font-weight: 700; font-size: 14.5px;
      padding: 9px 16px; border-radius: 9px; white-space: nowrap;
    }
    .site-cta:hover { background: var(--primary-dark); }
    .site-hublink { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink-soft); font-size: 14.5px; font-weight: 600; padding: 8px 11px; border-radius: 8px; margin-left: 2px; white-space: nowrap; }
    .site-hublink:hover { color: var(--primary-dark); background: var(--primary-light); }
    .site-theme-toggle {
      width: 38px; height: 38px; border-radius: 50%; flex: none; padding: 0; cursor: pointer;
      background: var(--white); border: 1.5px solid var(--line);
      display: inline-flex; align-items: center; justify-content: center;
    }
    .site-theme-toggle:hover { border-color: var(--primary); }
    .site-theme-toggle svg { width: 17px; height: 17px; }
    .site-theme-toggle .sun { display: none; stroke: #e8a32b; }
    .site-theme-toggle .moon { display: block; stroke: var(--primary); }
    html[data-fpai-theme="dark"] .site-theme-toggle .sun { display: block; }
    html[data-fpai-theme="dark"] .site-theme-toggle .moon { display: none; }

    /* ---------- hero ---------- */
    .hero { max-width: 1080px; margin: 0 auto; padding: 48px 20px 24px; text-align: center; }
    .hero h1 {
      font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: 0;
      font-size: clamp(33px, 6vw, 58px); line-height: 1.12; max-width: 840px; margin: 0 auto 14px;
      text-wrap: balance;
    }
    .hero h1 .accent { color: var(--primary); }
    .hero p.sub { font-size: 18.5px; color: var(--ink-soft); max-width: 620px; margin: 0 auto 20px; }
    .hero .stats { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
    .hero .stats span {
      font-size: 13.5px; font-weight: 600; color: var(--ink);
      background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 15px;
    }
    .hero .stats b { color: var(--primary); font-weight: 700; }
    .wrap { padding: 4px 20px 8px; }

    /* Uniform lining figures in serif headings (Cormorant defaults to old-style). */
    .hero h1, .sec-head h2, .why h2, .finalcta h2, .why-card .big { font-variant-numeric: lining-nums; }

    /* ---------- footer ---------- */
    .site-foot { background: var(--footbg); color: var(--footink); margin-top: 48px; }
    .site-foot a { color: var(--footink); text-decoration: none; }
    .site-foot a:hover { color: #fff; }
    .foot-cols { max-width: 1180px; margin: 0 auto; padding: 44px 20px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
    .foot-brand svg { width: 34px; height: 34px; }
    .foot-brand b { display: block; font-size: 18px; font-weight: 800; color: #fff; margin: 8px 0 6px; }
    .foot-brand p { font-size: 13.5px; line-height: 1.6; margin: 0 0 12px; max-width: 260px; }
    .foot-addr { font-size: 12.5px; line-height: 1.65; color: var(--footink); margin: 14px 0 0; max-width: 260px; font-style: normal; }
    .foot-addr strong { display: block; color: #fff; font-weight: 700; margin-bottom: 2px; }
    .foot-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: #fff; margin: 0 0 12px; font-weight: 700; }
    .foot-col ul { list-style: none; margin: 0; padding: 0; }
    .foot-col li { margin-bottom: 9px; font-size: 14px; }
    .foot-bottom { border-top: 1px solid var(--footline); }
    .foot-bottom-inner { max-width: 1180px; margin: 0 auto; padding: 16px 20px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 13px; }
    .foot-bottom-inner .legal { display: flex; gap: 14px; flex-wrap: wrap; margin-left: auto; }
    .foot-disc { max-width: 1180px; margin: 0 auto; padding: 0 20px 26px; font-size: 12px; color: var(--faint); }

    /* ---------- content sections ---------- */
    .section { max-width: 1080px; margin: 0 auto; padding: 66px 20px; }
    .section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .sec-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
    .eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
    .sec-head h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: 0; font-size: clamp(30px, 3.8vw, 41px); line-height: 1.14; margin: 0 0 12px; }
    .sec-head p { font-size: 17px; color: var(--ink-soft); margin: 0; line-height: 1.6; }
    .ic { display: block; }

    .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .step-num { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-weight: 700; font-size: 18px; color: #fff; background: var(--primary); margin-bottom: 16px; box-shadow: 0 8px 18px -8px var(--primary); }
    .step h3 { font-size: 18.5px; margin: 0 0 7px; }
    .step p { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.62; }

    .typegrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
    .typecard { display: flex; flex-direction: column; gap: 9px; text-align: left; text-decoration: none; cursor: pointer; background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 17px 16px; transition: border-color .14s ease, transform .14s ease, box-shadow .14s ease; }
    .typecard:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 12px 26px -14px var(--primary); }
    .typecard .ic { width: 26px; height: 26px; color: var(--primary); }
    .typecard b { font-size: 14.5px; color: var(--ink); }
    .typecard span { font-size: 12px; color: var(--ink-soft); }

    .featgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 28px; }
    .feat .ic { width: 26px; height: 26px; color: var(--primary); margin-bottom: 13px; }
    .feat h3 { font-size: 17px; margin: 0 0 7px; }
    .feat p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.62; }

    .why { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
    .why h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: 0; font-size: clamp(29px, 3.6vw, 39px); line-height: 1.15; margin: 0 0 14px; }
    .why > div > p { font-size: 16px; color: var(--ink-soft); margin: 0; line-height: 1.6; }
    .why-list { list-style: none; margin: 20px 0 0; padding: 0; }
    .why-list li { display: flex; gap: 11px; margin-bottom: 14px; font-size: 15.5px; color: var(--ink); line-height: 1.5; }
    .why-list .ic { width: 21px; height: 21px; color: var(--primary); flex: none; margin-top: 2px; }
    .why-card { background: var(--primary-light); border: 1.5px solid color-mix(in srgb, var(--primary) 28%, var(--line)); border-radius: 18px; padding: 34px; text-align: center; }
    .why-card .big { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 56px; line-height: 1; color: var(--primary); }
    .why-card .cap { font-size: 15px; color: var(--ink-soft); margin: 8px 0 20px; }

    /* what's-included list (deeper Tier-2 spokes) */
    .incl { max-width: 780px; margin: 0 auto; }
    .incl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 30px; }
    .incl-list li { display: flex; gap: 11px; font-size: 15.5px; color: var(--ink); line-height: 1.5; }
    .incl-list .ic { width: 21px; height: 21px; color: var(--primary); flex: none; margin-top: 2px; }
    .incl-note { font-size: 15px; color: var(--ink-soft); line-height: 1.62; margin: 30px auto 0; max-width: 640px; text-align: center; }
    .incl-note a { color: var(--primary-dark); font-weight: 600; text-decoration: none; }
    .incl-note a:hover { text-decoration: underline; }

    .faq { max-width: 760px; margin: 0 auto; }
    .faq details { border-bottom: 1px solid var(--line); }
    .faq summary { cursor: pointer; list-style: none; padding: 19px 0; font-size: 16.5px; font-weight: 600; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
    .faq summary::-webkit-details-marker { display: none; }
    .faq summary::after { content: "+"; color: var(--primary); font-size: 23px; font-weight: 400; line-height: .9; flex: none; transition: transform .2s ease; }
    .faq details[open] summary::after { transform: rotate(45deg); }
    .faq details p { margin: -2px 0 19px; font-size: 15px; color: var(--ink-soft); line-height: 1.66; }

    .finalcta { text-align: center; }
    .finalcta h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: clamp(32px, 4.4vw, 46px); line-height: 1.12; margin: 0 0 14px; }
    .finalcta p { font-size: 18px; color: var(--ink-soft); margin: 0 0 26px; }
    .finalcta .site-cta { font-size: 16px; padding: 14px 30px; border: 0; }

    /* Nav collapses to a hamburger below the content max-width, so the inline
       links never wrap awkwardly in the in-between range. */
    @media (max-width: 1180px) {
      .navburger { display: inline-flex; }
      .site-nav { display: none; }
      .navtoggle:checked ~ .site-nav {
        display: flex; position: absolute; left: 12px; right: 12px; top: calc(100% + 6px);
        background: var(--white); border: 1px solid var(--line); border-radius: 12px;
        flex-direction: column; align-items: stretch; padding: 8px; gap: 0;
        max-height: 78vh; overflow-y: auto; box-shadow: 0 12px 30px rgba(0,0,0,.22);
      }
      .nav-item { position: static; border-top: 1px solid var(--line); }
      .nav-item:first-child { border-top: 0; }
      .nav-top { width: 100%; justify-content: space-between; font-size: 15px; padding: 13px 12px; }
      .nav-panel { position: static; display: none; opacity: 1; transform: none; transition: none;
        flex-direction: column; flex-wrap: nowrap; gap: 0;
        border: 0; border-radius: 0; box-shadow: none; padding: 0 0 8px 14px; width: auto; max-width: none; }
      .nav-panel::before { display: none; }
      /* touch: hover/focus must not auto-open or highlight - only the JS accordion (.open) does */
      .nav-item:hover > .nav-panel, .nav-item:focus-within > .nav-panel { display: none; }
      .nav-item:hover .nav-top, .nav-item:focus-within .nav-top { color: var(--ink); background: none; }
      .nav-item:hover .nav-top svg, .nav-item:focus-within .nav-top svg { transform: none; }
      .nav-item.open > .nav-panel { display: flex; }
      .nav-item.open .nav-top { color: var(--primary-dark); background: var(--primary-light); }
      .nav-item.open .nav-top svg { transform: rotate(180deg); }
      .mega-col { min-width: 0; }
      .nav-panel a { white-space: normal; }
    }
    @media (max-width: 900px) {
      .section { padding: 52px 20px; }
      /* Tablet portrait keeps a real grid - steps stay a 3-across stepper and
         features a tidy 2-col (6 cards = 3x2), not one sparse full-width column. */
      .typegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .featgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
      .why { grid-template-columns: 1fr; gap: 28px; }
      .foot-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
      /* Park the widget's sticky export bar just below the 64px sticky site
         header (the widget defaults to top:8px, which tucks the word-count and
         Copy row behind the nav while scrolling a long document). */
      .fpai-toolbar { top: 72px; }
    }
    @media (max-width: 560px) {
      .site-signin { display: none; }
      .site-hublink .hub-label { display: none; }
      /* keep the header on one line on small phones (logo-only brand) */
      .site-head-inner { gap: 10px; padding: 11px 14px; }
      .site-brand b { display: none; }
      .site-cta { padding: 8px 13px; }
      .typegrid { grid-template-columns: 1fr; }
      .featgrid { grid-template-columns: 1fr; }
      .incl-list { grid-template-columns: 1fr; gap: 11px; }
      .foot-cols { grid-template-columns: 1fr; }
      /* Phones: steps collapse to a tight badge-left numbered list. */
      .steps { grid-template-columns: 1fr; gap: 20px; }
      .step { display: grid; grid-template-columns: auto 1fr; column-gap: 15px; align-items: center; }
      .step-num { grid-column: 1; grid-row: 1 / 3; width: 38px; height: 38px; font-size: 16px; margin: 0; }
      .step h3 { grid-column: 2; grid-row: 1; margin: 0; }
      .step p { grid-column: 2; grid-row: 2; margin: 4px 0 0; }
      /* Stat chips: one full-width column of identical, centered pills. A 2-col
         grid forced the long "Backed by 16,000+ templates" chip to wrap (uneven
         rows), and flex-centering it collapsed the inline spacing. Single column
         keeps every pill the same size, single-line, and symmetric at any width. */
      .hero .stats { display: grid; grid-template-columns: 1fr; gap: 8px; max-width: 360px; margin: 0 auto; }
      .hero .stats span { text-align: center; padding: 11px 14px; font-size: 13.5px; }
    }

    /* Hub - "All AI generators" in-content directory */
    .gendir-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 30px 26px; max-width: 960px; margin: 0 auto; }
    .gendir-col h3 { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin: 0 0 14px; }
    .gendir-col ul { list-style: none; margin: 0; padding: 0; }
    .gendir-col li { margin: 0 0 10px; }
    .gendir-col a { font-size: 15px; color: var(--ink); text-decoration: none; line-height: 1.45; border-bottom: 1px solid transparent; transition: color .14s ease, border-color .14s ease; }
    .gendir-col a:hover { color: var(--primary); border-bottom-color: var(--primary); }

    /* Deep-content prose sections (competitive spokes) */
    .prose { max-width: 740px; margin: 0 auto; }
    .prose p { font-size: 16px; color: var(--ink); line-height: 1.72; margin: 0 0 16px; }
    .prose h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 28px 0 8px; }
    .prose ul { margin: 0 0 16px; padding-left: 22px; }
    .prose li { font-size: 16px; color: var(--ink); line-height: 1.6; margin: 0 0 7px; }
    .prose a { color: var(--primary-dark); font-weight: 600; text-decoration: none; }
    .prose a:hover { text-decoration: underline; }

    /* "How to" steps as a crisp numbered list with colored badges (every device) */
    .guide { list-style: none; counter-reset: g; margin: 10px 0 18px; padding: 0; }
    .guide > li { counter-increment: g; position: relative; padding-left: 52px; margin: 0 0 22px; }
    .guide > li:last-child { margin-bottom: 0; }
    .guide > li::before { content: counter(g); position: absolute; left: 0; top: 1px; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px -7px var(--primary); }
    .guide > li h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 4px 0 6px; }
    .guide > li p { font-size: 16px; color: var(--ink); line-height: 1.7; margin: 0; }
