/* Incident Core: public home page, scoped under .ih. The case-file identity: ink, oxblood, paper, condensed capitals. */
.ih { --ink:#1b1215; --ox:#7a1f36; --ox-deep:#561226; --paper:#f6f1ea; --line:#d9cfc2; --sig:#e0a04a; color:#1b1215; font-family: var(--font-body); }
.ih * { box-sizing: border-box; }
.ih section { margin: 0 !important; border-radius: 0; }
.ih-wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.ih-narrow { max-width: 52rem; }
.ih h1, .ih h2, .ih h3, .ih p { margin: 0; }
.ih h1, .ih h2, .ih h3 { font-family: var(--font-display); }
.ih-eyebrow { font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sig); margin-bottom: 1rem !important; }
.ih-dark { color: var(--ox); }
.ih-btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 2px; font-weight: 600; letter-spacing: .03em; text-decoration: none !important; border: 1px solid transparent; }
.ih-btn:focus-visible { outline: 3px solid var(--sig); outline-offset: 3px; }
.ih-btn-gold { background: var(--sig); color: var(--ink) !important; } .ih-btn-gold:hover { background: #ebb35f; }
.ih-btn-ghost { border-color: rgb(255 255 255 / .55); color: #fff !important; } .ih-btn-ghost:hover { background: rgb(255 255 255 / .1); }
.ih-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.25rem; }

/* hero: near-black, with an example record laid on it like a sheet of paper */
.ih-hero { background: var(--ink); color: #e8dde1; padding: clamp(3rem, 7vw, 6rem) 0 0; position: relative; overflow: hidden; }
.ih-hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 39px, rgb(255 255 255 / .035) 39px 40px); pointer-events: none; }
.ih-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; position: relative; }
.ih-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1; text-transform: uppercase; letter-spacing: .01em; font-weight: 700; }
.ih-hero h1 em { font-style: normal; color: var(--sig); }
.ih-lede { margin-top: 1.4rem !important; font-size: 1.15rem; line-height: 1.65; color: #d9ced2; max-width: 36rem; }
.ih-record { background: #fffdf9; color: var(--ink); padding: 1.4rem 1.5rem 1.2rem; border: 1px solid #fff; box-shadow: 10px 10px 0 var(--ox); transform: rotate(1.2deg); max-width: 30rem; margin-inline: auto; }
.ih-rec-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: .7rem; }
.ih-rec-ref { font-family: var(--font-mono); font-weight: 500; color: var(--ox); letter-spacing: .04em; }
.ih-rec-stamp { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; border: 2px solid var(--ox); color: var(--ox); padding: .1rem .6rem; transform: rotate(-3deg); }
.ih-record h3 { font-size: 1.55rem; text-transform: uppercase; margin: .9rem 0 .5rem; line-height: 1.05; }
.ih-record dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; font-size: .92rem; margin: 0 0 1rem; } .ih-record dt { color: #5c4f55; } .ih-record dd { margin: 0; font-weight: 600; }
.ih-rec-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.ih-rec-steps li { position: relative; padding: .38rem 0 .38rem 1.7rem; font-size: .92rem; border-top: 1px solid #eadfd2; }
.ih-rec-steps li::before { content: ''; position: absolute; left: .1rem; top: .7rem; width: .65rem; height: .65rem; background: var(--ox); border-radius: 50%; }
.ih-rec-steps li.todo { color: #7a6c72; } .ih-rec-steps li.todo::before { background: transparent; border: 2px solid #b5a7ad; }
.ih-rec-foot { margin-top: .9rem; padding-top: .7rem; border-top: 2px solid var(--ink); font-family: var(--font-mono); font-size: .78rem; color: #5c4f55; display: flex; justify-content: space-between; gap: 1rem; }
.ih-hero-note { text-align: center; font-size: .82rem; color: #b9a9af; margin-top: 1rem; }
.ih-facts { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgb(255 255 255 / .22); position: relative; }
.ih-facts li { padding: 1.4rem 1.6rem 1.8rem 0; } .ih-facts li + li { padding-left: 1.6rem; border-left: 1px solid rgb(255 255 255 / .22); }
.ih-facts strong { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; color: #fff; font-size: 1.15rem; margin-bottom: .3rem; }
.ih-facts span { display: block; line-height: 1.55; color: #cbbec3; }

/* body sections: paper and ruled lines, numbered headings */
.ih-sec { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--paper); }
.ih-sec-paper { background: #ebe3d8; }
.ih-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.ih h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.02; color: var(--ink); text-transform: uppercase; font-weight: 700; }
.ih-cols { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid var(--ink); counter-reset: c; }
.ih-cols article { padding: 1.4rem 1.4rem 1.8rem 0; border-bottom: 1px solid var(--line); counter-increment: c; }
.ih-cols article + article { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.ih-cols article::before { content: counter(c, decimal-leading-zero); display: block; font-family: var(--font-mono); font-size: .85rem; color: var(--ox); margin-bottom: .6rem; }
.ih-cols h3 { font-size: 1.3rem; text-transform: uppercase; color: var(--ink); margin-bottom: .6rem; line-height: 1.1; }
.ih-cols p { line-height: 1.6; }
.ih-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; position: relative; }
.ih-steps li { counter-increment: s; padding-top: 1rem; line-height: 1.55; border-top: 3px solid var(--ox); }
.ih-steps li::before { content: counter(s); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; background: var(--ink); color: #fff; font-family: var(--font-mono); margin-bottom: .7rem; }
.ih-steps b { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.2rem; letter-spacing: .03em; margin-bottom: .3rem; }
.ih-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.ih-split p { line-height: 1.65; margin-top: 1rem; }
.ih-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--ink); background: #fffdf9; box-shadow: 6px 6px 0 var(--line); }
.ih-list li { padding: .85rem 1.1rem; border-top: 1px solid var(--line); } .ih-list li:first-child { border-top: 0; }
.ih-suite { background: var(--ink); color: #e8dde1; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.ih-suite h2 { color: #fff; }
.ih-suitehead { max-width: 46rem; margin-bottom: 2rem; }
.ih-suitelead { margin-top: 1rem !important; font-size: 1.1rem; line-height: 1.65; color: #d9ced2; }
.ih-suitecols { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); margin-top: 2.5rem; }
.ih-suitecols h3 { color: var(--sig); text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem; margin-bottom: .6rem; }
.ih-suitecols ul { list-style: none; margin: 0; padding: 0; } .ih-suitecols li { padding: .6rem 0; border-top: 1px solid rgb(255 255 255 / .18); line-height: 1.55; color: #d9ced2; } .ih-suitecols strong { color: #fff; }
.ih-diagram figcaption a { color: var(--sig); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ih details { border-top: 1px solid var(--ink); padding: 1.2rem 0; } .ih details:last-of-type { border-bottom: 1px solid var(--ink); }
.ih summary { cursor: pointer; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.ih details p { margin-top: .7rem; line-height: 1.65; }
.ih-narrow h2 { margin-bottom: 1.5rem; }
.ih-demo { background: var(--ox); color: #f6e6ea; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.ih-demo h2 { color: #fff; margin-bottom: 1rem; } .ih-demo p { line-height: 1.6; margin-bottom: 1rem; }
.ih-roles { list-style: none; margin: 1.5rem 0; padding: 0; } .ih-roles li { padding: .6rem 0; border-top: 1px solid rgb(255 255 255 / .28); }
.ih-roles code { color: #fff; background: rgb(0 0 0 / .22); padding: .1rem .4rem; font-family: var(--font-mono); } .ih-roles span { color: var(--sig); margin-left: .5rem; }
.ih-small { font-size: .95rem; }
.ih-cols-5 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 62rem) { .ih-hero-grid, .ih-split, .ih-suitecols { grid-template-columns: 1fr; } .ih-cols, .ih-steps, .ih-cols-5 { grid-template-columns: 1fr 1fr; } .ih-cols article + article { border-left: 0; padding-left: 0; } .ih-cols article { padding-left: 0; } .ih-facts { grid-template-columns: 1fr; } .ih-facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgb(255 255 255 / .22); } .ih-record { transform: none; } }
@media (max-width: 40rem) { .ih-cols, .ih-steps, .ih-cols-5 { grid-template-columns: 1fr; } .ih-nt { font-size: 24px; } .ih-ns { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .ih-record, .ih-rec-stamp { transform: none; } }

/* Suite connectivity diagram (Care Core's style, used on every page) */
.ih-diagram { margin: 0; }
.ih-diagram svg { display: block; width: 100%; height: auto; }
.ih-diagram figcaption { margin-top: .75rem; font-size: .9rem; color: #b9c4c4; }
.ih-rings circle { fill: none; stroke: rgb(255 255 255 / .1); stroke-width: 1; }
.ih-live { fill: none; stroke: #d9b45a; stroke-width: 2.6; stroke-dasharray: 9 11; stroke-linecap: round; animation: ih-flow 2.4s linear infinite; }
.ih-rings circle { animation: ih-ring 5s ease-in-out infinite; } .ih-rings circle:nth-child(2) { animation-delay: 1s; } .ih-rings circle:nth-child(3) { animation-delay: 2s; }
@keyframes ih-flow { to { stroke-dashoffset: -20; } }
@keyframes ih-ring { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ih-live, .ih-rings circle { animation: none; } }
.ih-hub circle { fill: #5a1229; stroke: #d9b45a; stroke-width: 2.6; }
.ih-ht, .ih-hs, .ih-nt, .ih-ns { text-anchor: middle; }
.ih-ht { fill: #fff; font-family: 'Atkinson Hyperlegible', system-ui, sans-serif; font-size: 24px; font-weight: 600; }
.ih-hs { fill: #e6c3cf; font-size: 12.5px; }
.ih-node rect { fill: #1d3d44; stroke: rgb(255 255 255 / .3); stroke-width: 1.5; }
.ih-nt { fill: #fff; font-family: 'Atkinson Hyperlegible', system-ui, sans-serif; font-size: 20px; font-weight: 600; }
.ih-ns { fill: #c4bdae; font-size: 12.5px; }
.ih-here rect { stroke: #d9b45a; stroke-width: 3; fill: #24474f; }
.ih-here .ih-ns { fill: #d9b45a; font-weight: 700; }
.ih-link { cursor: pointer; }
.ih-link:hover .ih-node rect { stroke-width: 3; stroke: #fff; }
.ih-link:hover .ih-hub circle { stroke-width: 4; }
.ih-link:focus-visible { outline: 3px solid #d9b45a; outline-offset: 4px; }
@media (max-width: 48rem) { .ih-suitecols { grid-template-columns: 1fr; } .ih-nt { font-size: 24px; } .ih-ns { font-size: 15px; } }
