
            @font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-mono-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-mono-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-mono-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-mono-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-sans-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-sans-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-sans-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-sans-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-sans-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-sans-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-sans-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-sans-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-sans-arabic-400-arabic.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-sans-arabic-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-sans-arabic-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-sans-arabic-500-arabic.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-sans-arabic-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-sans-arabic-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-sans-arabic-700-arabic.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-sans-arabic-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url('../../assets/fonts/plex/ibm-plex-sans-arabic-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
            :root {
                color-scheme: light;
                --ink: #16131A;
                --red: #C3122F;
                --oxblood: #7D0C20;
                --paper: #F6F2EA;
                --rule: #E9E2D5;
                --soft: #EFE9DE;
                --line: #CFC6B6;
                --grey: #5A5560;
                --body: #4A4550;
                --on-ink: #F6F2EA;
                --on-ink-muted: #B9B2BF;
                --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
                --arabic: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
                --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
                --radius: 16px;
                --header-height: 80px;
            }
            *, *::before, *::after { box-sizing: border-box; }
            html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
            @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
            body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.7; }
            img, svg { max-width: 100%; }
            a { color: var(--red); text-underline-offset: 3px; }
            a:hover { color: var(--oxblood); }
            :focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
            h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
            p { margin: 0; }
            .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
            [lang="ar"], [dir="rtl"] { font-family: var(--arabic); }
            .skip { position: absolute; left: 16px; top: -200px; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: 6px; z-index: 10; }
            .skip:focus { top: 8px; color: var(--on-ink); }

            .wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }
            .grid-paper { background-color: var(--paper); background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 24px 24px; }
            .kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
            .mono { font-family: var(--mono); }

            /* Header */
            .site-header { border-bottom: 1px solid var(--rule); background: rgb(255 253 249 / 0.96); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(6px); }
            .site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 14px; padding-bottom: 14px; }
            .brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: 0.04em; }
            .brand img { width: 44px; height: 44px; }
            .site-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; flex: 1 1 auto; font-size: 15px; }
            .site-nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
            .site-nav a:hover, .site-nav a[aria-current] { color: var(--red); }
            .site-nav a[aria-current] { box-shadow: inset 0 -2px var(--red); }
            .header-actions { display: flex; align-items: center; gap: 10px; }
            .stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
            .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
            .btn-red { background: var(--red); color: #fff; }
            .btn-red:hover { background: var(--oxblood); color: #fff; }
            .btn-ink { background: var(--ink); color: #fff; }
            .btn-ink:hover { background: #2E2934; color: #fff; }
            .btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
            .btn-line:hover { border-color: var(--ink); color: var(--ink); }
            .btn-on-ink { background: var(--on-ink); color: var(--ink); }
            .btn-on-ink:hover { background: #fff; color: var(--ink); }
            .btn small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
            .btn .stack { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
            .btn-sm { min-height: 44px; padding: 8px 16px; font-size: 15px; }
            @media (max-width: 760px) {
                .site-nav { order: 3; flex-basis: 100%; gap: 0 20px; }
                .header-actions { margin-inline-start: auto; }
                .header-actions .btn-red { display: none; }
            }

            /* Shared page surfaces and reading rhythm. */
            main { min-width: 0; }
            h1, h2, h3, p, li { overflow-wrap: break-word; }
            [lang="en"], bdi { font-family: var(--sans); }
            [data-reading-section], [id] { scroll-margin-top: calc(var(--header-height) + 24px); }
            [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.4; letter-spacing: 0; }
            [dir="rtl"] p, [dir="rtl"] li { line-height: 1.9; }
            .doc-wrap { padding: 44px 0 64px; }
            .doc { max-width: 1120px; margin: 0 auto; }
            .page-intro { max-width: 820px; display: grid; gap: 14px; margin-bottom: 32px; }
            .page-intro h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); text-wrap: balance; }
            .page-intro > p:last-child { font-size: 19px; color: var(--body); }
            .section-title { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 20px; }
            .card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
            .info-card { padding: clamp(22px, 3vw, 32px); background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); display: grid; gap: 14px; align-content: start; min-width: 0; }
            .info-card h2, .info-card h3 { font-size: 1.35rem; }
            .info-card p { color: var(--body); }
            .card-label { color: var(--red); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
            .text-link { font-weight: 600; text-decoration-thickness: 1px; }
            .detail-stack { display: grid; gap: 18px; }
            .feature-detail { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 32px; padding: clamp(24px, 4vw, 36px); background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); }
            .feature-detail header { display: grid; align-content: start; gap: 12px; }
            .feature-detail h2 { font-size: 1.6rem; }
            .feature-detail p { color: var(--body); font-size: 16px; }
            .detail-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
            .detail-list li { border-inline-start: 2px solid var(--rule); padding-inline-start: 16px; color: var(--body); font-size: 16px; }
            .download-panel { margin-top: 28px; border-radius: var(--radius); background: var(--ink); color: var(--on-ink); padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
            .download-panel h2 { font-size: 1.5rem; }
            .download-panel p { color: var(--on-ink-muted); }
            .download-panel .stores { margin-top: 0; }
            .about-section { margin-top: 32px; }
            .founder-card { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); }
            .founder-photo { display: block; width: 260px; height: 260px; object-fit: cover; border-radius: 12px; }
            .founder-copy { display: grid; gap: 12px; justify-items: start; }
            .founder-copy h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); max-width: 760px; }
            .founder-copy p { color: var(--body); }
            .founder-copy .kicker { color: var(--red); }
            .collaborators-section { margin-block-start: 32px; }
            .collaborators-section > h3 { margin-block-end: 24px; }
            .collaborators-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr)); gap: 24px; }
            .collaborator-card { display: grid; grid-template-columns: 144px minmax(0, 1fr); align-items: start; gap: 24px; padding: 24px; border: 1px solid var(--rule); border-block-start: 3px solid var(--teal); border-radius: var(--radius); background: #fff; }
            .collaborator-photo { display: block; width: 144px; height: 190px; object-fit: contain; object-position: center top; background: var(--teal-wash); border-radius: 12px; }
            .collaborator-card > div { min-width: 0; display: grid; gap: 12px; }
            .collaborator-card h4 { font-size: 1.2rem; line-height: 1.4; margin: 0; }
            .collaborator-card p { color: var(--body); }
            .collaborator-email { display: inline-block; overflow-wrap: anywhere; font-size: 15px; }
            .collaboration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
            .collaboration-grid .info-card { background: var(--soft); border-color: transparent; padding: 24px; }
            .collaboration-organization { grid-column: 1 / -1; }
            .collaboration-grid h3 { font-size: 1.05rem; }
            .collaboration-grid p { font-size: 15px; }
            .contact-card { min-height: 260px; }
            .contact-card .btn { justify-self: start; align-self: end; }
            .contact-note { margin-top: 24px; padding: 20px 24px; border-inline-start: 3px solid var(--red); background: var(--soft); border-radius: 0 12px 12px 0; }
            .contact-note h2 { font-size: 1.1rem; margin-bottom: 6px; }
            .contents { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 18px; }
            .contents summary { font-size: 15px; font-weight: 600; cursor: pointer; padding: 4px 0; }
            .contents nav { margin-top: 12px; }
            .contents ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
            .contents a { display: block; padding: 7px 12px; border-inline-start: 2px solid transparent; color: var(--grey); font-size: 14px; line-height: 1.6; text-decoration: none; border-radius: 0 6px 6px 0; }
            .contents a:hover { background: var(--paper); color: var(--ink); }
            .contents a[aria-current="location"] { color: var(--red); background: #FCF0F2; border-inline-start-color: var(--red); font-weight: 600; }
            .policy-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
            .policy-layout > aside { position: sticky; top: calc(var(--header-height) + 20px); }
            .policy-prose { min-width: 0; }
            .policy-section { padding: 24px 28px; margin-bottom: 16px; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; }
            .policy-section h2 { font-size: 1.25rem; margin-bottom: 14px; }
            .policy-section p, .policy-section li { font-size: 16px; color: var(--body); }
            .policy-section p + p, .policy-section p + ul, .policy-section ul + p { margin-top: 12px; }
            .policy-section ul { padding-inline-start: 20px; }
            .policy-section li + li { margin-top: 8px; }
            @media (max-width: 900px) {
                .policy-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
                .policy-layout > aside { position: static; }
                .feature-detail { grid-template-columns: minmax(0, 1fr); gap: 20px; }
            }
            @media (max-width: 640px) {
                .doc-wrap { padding: 28px 0 40px; }
                .card-grid, .collaboration-grid { grid-template-columns: minmax(0, 1fr); }
                .founder-card { grid-template-columns: minmax(0, 1fr); }
                .founder-photo { width: 220px; height: 220px; }
                .page-intro > p:last-child { font-size: 17px; }
                .policy-section { padding: 22px; }
                .download-panel { padding: 24px; }
                .site-nav { justify-content: space-between; font-size: 14px; }
            }

            /* Footer */
            .site-footer { background: var(--ink); color: var(--on-ink-muted); padding: 56px 0 40px; font-size: 15px; border-top: 1px solid #2E2934; }
            [dir="rtl"] .kicker { letter-spacing: 0; text-transform: none; font-family: var(--arabic); font-size: 15px; }
            .site-footer .wrap { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
            .site-footer a { color: var(--on-ink); text-decoration: none; }
            .site-footer a:hover { color: #fff; text-decoration: underline; }
            .site-footer .brand { color: var(--on-ink); }
            .site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
            .site-footer .fine { grid-column: 1 / -1; border-top: 1px solid #2E2934; padding-top: 24px; font-size: 13px; }

            .egfr-tool { container-type: inline-size; min-width: 0; }
.egfr-tool > h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-block: 0 12px; }
.egfr-tool .egfr-intro { max-width: 800px; color: var(--body); margin-bottom: 24px; }
.egfr-form { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-block: 24px; }
.egfr-workspace { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.egfr-inputs, .egfr-results { padding: clamp(20px, 3vw, 32px); min-width: 0; }
.egfr-tool h3 { font-size: 1.15rem; margin: 0 0 18px; }
.egfr-results { background: var(--paper); border-inline-start: 1px solid var(--rule); }
.egfr-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.egfr-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.egfr-form input, .egfr-form select { font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 8px; min-height: 48px; padding: 10px 12px; width: 100%; min-width: 0; color: var(--ink); background: #fff; }
.egfr-form input { direction: ltr; }
.egfr-form input[aria-invalid="true"] { border-color: var(--red); outline: 1px solid var(--red); }
.egfr-tool .egfr-help { font-size: 13px; color: var(--grey); line-height: 1.7; margin-block: 12px; }
.egfr-tool .egfr-error { color: var(--red); margin-top: 12px; }
.egfr-advanced { border-block: 1px solid var(--rule); margin-top: 20px; padding-block: 16px; }
.egfr-advanced summary, .egfr-sources summary { cursor: pointer; font-size: 15px; font-weight: 600; }
.egfr-advanced summary span { color: var(--grey); font-size: 12px; margin-inline-start: 8px; }
.egfr-advanced[open] summary { margin-bottom: 18px; }
.egfr-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.egfr-form button { font: inherit; cursor: pointer; }
.egfr-comparison { margin: 16px 0 24px; padding: 0; }
.egfr-comparison > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); padding-block: 14px; }
.egfr-comparison dt { font-size: 14px; }
.egfr-comparison dd { margin: 0; font-size: 28px; font-weight: 600; direction: ltr; font-variant-numeric: tabular-nums; }
.egfr-interpretation { margin: 16px 0; }
.egfr-interpretation > div { padding-block: 10px; }
.egfr-interpretation dt { color: var(--grey); font-size: 13px; }
.egfr-interpretation dd { margin: 5px 0 0; font-size: 15px; }
#egfr-cat { display: inline-block; background: var(--ink); color: #fff; border-radius: 5px; padding: 2px 8px; margin-inline-end: 6px; }
#egfr-description { display: inline-block; }
#egfr-placeholder { border: 1px dashed var(--line); padding: 24px; border-radius: 10px; margin-top: 20px; }
#calc-note { padding: 16px 24px; border-top: 1px solid var(--rule); margin: 0; }
.egfr-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 20px; }
.egfr-notes > div { border-inline-start: 3px solid var(--red); padding-inline-start: 18px; }
.egfr-notes p { color: var(--body); font-size: 14px; line-height: 1.8; }
.egfr-notes h3 { margin-bottom: 10px; }
.egfr-sources { margin-top: 20px; font-size: 14px; }
.egfr-sources ul { padding-inline-start: 22px; }
.egfr-tool [hidden] { display: none !important; }
@container (max-width: 760px) {
    .egfr-workspace, .egfr-notes { grid-template-columns: minmax(0, 1fr); }
    .egfr-results { border-inline-start: 0; border-top: 1px solid var(--rule); }
}
@container (max-width: 380px) {
    .egfr-fields { grid-template-columns: minmax(0, 1fr); }
    .egfr-comparison > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

.egfr-form { box-shadow: 0 12px 36px rgb(22 19 26 / .045); }
.egfr-modes { padding: 0; border: 0; min-width: 0; margin: 0 0 26px; }
.egfr-modes legend { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.egfr-mode-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 5px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; }
.egfr-mode-options label { position: relative; cursor: pointer; min-width: 0; }
.egfr-mode-options input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; }
.egfr-mode-options span { min-height: 44px; padding: 10px 6px; display: grid; place-items: center; text-align: center; border: 1px solid transparent; border-radius: 8px; font-size: 13px; color: var(--grey); }
.egfr-mode-options input:checked + span { background: #fff; color: var(--red); border-color: var(--line); box-shadow: 0 2px 5px rgb(22 19 26 / .05); }
.egfr-mode-options input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.egfr-step { display: flex; align-items: center; gap: 10px; margin-top: 24px !important; font-size: 14px !important; }
.egfr-step > span { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--rule); border-radius: 50%; color: var(--grey); font: 11px var(--mono); }
.egfr-actions > .btn-red { flex: 1; justify-content: center; }
.egfr-results { background: linear-gradient(150deg, #fbf8f2, #f2ede4); }
.egfr-results h3 { font-size: 13px; font-weight: 500; color: var(--grey); }
.egfr-primary { padding-block: 18px; }
.egfr-result-label { color: var(--grey); font-size: 13px; }
#egfr-primary-value { display: block; text-align: start; font-size: clamp(3.5rem, 8cqi, 5rem); font-weight: 700; line-height: 1.15; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; margin-block: 6px; }
.egfr-result-unit { font-size: 14px; color: var(--grey); text-align: start; }
#egfr-primary-method { font-size: 12px; color: var(--body); margin-top: 12px; }
#egfr-placeholder { border: 0; padding: 26px 0; margin-top: 0; }
.egfr-empty-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; font-size: 28px; margin-bottom: 22px; color: var(--grey); }
.egfr-empty-title { font-size: 20px; font-weight: 600; }
.egfr-empty-value { font-size: 60px; letter-spacing: .08em; color: var(--line); line-height: 1.2; margin-top: 28px; }
.egfr-interpretation { border-block: 1px solid var(--line); padding-block: 6px; }
.egfr-category-scale { list-style: none; padding: 0 !important; margin: 18px 0 !important; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; direction: ltr; }
.egfr-category-scale li { display: grid; gap: 4px; text-align: center; padding: 8px 2px; margin: 0 !important; border: 1px solid var(--line); border-radius: 7px; color: var(--grey); font-size: 11px; }
.egfr-category-scale strong { font-size: 12px; }
.egfr-category-scale li.is-current { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 2px 5px rgb(22 19 26 / .1); }
.egfr-compare { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.egfr-compare summary { cursor: pointer; font-size: 14px; font-weight: 500; }
.egfr-compare .egfr-comparison dd { font-size: 22px; }
.egfr-compare label { font-size: 12px; }
.egfr-compare select { font-size: 13px; }
.egfr-important { background: var(--paper); padding: 14px 18px; border-inline-start: 3px solid var(--red); font-size: 14px; color: var(--body); border-radius: 6px; }
.egfr-clinical { border-bottom: 1px solid var(--rule); padding-block: 18px; margin-bottom: 18px; }
.egfr-clinical > summary { cursor: pointer; font-size: 15px; font-weight: 600; }
.egfr-clinical .egfr-notes { margin-top: 22px; }
@container (max-width: 760px) {
    .egfr-results { padding-block: 24px; }
    .egfr-primary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; align-items: end; }
    .egfr-result-label, #egfr-primary-method { grid-column: 1 / -1; }
    #egfr-primary-value { font-size: 56px; }
    .egfr-result-unit { margin-bottom: 14px; font-size: 12px; }
}
@container (max-width: 380px) {
    .egfr-mode-options span { font-size: 12px; padding-inline: 2px; }
    .egfr-lab-fields { grid-template-columns: minmax(0, 1fr) !important; }
    .egfr-category-scale { gap: 3px; }
    .egfr-category-scale li { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { .egfr-tool * { scroll-behavior: auto; } }

.egfr-choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.egfr-choice legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.egfr-choice-options { display: flex; align-items: stretch; flex-wrap: wrap; gap: 8px; }
.egfr-choice-options label { display: flex; flex: 1 1 auto; align-items: center; gap: 9px; min-height: 48px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; cursor: pointer; font-size: 14px; font-weight: 500; }
.egfr-choice-options input[type="radio"] { appearance: auto; flex: none; width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; accent-color: var(--red); }
.egfr-choice-options label:has(input:checked) { border-color: var(--red); background: #fff5f6; }
.egfr-choice-options label:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.egfr-choice-options span { overflow-wrap: anywhere; }
.egfr-compare .egfr-choice-options { flex-direction: column; }
.egfr-compare .egfr-choice-options label { font-size: 13px; }

.egfr-ckd { padding: clamp(20px, 3vw, 32px); border-top: 1px solid var(--rule); background: #fff; }
.egfr-ckd h2 { font-size: 1.5rem; margin: 0 0 14px; }
.egfr-ckd > p, .egfr-ckd > ul { font-size: 15px; color: var(--body); margin-block: 12px; }
.egfr-ckd > ul { padding-inline-start: 22px; }
.egfr-ckd #ckd-method { margin-block: 24px; }
.egfr-ckd #ckd-method .egfr-choice-options { flex-direction: column; }
.egfr-ckd > .egfr-fields { max-width: 640px; margin-top: 20px; }
.egfr-ckd-profile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 24px 0; }
.egfr-ckd-profile > div { padding: 18px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); }
.egfr-ckd-profile dt { font-size: 13px; color: var(--grey); }
.egfr-ckd-profile dd { font-size: 23px; font-weight: 600; margin: 8px 0 0; }
.egfr-compact .egfr-inputs, .egfr-compact .egfr-results { padding: 24px; }
.egfr-compact .egfr-modes { margin-bottom: 16px; }
.egfr-compact .egfr-step { margin-top: 16px !important; }
.egfr-compact .egfr-form { margin-bottom: 16px; }
@container (max-width: 600px) { .egfr-ckd-profile { grid-template-columns: minmax(0, 1fr); } }

.egfr-detailed #egfr-placeholder { display: none; }
.egfr-equation-results .egfr-comparison { margin-block: 12px 20px; }
.egfr-equation-results .egfr-comparison > div { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 18px; }
.egfr-equation-results .egfr-comparison > div:first-child { border-top: 1px solid var(--line); }
.egfr-equation-results .egfr-comparison dt { font-size: 15px; }
.egfr-equation-results .egfr-comparison dd { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 24px; }
.egfr-equation-results output { display: inline-flex; align-items: center; min-width: 110px; min-height: 54px; padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.egfr-equation-unit { font-size: 12px; font-weight: 400; color: var(--grey); }

.calculator-promo { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: clamp(24px, 3vw, 40px); padding: clamp(26px, 4vw, 48px); border: 1px solid #ad1538; border-radius: 20px; background: radial-gradient(ellipse at 100% 0%, #e43a55 0%, transparent 55%), linear-gradient(120deg, #6f0926, #bd1038); color: #fff; box-shadow: 0 16px 36px rgb(120 9 38 / .12); }
.calculator-promo::after { content: ''; position: absolute; z-index: -1; width: 300px; height: 300px; border: 1px solid rgb(255 255 255 / .12); border-radius: 50%; inset-inline-end: -130px; bottom: -170px; box-shadow: 0 0 0 45px rgb(255 255 255 / .035), 0 0 0 90px rgb(255 255 255 / .025); pointer-events: none; }
.calculator-promo-icon { display: grid; place-items: center; flex: none; width: 94px; height: 110px; border: 1px solid rgb(255 255 255 / .24); border-radius: 20px; background: rgb(255 255 255 / .1); transform: rotate(-6deg); }
.calculator-promo-copy { flex: 1; min-width: 0; }
.calculator-promo .calculator-promo-eyebrow { color: #ffe1e8; font-size: 12px; font-weight: 600; margin: 0 0 10px; }
.calculator-promo h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.3; margin: 0 0 12px; text-wrap: balance; }
.calculator-promo-copy > p { color: #ffe8ed; font-size: 16px; line-height: 1.75; margin: 0; }
.calculator-promo-tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0 !important; margin: 18px 0 0 !important; }
.calculator-promo-tags li { color: #ffe8ed; border: 1px solid rgb(255 255 255 / .22); border-radius: 6px; font-size: 11px; padding: 4px 8px; margin: 0 !important; }
.calculator-promo-button { display: inline-flex; flex: none; justify-content: center; align-items: center; gap: 18px; min-height: 52px; padding: 14px 20px; background: #fff; color: #8f0c2e; border: 1px solid #fff; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 12px rgb(62 0 17 / .12); }
.calculator-promo-button:hover { background: #fff0f4; color: #6f0926; }
.calculator-promo-button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.guide-article .calculator-promo { flex-wrap: wrap; margin-block: 22px; padding: 26px; }
.guide-article .calculator-promo-icon { display: none; }
.guide-article .calculator-promo-copy { flex-basis: 100%; }
@media (max-width: 1000px) { .calculator-promo { flex-wrap: wrap; } .calculator-promo-button { margin-inline-start: 134px; } .guide-article .calculator-promo-button { margin-inline-start: 0; } }
@media (max-width: 600px) { .calculator-promo { gap: 20px; } .calculator-promo-icon { width: 60px; height: 70px; border-radius: 14px; } .calculator-promo-icon svg { width: 42px; height: 42px; } .calculator-promo-copy { flex-basis: calc(100% - 80px); } .calculator-promo h2 { font-size: 1.5rem; } .calculator-promo-button { width: 100%; margin-inline-start: 0; } .calculator-promo-tags { gap: 5px; } }
.egfr-choice[aria-invalid="true"] .egfr-choice-options { outline: 1px solid var(--red); outline-offset: 4px; border-radius: 8px; }
                .band { padding: clamp(40px, 5vw, 64px) 0; }
    .band-white { background: #fff; border-block: 1px solid var(--rule); }
    .band-ink { background: var(--ink); color: var(--on-ink); }
    .band-ink p { color: var(--on-ink-muted); }
    .section-head { display: grid; gap: 10px; max-width: 760px; margin-bottom: 28px; }
    .section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-wrap: balance; }
    .section-head p { color: var(--body); }
    .hero { padding: clamp(36px, 5vw, 64px) 0; }
    .hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 64px); }
    .hero-copy { min-width: 0; display: grid; gap: 20px; }
    .hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
    .hero h1 .brand-line { display: block; font-size: 12px; font-family: var(--mono); letter-spacing: .08em; line-height: 1.6; color: var(--grey); margin-bottom: 18px; text-transform: uppercase; }
    .hero h1 em { font-style: normal; color: var(--red); }
    .hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--body); max-width: 600px; }
    .hero-sheet { min-width: 0; }
    .sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 48px rgb(22 19 26 / .07); overflow: hidden; }
    .sheet-head { background: var(--ink); color: var(--on-ink); padding: 14px 18px; display: flex; justify-content: space-between; gap: 10px; font-size: 12px; }
    .sheet-head span + span { color: var(--on-ink-muted); }
    .sheet-body { padding: 18px 18px 6px; }
    .sheet-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--grey); }
    .curve { display: block; width: 100%; height: auto; margin-top: 6px; }
    .sheet dl { margin: 0; padding: 4px 18px 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
    .sheet dl div { padding: 12px 0; border-top: 1px solid var(--soft); }
    .sheet dt { font-size: 12px; color: var(--grey); }
    .sheet dd { margin: 4px 0 0; font-size: 15px; }
    .sheet dd.ok { color: var(--red); font-weight: 600; }
    .hero-sheet figcaption { margin-top: 12px; font-size: 12px; color: var(--grey); }
    .strip { background: #fff; border-block: 1px solid var(--rule); }
    .strip .wrap { padding-block: 18px; color: var(--body); font-size: 15px; }
    .features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .feature { padding: 24px; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; display: grid; gap: 12px; align-content: start; color: var(--ink); text-decoration: none; min-width: 0; }
    a.feature:hover { border-color: var(--red); color: var(--ink); }
    .feature .num { font-family: var(--mono); font-size: 12px; color: var(--red); }
    .feature h3 { font-size: 1.25rem; }
    .feature p { color: var(--body); font-size: 16px; }
    .feature .text-link { font-size: 14px; color: var(--red); }
    .workflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
    .workflow li { border-top: 2px solid var(--line); padding-top: 18px; }
    .workflow h3 { font-size: 1.15rem; margin: 8px 0; }
    .workflow p { font-size: 15px; color: var(--body); }
    .clinical-note { margin-top: 24px; padding: 18px 22px; background: var(--paper); border-inline-start: 3px solid var(--red); border-radius: 8px; font-size: 15px; color: var(--body); }
    .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; align-items: start; }
    .faq details { border: 1px solid var(--rule); border-radius: 12px; padding: 0 20px; background: #fff; }
    .faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; padding: 20px 0; }
    .faq summary::-webkit-details-marker { display: none; }
    .faq summary::after { content: '+'; flex: none; color: var(--red); font-size: 22px; }
    .faq details[open] summary::after { content: '−'; }
    .faq h3 { font-size: 1.05rem; }
    .faq .faq-answer { padding-bottom: 20px; color: var(--body); font-size: 16px; }
    .faq .stores { gap: 8px; }
    .faq .stores .btn { padding: 10px 14px; font-size: 14px; }
    .download .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
    .download h2 { font-size: clamp(2rem, 4vw, 3rem); }
    .download .stack-col { display: grid; gap: 14px; }
    .download .kicker { color: var(--on-ink-muted); }
    .download .mark { width: 88px; height: 88px; }
    .contact-line a { color: var(--on-ink); }
    [dir="rtl"] .hero h1 { line-height: 1.35; letter-spacing: 0; }
    [dir="rtl"] .hero h1 .brand-line { font-family: var(--arabic); letter-spacing: 0; }
    @media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } .workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (max-width: 700px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero-sheet { max-width: 520px; width: 100%; margin-inline: auto !important; } }
    @media (max-width: 520px) { .features, .faq { grid-template-columns: minmax(0, 1fr); } .feature { padding: 22px; } .workflow { gap: 20px 16px; } }
            /* Shared accents for every public page; clinical results retain neutral category styling. */
:root {
    --teal: #176963;
    --teal-deep: #124e4a;
    --teal-wash: #edf7f4;
    --rose-wash: #fff1f3;
    --amber: #895c16;
    --amber-wash: #fff8e9;
}
.site-header { border-top: 3px solid var(--red); box-shadow: 0 3px 18px rgb(22 19 26 / .025); }
.site-nav a:hover { background: linear-gradient(transparent 75%, var(--rose-wash) 75%); }
.btn-red { box-shadow: 0 4px 10px rgb(195 18 47 / .12); }
.btn-line:hover { background: var(--teal-wash); border-color: var(--teal); color: var(--teal-deep); }
.hero.grid-paper, .guide-head.grid-paper {
    background-image: radial-gradient(ellipse at 90% 12%, rgb(245 207 215 / .52), transparent 48%), radial-gradient(ellipse at 5% 90%, rgb(200 231 222 / .5), transparent 45%), linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px);
    background-size: auto, auto, 24px 24px, 24px 24px;
}
.hero .hero-sheet .sheet { box-shadow: 0 18px 48px rgb(84 36 47 / .1); }
.hero .sheet-head { background: linear-gradient(110deg, #27202b, #4d1930); }
.strip { border-bottom-color: #d6e8e1; background: var(--teal-wash); }
.strip strong { color: var(--teal-deep); }
.page-intro {
    max-width: none;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid #d8e7e0;
    border-inline-start: 4px solid var(--teal);
    border-radius: var(--radius);
    background: linear-gradient(110deg, #fff 30%, var(--teal-wash));
}
.page-intro > p, .page-intro h1 { max-width: 820px; }
.page-intro .kicker { color: var(--teal); }
.section-head::before { content: ''; display: block; height: 4px; width: 40px; border-radius: 4px; background: var(--teal); margin-bottom: 4px; }
#guides .section-head::before { background: var(--red); }
#faq .section-head::before { background: var(--amber); }
.feature, .info-card, .feature-detail, .guide-card {
    --surface-accent: var(--teal);
    --surface-wash: var(--teal-wash);
    border-top: 3px solid var(--surface-accent);
    background: linear-gradient(145deg, var(--surface-wash), #fff 62%);
}
.features > .feature:nth-child(3n + 2), .card-grid > .info-card:nth-child(2n), .detail-stack > .feature-detail:nth-child(3n + 2), .guide-cards > .guide-card:nth-child(3n + 2) {
    --surface-accent: var(--red);
    --surface-wash: var(--rose-wash);
}
.features > .feature:nth-child(3n), .detail-stack > .feature-detail:nth-child(3n), .guide-cards > .guide-card:nth-child(3n) {
    --surface-accent: var(--amber);
    --surface-wash: var(--amber-wash);
}
.feature .num, .guide-card .num, .info-card .card-label, .feature-detail .card-label {
    display: inline-flex; align-items: center; justify-content: center; justify-self: start;
    min-width: 34px; min-height: 30px; padding: 4px 9px; border: 1px solid currentColor;
    border-radius: 8px; color: var(--surface-accent); background: #fff;
}
.feature .text-link, .guide-card .text-link { color: var(--surface-accent); }
.detail-list li { border-inline-start-color: var(--surface-accent); }
@media (hover: hover) {
    a.feature:hover, a.guide-card:hover { border-color: var(--surface-accent); box-shadow: 0 8px 22px rgb(22 19 26 / .065); }
}
#registry.band-white { background: linear-gradient(180deg, #fff, #f0f7f4); }
.workflow li { border-top-color: #77a69b; }
.workflow .card-label { color: var(--teal); }
.clinical-note { border-inline-start-color: var(--teal); background: #e6f1ec; }
.founder-card { border-color: #d9e7e1; background: linear-gradient(120deg, #fff 45%, var(--teal-wash)); }
.founder-photo { box-shadow: 0 0 0 5px #fff, 0 0 0 6px #c5ddd3; }
.collaboration-grid .info-card { background: var(--teal-wash); border-color: #d6e8df; }
.collaboration-grid .info-card:nth-child(2) { --surface-accent: var(--amber); background: var(--amber-wash); border-color: #eee0c4; }
.contact-card .card-label { margin-bottom: 4px; }
.contact-note { background: var(--teal-wash); border-inline-start-color: var(--teal); }
.faq details { border-top: 2px solid #d9c698; background: linear-gradient(135deg, var(--amber-wash), #fff 45%); }
.faq details[open] { border-color: #c7a86b; }
.faq summary::after { color: var(--amber); }
.contents { border-top: 3px solid var(--teal); }
.contents summary { color: var(--teal-deep); }
.policy-section { border-inline-start: 3px solid #bdd7cc; }
.policy-section h2 { color: var(--teal-deep); }
.guide-head .meta { display: inline-block; justify-self: start; padding: 5px 10px; border: 1px solid #d3e2db; border-radius: 6px; background: #f1f8f4; color: var(--teal-deep); }
.guide-article { border-top: 3px solid #abcfc2; }
.guide-article.prose > h2 { border-top-color: #d4e5dd; }
.callout.key { background: linear-gradient(120deg, #173c39, #245b53); border-color: #245b53; }
.callout.key p, .callout.key li, .callout.key .kicker { color: #e1f0e9; }
.prose thead th { background: var(--teal-deep); color: #fff; }
.prose tbody tr:nth-child(even) { background: #f3f8f5; }
.side-card { background: var(--teal-wash); border-color: #d1e3da; }
.formula { background: #f4f8f5; border-color: #d4e5dc; }
.download-panel, .band-ink.download { background: linear-gradient(115deg, #24202d, #4a1730); }
.site-footer { background: linear-gradient(120deg, #1b1822, #242430); border-top: 3px solid #6e3246; }
.egfr-form { border-top: 3px solid var(--teal); }
.egfr-results { background: linear-gradient(145deg, #edf7f3, #f5f8f4); }
.egfr-step > span { border-color: #c7ddd2; color: var(--teal); background: var(--teal-wash); }
.egfr-empty-icon { color: var(--teal); border-color: #c7ddd2; }
.egfr-ckd { background: linear-gradient(180deg, #fff, #f5f9f6); }
.egfr-ckd h2 { color: var(--teal-deep); }
.egfr-important { background: var(--amber-wash); border-inline-start-color: var(--amber); }

/* Quieter reading surfaces and compact tool introduction. */
.doc-wrap.grid-paper { background-image: none; }
.guide-head.grid-paper { background-image: radial-gradient(ellipse at 90% 12%, rgb(245 207 215 / .3), transparent 55%), radial-gradient(ellipse at 5% 90%, rgb(200 231 222 / .3), transparent 50%); background-size: auto; }
.page-intro.calculator-intro { padding: clamp(18px, 2vw, 24px); gap: 8px; margin-bottom: 24px; }
.calculator-intro h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.page-intro.calculator-intro > p:last-child { font-size: 17px; }
.feature-groups { display: grid; gap: 24px; min-width: 0; }
.feature-group h3 { font-size: 1.05rem; margin-block-end: 12px; color: var(--teal-deep); }
.feature-group .detail-list { gap: 10px; }
.guide-review { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 14px 18px; border: 1px solid #d3e2db; border-radius: 10px; background: #fff; font-size: 15px; color: var(--body); }
html[lang="ar"] .site-nav { font-size: 17px; }
html[lang="ar"] body { font-family: var(--arabic); }
html[lang="ar"] .btn, html[lang="ar"] .btn-sm { font-size: 17px; }
html[lang="ar"] .feature-detail p, html[lang="ar"] .detail-list li, html[lang="ar"] .prose p, html[lang="ar"] .prose li { font-size: 18px; }
html[lang="ar"] .policy-section p, html[lang="ar"] .policy-section li { font-size: 18px; }
html[lang="ar"] .feature p, html[lang="ar"] .footer-download > p { font-size: 16px; }
html[lang="ar"] .kicker { font-family: var(--arabic); font-size: 15px; letter-spacing: 0; }
html[lang="ar"] .egfr-form label, html[lang="ar"] .egfr-modes legend, html[lang="ar"] .egfr-mode-options span { font-size: 16px; }
html[lang="ar"] .egfr-tool .egfr-help, html[lang="ar"] .egfr-notes p, html[lang="ar"] .egfr-important, html[lang="ar"] .meta, html[lang="ar"] .crumbs { font-size: 15px; }
@media (max-width: 520px) {
    .collaborator-card { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .collaborator-photo { width: 144px; height: 190px; }
    html[lang="ar"] .site-nav { gap: 0 16px; }
}

.stores .store-button { min-width: 178px; min-height: 60px; padding: 12px 18px; gap: 12px; box-shadow: 0 3px 10px rgb(22 19 26 / .06); }
.stores .store-button svg { flex: none; }
.stores .store-button small { opacity: 1; font-size: 10px; margin-bottom: 3px; }
.stores .store-android { color: #184b32; border-color: #badfc9; background: linear-gradient(125deg, #f4fff7, #dcf2e4); }
.stores .store-ios { color: #173e76; border-color: #b8d1ef; background: linear-gradient(125deg, #f5f9ff, #dceaff); }
.stores .store-android:hover { color: #123c27; border-color: #78b691; background: #d1eddb; text-decoration: none; }
.stores .store-ios:hover { color: #123360; border-color: #79a4d9; background: #d0e2fb; text-decoration: none; }
.footer-download { min-width: 0; }
.footer-download h2 { color: var(--on-ink); font-size: 17px; margin-bottom: 8px; }
.footer-download > p { font-size: 13px; color: var(--on-ink-muted); }
.footer-download .stores { margin-top: 16px; gap: 10px; }
.site-footer .store-android { color: #184b32; }
.site-footer .store-ios { color: #173e76; }
.site-footer .store-android:hover { color: #123c27; }
.site-footer .store-ios:hover { color: #123360; }
