/*
 * Incoterms module: guide and rule pages. Loaded only on these pages, on
 * top of the theme (tokens.css). Logical properties only, so the same
 * rules serve RTL locales.
 *
 * Editorial treatment of the template, shared with the About pages:
 * deep navy grounds, hairline rules, chapter numbers in mono with a fine
 * gold line, outlined display numerals, and the brand red kept for
 * actions and the risk line.
 */

/*
 * Metric-matched fallback for the display face: while Barlow Condensed is
 * loading, Arial scaled to the same advance width keeps the big headings
 * on the same number of lines, so the hero does not shift (CLS). Latin
 * range only: other scripts keep their own fonts at full size.
 */
@font-face { font-family: 'WS Display Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Arial'); font-weight: 600 800; size-adjust: 69%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.inc-hero .page-title, .inc-rule-hero .page-title, .inc-facts dd, .inc-watermark { font-family: 'Barlow Condensed', 'WS Display Fallback', var(--f-display); }

:root { --inc-hair: rgba(195, 205, 218, .16); --inc-gold-soft: rgba(212, 161, 46, .55); --inc-sea: #7FB2FF; }

/* Family accents: the seller's obligation grows from E to D. */
[data-family="E"] { --fam: var(--mist-2); }
[data-family="F"] { --fam: var(--inc-sea); }
[data-family="C"] { --fam: var(--gold); }
[data-family="D"] { --fam: var(--red); }

/* Buttons on these pages follow the main menu: display face, uppercase (not for CJK, Arabic or Hebrew). */
main .btn { font-family: var(--f-display); font-size: 17px; font-weight: 600; letter-spacing: var(--tracking-nav); text-transform: uppercase; }
:is(:lang(zh), :lang(ja), :lang(ko), :lang(ar), :lang(he)) main .btn { text-transform: none; letter-spacing: 0; }

/* ---------- Hero ---------- */
.inc-hero, .inc-rule-hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(120% 90% at 85% 0%, var(--navy-700) 0%, var(--navy-900) 48%, var(--navy-950) 100%); }
/* Fine drawing grid, faded toward the copy: the guide reads like a sheet from the drawing office. */
.inc-hero::before, .inc-rule-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--inc-hair) 1px, transparent 1px), linear-gradient(90deg, var(--inc-hair) 1px, transparent 1px); background-size: 48px 48px; opacity: .35; -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 35%, #000 75%); mask-image: linear-gradient(90deg, transparent 0%, transparent 35%, #000 75%); }
[dir="rtl"] :is(.inc-hero, .inc-rule-hero)::before { -webkit-mask-image: linear-gradient(270deg, transparent 0%, transparent 35%, #000 75%); mask-image: linear-gradient(270deg, transparent 0%, transparent 35%, #000 75%); }
.inc-hero { padding-block: 0 clamp(56px, 7vw, 88px); }
:is(.inc-hero, .inc-rule-hero) > .crumbs { position: relative; margin-block-end: clamp(32px, 5vw, 72px); }
.inc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.inc-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; min-inline-size: 0; }
.inc-hero .page-title { font-size: var(--fs-hero-section); line-height: .94; text-wrap: balance; text-shadow: 0 2px 24px rgba(6, 17, 31, .35); }
.inc-hero .lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.7; color: #DCE3EC; max-inline-size: 56ch; }
.inc-facts { margin: 10px 0 0; align-self: stretch; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; border-block-start: 1px solid var(--inc-hair); }
.inc-facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding-block-start: 22px; padding-inline: 32px; border-inline-start: 1px solid var(--inc-hair); }
.inc-facts div:first-child { padding-inline-start: 0; border-inline-start: 0; }
.inc-facts dt { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--mist-2); }
.inc-facts dd { margin: 0; font-size: clamp(40px, 4.2vw, 60px); font-weight: 600; line-height: .9; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* The eleven rules as one hairline sheet, four family columns. */
.inc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1px; background: var(--inc-hair); border: 1px solid var(--inc-hair); align-items: stretch; }
.inc-family { display: flex; flex-direction: column; min-inline-size: 0; background: rgba(6, 17, 31, .72); }
.inc-family-name { display: block; min-block-size: 58px; padding: 14px 14px 10px; font-family: var(--f-mono); font-size: 11.5px; line-height: 1.4; letter-spacing: .3px; color: var(--mist-2); border-block-start: 2px solid var(--fam); border-block-end: 1px solid var(--inc-hair); }
.inc-family ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.inc-family li + li { border-block-start: 1px solid var(--inc-hair); }
.inc-tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 14px 20px; color: var(--white); transition: background .25s ease; }
.inc-tile b { font-family: var(--f-display); font-size: clamp(30px, 2.8vw, 42px); font-weight: 600; line-height: .9; letter-spacing: 1px; color: transparent; -webkit-text-stroke: 1px var(--white); transition: color .25s ease; }
.inc-tile span { font-size: 12px; line-height: 1.35; color: var(--mist); }
.inc-tile[data-mode="sea"]::after { content: ""; position: absolute; inset-block-start: 14px; inset-inline-end: 14px; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--inc-sea); }
.inc-tile:hover, .inc-tile:focus-visible { background: rgba(255, 255, 255, .06); }
.inc-tile:hover b, .inc-tile:focus-visible b { color: var(--white); }
.inc-spectrum { grid-column: 1 / -1; margin: 0; display: flex; align-items: center; gap: 12px; padding: 14px; background: rgba(6, 17, 31, .72); border-block-start: 1px solid var(--inc-hair); font-size: 11.5px; font-family: var(--f-mono); color: var(--mist-2); }
.inc-spectrum b { font-weight: 500; color: var(--mist); white-space: nowrap; }
.inc-spectrum i { flex: 1 1 auto; block-size: 1px; background: linear-gradient(90deg, var(--mist-2), var(--inc-sea), var(--gold), var(--red)); }
[dir="rtl"] .inc-spectrum i { background: linear-gradient(270deg, var(--mist-2), var(--inc-sea), var(--gold), var(--red)); }
.inc-spectrum i:last-of-type { position: relative; }
.inc-spectrum i:last-of-type::after { content: ""; position: absolute; inset-inline-end: -1px; inset-block-start: -3px; border-block: 3.5px solid transparent; border-inline-start: 6px solid var(--red); }

/* ---------- Chapter bar (sticky under the header) ---------- */
.inc-chapters { position: sticky; inset-block-start: var(--header-h); z-index: 20; background: rgba(6, 17, 31, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--inc-hair); }
.inc-chapters ol { list-style: none; margin-block: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
.inc-chapters ol::-webkit-scrollbar { display: none; }
.inc-chapters li { flex: 1 0 auto; }
.inc-chapters li + li { border-inline-start: 1px solid rgba(195, 205, 218, .1); }
.inc-chapters a { display: flex; align-items: baseline; justify-content: center; gap: 10px; padding: 17px 18px 16px; white-space: nowrap; font-family: var(--f-display); font-size: 17px; font-weight: 500; letter-spacing: var(--tracking-nav); text-transform: uppercase; line-height: 1.2; color: var(--mist); border-block-start: 2px solid transparent; margin-block-start: -1px; transition: color .2s, background .2s; }
.inc-chapters a:hover { color: var(--white); background: rgba(255, 255, 255, .04); }
.inc-chapters .n { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; color: var(--mist-2); }
.inc-chapters a[aria-current] { color: var(--white); border-block-start-color: var(--red); background: rgba(255, 255, 255, .06); }
.inc-chapters a[aria-current] .n { color: var(--gold); }
:root:is([data-script="hans"], [data-script="hant"], [data-script="jpan"], [data-script="kore"], [data-script="arab"], [data-script="hebr"]) .inc-chapters a { text-transform: none; letter-spacing: 0; font-size: 15px; }
/* Anchored sections clear the header and the chapter bar. */
main section[id] { scroll-margin-block-start: calc(var(--header-h) + 56px); }

/* ---------- Section heading: chapter, title on the start side, lede on the end side ---------- */
.inc-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 72px; align-items: end; padding-block-end: 32px; margin-block-end: 8px; border-block-end: 1px solid var(--steel-200); }
.inc-head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.inc-head h2 { margin: 0; text-wrap: balance; }
.inc-head .lede { margin: 0; justify-self: end; max-inline-size: 56ch; font-size: 17px; line-height: 1.7; }
.inc-head-solo { grid-template-columns: minmax(0, 1fr); }
.band.navy .inc-head { border-block-end-color: var(--inc-hair); }
.inc-ch { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-2); }
.inc-ch b { font-weight: 500; color: var(--red); }
.inc-ch i { inline-size: 56px; block-size: 1px; background: var(--gold); }
.band.navy .inc-ch { color: var(--mist-2); }
.band.navy .inc-ch b { color: var(--gold); }
:is(:lang(zh), :lang(ja), :lang(ko), :lang(ar), :lang(he)) .inc-ch { letter-spacing: 0; text-transform: none; }

/* ---------- Shared ---------- */
.inc-lede-dark { color: var(--ink-2); }
.band.navy .inc-lede-dark { color: var(--mist); }
.inc-narrow { max-inline-size: 960px; }

/* FAQ: hairline list, plus and minus drawn in CSS. */
.faq summary { position: relative; list-style: none; padding-inline-end: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { display: inline; margin: 0; font-family: var(--f-display); font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; line-height: 1.2; text-transform: uppercase; color: var(--navy-900); }
.faq summary::before, .faq summary::after { content: ""; position: absolute; inset-inline-end: 6px; inset-block-start: 50%; inline-size: 16px; block-size: 2px; background: var(--red); transition: transform .25s ease; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details { padding-block: 22px; }
.faq details p { max-inline-size: 72ch; font-size: 16.5px; line-height: 1.75; }
:is(:lang(zh), :lang(ja), :lang(ko), :lang(ar), :lang(he)) .faq summary h3 { text-transform: none; }

/* ---------- Basics ---------- */
.inc-dodont { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--steel-200); border: 1px solid var(--steel-200); }
.inc-dodont > div { padding: clamp(28px, 3.4vw, 44px); background: var(--white); }
.inc-dodont h3 { margin: 0 0 22px; font-family: var(--f-display); font-size: 28px; font-weight: 600; text-transform: uppercase; color: var(--navy-900); }
.inc-dodont ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.inc-dodont li { position: relative; padding-block: 13px; padding-inline-start: 38px; line-height: 1.55; color: var(--ink); border-block-start: 1px solid var(--steel-100); }
.inc-dodont li:first-child { border-block-start: 0; padding-block-start: 0; }
.inc-dodont li::before { position: absolute; inset-inline-start: 0; inset-block-start: 13px; inline-size: 22px; block-size: 22px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 700; }
.inc-dodont li:first-child::before { inset-block-start: 0; }
.inc-do li::before { content: "✓"; color: var(--navy-900); border: 1px solid var(--navy-900); }
.inc-dont li::before { content: "✕"; color: var(--red); border: 1px solid var(--red); }
.inc-dodont > .inc-dont { background: var(--steel-50); }
.inc-example { position: relative; overflow: hidden; margin: 0; padding: clamp(28px, 3.4vw, 44px); background: var(--navy-900); color: var(--white); display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 12px 48px; align-items: center; border-inline-start: 2px solid var(--gold); }
.inc-example figcaption { grid-column: 1 / -1; font-family: var(--f-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.inc-example code { font-family: var(--f-mono); font-size: clamp(18px, 2.3vw, 28px); color: var(--white); overflow-wrap: anywhere; }
.inc-example p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--mist); }

/* ---------- Rule cards: one hairline sheet per transport group ---------- */
.inc-rule-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--steel-200); border: 1px solid var(--steel-200); }
.inc-rule-cards > li { display: flex; min-inline-size: 0; background: var(--white); }
.inc-card { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 28px; color: var(--ink); background: var(--white); border: 0; box-shadow: none; transition: background .3s ease; }
.inc-card::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline: 0; block-size: 2px; background: var(--fam, var(--navy-900)); transition: block-size .3s ease; }
.inc-card:hover { background: var(--steel-50); border: 0; }
.inc-card:hover::before { block-size: 4px; }
.inc-card .inc-code { font-family: var(--f-display); font-size: 64px; font-weight: 600; line-height: .82; letter-spacing: 1px; color: transparent; -webkit-text-stroke: 1px var(--navy-900); transition: color .3s ease; }
.inc-card:hover .inc-code, .inc-card:focus-visible .inc-code { color: var(--navy-900); }
.inc-card h3, .inc-card h4 { margin: 4px 0 0; font-family: var(--f-display); font-size: 22px; font-weight: 600; line-height: 1.1; text-transform: uppercase; color: var(--navy-900); }
.inc-card p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.inc-card .go { margin-block-start: auto; padding-block-start: 10px; font-size: 14px; font-weight: 600; color: var(--red); }
.inc-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-2); }
.inc-badge::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--fam, var(--navy-900)); }
.inc-rule-cards > .inc-families { flex-direction: column; gap: 18px; padding: 30px 28px; background: var(--navy-900); color: var(--white); }
.inc-families h4 { margin: 0; font-family: var(--f-display); font-size: 22px; font-weight: 600; text-transform: uppercase; }
.inc-families dl { margin: 0; display: flex; flex-direction: column; }
.inc-families dl div { display: flex; flex-direction: column; gap: 4px; padding-block: 12px; padding-inline-start: 14px; border-inline-start: 2px solid var(--fam); }
.inc-families dl div + div { margin-block-start: 6px; }
.inc-families dt { font-family: var(--f-mono); font-size: 11.5px; color: var(--white); }
.inc-families dd { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--mist); }
.h3-label { font-family: var(--f-mono); font-weight: 500; }
.inc-quoted { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--ink); }
.inc-quoted .chip { color: var(--navy-900); border-color: var(--steel-300); }

/* ---------- Matrix ---------- */
.inc-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--ink-2); }
.inc-legend li { display: inline-flex; align-items: center; gap: 10px; }
.sw { display: inline-block; inline-size: 18px; block-size: 18px; flex: none; }
.sw-s { background: var(--navy-900); }
.sw-b { background: var(--steel-100); border: 1px solid var(--steel-300); }
.sw-r { background: var(--red); inline-size: 3px; block-size: 22px; }
.sw-sea { background: var(--inc-sea); inline-size: 3px; block-size: 22px; }
.inc-scroll-hint { display: none; margin: 0; }
.inc-matrix-wrap { border: 1px solid var(--steel-200); box-shadow: 0 30px 60px -40px rgba(10, 26, 48, .35); }
.inc-matrix { inline-size: 100%; min-inline-size: 1080px; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.inc-matrix caption { caption-side: top; text-align: start; padding: 16px 18px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--white); background: var(--navy-900); }
.inc-matrix thead th { position: sticky; inset-block-start: 0; padding: 14px 10px 12px; vertical-align: bottom; text-align: start; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--ink-2); background: var(--white); border-block-end: 1px solid var(--navy-900); }
.inc-stage-n { display: block; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; color: var(--red); line-height: 1; margin-block-end: 8px; }
.inc-matrix tbody th { position: sticky; inset-inline-start: 0; z-index: 1; text-align: start; padding: 0; background: var(--white); border-block-end: 1px solid var(--steel-200); border-inline-end: 1px solid var(--steel-200); min-inline-size: 170px; border-inline-start: 3px solid transparent; }
.inc-matrix tbody th a, .inc-matrix tbody th > b { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; color: var(--navy-900); }
.inc-matrix tbody th b { font-family: var(--f-display); font-size: 24px; font-weight: 600; line-height: 1; }
.inc-matrix tbody th span { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.inc-matrix tbody th a:hover b { color: var(--red); }
.inc-matrix tbody tr[data-mode="sea"] th { border-inline-start-color: var(--inc-sea); }
.inc-matrix td { position: relative; padding: 10px; text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: .3px; border-block-end: 1px solid var(--steel-200); border-inline-end: 1px solid var(--white); }
.inc-matrix td.pay-s { background: var(--navy-900); color: var(--white); border-block-end-color: var(--navy-800); border-inline-end-color: var(--navy-800); }
.inc-matrix td.pay-b { background: var(--steel-50); color: var(--ink-2); }
.inc-matrix td sup a { color: inherit; text-decoration: none; padding-inline: 2px; }
.inc-matrix td.risk-after::after, .inc-matrix td.risk-before::before { content: ""; position: absolute; inset-block: -1px; inline-size: 3px; background: var(--red); z-index: 1; box-shadow: 0 0 0 1px rgba(165, 0, 0, .15); }
.inc-matrix td.risk-after::after { inset-inline-end: -2px; }
.inc-matrix td.risk-before::before { inset-inline-start: -1px; }
.inc-matrix td.inc-ins, .inc-matrix td.inc-riskpoint { font-size: 13px; font-weight: 500; letter-spacing: 0; text-align: start; color: var(--ink); background: var(--white); border-inline-end: 0; }
.inc-matrix td.inc-ins { border-inline-start: 1px solid var(--steel-200); }
.inc-matrix tbody tr:hover td.pay-b { background: var(--steel-100); }
.inc-matrix tbody tr:hover td.pay-s { background: var(--navy-800); }
.inc-matrix tbody tr:hover th { background: var(--steel-50); }
.inc-notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--ink-2); max-inline-size: 90ch; }

/* ---------- Comparisons (navy band) ---------- */
#compare { background: radial-gradient(110% 80% at 15% 0%, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%); }
.inc-compare { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--inc-hair); border: 1px solid var(--inc-hair); }
.inc-compare li { position: relative; background: var(--navy-900); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; transition: background .3s ease; }
.inc-compare li:hover { background: var(--navy-800); }
.inc-vs { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-size: 48px; font-weight: 600; line-height: .9; letter-spacing: 1px; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.inc-vs i { inline-size: 18px; block-size: 1px; background: var(--mist-2); }
.inc-compare h3 { margin: 6px 0 0; font-family: var(--f-display); font-size: 26px; font-weight: 600; text-transform: uppercase; color: var(--white); }
.inc-compare p { margin: 0; color: var(--mist); line-height: 1.7; font-size: 15px; }
.inc-compare-links { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: auto; padding-block-start: 10px; }
.inc-compare-links a { font-family: var(--f-display); font-size: 17px; font-weight: 600; letter-spacing: 1px; padding: 6px 14px; color: var(--white); border: 1px solid var(--navy-600); transition: background .2s, border-color .2s; }
.inc-compare-links a:hover { background: var(--red); border-color: var(--red); }

/* ---------- 2020 changes ---------- */
.inc-changes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--steel-200); border: 1px solid var(--steel-200); counter-reset: c; }
.inc-changes li { counter-increment: c; background: var(--white); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; }
.inc-changes li::before { content: counter(c, decimal-leading-zero); font-family: var(--f-display); font-size: 64px; font-weight: 600; line-height: .82; color: transparent; -webkit-text-stroke: 1px var(--red); }
.inc-changes h3 { margin: 6px 0 0; font-family: var(--f-display); font-size: 24px; font-weight: 600; line-height: 1.1; text-transform: uppercase; color: var(--navy-900); }
.inc-changes p { margin: 0; color: var(--ink-2); line-height: 1.7; font-size: 15px; }

/* ---------- Chooser ---------- */
.inc-choose { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.inc-chooser { position: relative; background: radial-gradient(120% 80% at 100% 0%, var(--navy-800) 0%, var(--navy-900) 60%); color: var(--white); padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 20px; border-block-start: 2px solid var(--gold); box-shadow: 0 40px 80px -48px rgba(6, 17, 31, .6); }
.inc-chooser h3 { margin: 0; font-family: var(--f-display); font-size: 32px; font-weight: 600; text-transform: uppercase; }
.inc-chooser > p { margin: 0; color: var(--mist); font-size: 15px; line-height: 1.65; }
.inc-q { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; animation: inc-in .3s ease-out; }
.inc-q legend { padding: 0; margin-block-end: 10px; font-weight: 600; font-size: 15.5px; }
.js .inc-q[hidden], .js .inc-q[data-off] { display: none; }
.inc-opt { display: flex; gap: 12px; align-items: center; min-block-size: 48px; padding: 12px 16px; border: 1px solid var(--navy-600); background: rgba(6, 17, 31, .35); cursor: pointer; font-size: 14.5px; color: var(--mist); transition: border-color .2s, background .2s, color .2s; }
.inc-opt:hover { border-color: var(--mist-2); color: var(--white); }
.inc-opt input { accent-color: var(--red); inline-size: 18px; block-size: 18px; margin: 0; flex: none; }
.inc-opt:has(input:checked) { border-color: var(--red); background: rgb(165 0 0 / 20%); color: var(--white); }
.inc-opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.inc-chooser-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.inc-chooser-actions .btn-navy { border: 1px solid var(--navy-600); background: transparent; }
.js .inc-chooser-actions [data-inc-reset][hidden] { display: none; }
.js [data-js-hide] { display: none; }
.inc-result { border-block-start: 1px solid var(--inc-hair); padding-block-start: 22px; }
.inc-pending { margin: 0; color: var(--mist-2); font-size: 14px; font-family: var(--f-mono); }
.inc-leaf { display: flex; flex-direction: column; gap: 12px; animation: inc-in .3s ease-out; }
.inc-leaf p { margin: 0; color: var(--mist); line-height: 1.65; }
.inc-result-k { font-family: var(--f-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.inc-leaf .inc-result-code { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; color: var(--white); font-size: 18px; font-weight: 600; }
.inc-result-code b { font-family: var(--f-display); font-size: 80px; font-weight: 600; line-height: .85; color: var(--white); }
.inc-result-also a { color: var(--white); font-weight: 700; margin-inline-end: 6px; border-block-end: 1px solid var(--red); }
.inc-leaf .textlink { color: var(--white); }
@keyframes inc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.inc-considerations { display: flex; flex-direction: column; gap: 18px; }
.inc-considerations ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-block-start: 1px solid var(--navy-900); counter-reset: k; }
.inc-considerations li { counter-increment: k; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; padding-block: 18px; border-block-end: 1px solid var(--steel-200); }
.inc-considerations li::before { content: counter(k, decimal-leading-zero); grid-row: span 2; font-family: var(--f-mono); font-size: 12px; color: var(--red); padding-block-start: 3px; }
.inc-considerations b { color: var(--navy-900); font-size: 16px; }
.inc-considerations span { color: var(--ink-2); line-height: 1.65; font-size: 15px; }

/* ---------- Checklist ---------- */
.inc-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; counter-reset: k; }
.inc-checklist li { counter-increment: k; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; padding-block: 20px; border-block-end: 1px solid var(--steel-300); line-height: 1.65; color: var(--ink); }
.inc-checklist li:nth-child(-n+2) { border-block-start: 1px solid var(--navy-900); }
.inc-checklist li::before { content: counter(k, decimal-leading-zero); font-family: var(--f-display); font-size: 40px; font-weight: 600; line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--red); }

/* ---------- Related guides ---------- */
.inc-related .cards { gap: 1px; background: var(--steel-200); border: 1px solid var(--steel-200); }
.inc-related .card { border: 0; box-shadow: none; padding: 28px; gap: 10px; transition: background .25s; }
.inc-related .card:hover { background: var(--steel-50); }
.inc-related .card h3 { font-family: var(--f-display); font-size: 22px; font-weight: 600; text-transform: uppercase; color: var(--navy-900); }
.inc-related .card h3::after { content: var(--arrow-after); color: var(--red); }

/* ---------- Legal note ---------- */
.inc-foot { padding-block: 40px; }
.inc-legal .inc-sources { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.inc-legal .inc-sources a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Rule page ---------- */
.inc-rule-hero { border-block-end: 2px solid var(--fam, var(--red)); padding-block: 0 clamp(40px, 5vw, 64px); }
/* The rule's code, very large and outlined, behind the heading. */
.inc-watermark { position: absolute; z-index: -1; inset-block-end: -.18em; inset-inline-end: -.04em; font-size: clamp(180px, 30vw, 440px); font-weight: 700; line-height: 1; letter-spacing: 4px; color: transparent; -webkit-text-stroke: 1px rgba(195, 205, 218, .14); pointer-events: none; user-select: none; }
.inc-rule-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: end; }
.inc-rule-hero .page-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; }
.inc-big-code { font-size: clamp(72px, 10vw, 148px); font-weight: 600; line-height: .82; color: var(--white); letter-spacing: 2px; }
.inc-rule-hero .lede { color: #DCE3EC; max-inline-size: 60ch; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.7; }
.inc-rule-hero .chips { list-style: none; margin: 0; padding: 0; }
.inc-rule-hero .chip:last-child { border-color: var(--fam); }
.inc-rule-nav { display: grid; grid-template-columns: repeat(4, 60px); gap: 6px; }
.inc-rule-nav a { display: grid; place-items: center; block-size: 48px; font-family: var(--f-display); font-size: 18px; font-weight: 600; letter-spacing: .5px; color: var(--mist); background: rgba(6, 17, 31, .78); border: 1px solid var(--inc-hair); transition: color .2s, background .2s, border-color .2s; }
.inc-rule-nav a:hover { color: var(--white); background: var(--navy-800); }
.inc-rule-nav a[aria-current="page"] { background: var(--red); border-color: var(--red); color: var(--white); }
.inc-rule-body { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.inc-glance { position: sticky; inset-block-start: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; padding: 30px 28px; background: radial-gradient(120% 80% at 100% 0%, var(--navy-800) 0%, var(--navy-900) 60%); color: var(--white); border-block-start: 2px solid var(--gold); box-shadow: 0 24px 48px -32px rgba(6, 17, 31, .45); }
.inc-glance h2 { margin: 0; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.inc-glance dl { margin: 0; display: flex; flex-direction: column; }
.inc-glance dl div { padding-block: 14px; border-block-end: 1px solid var(--inc-hair); display: flex; flex-direction: column; gap: 6px; }
.inc-glance dl div:first-child { padding-block-start: 0; }
.inc-glance dt { font-size: 11.5px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mist-2); }
.inc-glance dd { margin: 0; line-height: 1.6; color: var(--white); font-size: 15px; }
.inc-glance .btn { align-self: stretch; justify-content: center; }
.inc-rule-main { display: flex; flex-direction: column; gap: 56px; min-inline-size: 0; }
.inc-duties { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--steel-200); border: 1px solid var(--steel-200); }
.inc-duties section { padding: clamp(26px, 3vw, 36px); background: var(--white); display: flex; flex-direction: column; gap: 12px; }
.inc-duties section::before { content: ""; inline-size: 28px; block-size: 2px; background: var(--red); }
.inc-duties section:last-child::before { background: var(--navy-900); }
.inc-duties section:last-child { background: var(--steel-50); }
.inc-duties h2 { margin: 0; font-family: var(--f-display); font-size: 26px; font-weight: 600; text-transform: uppercase; color: var(--navy-900); }
.inc-duties p { margin: 0; line-height: 1.75; color: var(--ink-2); }
.inc-journey-wrap { display: flex; flex-direction: column; gap: 16px; }
.inc-journey-wrap h2 { margin: 0; font-family: var(--f-display); font-size: clamp(28px, 3vw, 38px); font-weight: 600; text-transform: uppercase; color: var(--navy-900); }
.inc-journey-wrap .note { margin: 0; }
.inc-journey { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; }
.inc-journey li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px 12px 14px; font-size: 13px; line-height: 1.35; border-inline-end: 1px solid rgba(255, 255, 255, .7); }
.inc-journey li.pay-s { background: var(--navy-900); color: var(--white); }
.inc-journey li.pay-b { background: var(--steel-50); color: var(--ink); border-inline-end-color: var(--steel-200); }
.inc-journey li b { font-weight: 600; }
.inc-journey li > span:last-child { margin-block-start: auto; padding-block-start: 10px; font-family: var(--f-mono); font-weight: 500; font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; }
.inc-journey li.pay-s > span:last-child { color: var(--gold); }
.inc-journey li.pay-b > span:last-child { color: var(--ink-2); }
.inc-journey li .inc-stage-n { font-size: 11.5px; color: inherit; opacity: .7; margin: 0; }
.inc-journey li.risk-after::after, .inc-journey li.risk-before::before { content: ""; position: absolute; inset-block: -10px; inline-size: 3px; background: var(--red); z-index: 1; }
.inc-journey li.risk-after::after { inset-inline-end: -2px; }
.inc-journey li.risk-before::before { inset-inline-start: -2px; }
.inc-journey-risk { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy-900); }
.inc-rule-main .prose { max-inline-size: none; font-size: 17px; line-height: 1.8; }
.inc-rule-main .prose h2, .inc-rule-main .prose h3 { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; color: var(--navy-900); }
.inc-rule-main .prose code { font-family: var(--f-mono); font-size: 15px; background: var(--steel-50); border: 1px solid var(--steel-200); padding: 4px 8px; overflow-wrap: anywhere; }
.inc-cta { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.inc-pager { padding-block: 40px 0; }
.inc-pager-row { display: flex; flex-wrap: wrap; gap: 1px; justify-content: space-between; }
.inc-pager-row a { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px; min-inline-size: 280px; background: var(--white); border: 1px solid var(--steel-200); color: var(--ink); transition: border-color .2s, background .2s; }
.inc-pager-row a:hover { border-color: var(--navy-900); }
.inc-pager-row a span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-2); }
.inc-pager-row a b { font-family: var(--f-display); font-size: 30px; font-weight: 600; color: var(--navy-900); }
.inc-next { text-align: end; margin-inline-start: auto; }
.inc-prev span::before { content: var(--arrow); display: inline-block; transform: scaleX(-1); margin-inline-end: 6px; }
.inc-next span::after { content: var(--arrow-after); }

@media (prefers-reduced-motion: reduce) {
  .inc-leaf, .inc-q { animation: none; }
  .inc-tile, .inc-tile b, .inc-card, .inc-card::before, .inc-card .inc-code, .inc-compare li, .faq summary::after { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .inc-hero-grid, .inc-choose { grid-template-columns: minmax(0, 1fr); }
  .inc-rule-head { grid-template-columns: minmax(0, 1fr); }
  .inc-rule-nav { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); }
  .inc-rule-body { grid-template-columns: minmax(0, 1fr); }
  .inc-glance { position: static; }
  .inc-rule-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inc-compare, .inc-changes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inc-journey { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 1px; }
}
@media (max-width: 900px) {
  .inc-head { grid-template-columns: minmax(0, 1fr); }
  .inc-head .lede { justify-self: start; }
  .inc-example { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .inc-hero::before, .inc-rule-hero::before { -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 100%); mask-image: linear-gradient(0deg, transparent 0%, #000 100%); }
  .inc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1px; }
  .inc-family-name { min-block-size: 0; }
  .inc-facts { grid-template-columns: auto auto minmax(0, 1fr); }
  .inc-facts div { padding-inline: 14px; }
  .inc-facts dd { font-size: 30px; white-space: normal; }
  .inc-facts dt { letter-spacing: 1px; }
  .inc-chapters { inset-block-start: var(--header-h); }
  .inc-chapters a { padding: 14px 14px 13px; font-size: 15px; }
  .inc-scroll-hint { display: block; }
  .inc-matrix tbody th { min-inline-size: 120px; }
  .inc-matrix tbody th span { display: none; }
  .inc-rule-cards { grid-template-columns: minmax(0, 1fr); }
  .inc-card .inc-code { font-size: 56px; }
  .inc-journey { grid-template-columns: minmax(0, 1fr); }
  .inc-journey li { flex-direction: row; flex-wrap: wrap; align-items: baseline; border-inline-end: 0; border-block-end: 1px solid rgba(255, 255, 255, .7); }
  .inc-journey li.pay-b { border-block-end-color: var(--steel-200); }
  .inc-journey li > span:last-child { margin-block-start: 0; padding-block-start: 0; margin-inline-start: auto; }
  .inc-journey li.risk-after::after, .inc-journey li.risk-before::before { inset-block: auto; inset-inline: -6px; block-size: 3px; inline-size: auto; }
  .inc-journey li.risk-after::after { inset-block-end: -2px; }
  .inc-journey li.risk-before::before { inset-block-start: -2px; }
  .inc-checklist, .inc-compare, .inc-changes { grid-template-columns: minmax(0, 1fr); }
  .inc-checklist li:nth-child(2) { border-block-start: 0; }
  .inc-pager-row a { min-inline-size: 0; flex: 1 1 100%; }
  .inc-next { text-align: start; }
  .inc-watermark { font-size: 200px; inset-block-end: auto; inset-block-start: 10px; }
}
.inc-shipping-cards { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
