:root {
  font-family: "Source Sans 3", sans-serif;
  color: oklch(25% 0.035 253);
  background: oklch(97.5% 0.009 70);
  --portal-navy: oklch(24% 0.04 253);
  --portal-navy-soft: oklch(31% 0.045 253);
  --portal-orange: oklch(67% 0.18 40);
  --portal-orange-dark: oklch(56% 0.17 38);
  --portal-cream: oklch(97.5% 0.009 70);
  --portal-paper: oklch(99% 0.004 70);
  --portal-line: oklch(86% 0.012 253);
  --portal-muted: oklch(51% 0.025 253);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--portal-cream); display: grid; grid-template-rows: auto 1fr auto; }
a:focus-visible { outline: 3px solid var(--portal-orange); outline-offset: 4px; }

.portal-header { min-height: 96px; padding: 12px max(24px, 6vw); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--portal-navy); border-bottom: 3px solid var(--portal-orange); }
.portal-brand { display: flex; align-items: center; gap: 18px; color: oklch(97% 0.007 70); text-decoration: none; }
.portal-brand img { display: block; width: 88px; height: 62px; object-fit: contain; }
.portal-brand span { display: grid; gap: 1px; padding-left: 18px; border-left: 1px solid oklch(90% 0.01 253 / .22); }
.portal-brand strong { font-family: "Poppins", sans-serif; font-size: 1rem; font-weight: 600; }
.portal-brand small { color: oklch(78% 0.02 253); font-size: .78rem; }
.environment { color: oklch(89% 0.07 40); border: 1px solid oklch(67% 0.18 40 / .45); background: oklch(67% 0.18 40 / .14); border-radius: 999px; padding: 8px 12px; font-size: .74rem; font-weight: 700; letter-spacing: .05em; }

.portal-main { width: min(1180px, calc(100% - 40px)); margin: clamp(48px, 9vw, 112px) auto; display: grid; grid-template-columns: minmax(300px, .78fr) minmax(520px, 1.22fr); gap: clamp(48px, 8vw, 104px); align-items: center; }
.portal-intro { max-width: 520px; }
.portal-eyebrow { margin: 0 0 16px; color: var(--portal-orange-dark); font-size: .74rem; font-weight: 700; letter-spacing: .16em; }
.portal-intro h1 { margin: 0 0 24px; font-family: "Poppins", sans-serif; color: var(--portal-navy); font-size: clamp(2.8rem, 5.5vw, 5rem); line-height: 1.02; letter-spacing: -.05em; }
.portal-intro > p:last-child { max-width: 48ch; margin: 0; color: var(--portal-muted); font-size: 1.08rem; line-height: 1.65; }

.access-choices { display: grid; gap: 16px; }
.access-choice { min-height: 184px; display: grid; grid-template-columns: 72px 1fr 34px; align-items: center; gap: 22px; padding: 28px; color: var(--portal-navy); background: var(--portal-paper); border: 1px solid var(--portal-line); border-radius: 18px; text-decoration: none; box-shadow: 0 18px 48px oklch(24% 0.04 253 / .07); transition: transform .22s cubic-bezier(.22,1,.36,1), border-color .22s ease, box-shadow .22s ease; }
.access-choice.accounting { background: var(--portal-navy); color: oklch(97% 0.007 70); border-color: var(--portal-navy); }
.choice-icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; color: var(--portal-orange-dark); background: oklch(92% 0.045 40); }
.accounting .choice-icon { color: oklch(90% 0.09 40); background: var(--portal-navy-soft); }
.choice-icon svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.choice-copy { display: grid; gap: 7px; }
.choice-copy small { color: var(--portal-orange-dark); font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.accounting .choice-copy small { color: oklch(80% 0.12 40); }
.choice-copy strong { font-family: "Poppins", sans-serif; font-size: 1.35rem; line-height: 1.2; }
.choice-copy span { max-width: 48ch; color: var(--portal-muted); font-size: .94rem; line-height: 1.5; }
.accounting .choice-copy span { color: oklch(79% 0.02 253); }
.choice-arrow { font-size: 1.55rem; color: var(--portal-orange-dark); transition: transform .22s cubic-bezier(.22,1,.36,1); }
.accounting .choice-arrow { color: oklch(83% 0.12 40); }

@media (hover: hover) {
  .access-choice:hover { transform: translateY(-3px); border-color: var(--portal-orange); box-shadow: 0 24px 58px oklch(24% 0.04 253 / .12); }
  .access-choice:hover .choice-arrow { transform: translateX(5px); }
}
.access-choice:active { transform: translateY(1px); }
.portal-footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 20px 0 max(28px, env(safe-area-inset-bottom)); border-top: 1px solid var(--portal-line); display: flex; justify-content: space-between; gap: 20px; color: var(--portal-muted); font-size: .8rem; }

@media (max-width: 860px) {
  .portal-main { grid-template-columns: 1fr; gap: 36px; margin-block: 48px; }
  .portal-intro { max-width: 680px; }
  .portal-intro h1 { font-size: clamp(2.65rem, 10vw, 4rem); }
}
@media (max-width: 560px) {
  .portal-header { min-height: 82px; padding-inline: 18px; }
  .portal-brand img { width: 72px; height: 52px; }
  .portal-brand span { display: none; }
  .environment { font-size: .66rem; letter-spacing: 0; }
  .portal-main { width: min(100% - 28px, 1180px); margin-block: 34px; }
  .access-choice { min-height: 0; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 18px; }
  .choice-icon { width: 56px; height: 56px; }
  .choice-icon svg { width: 34px; height: 34px; }
  .choice-copy strong { font-size: 1.13rem; }
  .choice-copy span { font-size: .88rem; }
  .choice-arrow { display: none; }
  .portal-footer { width: min(100% - 28px, 1180px); display: grid; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
