:root { color-scheme: light; --ink: #121316; --muted: #686b73; --paper: #f1f2ed; --surface: #fbfcf8; --line: #d4d6ce; --lime: #c7ff3d; --blue: #2864ff; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.5; }
a { color: inherit; }
header { min-height: 74px; padding: 14px clamp(20px, 5vw, 74px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
header p { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.brand { display: flex; align-items: center; gap: 5px; text-decoration: none; font-size: 24px; font-weight: 950; letter-spacing: -.06em; }
.brand span:first-child { color: var(--blue); }
.brand i { font-style: normal; color: var(--muted); }
main { min-height: calc(100vh - 145px); }
.portal-hero { padding: clamp(80px, 12vw, 170px) clamp(20px, 8vw, 130px) clamp(70px, 10vw, 130px); position: relative; overflow: hidden; }
.portal-hero::after { content: "PH–R"; position: absolute; z-index: -1; inset: 5% -3% auto auto; color: rgba(18,19,22,.035); font-size: clamp(180px, 30vw, 500px); font-weight: 950; letter-spacing: -.12em; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
h1 { max-width: 1000px; margin: 0; font-size: clamp(50px, 8vw, 112px); line-height: .98; letter-spacing: -.07em; }
.portal-hero > p:last-child { max-width: 700px; margin: 30px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 22px); }
.tools { padding: 80px clamp(20px, 6vw, 96px) 110px; background: var(--ink); color: white; }
.section-heading { margin-bottom: 30px; }
.section-heading .eyebrow { color: var(--lime); }
h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); letter-spacing: -.05em; }
.tool-card { min-height: 220px; display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 30px; border-top: 1px solid #3c3f46; text-decoration: none; }
.tool-card:last-child { border-bottom: 1px solid #3c3f46; }
.tool-card.active { transition: background .2s ease, color .2s ease; }
.tool-card.active:hover, .tool-card.active:focus-visible { background: var(--lime); color: var(--ink); }
.tool-index { color: #898d96; font-weight: 850; }
.tool-state { margin: 0; color: var(--lime); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.tool-card.active:hover .tool-state { color: var(--blue); }
.tool-card h3 { margin: 8px 0; font-size: clamp(26px, 3vw, 42px); }
.tool-card div > p:last-child { max-width: 680px; color: #aeb1b8; }
.tool-card.active:hover div > p:last-child { color: #454841; }
.tool-card > strong { white-space: nowrap; }
.tool-card.pending { opacity: .48; }
footer { padding: 26px clamp(20px, 5vw, 74px); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
footer p { margin: 0; }
@media (max-width: 720px) { header p { display: none; } .tool-card { grid-template-columns: 48px 1fr; } .tool-card > strong { grid-column: 2; } footer { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
