/* Feerasta "next" design system: industry and product page components (18 Nov 2026).
   Loads AFTER assets/next/next.css and uses only its tokens (--serif, --sans, --accent, --muted, --g-*, --s1..--s6,
   --gutter, --btn-*, --on-deep-*). No colour, font or radius of its own, so a page built on it reads as the homepage.
   First user: trades.html (promoted 19 Nov 2026). Every block is named ix-* and scoped, so other industry pages can adopt it later.
   Cards are .glass from next.css. Captions are .cap-l. Buttons are .btn. Links are plain <a> or .tlink. */

[data-geo-only][hidden]{display:none!important}

/* Arrow glyphs inside a button or text link keep a gap (inline-flex drops the space). */
.btn>span[aria-hidden="true"]{margin-left:8px}

/* Section head: caption, serif h2, lede. */
.ix-head{display:grid;gap:12px;max-width:760px;margin-bottom:var(--s4)}
.ix-head .cap-l,.ix-head h2,.ix-head .lede{margin:0}
.ix-head .lede{max-width:52ch}
.ix-head--split{max-width:none;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:var(--s3) var(--s5);align-items:end}
.ix-head--split>div:first-child{display:grid;gap:12px}
.ix-head--split .ix-side{display:grid;gap:12px;justify-items:start}
.ix-head--split .lede{max-width:none}
.deep .cap-l{color:var(--on-deep-muted)}

/* Hero: copy left, product window right. */
.ix-hero{padding:var(--s5) var(--gutter) var(--s4)}
.ix-hero-grid{display:grid;grid-template-columns:minmax(0,11fr) minmax(0,10fr);gap:clamp(32px,4vw,72px);align-items:center}
.ix-hero .cap-l{margin:0 0 var(--s2)}
.ix-hero h1{margin-bottom:var(--s3);text-wrap:wrap}
.ix-hero h1 span,.ix-hero h1 em{display:block}
.ix-hero h1 em{font-style:normal;color:var(--accent)}
.ix-hero .lede{max-width:48ch;margin-bottom:var(--s4)}
.ix-hero .cta-row{gap:var(--s2) var(--s3)}
.ix-hero-note{margin:var(--s3) 0 0;max-width:52ch}
.ix-figure{margin:0;min-width:0}
.ix-figure figcaption{margin-top:14px;font-size:16px;line-height:1.5;color:var(--muted)}
.ix-win{border-radius:20px;overflow:hidden}
.ix-win-bar{padding:14px 20px;border-bottom:1px solid var(--g-line);font-size:15px;color:var(--muted)}
.ix-app{padding:var(--s2) 24px var(--s3);display:grid;gap:16px;min-width:0}
.ix-app .cap-l{margin:0}
.ix-app-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.ix-app-title{margin:4px 0 0;font:400 1.3rem/1.25 var(--serif);letter-spacing:-.01em}
.ix-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding-bottom:12px;border-bottom:1px solid var(--g-line)}
.ix-tabs span{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:99px;border:1px solid transparent;font-size:15px;color:var(--muted)}
.ix-tabs span b{margin-left:6px;font-weight:600;color:var(--accent);font-variant-numeric:tabular-nums}
.ix-tabs .is-on{background:var(--g-tile);border-color:var(--g-line);color:var(--ink);font-weight:600}
.ix-say-list{display:grid;gap:10px;margin:0}
.ix-say{width:fit-content;max-width:88%;margin:0;padding:12px 16px;border-radius:14px;background:var(--g-tile);border:1px solid var(--g-line);font-size:16px;line-height:1.45}
.ix-say small{display:block;margin-bottom:3px}
.ix-say--us{justify-self:end;border-color:var(--accent)}
.ix-request{display:grid;gap:10px;padding:16px 18px;border:1px solid var(--g-line);border-radius:14px;background:var(--g-tile)}
.ix-request p{margin:0;font-size:16px;line-height:1.5}
.ix-request-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;flex-wrap:wrap}
.ix-request-head span{font-size:15px;color:var(--muted);font-variant-numeric:tabular-nums}
.ix-request-foot{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}
.ix-go{display:inline-flex;align-items:center;min-height:32px;padding:0 16px;border-radius:99px;background:var(--btn-bg);color:var(--btn-ink);font:600 15px/1 var(--sans)}

/* Bento: six columns. Wide tiles span four, thirds span two. The last tile fills its row, so no card is left alone. */
.ix-bento{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--s3)}
.ix-tile{display:flex;flex-direction:column;gap:10px;min-width:0;padding:var(--s3) 28px}
.ix-tile .cap-l{margin:0}
.ix-tile p{margin:0}
.ix-tile>p:not(.cap-l){color:var(--muted)}
.ix-tile--wide{grid-column:span 4}
.ix-tile--third{grid-column:span 2}
.ix-bento--fill-last>.ix-tile:last-child{grid-column:1 / -1}
.ix-bento--fill-last>.ix-tile:last-child>p:not(.cap-l){max-width:78ch}
.ix-tile-foot{margin-top:auto;padding-top:8px;display:flex;flex-wrap:wrap;gap:4px 20px}
.ix-coming{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.ix-coming li{font-size:16px;line-height:1.5;color:var(--muted)}
.ix-coming li::before{content:"Coming";display:inline-flex;align-items:center;margin-right:8px;min-height:24px;padding:0 10px;border:1.5px solid var(--g-line);border-radius:99px;font:600 14px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}

/* Numbered steps: four cards, serif numeral in the accent, as the homepage's three-step row. */
.ix-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--s3)}
.ix-steps>li{padding:var(--s3) 24px;min-width:0}
.ix-steps b{display:block;font:300 2.6rem/1 var(--serif);color:var(--accent);margin-bottom:6px}
.ix-steps h3{font-size:1.3rem;margin-bottom:6px}
.ix-steps p{margin:0;color:var(--muted)}
.ix-after-steps{margin-top:var(--s3)}

/* Plain panels, lists and tables on glass. */
.ix-panel{padding:var(--s2) 28px}
.ix-panel .ticks{margin:0}
.ix-panel .ticks li:first-child{border-top:0}
.ix-panel .ticks li{padding-top:14px;padding-bottom:14px}
.ix-more{margin:var(--s3) 0 0}
.ix-fit{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s3)}
.ix-fit>li{padding:var(--s3) 28px;min-width:0}
.ix-fit h3{margin-bottom:8px}
.ix-fit p{margin:0;color:var(--muted)}
.ix-table{padding:8px 20px}
.ix-table .tbl{min-width:760px}
.ix-table .tbl thead th{font:600 14px/1.3 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding-top:16px}
.ix-table .tbl td{color:var(--muted)}
.ix-table:focus-visible{outline:3px solid var(--focus);outline-offset:3px}

/* Sample sites: each card shows a small desktop and phone mock-up of a fictional homepage. */
.dg-grid{display:grid;gap:var(--s3);margin:0;padding:0;list-style:none;grid-template-columns:repeat(2,minmax(0,1fr))}
.dg-card{display:grid;gap:14px;padding:var(--s3);min-width:0;align-content:start}
.dg-devices{position:relative;padding:0 0 28px}
.dg-desk{border:1px solid var(--g-line);border-radius:12px;overflow:hidden;background:var(--bg);width:74%}
.dg-bar{display:flex;align-items:center;padding:8px 12px;border-bottom:1px solid var(--g-line);background:var(--bg-2)}
.dg-bar i{display:none}
.dg-bar span{font-size:14px;line-height:1;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dg-page{display:grid;gap:8px;padding:14px 16px 16px;background:var(--surface)}
.dg-page p{margin:0}
.dg-nav{display:flex;align-items:center;gap:6px 12px;flex-wrap:wrap;padding-bottom:8px;border-bottom:1px solid var(--g-line);font-size:14px;color:var(--muted)}
.dg-nav b{margin-right:auto;font-size:15px;color:var(--ink)}
.dg-call{padding:4px 10px;border-radius:99px;border:1px solid var(--g-line);color:var(--ink);font-weight:600;white-space:nowrap}
.dg-h{font:400 1.25rem/1.15 var(--serif);letter-spacing:-.015em;text-wrap:balance}
.dg-sub{font-size:14px;line-height:1.45;color:var(--muted)}
.dg-btn{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:8px;background:var(--btn-bg);color:var(--btn-ink);font-size:14px;font-weight:600}
.dg-chips{display:flex;flex-wrap:wrap;gap:6px}
.dg-chips span{padding:4px 10px;border:1px solid var(--g-line);border-radius:99px;font-size:14px;color:var(--ink)}
.dg-phone{position:absolute;right:0;bottom:0;width:30%;max-width:170px;min-width:132px;border:3px solid var(--g-line);border-radius:22px;overflow:hidden;background:var(--bg);box-shadow:var(--g-shadow)}
.dg-phone .dg-page{padding:10px 10px 12px;gap:6px}
.dg-phone .dg-h{font-size:1rem}
.dg-phone .dg-btn{width:100%;justify-content:center;min-height:32px}
.dg-shot{display:block;width:100%;height:auto}
.dg-meta{display:grid;gap:6px}
.dg-meta h3{font-size:1.3rem}
.dg-meta p{margin:0;color:var(--muted)}
.dg-badge{justify-self:start;display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:99px;border:1.5px solid var(--g-line);font:600 14px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.dg-meta .tlink{justify-self:start}
.dg-note{margin:var(--s2) 0 0;max-width:70ch}

/* Price lines: one glass list, name and note left, price right. */
.ix-lines{list-style:none;margin:0 0 var(--s3);padding:0}
.ix-lines>li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 28px;align-items:baseline;padding:20px 28px;border-top:1px solid var(--g-line)}
.ix-lines>li:first-child,.ix-lines>li[hidden]+li{border-top:0}
.ix-lines h3{font-size:1.3rem;margin-bottom:4px}
.ix-lines p{margin:0;color:var(--muted)}
.ix-lines .ix-price{font-weight:600;color:var(--ink);text-align:right}
.ix-after{margin-top:var(--s3)}

/* FAQ column. */
.ix-faq .faq{max-width:860px}

/* Closing band uses .deep like the homepage. */
.ix-close{display:grid;gap:var(--s2);justify-items:start}
.ix-close h2,.ix-close p{margin:0}
.ix-close h2{max-width:22ch;font-size:clamp(2.1rem,4vw,3.4rem)}
.ix-close p:not(.cap-l){max-width:56ch;color:var(--on-deep-muted)}
.ix-close .cta-row{margin-top:var(--s1)}

/* One-card money block (money-claims.css) moved onto the glass surface, serif figure and the shared caption. */
.mc-card.ix-mc{margin-top:var(--s4);padding:var(--s3) 28px;background:var(--g-fill);border:1px solid var(--g-rim);border-radius:20px;box-shadow:var(--g-hi),var(--g-shadow);-webkit-backdrop-filter:blur(var(--blur)) saturate(160%);backdrop-filter:blur(var(--blur)) saturate(160%);font:inherit}
.mc-card.ix-mc::before{display:none}
.mc-card.ix-mc .mc-kicker{font:600 14px/1.3 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.mc-card.ix-mc .mc-num{font:300 clamp(3rem,5vw,4.4rem)/.95 var(--serif);letter-spacing:-.035em;color:var(--accent)}
.mc-card.ix-mc .mc-num small{font:400 16px/1.3 var(--sans);letter-spacing:0;color:var(--muted)}
.mc-card.ix-mc .mc-say,.mc-card.ix-mc .mc-rows li,.mc-card.ix-mc .mc-how p{font-size:16px;line-height:1.5}
.mc-card.ix-mc .mc-how{border-top-color:var(--g-line)}
.mc-card.ix-mc .mc-how summary{font-size:16px}
.mc-card.ix-mc .mc-go{font-size:16px}

@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.mc-card.ix-mc{background:var(--surface)}}

@media (max-width:1180px){.ix-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:960px){
  .ix-hero-grid,.ix-head--split{grid-template-columns:minmax(0,1fr);gap:var(--s4)}
  .ix-head--split{gap:var(--s2)}
  .ix-tile--wide{grid-column:1 / -1}
  .ix-tile--third{grid-column:span 3}
  .ix-fit{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dg-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:760px){
  .ix-hero{padding-top:var(--s3)}
  .ix-bento{grid-template-columns:minmax(0,1fr)}
  .ix-tile--wide,.ix-tile--third{grid-column:1 / -1}
  .ix-tile{padding:var(--s3) 20px var(--s2)}
  .ix-steps,.ix-fit{grid-template-columns:minmax(0,1fr)}
  .ix-lines>li{grid-template-columns:minmax(0,1fr);padding:18px 20px}
  .ix-lines .ix-price{text-align:left}
  .ix-panel{padding:var(--s1) 20px}
  .ix-app{padding-left:16px;padding-right:16px}
  .ix-say{max-width:100%}
  .ix-hero .cta-row .tlink{width:auto}
  .dg-card{padding:var(--s2)}
}


/* ===================================================================================================
   Unification batch 1 (19 Nov 2026): the rest of the vocabulary the old fx/pg pages used, named ix-* and
   built only from next.css tokens. tools/unify-convert.py maps every old class onto these (tools/DESIGN-UNIFY.md).
   =================================================================================================== */

/* Layout helpers */
.sec--tight{padding-block:var(--s5)}
.ix-win-clip{display:contents}
.ix-win-bar span{display:inline}
.ix-flow{display:block}
.ix-hero--solo .ix-hero-grid{grid-template-columns:minmax(0,1fr)}
.ix-hero--solo .copy{max-width:820px}
.ix-hero--solo h1{font-size:clamp(2.4rem,4.4vw,3.6rem)}
.ix-hero--solo .lede{max-width:40em}
.ix-app-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:14px}
.ix-tile--half{grid-column:span 3}
.ix-tile--full{grid-column:1 / -1}
.ix-tile .ticks{margin:0}
.ix-tile .ix-chips{margin-top:4px}

/* Cards: link cards and card grids. */
.ix-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:var(--s3)}
.ix-card{display:flex;flex-direction:column;gap:8px;min-width:0;padding:var(--s3) 24px 20px}
.ix-card .cap-l{margin:0}
.ix-card img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px;margin-bottom:6px}
.ix-card h3{margin:0}
.ix-card h3 a{color:inherit;text-decoration:none}
.ix-card h3 a::after{content:"";position:absolute;inset:0;border-radius:inherit}
.ix-card:has(h3 a:focus-visible){outline:3px solid var(--focus);outline-offset:3px}
.ix-card h3 a:focus-visible{outline:none}
.ix-card p{margin:0;color:var(--muted)}
.ix-card-go{margin-top:auto;padding-top:6px;font-weight:600;color:var(--ink)}
.ix-cards--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ix-cards--5{grid-template-columns:repeat(5,minmax(0,1fr))}

/* Plans: one glass card per plan. The lead plan carries the accent rim. */
.ix-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:var(--s3);align-items:stretch}
.ix-plans--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ix-plan{display:flex;flex-direction:column;gap:12px;min-width:0;padding:var(--s3) 26px 24px}
.ix-plan h3{margin:0}
.ix-plan p{margin:0;color:var(--muted)}
.ix-plan .pill{align-self:flex-start}
.ix-plan--lead{border-color:var(--accent)}
.ix-plan .ticks{margin:0}
.ix-plan-foot{margin-top:auto;padding-top:8px;display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center}
.ix-plan-foot .btn{width:auto}
.ix-amount{margin:4px 0 0;font:300 clamp(2.6rem,4.6vw,3.6rem)/1 var(--serif);letter-spacing:-.03em;color:var(--ink);font-variant-numeric:tabular-nums}
.ix-amount>span:last-child:not(.geo-price){font:400 18px/1.3 var(--sans);letter-spacing:0;color:var(--muted)}

/* Two-column and five-up splits. */
.ix-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(28px,4vw,56px);align-items:start}
.ix-split-5{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--s3)}
.ix-split-5>*{grid-column:span 2}
.ix-split-5>:nth-child(n+4){grid-column:span 3}

/* Terms lists and the single price card. */
.ix-terms{list-style:none;margin:var(--s3) 0 0;padding:8px 28px}
.ix-terms li{padding:14px 0;border-top:1px solid var(--g-line);color:var(--muted)}
.ix-terms li:first-child{border-top:0}
.ix-terms b{color:var(--ink)}
.ix-price-card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);overflow:hidden}
.ix-price-main{padding:var(--s3) 32px;display:grid;gap:12px;align-content:start;justify-items:start}
.ix-price-sub{margin:0 0 10px;color:var(--muted)}
.ix-price-card .ix-terms{margin:0;border-radius:0}

/* Long reading pages: contents column and prose. */
.ix-doc{display:grid;grid-template-columns:minmax(0,260px) minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:start}
.ix-doc--single{grid-template-columns:minmax(0,1fr)}
.ix-toc{position:sticky;top:96px;max-height:calc(100vh - 120px);overflow:auto;padding:4px 4px 12px 0}
.ix-toc .cap-l{margin:0 0 10px}
.ix-toc ol,.ix-toc ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.ix-toc a{display:flex;align-items:center;min-height:44px;padding:7px 10px;border-radius:8px;font-size:16px;line-height:1.4;color:var(--muted);text-decoration:none}
.ix-toc a:hover{color:var(--ink);background:var(--g-tile)}
.ix-prose{max-width:68ch;font-size:18px;line-height:1.65;color:var(--muted);min-width:0}
.ix-prose>*:first-child{margin-top:0}
.ix-prose h2{margin:2em 0 .6em;font-size:clamp(1.6rem,2.6vw,2rem);scroll-margin-top:96px}
.ix-prose h3{margin:1.8em 0 .5em;scroll-margin-top:96px}
.ix-prose p,.ix-prose ul,.ix-prose ol{margin:0 0 1em}
.ix-prose ul,.ix-prose ol{padding-left:1.3em}
.ix-prose li::marker{color:var(--accent)}
.ix-prose strong,.ix-prose b{color:var(--ink)}
.ix-prose a{overflow-wrap:anywhere}
.ix-prose code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em;padding:1px 6px;border-radius:6px;background:var(--g-tile);border:1px solid var(--g-line)}
.ix-prose pre{overflow-x:auto;padding:16px 18px;border-radius:12px;background:var(--g-tile);border:1px solid var(--g-line);font-size:16px;line-height:1.55}
.ix-prose pre code{padding:0;border:0;background:none}
.ix-prose img{max-width:100%;height:auto;border-radius:12px}
.ix-prose .tbl-wrap{margin:1.2em 0 1.6em}

/* Small blocks: notes, sub-panels, lists, chips, label-value rows, status. */
.ix-note{margin:0;padding:20px 24px;max-width:80ch;color:var(--muted)}
.ix-note strong{color:var(--ink)}
.ix-subpanel{padding:14px 16px;border:1px solid var(--g-line);border-radius:14px;background:var(--g-tile);min-width:0}
.ix-subpanel>.cap-l{margin-bottom:8px}
.ix-subpanel p{margin:0;font-size:16px;line-height:1.5}
.ix-list{list-style:none;margin:0;padding:0}
.ix-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;align-items:baseline;padding:10px 0;border-top:1px solid var(--g-line)}
.ix-list li:first-child{border-top:0}
.ix-list span{font-weight:500;min-width:0}
.ix-list small{grid-column:1;font-size:14px;color:var(--muted)}
.ix-list b{grid-column:2;grid-row:1;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.ix-list .is-flag b{color:var(--accent)}
.ix-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.ix-chips span,.ix-chips li{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:4px 12px;border:1px solid var(--g-line);border-radius:99px;font-size:15px;color:var(--muted)}
.ix-chips b{font-variant-numeric:tabular-nums;color:var(--accent)}
.ix-rows{margin:0;display:grid}
.ix-rows>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px solid var(--g-line);font-size:16px}
.ix-rows>div:first-child{border-top:0}
.ix-rows dt{color:var(--muted)}
.ix-rows dd{margin:0;font-weight:500;text-align:right;font-variant-numeric:tabular-nums}
.ix-sov-gap{margin-top:var(--s3)}
.ix-after,.pd-after,.gx-after{margin-top:var(--s3)}
.ix-na{color:var(--muted)}

/* Product sample panels (Relate deal board, assistant draft) on the glass window. */
.pd-badge{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:0 12px;border-radius:99px;border:1px solid var(--g-line);background:var(--g-tile);font-size:15px;font-weight:500;color:var(--ink);white-space:nowrap}
.pd-badge b{font-variant-numeric:tabular-nums;color:var(--accent)}
.pd-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.pd-col{display:grid;align-content:start;gap:8px;padding:10px;border-radius:14px;background:var(--g-tile);border:1px solid var(--g-line);min-width:0}
.pd-col .cap-l{margin:0}
.pd-col .cap-l b{color:var(--ink);font-variant-numeric:tabular-nums}
.pd-deal{display:grid;gap:2px;padding:10px 11px;border-radius:10px;background:var(--surface);border:1px solid var(--g-line);min-width:0}
.pd-deal strong{font-size:16px;line-height:1.3;font-weight:600}
.pd-deal span{font-size:14px;color:var(--muted)}
.pd-deal b{font-variant-numeric:tabular-nums}
.pd-deal.is-won{border-color:var(--accent)}
.pd-deal.is-won b{color:var(--accent)}
.pd-draft{padding:14px 16px;border-radius:14px;border:1px solid var(--g-line);background:var(--g-tile)}
.pd-draft p{margin:0;font-size:16px;line-height:1.5}
.pd-draft .cap-l{margin-bottom:6px}
.pd-draft .pd-src{margin-top:6px;font-size:14px;color:var(--muted)}
.pd-terms{list-style:none;margin:var(--s3) 0 0;padding:8px 28px}
.pd-terms li{padding:14px 0;border-top:1px solid var(--g-line);color:var(--muted)}
.pd-terms li:first-child{border-top:0}
.pd-terms b{color:var(--ink)}

/* Trust pages: label and value rows, chips and the "more" disclosure. */
.ab-rows{margin:0;padding:6px 28px;max-width:960px}
.ab-rows>div{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:8px 28px;padding:20px 0;border-top:1px solid var(--g-line)}
.ab-rows>div:first-child{border-top:0}
.ab-rows dt{margin:0;font-weight:600;line-height:1.4}
.ab-rows dd{margin:0;color:var(--muted);min-width:0}
.ab-rows dd>b:first-child{color:var(--ink)}
.ab-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.ab-chips li{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:1px solid var(--g-line);border-radius:99px;background:var(--g-fill);color:var(--muted);line-height:1.35}
.ab-chips b{color:var(--ink);font-weight:600;margin-right:.3em}
.ab-gate{margin:0;max-width:62ch}
.ab-tiles-note{margin:var(--s3) 0 0;max-width:70ch}
.ab-updated{margin:0;color:var(--muted)}
.ab-more>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600}

/* Integrations list. */
.wfg-int{list-style:none;margin:0;padding:0}
.wfg-int>li{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr);gap:10px 32px;padding:22px 0;border-top:1px solid var(--g-line)}
.wfg-int>li:first-child{border-top:0}
.wfg-int h3{margin:0 0 10px;font-size:1.3rem}
.wfg-int p{margin:0;color:var(--muted);max-width:70ch}
.wfg-int details{margin-top:8px}
.wfg-int summary{cursor:pointer;min-height:44px;display:inline-flex;align-items:center;font-weight:600}
.wfg-st{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:99px;font:600 14px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;color:var(--ink);border:1.5px solid var(--accent)}
.wfg-st--part{border-color:var(--muted);color:var(--ink)}
.wfg-st--off{border-color:var(--g-line);color:var(--muted)}

/* Resource and support link lists. */
.gx-stack{display:grid;gap:22px;align-content:start;min-width:0}
.gx-h3{margin:0;font:400 clamp(1.5rem,2.4vw,1.9rem)/1.15 var(--serif);letter-spacing:-.015em}
.gx-big{font:400 clamp(1.4rem,2.2vw,1.8rem)/1.3 var(--serif);overflow-wrap:anywhere}
.gx-links{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:0 32px}
.gx-links li{border-top:1px solid var(--g-line)}
.gx-links a{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;padding:10px 4px;font-weight:500;line-height:1.35;text-decoration:none}
.gx-links a::after{content:"\2197";flex:none;color:var(--accent)}
.gx-links a:hover{text-decoration:underline;text-underline-offset:6px}
.gx-links.gx-answers,.gx-links.gx-links--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.gx-answers{margin:0 0 6px}
.gx-inds{display:grid;gap:var(--s3);align-items:start}
.gx-ind{display:flex;flex-direction:column;min-width:0}
.gx-chip{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid var(--g-line);border-radius:99px;background:var(--g-fill);font-weight:500;text-decoration:none}
.gx-chip:hover{border-color:var(--accent)}
.gx-jump{margin-top:var(--s4)}
.gx-jump ul{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.msgs{display:flex;flex-direction:column;gap:10px}

@media (max-width:1180px){
  .ix-plans--4,.ix-cards--5{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ix-plans--4>:last-child:nth-child(odd),.ix-cards--5>:last-child:nth-child(odd){grid-column:1 / -1}
}
@media (max-width:1000px){
  .ix-cards--3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ix-cards--3>:last-child:nth-child(odd){grid-column:1 / -1}
  .ix-split-5{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ix-split-5>:nth-child(n){grid-column:auto}
  .ix-split-5>:last-child:nth-child(odd){grid-column:1 / -1}
}
@media (max-width:960px){
  .ix-tile--half{grid-column:span 3}
  .ix-split,.ix-price-card,.ix-doc{grid-template-columns:minmax(0,1fr)}
  .ix-toc{position:static;max-height:none;padding:16px 18px;border:1px solid var(--g-line);border-radius:14px;background:var(--g-fill)}
}
@media (max-width:760px){
  .ix-tile--half{grid-column:1 / -1}
  .ix-cards--3,.ix-cards--5,.ix-plans--4,.ix-split-5,.gx-links.gx-answers,.gx-links.gx-links--2{grid-template-columns:minmax(0,1fr)}
  .ix-app-grid,.pd-board,.wfg-int>li,.ab-rows>div{grid-template-columns:minmax(0,1fr)}
  .ix-terms,.pd-terms{padding:4px 20px}
  .ab-rows{padding:4px 20px}
  .ix-price-main{padding:var(--s3) 20px}
}

/* Rules trace (workflows) and source lines (concierge). */
.wfg-rule{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;padding:10px 0;border-top:1px solid var(--g-line)}
.wfg-rule:first-of-type{border-top:0}
.wfg-rule .cap-l{margin:2px 0 0}
.wfg-rule p{margin:0;font-size:16px;line-height:1.45}
.wfg-rule small{grid-column:2;font-size:14px;color:var(--muted)}
.wfg-rule.is-hit p{font-weight:600}
.wfg-rule.is-hit .cap-l{color:var(--accent)}
.p2-src{display:block;margin-top:8px;padding-top:8px;border-top:1px solid var(--g-line);font-size:14px;line-height:1.4;color:var(--muted)}

/* Counts that would strand a card: four fit cards sit two by two, five steps or fit cards sit three over two. */
.ix-fit:has(>li:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.ix-fit:has(>li:nth-child(5):last-child),.ix-steps:has(>li:nth-child(5):last-child){grid-template-columns:repeat(6,minmax(0,1fr))}
.ix-fit:has(>li:nth-child(5):last-child)>li,.ix-steps:has(>li:nth-child(5):last-child)>li{grid-column:span 2}
.ix-fit:has(>li:nth-child(5):last-child)>li:nth-child(n+4),.ix-steps:has(>li:nth-child(5):last-child)>li:nth-child(n+4){grid-column:span 3}
@media (max-width:1180px){
  .ix-steps:has(>li:nth-child(5):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
  .ix-steps:has(>li:nth-child(5):last-child)>li:nth-child(n){grid-column:auto}
  .ix-steps>li:last-child:nth-child(odd){grid-column:1 / -1}
}
@media (max-width:960px){
  .ix-fit:has(>li:nth-child(5):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
  .ix-fit:has(>li:nth-child(5):last-child)>li:nth-child(n){grid-column:auto}
  .ix-fit>li:last-child:nth-child(odd){grid-column:1 / -1}
}
@media (max-width:760px){
  .ix-fit,.ix-fit:has(>li:nth-child(4):last-child),.ix-fit:has(>li:nth-child(5):last-child),.ix-steps:has(>li:nth-child(5):last-child){grid-template-columns:minmax(0,1fr)}
  .ix-fit>li:nth-child(n),.ix-steps>li:nth-child(n){grid-column:auto}
}


/* Industries hub rows. */
.ix-rowlist{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.ix-row{padding:0}
.ix-row>a{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr) 150px;gap:6px 32px;align-items:baseline;padding:22px 28px;text-decoration:none;color:inherit;min-height:44px;border-radius:inherit}
.ix-row h3{margin:0}
.ix-row p{margin:0;color:var(--muted)}
.ix-row-go{font-weight:600;white-space:nowrap;color:var(--ink);justify-self:end;text-align:right}
.ix-row>a:hover h3{text-decoration:underline;text-underline-offset:6px;text-decoration-color:var(--accent)}
.ix-row>a:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.ix-hero--solo .ix-hero-grid{display:block}
.ix-hero--solo .ix-hero-grid>*{max-width:820px}
.ix-solo{padding-block:var(--s5) var(--s6)}
.ix-solo h1{margin-bottom:var(--s3)}
.ix-cols3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s3);margin-top:var(--s4)}
.ix-cols3 h2{font-size:1.5rem;margin:0 0 10px}
.ix-cols3 ul,.ix-cols3 ol{padding-left:18px;margin:0;color:var(--muted)}
.ix-cols3 li{margin:0 0 8px}
.small.ix-after{margin-top:var(--s3)}

/* Money claims (money-claims.css) on the new tokens: the card, figures and rows read as the homepage. */
html:root[data-theme] .mc{--mc-ink:var(--ink);--mc-mute:var(--muted);--mc-accent:var(--accent);--mc-card:var(--g-fill);--mc-line:var(--g-line);--mc-line-strong:var(--g-line);--mc-gold:var(--accent)}
.mc-card::before{display:none}
.mc-grid>.mc-card.ix-mc{margin-top:0}
.mc-card.ix-mc{max-width:none}
.mc-ladder li{border-color:var(--g-line);border-radius:14px}
.mc-proof{border-color:var(--g-line);border-radius:14px;background:var(--g-fill)}
.mc-how summary::after{display:none}
.mc-industries .mc-grid,.mc-band .mc-grid{gap:var(--s3)}

/* Sovereign boundary diagram: one glass panel, a labelled divider in text, no drawn line. */
.p2-bound{display:grid;gap:0;padding:var(--s3) 28px}
.p2-out{padding:4px 4px 18px}
.p2-blocked{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.p2-blocked li{display:inline-flex;align-items:center;min-height:32px;padding:4px 12px;border-radius:99px;border:1px solid var(--g-line);font-size:15px;color:var(--muted);text-decoration:line-through;text-decoration-color:var(--accent)}
.p2-line{margin:6px 0 18px;text-align:center}
.p2-line span{font:600 14px/1.4 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.p2-in{padding:16px;border-radius:14px;border:1px solid var(--g-line);background:var(--g-tile)}
.p2-nodes{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.p2-nodes li{display:grid;gap:4px;padding:14px;border-radius:12px;background:var(--surface);border:1px solid var(--g-line);min-width:0}
.p2-nodes small{font-size:14px;line-height:1.4;color:var(--muted)}

/* Studio: homepage preview window, lead card and the price ladder. */
.pd-preview{display:grid;min-width:0}
.pd-preview-bar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 18px;border-bottom:1px solid var(--g-line)}
.pd-preview-bar p{margin:0;font-size:16px}
.pd-preview-bar p>span:not(.ix-go){margin-left:8px;color:var(--muted)}
.pd-preview-acts{display:flex;gap:8px}
.pd-preview-acts .ix-go{background:transparent;border:1px solid var(--g-line);color:var(--ink)}
.pd-preview-acts .ix-go:last-child{background:var(--btn-bg);color:var(--btn-ink);border-color:var(--btn-bg)}
.pd-site{padding:0 0 18px;background:var(--surface)}
.pd-site-nav{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;padding:14px 22px;border-bottom:1px solid var(--g-line);font-size:15px;color:var(--muted)}
.pd-site-nav b{margin-right:auto;font-size:16px;color:var(--ink)}
.pd-site-call{padding:4px 12px;border-radius:99px;border:1px solid var(--g-line);color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
.pd-site-hero{padding:26px 22px 18px;display:grid;gap:10px}
.pd-site-hero p{margin:0}
.pd-site-k{font:600 14px/1.3 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.pd-site-h{font:400 clamp(1.5rem,2.3vw,1.9rem)/1.12 var(--serif);letter-spacing:-.015em;max-width:18ch}
.pd-site-sub{font-size:16px;line-height:1.5;color:var(--muted);max-width:38ch}
.pd-site-cta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:4px!important}
.pd-site-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:8px;background:var(--btn-bg);color:var(--btn-ink);font-weight:600}
.pd-site-link{font-weight:600;text-decoration:underline;text-underline-offset:4px}
.pd-site-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 22px}
.pd-site-cards span{display:grid;gap:3px;padding:12px;border:1px solid var(--g-line);border-radius:12px;font-size:14px;color:var(--muted);background:var(--g-tile)}
.pd-site-cards b{font-size:15px;color:var(--ink)}
.pd-upfront{margin-top:var(--s2)}
.sl-lead-card{display:grid;gap:22px 40px;padding:clamp(22px,3.4vw,40px)}
.sl-lead-card h2{margin:0 0 12px;font-size:clamp(1.6rem,2.8vw,2.2rem)}
.sl-lead-card p{margin:0 0 12px;max-width:62ch}
.sl-ticks{margin:0;padding:0 0 0 1.25em;display:grid;gap:6px}
.sl-lead-buy{display:grid;gap:12px;justify-items:start;padding-top:4px}
.sl-amount{margin:0;font:300 clamp(2rem,4vw,2.6rem)/1.05 var(--serif);color:var(--ink)}
.sl-amount>span:last-child:not(.geo-price){font:400 18px/1.3 var(--sans);color:var(--muted)}
.sl-ladder{display:grid;gap:var(--s3);margin:0;padding:0;list-style:none}
.sl-rung{display:flex;flex-direction:column;gap:10px;padding:var(--s3) 24px;min-width:0}
.sl-rung[hidden]{display:none}
.sl-rung[data-lead]{border-color:var(--accent)}
.sl-rung h3{margin:0}
.sl-rung .sl-rung-for{margin:0;color:var(--muted)}
.sl-rung ul{margin:0;padding:0 0 0 1.1em;display:grid;gap:6px}
.sl-rung .sl-rung-foot{margin-top:auto;padding-top:8px}
.sl-ladder-note{margin:var(--s2) 0 0;color:var(--muted);max-width:70ch}
@media (min-width:860px){.sl-lead-card{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:center}.sl-ladder{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}}
@media (max-width:760px){.ix-row>a{grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;padding:18px 20px}.ix-row p{grid-column:1 / -1;order:3}.ix-cols3,.p2-nodes{grid-template-columns:minmax(0,1fr)}.pd-site-cards{grid-template-columns:minmax(0,1fr);padding:0 16px}.pd-site-nav span:not(.pd-site-call){display:none}}

/* Missed-call calculator (mcc-*): two glass cards, a result panel, native inputs on the homepage tokens. */
.mcc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--s4);align-items:start}
.mcc>div:first-child{display:grid;gap:var(--s3)}
.mcc-card{padding:var(--s3) 28px;border-radius:20px;background:var(--g-fill);border:1px solid var(--g-rim);box-shadow:var(--g-hi),var(--g-shadow);-webkit-backdrop-filter:blur(var(--blur)) saturate(160%);backdrop-filter:blur(var(--blur)) saturate(160%)}
.mcc-card h2{margin:0 0 6px;font-size:1.6rem;max-width:none}
.mcc-card>p{margin:0 0 18px;color:var(--muted)}
.mcc-step{display:block;margin-bottom:8px;font:600 14px/1.3 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.mcc-field{margin-bottom:16px}
.mcc-field label{display:block;font-weight:500;margin-bottom:6px}
.mcc-input{display:flex;align-items:center;border:1px solid var(--g-line);border-radius:8px;background:var(--surface);min-height:52px;overflow:visible}
.mcc-input:focus-within{outline:3px solid var(--focus);outline-offset:1px}
.mcc-input span{padding:0 0 0 14px;color:var(--muted)}
.mcc-input span.suf{padding:0 14px 0 0}
.mcc-input input,.mcc-input select{flex:1;min-width:0;border:0;background:transparent;font:inherit;color:var(--ink);padding:12px 14px;outline:none}
.mcc-input select{cursor:pointer}
.mcc-input select option{color:var(--ink);background:var(--surface)}
.mcc-hint{margin:6px 0 0;color:var(--muted);font-size:16px;line-height:1.5}
.mcc-btn{width:auto}
.mcc-btn:disabled{opacity:.6;cursor:progress}
.mcc-status{min-height:1.4em;margin:12px 0 0;font-size:16px;color:var(--muted)}
.mcc-status.err{color:var(--accent)}
.mcc-found{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin:16px 0 0;padding:16px;border-radius:12px;background:var(--g-tile);font-size:16px;line-height:1.45}
.mcc-found[hidden]{display:none}
.mcc-found dt{color:var(--muted)}
.mcc-found dd{margin:0;overflow-wrap:anywhere}
.mcc-skip{margin:14px 0 0;color:var(--muted);font-size:16px}
.mcc-result{position:sticky;top:calc(96px + env(safe-area-inset-top,0px));padding:var(--s3) 28px;border-radius:20px;background:var(--deep);color:var(--on-deep)}
.mcc-result .mcc-step{color:var(--on-deep-muted)}
.mcc-stats{list-style:none;margin:6px 0 0;padding:0}
.mcc-stats li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:16px 0;border-top:1px solid var(--line-on-deep)}
.mcc-stats li:first-child{border-top:0}
.mcc-stats span{color:var(--on-deep-muted)}
.mcc-stats b{font:300 clamp(1.8rem,3.4vw,2.5rem)/1 var(--serif);letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.mcc-stats li.mcc-big b{font-size:clamp(2.3rem,4.6vw,3.5rem);color:var(--accent-on-deep)}
.mcc-how{margin-top:14px;color:var(--on-deep-muted)}
.mcc-how summary{cursor:pointer;color:var(--on-deep);font-weight:600;min-height:44px;display:flex;align-items:center}
.mcc-how p{margin:6px 0 10px}
.mcc-assume{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:8px}
.mcc-assume label{display:block;font-size:16px;color:var(--on-deep-muted);margin-bottom:4px}
.mcc-assume input{width:100%;min-height:44px;border-radius:8px;border:1px solid var(--line-on-deep);background:transparent;color:var(--on-deep);font:inherit;padding:8px 10px}
.mcc-disclaim{color:var(--on-deep-muted);margin:14px 0 0}
.mcc-cta{display:flex;justify-content:center;align-items:center;min-height:54px;margin-top:20px;border-radius:8px;background:var(--btn-deep-bg);color:var(--btn-deep-ink);font-weight:600;text-decoration:none}
.mcc-cta-note{color:var(--on-deep-muted);margin:10px 0 0;text-align:center}
.mcc-link{color:var(--on-deep)}
.mcc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mcc-method{max-width:860px}
.mcc-method h3{font-size:1.3rem;margin:22px 0 8px}
.mcc-method ol,.mcc-method ul{margin:0 0 14px;padding-left:1.25em;color:var(--muted)}
.mcc-method li{margin:0 0 8px}
.mcc-method p{color:var(--muted);margin:0 0 12px}
.mcc-section{padding-top:0}
@media (max-width:900px){.mcc{grid-template-columns:minmax(0,1fr);gap:var(--s3)}.mcc-result{position:static}}
@media (max-width:560px){.mcc-card{padding:20px 18px}.mcc-assume{grid-template-columns:1fr}.mcc-stats li{flex-wrap:wrap}}

/* Split head written without a wrapper (converted pages): caption and heading left, the lede on the right. */
.ix-head--split{row-gap:12px}
.ix-head--split>.cap-l{grid-column:1;grid-row:1}
.ix-head--split>h2{grid-column:1;grid-row:2}
.ix-head--split>.ix-side{grid-column:2;grid-row:1 / span 2;align-self:end}
.ix-head--split>div:first-child:not(.ix-side){grid-row:1 / span 2}
@media (max-width:960px){.ix-head--split>.ix-side,.ix-head--split>.cap-l,.ix-head--split>h2{grid-column:1;grid-row:auto}}
.mcc-result{border:0}
.mcc-stats b{color:var(--on-deep)}
.mcc-stats li.mcc-big b{color:var(--accent-on-deep)}
.mcc-card.glass{padding:var(--s3) 28px}

/* Industry photograph (one per industry page, below the hero): 3:2 source, shown 2:1 on desktop and 4:3 on phones.
   width and height attributes reserve the space, so nothing shifts when it loads. */
.ix-photo-sec{padding:var(--s3) var(--gutter) 0}
.ix-photo{margin:0}
.ix-photo img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;object-position:center;border-radius:20px}
@media (max-width:760px){.ix-photo img{aspect-ratio:4/3}}

/* Classes the older pages used that had no rule yet: wide sample-site card, Portugal chat demo, link lists, matrix table, bare disclosures. */
.dg-card--wide{grid-column:1 / -1}
.ix-chat{display:grid;gap:12px;padding:var(--s2);border-radius:20px;background:var(--g-fill);border:1px solid var(--g-rim);box-shadow:var(--g-hi),var(--g-shadow);-webkit-backdrop-filter:blur(var(--blur)) saturate(160%);backdrop-filter:blur(var(--blur)) saturate(160%)}
.ix-chat .msgs{display:flex;flex-direction:column;gap:10px;height:340px;overflow-y:auto;padding:12px}
.ix-chat .bubble{width:fit-content;max-width:86%;padding:12px 16px;border-radius:14px;background:var(--g-tile);border:1px solid var(--g-line);font-size:16px;line-height:1.45;overflow-wrap:anywhere}
.ix-chat .bubble.me{align-self:flex-end;border-color:var(--accent)}
.ix-chat .bubble.typing{color:var(--muted)}
.ix-chat form{display:flex;flex-wrap:wrap;gap:8px}
.ix-chat input{flex:1 1 240px;min-width:0;min-height:52px;padding:0 14px;border-radius:8px;border:1px solid var(--g-line);background:var(--surface);color:var(--ink);font:inherit}
.ix-chat input:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.ix-chat .btn{width:auto}
.ix-chat-note{margin:var(--s2) 0 0;max-width:70ch;color:var(--muted);font-size:16px}
.ix-links{list-style:none;margin:4px 0 0;padding:0;display:grid}
.ix-links li{border-top:1px solid var(--g-line)}
.ix-links a{display:flex;flex-wrap:wrap;gap:2px 10px;align-items:baseline;min-height:44px;padding:10px 0;color:var(--muted);text-decoration:none;line-height:1.4}
.ix-links a b{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:var(--g-line);text-underline-offset:4px}
.ix-links a:hover b{text-decoration-color:var(--accent)}
.ix-mx table{min-width:920px}
.ix-mx td a,.ix-mx th[scope=row] a{display:inline-block;margin-bottom:2px;font-weight:600}
.ix-mx td span{display:block;font-size:16px;line-height:1.45;color:var(--muted)}
.ix-mx td.ix-na{color:var(--muted)}
main details:not([class])>summary{display:flex;align-items:center;min-height:44px;cursor:pointer;font-weight:600}

/* Small tables inside a hero app panel: fit the panel, wrap the first column, no overlap with the next panel. */
.ix-subpanel{overflow-x:auto}
.ix-subpanel .tbl{width:100%;min-width:0;table-layout:auto;border-collapse:collapse}
.ix-subpanel .tbl th,.ix-subpanel .tbl td{padding:8px 6px;font-size:15px;line-height:1.35;vertical-align:top}
.ix-subpanel .tbl thead th{font:600 14px/1.3 var(--sans);letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.ix-subpanel .tbl th[scope=row]{font-weight:600;text-align:left}
.ix-subpanel .tbl th[scope=row] small{display:block;font-weight:400;color:var(--muted)}

/* Foreman: "How workers clock in". Three selectable methods (NextUI.tabs), each with a small animated phone mock
   built from HTML and CSS only and a slot for a short clip. Base styles are the FINAL state of each mock, so with
   JavaScript off or reduced motion the confirmation screen shows and nothing moves. The sequence runs once when
   the panel is shown (classes fm-wait then fm-go, set in foreman.html); transform and opacity only. */
.fm-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s1);margin:0 0 var(--s3)}
.fm-tabs button{min-height:56px;padding:8px 16px;border-radius:14px;border:1.5px solid var(--g-line);background:var(--g-tile);color:var(--ink);font:500 17px/1.25 var(--sans);text-align:center;cursor:pointer}
.fm-tabs button:hover{border-color:var(--accent)}
.fm-tabs button[aria-selected="true"]{background:var(--btn-bg);color:var(--btn-ink);border-color:var(--btn-bg);font-weight:600}
.fm-tabs button:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.fm-panels{display:grid;gap:var(--s3)}
.fm-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:var(--s4);align-items:center;padding:var(--s4) clamp(20px,3vw,40px)}
.fm-panel[hidden]{display:none}
.fm-copy h3{font-size:clamp(1.5rem,2.4vw,1.9rem);line-height:1.2;margin:0 0 12px}
.fm-copy p{margin:0 0 12px;max-width:52ch;color:var(--muted)}
.fm-copy p:last-child{margin-bottom:0}
.fm-shared{margin:var(--s3) 0 0;max-width:70ch}
.fm-visual{display:grid;justify-items:center;gap:var(--s2);min-width:0}
.fm-demo{margin:0;display:grid;justify-items:center;gap:12px;min-width:0}
.fm-demo figcaption{font-size:16px;line-height:1.45;color:var(--muted);text-align:center;max-width:32ch}
.fm-phone{width:236px;aspect-ratio:9/17;padding:8px;border-radius:32px;border:2px solid var(--ink);background:var(--bg-2);box-shadow:var(--g-shadow)}
.fm-screen{position:relative;height:100%;overflow:hidden;border-radius:24px;background:var(--surface);color:var(--ink)}
.fm-layer{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;text-align:center}
.fm-cam{background:var(--deep);color:var(--on-deep);opacity:0;justify-content:space-between;padding:18px 14px}
.fm-bar{margin:0;font:600 15px/1.3 var(--sans)}
.fm-hint{margin:0;font-size:14px;line-height:1.3;color:var(--on-deep-muted)}
.fm-view{position:relative;width:140px;height:140px;display:grid;place-items:center}
.fm-frame{position:absolute;inset:0}
.fm-frame i{position:absolute;width:28px;height:28px;border:3px solid var(--on-deep);border-radius:6px}
.fm-frame i:nth-child(1){left:0;top:0;border-right:0;border-bottom:0}
.fm-frame i:nth-child(2){right:0;top:0;border-left:0;border-bottom:0}
.fm-frame i:nth-child(3){left:0;bottom:0;border-right:0;border-top:0}
.fm-frame i:nth-child(4){right:0;bottom:0;border-left:0;border-top:0}
.fm-qr{box-sizing:content-box;width:90px;height:90px;padding:8px;background:var(--on-deep);color:var(--deep);border-radius:6px}
.fm-qr::before{content:"";display:block;width:10px;height:10px;background:currentColor;box-shadow:10px 0px 0 0 currentColor,20px 0px 0 0 currentColor,30px 0px 0 0 currentColor,40px 0px 0 0 currentColor,60px 0px 0 0 currentColor,70px 0px 0 0 currentColor,80px 0px 0 0 currentColor,0px 10px 0 0 currentColor,20px 10px 0 0 currentColor,30px 10px 0 0 currentColor,50px 10px 0 0 currentColor,60px 10px 0 0 currentColor,80px 10px 0 0 currentColor,0px 20px 0 0 currentColor,10px 20px 0 0 currentColor,20px 20px 0 0 currentColor,30px 20px 0 0 currentColor,50px 20px 0 0 currentColor,60px 20px 0 0 currentColor,70px 20px 0 0 currentColor,80px 20px 0 0 currentColor,0px 30px 0 0 currentColor,10px 30px 0 0 currentColor,20px 30px 0 0 currentColor,30px 30px 0 0 currentColor,50px 30px 0 0 currentColor,60px 30px 0 0 currentColor,10px 40px 0 0 currentColor,30px 40px 0 0 currentColor,50px 40px 0 0 currentColor,60px 40px 0 0 currentColor,70px 40px 0 0 currentColor,80px 40px 0 0 currentColor,10px 50px 0 0 currentColor,40px 50px 0 0 currentColor,60px 50px 0 0 currentColor,70px 50px 0 0 currentColor,80px 50px 0 0 currentColor,0px 60px 0 0 currentColor,10px 60px 0 0 currentColor,20px 60px 0 0 currentColor,40px 60px 0 0 currentColor,50px 60px 0 0 currentColor,70px 60px 0 0 currentColor,80px 60px 0 0 currentColor,0px 70px 0 0 currentColor,20px 70px 0 0 currentColor,50px 70px 0 0 currentColor,0px 80px 0 0 currentColor,10px 80px 0 0 currentColor,20px 80px 0 0 currentColor,40px 80px 0 0 currentColor,60px 80px 0 0 currentColor,70px 80px 0 0 currentColor}
.fm-head{width:84px;height:104px;border:3px solid var(--on-deep);border-radius:50%}
.fm-body{position:absolute;left:50%;bottom:6px;width:120px;height:44px;margin-left:-60px;border:3px solid var(--on-deep);border-bottom:0;border-radius:60px 60px 0 0}
.fm-face{position:relative;width:100%;height:100%;display:grid;place-items:center}
.fm-shutter{width:44px;height:44px;border-radius:50%;background:var(--on-deep)}
.fm-flash{position:absolute;inset:0;background:var(--on-deep);opacity:0}
.fm-done{gap:8px;background:var(--surface)}
.fm-check{position:relative;width:48px;height:48px;border-radius:14px;background:var(--btn-bg)}
.fm-check::after{content:"";position:absolute;left:18px;top:9px;width:11px;height:21px;border:solid var(--btn-ink);border-width:0 4px 4px 0;transform:rotate(45deg)}
.fm-done-t{margin:6px 0 0;font:600 20px/1.2 var(--sans)}
.fm-done-s{margin:0;font-size:16px;line-height:1.35}
.fm-done-m{margin:0;font-size:14px;line-height:1.35;color:var(--muted)}
.fm-thumb{position:relative;width:64px;height:78px;border-radius:12px;border:1.5px solid var(--g-line);background:var(--bg-2);overflow:hidden}
.fm-thumb::before{content:"";position:absolute;left:19px;top:12px;width:26px;height:32px;border:2.5px solid var(--ink);border-radius:50%}
.fm-thumb::after{content:"";position:absolute;left:10px;top:50px;width:44px;height:30px;border:2.5px solid var(--ink);border-radius:22px 22px 0 0}
.fm-sheet{width:100%;padding:16px 12px;border-radius:18px;background:var(--surface);border:1px solid var(--g-line);display:grid;justify-items:center;gap:10px}
.fm-prompt{background:var(--bg-2);opacity:0}
.fm-sheet-t{margin:0;font:600 17px/1.25 var(--sans)}
.fm-sheet-s{margin:0;font-size:15px;line-height:1.35;color:var(--muted)}
.fm-glyph{position:relative;width:64px;height:64px;border:3px solid var(--ink);border-radius:18px;display:grid;place-items:center}
.fm-glyph i{position:absolute;top:18px;width:4px;height:12px;border-radius:2px;background:var(--ink)}
.fm-glyph i:nth-child(1){left:18px}
.fm-glyph i:nth-child(2){right:18px}
.fm-glyph b{position:absolute;left:19px;bottom:12px;width:22px;height:10px;border:3px solid var(--ink);border-top:0;border-radius:0 0 12px 12px}
.fm-glyph u{position:absolute;inset:-3px;border-radius:18px;background:var(--btn-bg);opacity:1;text-decoration:none}
.fm-glyph u::after{content:"";position:absolute;left:21px;top:10px;width:11px;height:24px;border:solid var(--btn-ink);border-width:0 4px 4px 0;transform:rotate(45deg)}
/* Clip slot (a clip is switched on by uncommenting its markup in foreman.html; same classes as the product clips on /work). */
.fm-clip{margin:0;width:100%;max-width:420px;display:grid;gap:10px}
.fm-clip .pclip-frame{position:relative;overflow:hidden;border:1px solid var(--g-line);border-radius:14px;background:var(--bg-2);aspect-ratio:1280/800}
.fm-clip video{display:block;width:100%;height:100%;object-fit:cover}
.fm-clip .pclip-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 20px 0 16px;border:0;border-radius:99px;background:var(--btn-bg);color:var(--btn-ink);font:600 17px/1 var(--sans);cursor:pointer}
.fm-clip .pclip-play svg{width:18px;height:18px;flex:none}
.fm-clip .pclip-play:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.fm-clip .pclip-frame.is-playing .pclip-play{display:none}
/* An author display rule beats the hidden attribute, so say it again: without script the empty tab row and the Play button stay hidden. */
.fm-tabs[hidden],.fm-clip .pclip-play[hidden]{display:none}
.fm-clip .pclip-tag{position:absolute;top:10px;right:10px;padding:5px 10px;border-radius:99px;background:var(--surface);color:var(--ink);border:1px solid var(--g-line);font:600 14px/1.2 var(--sans)}
.fm-clip figcaption{font-size:16px;line-height:1.45;color:var(--muted)}
@media (max-width:900px){.fm-panel{grid-template-columns:minmax(0,1fr);gap:var(--s3);padding:var(--s3) 20px}}
@media (max-width:700px){.fm-tabs{grid-template-columns:minmax(0,1fr)}}
@keyframes fm-out{from{opacity:1}to{opacity:0}}
@keyframes fm-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes fm-aim{from{opacity:.35;transform:translate(16px,-12px) scale(.7)}to{opacity:1;transform:none}}
@keyframes fm-lock{from{opacity:.2;transform:scale(1.25)}to{opacity:1;transform:none}}
@keyframes fm-pop{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
@keyframes fm-sheet{from{opacity:0;transform:translateY(36px)}to{opacity:1;transform:none}}
@keyframes fm-press{0%,100%{transform:none}50%{transform:scale(.86)}}
@keyframes fm-flash{0%{opacity:0}40%{opacity:.85}100%{opacity:0}}
@keyframes fm-settle{from{opacity:.3;transform:scale(.9)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
  .js .fm-wait .fm-qr,.js .fm-go .fm-qr{animation:fm-aim 1.5s cubic-bezier(.2,.7,.2,1) .2s both}
  .js .fm-wait .fm-frame,.js .fm-go .fm-frame{animation:fm-lock .9s ease .9s both}
  .js .fm-wait .fm-face,.js .fm-go .fm-face{animation:fm-settle 1s ease .3s both}
  .js .fm-wait .fm-shutter,.js .fm-go .fm-shutter{animation:fm-press .4s ease 1.9s both}
  .js .fm-wait .fm-flash,.js .fm-go .fm-flash{animation:fm-flash .5s ease 2s both}
  .js .fm-wait .fm-cam,.js .fm-go .fm-cam{animation:fm-out .45s ease 2.7s both}
  .js .fm-wait .fm-sheet,.js .fm-go .fm-sheet{animation:fm-sheet .6s ease .2s both}
  .js .fm-wait .fm-glyph u,.js .fm-go .fm-glyph u{animation:fm-pop .4s ease 1.8s both}
  .js .fm-wait .fm-prompt,.js .fm-go .fm-prompt{animation:fm-out .45s ease 2.7s both}
  .js .fm-wait .fm-done,.js .fm-go .fm-done{animation:fm-in .55s ease 2.9s both}
  .js .fm-wait .fm-check,.js .fm-go .fm-check{animation:fm-pop .4s ease 3.3s both}
  .js .fm-wait .fm-screen *,.js .fm-wait .fm-screen *::before,.js .fm-wait .fm-screen *::after{animation-play-state:paused}
}
