/* Customer pages use the existing Higgsfield artwork and real extension captures. */
.nav > .wrap { gap: 26px; }
.nav-links { gap: 25px; }
.page-mast { padding: 72px 0 76px; color: #f8f5f0; background: #10141b url('/assets/img/brand-surface-dark.webp') center / cover; border-bottom: 1px solid #ffffff1c; }
.page-mast .wrap { position: relative; }
.page-mast .eyebrow { color: #e1ad89; }
.page-mast h1 { font-size: clamp(42px, 5.1vw, 66px); max-width: 900px; line-height: 1.1; letter-spacing: -.05em; margin-bottom: 25px; }
.page-mast .lead { color: #c8cbd1; max-width: 620px; font-size: 17px; line-height: 1.8; margin-bottom: 28px; }
.page-mast .btn-secondary { --secondary-rest: #ffffff08; --secondary-hover: #ffffff14; --secondary-active: #ffffff20; --secondary-ink: #f8f5f0; --secondary-border: #ffffff45; --secondary-border-hover: #ffffff70; }
.feature-overview { padding-bottom: 30px; }
.overview-caption { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 21px; }
.overview-caption p { margin: 0; font-size: 17px; font-weight: 650; }
.overview-caption .link { font-size: 12px; }
.product-evidence { margin: 0; padding: 26px 26px 16px; background: #10141b url('/assets/img/brand-surface-dark.webp') center / cover; border: 1px solid #454448; border-radius: 18px; box-shadow: 0 22px 45px #20252c14; }
.product-evidence img { width: 100%; height: auto; border: 1px solid #ffffff25; border-radius: 8px; }
.product-evidence figcaption { font-size: 11px; text-align: center; color: #c2c5cd; margin-top: 14px; }
.chapter-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 80px; align-items: start; }
.chapter-nav { position: sticky; top: 115px; display: grid; gap: 4px; }
.chapter-nav p { font-size: 12px; color: var(--muted); margin-bottom: 13px; }
.chapter-nav a { font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.chapter-nav a:hover { color: var(--orange-dark); }
.feature-chapter { padding: 0 0 55px; margin-bottom: 52px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.feature-chapter:last-child { margin: 0; }
.feature-chapter h2 { max-width: 670px; font-size: clamp(28px, 3vw, 38px); }
.feature-chapter > p:not(.eyebrow) { font-size: 16px; color: var(--muted); max-width: 700px; }
.feature-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 27px 0; }
.feature-facts dt { font-size: 14px; font-weight: 650; margin-bottom: 8px; }
.feature-facts dd { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.8; }
.feature-chapter .link { font-size: 13px; }
.plain-steps { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 17px; }
.plain-steps li { display: flex; gap: 16px; align-items: start; }
.plain-steps li > span { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; background: #ded4c9; border-radius: 50%; color: #74482f; font-size: 12px; }
.plain-steps p { margin: 0; font-size: 14px; color: var(--muted); }
.site-next { padding: 62px 0; color: #f8f5f0; background: #10141b url('/assets/img/brand-surface-dark.webp') center / cover; }
.site-next > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 55px; }
.site-next h2 { font-size: clamp(27px, 2.8vw, 36px); margin-bottom: 14px; }
.site-next p { color: #bfc3cc; max-width: 650px; margin-bottom: 0; font-size: 14px; }
.site-next .eyebrow { color: #e1ad89; margin-bottom: 13px; }
.site-next .actions { flex-shrink: 0; }
.site-next .btn { white-space: nowrap; }
.site-next .btn-secondary { --secondary-rest: #ffffff08; --secondary-hover: #ffffff14; --secondary-active: #ffffff20; --secondary-ink: #f5eee8; --secondary-border: #ffffff45; --secondary-border-hover: #ffffff70; }
.compatibility-intro { display: grid; grid-template-columns: .95fr 1.2fr; gap: 100px; align-items: start; }
.compatibility-intro p { color: var(--muted); }
.compatibility-intro > div:last-child { max-width: 630px; }
.compatibility-intro .section-head { margin: 0; }
.compatibility-formats { background: #e6e0d8 url('/assets/img/brand-surface-light.webp') center / cover; border-block: 1px solid #ccc3b7; }
.compatibility-formats .section-head { max-width: 670px; margin-bottom: 36px; }
.compatibility-table { border-block: 1px solid #b9b1a5; overflow-x: auto; }
.table-scroll-hint { display: none; }
.compatibility-table table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.compatibility-table th,.compatibility-table td { padding: 23px 24px; vertical-align: top; border-bottom: 1px solid #ccc3b7; }
.compatibility-table th:first-child { padding-left: 0; }
.compatibility-table th:last-child,.compatibility-table td:last-child { padding-right: 0; }
.compatibility-table thead th { font-size: 12px; color: #6b6054; font-weight: 600; }
.compatibility-table tbody th { font-weight: 650; width: 27%; }
.compatibility-table tbody td { color: #595b60; }
.compatibility-table tbody td:last-child { width: 18%; font-size: 12px; }
.compatibility-table tr:last-child > * { border-bottom: 0; }
.compatibility-note { color: #67645e; margin: 18px 0 0; font-size: 12px; }
.limitations { padding-top: 10px; }
.limitation-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 65px; margin-top: 36px; }
.limitation-list article { display: flex; align-items: start; gap: 20px; padding-top: 25px; border-top: 1px solid var(--line); }
.limitation-list article > span { color: #98603e; font-size: 12px; padding-top: 3px; }
.limitation-list h3 { font-size: 20px; }
.limitation-list p { color: var(--muted); font-size: 14px; margin: 0; }
/* Editorial feature proof: actual interface captures, with one purpose per section. */
.writing-story { border-bottom: 1px solid var(--line); }
.writing-story-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 72px; }
.writing-story-copy h2 { font-size: clamp(31px, 3.15vw, 44px); line-height: 1.16; margin-bottom: 24px; }
.story-lead { color: var(--muted); max-width: 450px; font-size: 16px; line-height: 1.8; }
.writing-benefits { display: grid; gap: 22px; margin: 28px 0; }
.writing-benefits > div { padding-left: 18px; border-left: 2px solid var(--line); }
.writing-benefits dt { font-size: 14px; font-weight: 650; margin-bottom: 5px; }
.writing-benefits dd { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.writing-story .link, .control-story .link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; }
.writing-proof { min-width: 0; margin: 0; padding: 20px 20px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.writing-proof-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; font-size: 12px; font-weight: 600; }
.proof-label { color: var(--muted); font-size: 10px; font-weight: 500; }
.writing-proof-stages { display: grid; gap: 24px; justify-items: center; padding: 14px 0 0; }
.writing-topic-shot { width: min(300px, 100%); height: auto; border-radius: 12px; }
.writing-response-proof { width: 100%; max-width: 560px; }
.writing-response-proof > span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.writing-response-proof img { width: 100%; height: auto; border-radius: 8px; }
.feature-writing-proof { margin: 24px 0; }
.feature-writing-proof img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
.feature-writing-proof figcaption { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.capture-link { display: block; color: var(--ink); text-decoration: none; }
.capture-link > span { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.writing-proof figcaption { margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.control-story { padding: 64px 0; border-bottom: 1px solid var(--line); }
.control-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; }
.control-story h2 { font-size: clamp(31px, 3.2vw, 43px); margin-bottom: 0; }
.control-story-copy > p { color: var(--muted); font-size: 16px; max-width: 540px; }
.control-story-copy > .control-note { font-size: 12px; margin: 19px 0 6px; }
@media (max-width: 1100px) {
  .writing-story-grid { gap: 40px; grid-template-columns: 1fr 1.1fr; }
  .control-story-grid { gap: 65px; }
}
@media (max-width: 800px) {
  .writing-story-grid { grid-template-columns: 1fr; gap: 32px; }
  .writing-story-copy { max-width: 620px; }
  .writing-story-copy h2 br { display: none; }
  .writing-benefits { grid-template-columns: 1fr 1fr; gap: 28px; }
  .writing-proof { width: 100%; max-width: 680px; }
  .control-story-grid { gap: 40px; }
}
@media (max-width: 540px) {
  .writing-benefits { grid-template-columns: 1fr; gap: 22px; }
  .writing-proof { padding: 12px; border-radius: 12px; }
  .writing-proof-heading { font-size: 11px; margin-bottom: 12px; }
  .proof-label { font-size: 9px; }
  .writing-proof figcaption { font-size: 10px; }
  .control-story { padding: 48px 0; }
  .control-story-grid { grid-template-columns: 1fr; gap: 24px; }
  .control-story h2 br { display: none; }
  .control-story-copy > p { font-size: 14px; }
}
.site-footer { color: var(--ink); background: #eee9e1 url('/assets/img/brand-surface-light.webp') center / cover; border-top: 1px solid #cfc6ba; padding: 65px 0 55px; }
.site-footer > .wrap { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; align-items: start; gap: 36px; }
.site-footer .brand { font-size: 21px; color: var(--ink); margin-bottom: 17px; }
.site-footer .brand-mark { color-scheme: light; }
.site-footer .footer-brand > p { font-size: 12px; line-height: 1.85; color: var(--muted); }
.site-footer .copyright { display: block; font-size: 11px; color: #77736d; margin-top: 24px; }
.site-footer nav { display: grid; justify-items: start; gap: 10px; }
.site-footer nav h2 { font-size: 12px; font-weight: 650; margin-bottom: 6px; letter-spacing: 0; }
.site-footer nav a { font-size: 12px; color: #616166; }
.site-footer nav a:hover { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 4px; }
.help-page { padding-bottom: 0; }
.help-heading { margin: 0; }
.help-heading .lead { margin-bottom: 0; }
.help-browser { display: grid; grid-template-columns: 290px minmax(0,1fr); gap: 56px; align-items: start; position: relative; padding: 60px 0; overflow-anchor: none; }
.help-sidebar { min-width: 0; }
.help-search { margin: 0 0 18px; }
.help-search > label { font-size: 13px; font-weight: 650; display: block; margin-bottom: 10px; }
.help-search-field { display: flex; align-items: center; border: 1px solid #b5a99a; border-radius: 8px; background: #faf7f1; padding-right: 9px; }
.help-search-field input { min-width: 0; width: 100%; border: 0; box-shadow: none; background: transparent; padding: 13px 12px; font-size: 12px; }
.help-search-field button { background: none; border: 0; padding: 7px 3px; font-size: 11px; color: #875333; }
.help-results { font-size: 11px; color: var(--muted); margin: 10px 0 0; min-height: 20px; }
.help-topics { display: grid; gap: 5px; align-content: start; min-height: var(--help-topics-height, 0px); }
.help-topics a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 13px; min-height: 45px; align-items: center; border: 1px solid transparent; border-radius: 7px; font-size: 13px; line-height: 1.55; color: #5e6064; }
.help-topics a > span { color: #956344; }
.help-topics a:hover { background: #e8e1d8; color: var(--ink); }
.help-topics a[aria-current] { background: #e4d8c9; border-color: #c8b29b; color: #352b23; font-weight: 650; }
.help-content { min-width: 0; padding: 38px 43px; border: 1px solid #cfc5b8; border-radius: 14px; background: #faf8f2 url('/assets/img/brand-surface-light.webp') center / cover; box-shadow: 0 5px 18px #322c2205; }
.help-browser[data-help-enhanced] .help-content { min-height: var(--help-reserved-height, 680px); }
.help-article { scroll-margin-top: 115px; }
.help-article + .help-article { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
[data-help-enhanced] .help-article { margin: 0; padding: 0; border: 0; }
.help-article h2,.help-empty h2 { font-size: clamp(25px,2.6vw,32px); margin-bottom: 23px; }
.help-article p,.help-article li,.help-empty p { font-size: 14px; color: #535963; line-height: 1.9; }
.help-article .eyebrow,.help-empty .eyebrow { font-size: 11px; color: #8f5537; margin-bottom: 14px; }
.help-article ol { padding-left: 21px; margin-block: 22px; }
.help-article li { padding-left: 6px; margin-bottom: 12px; }
.help-article a,.help-support p a:not(.btn) { color: #875333; text-decoration: underline; text-underline-offset: 3px; }
.help-article strong { font-weight: 650; color: #323840; }
.help-article .help-note { padding: 16px 19px; background: #e9e2d8; border-left: 2px solid #b78058; border-radius: 0 5px 5px 0; font-size: 12px; margin-top: 25px; }
.help-article > :last-child { margin-bottom: 0; }
.help-empty { padding-block: 10px; }
.help-support { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; padding: 25px 0 65px; align-items: center; }
.help-support h2 { font-size: 29px; }
.help-support p { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.help-support .eyebrow { margin-bottom: 13px; }
@media (max-width: 1100px) {
  .nav > .wrap { gap: 22px; }
  .nav-links { gap: 20px; }
  .chapter-layout { gap: 45px; grid-template-columns: 190px minmax(0,1fr); }
  .compatibility-intro { gap: 45px; }
  .site-next > .wrap { align-items: start; flex-direction: column; gap: 25px; }
  .help-browser { grid-template-columns: 250px minmax(0,1fr); gap: 30px; }
  .help-content { padding: 30px; }
}
@media (min-width: 801px) and (max-width: 980px) {
  .nav .nav-cta { display: none; }
}
@media (max-width: 800px) {
  .help-browser { grid-template-columns: 1fr; gap: 26px; padding-block: 35px; }
  .help-topics { grid-template-columns: 1fr 1fr; }
  .help-support { grid-template-columns: 1fr; gap: 24px; padding-top: 12px; }
  .page-mast { padding: 52px 0 57px; }
  .page-mast h1 { font-size: clamp(37px, 6.5vw, 52px); }
  .page-mast .lead { font-size: 16px; }
  .chapter-layout { grid-template-columns: 1fr; gap: 40px; }
  .chapter-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px 22px; }
  .chapter-nav p { flex-basis: 100%; margin: 0; }
  .chapter-nav a { font-size: 12px; }
  .compatibility-intro { grid-template-columns: 1fr; gap: 20px; }
  .compatibility-intro h2 br { display: none; }
  .site-footer > .wrap { grid-template-columns: repeat(3,1fr); gap: 32px; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
  .site-footer .copyright { margin-top: 15px; }
  .overview-caption { align-items: start; }
  .overview-caption p { font-size: 15px; }
}
@media (max-width: 540px) {
  .help-content { padding: 26px 22px; border-radius: 10px; }
  .help-topics a { min-height: 52px; font-size: 11px; padding: 9px; }
  .help-article p,.help-article li { font-size: 13px; }
  .help-article .help-note { padding: 13px; font-size: 11px; }
  .page-mast h1 { font-size: 39px; }
  .page-mast .lead { font-size: 15px; }
  .page-mast .actions { gap: 12px; }
  .page-mast .btn { font-size: 12px; }
  .feature-overview { padding-bottom: 15px; }
  .overview-caption { flex-direction: column; gap: 6px; }
  .product-evidence { padding: 9px 9px 12px; border-radius: 12px; }
  .product-evidence figcaption { font-size: 10px; padding-inline: 6px; }
  .feature-facts { grid-template-columns: 1fr; gap: 23px; }
  .feature-chapter { padding-bottom: 38px; margin-bottom: 37px; }
  .feature-chapter > p:not(.eyebrow) { font-size: 14px; }
  .site-next { padding: 48px 0; }
  .site-next .actions { flex-wrap: wrap; }
  .compatibility-table table { min-width: 600px; }
  .table-scroll-hint { display: block; font-size: 11px; color: #76634f; margin-bottom: 12px; }
  .compatibility-table th,.compatibility-table td { padding: 19px 17px; font-size: 13px; }
  .limitation-list { grid-template-columns: 1fr; gap: 22px; }
  .site-footer { padding-block: 46px; }
  .site-footer > .wrap { grid-template-columns: 1fr 1fr; gap: 32px 22px; }
}
@media (prefers-reduced-motion: reduce) {
}

/* Account usage follows the compact stacked buckets in the extension window. */
#plan .account-usage { display: grid; gap: 16px; margin: 20px 0 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--theme-control, #ffffff80); }
#plan .account-usage-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
#plan .account-usage-head h3 { margin: 0; font-size: 12px; font-weight: 600; color: var(--muted); }
#plan #usage-unlimited { color: var(--orange-dark); font-size: 12px; font-weight: 600; }
#plan .allowances { grid-template-columns: 1fr; gap: 17px; margin: 0; }
#plan .allowance { display: grid; gap: 7px; min-width: 0; }
#plan .allowance-head { gap: 10px; font-size: 13px; }
#plan .allowance-head b { flex: none; font-size: 15px; font-weight: 650; letter-spacing: 0; font-variant-numeric: tabular-nums; }
#plan .allowance p { font-size: 11px; overflow-wrap: anywhere; }
#plan .bar { height: 6px; margin: 0; border-radius: 4px; background: var(--soft); box-shadow: none; }
#plan .bar i { background: var(--theme-primary, #df9b70); }
#plan .allowance.unlimited .bar { background: repeating-linear-gradient(110deg, var(--theme-primary, #df9b70) 0 9px, var(--orange-soft, #f5e6dc) 9px 12px); opacity: .8; }
#plan .allowance.unlimited .bar i { display: none; }
#plan .bar.full i { background: var(--red); }
#plan #resets { margin: 0; font-size: 11px; }
