@charset "UTF-8";

:root {
  color-scheme: light;
  --red: #ad131b;
  --red-dark: #851018;
  --green: #286344;
  --ink: #252a2a;
  --muted: #646965;
  --border: #e3e4df;
  --cream: #f7f7f2;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1140px, calc(100% - 80px)); margin-inline: auto; }
.icon { width: 21px; height: 21px; flex-shrink: 0; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 10; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 6px; }
.skip-link:focus { top: 10px; color: #fff; }

.utility-bar { border-bottom: 1px solid var(--border); font-size: .75rem; padding-block: 9px; color: #505650; }
.utility-bar span { margin-left: 5px; }
.site-header { background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { min-height: 106px; display: flex; align-items: center; gap: 30px; }
.brand { width: 210px; flex-shrink: 0; }
.portal-name { border-left: 1px solid var(--border); padding-left: 30px; font-size: .74rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.portal-name span { display: block; margin-top: 4px; font-size: .78rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.header-label { margin-left: auto; color: var(--green); font-size: .65rem; font-weight: 700; letter-spacing: 1.5px; }
.header-link { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .82rem; font-weight: 600; }

.main-content { flex: 1; padding-block: 58px 32px; }
.portal-home { padding-top: 24px; }
.intro { max-width: none; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--red); font-size: .68rem; font-weight: 700; letter-spacing: 1.8px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--red); flex-shrink: 0; }
h1 { font-size: clamp(2.7rem, 5vw, 4.3rem); font-weight: 650; letter-spacing: -2.8px; margin-top: 19px; }
h1 span { color: var(--red); }
.intro h1 { margin-top: 12px; }
.intro-description { max-width: 630px; color: var(--muted); font-size: 1rem; line-height: 1.8; margin-top: 20px; }
.intro .intro-description { max-width: 760px; margin-top: 14px; }
.cycles-section { margin-top: 28px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading h2 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.3px; }
.section-heading > span { font-size: .75rem; color: var(--muted); }
.cycle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cycle-card { display: flex; flex-direction: column; padding: 28px 32px 30px; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--red); border-radius: 12px; box-shadow: 0 7px 24px #252a2a04; }
.cycle-card-pending { border-top-color: #dda500; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.cycle-number { color: var(--red); font-size: 3.3rem; font-weight: 700; line-height: 1; letter-spacing: -2px; }
.cycle-card-pending .cycle-number { color: #8a6710; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 30px; font-size: .69rem; font-weight: 600; line-height: 1.5; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.status-available { color: #286344; background: #edf5ef; }
.status-pending { color: #725609; background: #fcf4dd; }
.card-eyebrow { color: var(--muted); font-size: .62rem; letter-spacing: 1.3px; font-weight: 600; }
.cycle-card h3 { margin-top: 9px; font-size: 2rem; font-weight: 650; letter-spacing: -.9px; }
.card-description { flex: 1; margin-block: 15px 26px; max-width: 415px; color: var(--muted); font-size: .9rem; line-height: 1.8; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 49px; padding: 12px 20px; border: 1px solid transparent; border-radius: 7px; font-size: .85rem; line-height: 1.5; font-weight: 600; transition: background-color .15s, border-color .15s; }
.cycle-card .button { justify-content: space-between; }
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover { background: var(--red-dark); color: #fff; }
.button-outline { border-color: #cfd2cb; background: #fff; color: var(--ink); }
.button-outline:hover { border-color: var(--red); background: #fdf7f5; color: var(--red); }
.access-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 25px; color: var(--muted); font-size: .74rem; }
.access-note .icon { width: 17px; height: 17px; color: var(--green); }

.site-footer { margin-top: 24px; background: #fff; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 29px; }
.footer-inner strong { font-size: .9rem; letter-spacing: .6px; }
.footer-inner strong span { font-size: .63rem; color: var(--muted); font-weight: 500; }
.footer-inner p { color: var(--muted); font-size: .73rem; margin-top: 5px; }
.footer-inner > a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .77rem; }
.brand-stripe { height: 5px; background: linear-gradient(to right, var(--red) 0 50%, #dda500 50% 75%, var(--green) 75% 100%); }

.cycle-detail { padding-top: 28px; padding-bottom: 46px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); font-size: .76rem; margin-bottom: 26px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.cycle-intro h1 { font-size: clamp(2.7rem, 5vw, 3.8rem); }
.cycle-intro .intro-description { margin-top: 12px; }
.empty-state { margin-top: 30px; padding: 42px 24px; background: #fff; border: 1px solid var(--border); border-radius: 12px; text-align: center; }
.empty-icon { width: 78px; height: 78px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: #fcf4dd; color: #8a6710; }
.empty-icon svg { width: 43px; height: 43px; }
.empty-state h2 { margin: 19px auto 0; font-size: clamp(1.4rem, 3vw, 1.85rem); letter-spacing: -.6px; font-weight: 650; }
.empty-state > p { max-width: 490px; margin: 16px auto 0; color: var(--muted); font-size: .93rem; line-height: 1.8; }
.empty-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 27px; }

@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .header-inner { gap: 20px; }
  .brand { width: 170px; }
  .portal-name { padding-left: 20px; font-size: .65rem; }
  .portal-name span { font-size: .7rem; }
  .header-label { display: none; }
  .header-link { font-size: .75rem; }
  .cycle-card { padding-inline: 22px; }
  .card-top { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .header-inner { min-height: 100px; flex-wrap: wrap; gap: 14px; padding-block: 15px; }
  .brand { width: 142px; }
  .portal-name { flex: 1; padding-left: 14px; font-size: .59rem; letter-spacing: .65px; }
  .portal-name span { font-size: .65rem; }
  .header-link { margin-left: 0; width: 100%; border-top: 1px solid var(--border); padding-top: 8px; }
  .utility-bar { font-size: .65rem; }
  .utility-bar span { margin-left: 0; }
  .main-content { padding-top: 36px; }
  .portal-home { padding-top: 22px; }
  h1 { letter-spacing: -1.8px; }
  .eyebrow { font-size: .59rem; letter-spacing: 1.25px; }
  .intro-description { font-size: .9rem; }
  .cycles-section { margin-top: 24px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 7px; }
  .cycle-grid { grid-template-columns: 1fr; gap: 20px; }
  .cycle-card { padding: 24px; }
  .card-top { margin-bottom: 20px; }
  .cycle-number { font-size: 2.8rem; }
  .status { font-size: .65rem; }
  .card-description { font-size: .87rem; }
  .access-note { align-items: flex-start; font-size: .69rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 13px; padding-block: 24px; }
  .cycle-detail { padding-top: 16px; }
  .breadcrumb { margin-bottom: 22px; }
  .empty-state { padding: 30px 20px; }
  .empty-state > p { font-size: .87rem; }
  .empty-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
