@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #f6f8fc;
  --muted: #a9b6c8;
  --deep: #08111f;
  --panel: #101d2d;
  --panel-light: #17273a;
  --line: rgba(226, 235, 246, 0.14);
  --yellow: #f4c542;
  --red: #e34b3e;
  --blue: #4388f3;
  --green: #54b98a;
}

* { box-sizing: border-box; }

html, body { margin: 0; width: 100%; min-height: 100%; }

body {
  min-height: 100svh;
  overflow: hidden;
  color: var(--ink);
  background: var(--deep);
  font-family: 'Manrope', Arial, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: '';
  background:
    linear-gradient(90deg, rgba(5, 14, 26, .94) 0%, rgba(5, 14, 26, .82) 43%, rgba(5, 14, 26, .58) 100%),
    url('/manus-storage/async-images/yarXrQQrxiPJuyjpMsU0p0/image-1.webp') center / cover no-repeat;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .14;
  content: '';
  background-image: linear-gradient(115deg, transparent 0 48%, rgba(255,255,255,.12) 48.2% 48.4%, transparent 48.6% 100%);
  background-size: 23rem 23rem;
  pointer-events: none;
}

.portal-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .87fr) minmax(420px, 1.13fr);
  grid-template-rows: 1fr;
  gap: clamp(28px, 5vw, 88px);
  width: min(1220px, calc(100% - 96px));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(32px, 5.6vh, 72px) 0 clamp(22px, 4vh, 45px);
}

.road-mark { position: absolute; z-index: -1; pointer-events: none; }
.road-mark--top { width: 30vw; max-width: 370px; height: 2px; top: 7%; right: 1%; background: var(--yellow); opacity: .78; box-shadow: 0 9px 0 rgba(244,197,66,.2), 0 18px 0 rgba(244,197,66,.1); }
.road-mark--side { width: 2px; height: 32vh; left: -4%; bottom: 13%; background: var(--red); opacity: .55; box-shadow: 9px 0 0 rgba(227,75,62,.2), 18px 0 0 rgba(227,75,62,.1); }

.intro-panel { align-self: center; max-width: 520px; padding-bottom: 5vh; }
.eyebrow, .panel-label { color: var(--yellow); font-size: 10px; font-weight: 800; letter-spacing: .22em; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(18px, 3.2vh, 36px); }
.signal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(227,75,62,.12); }
.brand-logo { display: block; width: min(100%, 340px); height: auto; max-height: 174px; object-fit: contain; object-position: left center; margin-left: -13px; filter: drop-shadow(0 13px 20px rgba(0,0,0,.28)); }
.intro-kicker { margin: clamp(16px, 2.5vh, 27px) 0 9px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
h1 { max-width: 560px; margin: 0; color: #fff; font-family: 'Barlow Condensed', Impact, sans-serif; font-size: clamp(46px, 5.7vw, 82px); font-weight: 600; letter-spacing: -.025em; line-height: .91; text-transform: uppercase; }
h1 em { color: var(--yellow); font-style: normal; }
.intro-copy { max-width: 380px; margin: clamp(20px, 3vh, 30px) 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.route-note { display: flex; align-items: center; gap: 12px; margin-top: clamp(28px, 5vh, 52px); color: rgba(244,197,66,.78); font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.route-note__line { display: inline-block; width: 42px; height: 2px; background: var(--red); }

.access-panel { align-self: center; padding: clamp(25px, 3vw, 40px); border: 1px solid var(--line); border-radius: 3px; background: linear-gradient(145deg, rgba(24,41,61,.92), rgba(13,26,42,.95)); box-shadow: 0 24px 65px rgba(0,0,0,.24); }
.panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.panel-label { color: var(--muted); font-size: 9px; letter-spacing: .2em; }
h2 { margin: 8px 0 0; color: #fff; font-family: 'Barlow Condensed', Impact, sans-serif; font-size: clamp(27px, 3vw, 39px); font-weight: 600; letter-spacing: -.01em; line-height: .95; text-transform: uppercase; }
.panel-count { color: rgba(244,197,66,.8); font-family: 'Barlow Condensed', Impact, sans-serif; font-size: 44px; line-height: .8; }
.shortcut-list { display: grid; gap: 10px; padding-top: 21px; }
.shortcut { position: relative; display: grid; grid-template-columns: 43px 1fr 22px; align-items: center; gap: 15px; min-height: 69px; padding: 11px 16px 11px 11px; overflow: hidden; border: 1px solid transparent; border-radius: 2px; color: var(--ink); text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.shortcut::before { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; content: ''; background: var(--accent); }
.shortcut:hover, .shortcut:focus-visible { transform: translateX(5px); border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.1); outline: none; }
.shortcut:focus-visible { box-shadow: 0 0 0 3px rgba(244,197,66,.28); }
.shortcut--blue { --accent: var(--blue); background: rgba(67,136,243,.1); }
.shortcut--yellow { --accent: var(--yellow); background: rgba(244,197,66,.1); }
.shortcut--red { --accent: var(--red); background: rgba(227,75,62,.1); }
.shortcut--green { --accent: var(--green); background: rgba(84,185,138,.1); }
.shortcut__icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); color: var(--accent); font-size: 11px; font-weight: 800; }
.shortcut__copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.shortcut__copy strong { overflow: hidden; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .01em; text-overflow: ellipsis; white-space: nowrap; }
.shortcut__copy small { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.shortcut__arrow { color: var(--accent); font-size: 21px; line-height: 1; }
.access-hint { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 21px 0 0; color: #718298; font-size: 10px; }
.access-hint__mark { color: var(--yellow); font-size: 15px; }

.portal-footer { position: absolute; bottom: clamp(22px, 4vh, 45px); left: 0; display: flex; align-items: center; gap: 12px; color: #617188; font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.footer-rule { width: 45px; height: 1px; background: var(--red); }
.footer-links { display: flex; gap: 10px; margin-left: 8px; letter-spacing: .06em; }
.footer-links a { color: #8b9bb0; text-decoration: none; }
.footer-links a:hover { color: var(--yellow); text-decoration: underline; }
.cookie-dialog-open { overflow: hidden; }
.cookie-banner { position: fixed; z-index: 20; right: clamp(16px, 4vw, 56px); bottom: clamp(16px, 4vh, 34px); display: grid; grid-template-columns: 1fr auto; gap: 20px; width: min(670px, calc(100% - 32px)); padding: 22px 24px; border: 1px solid rgba(244,197,66,.42); border-radius: 4px; background: rgba(8,17,31,.96); box-shadow: 0 22px 80px rgba(0,0,0,.55); backdrop-filter: blur(14px); }
.cookie-banner[hidden] { display: none; }
.cookie-copy { min-width: 0; }
.cookie-kicker { color: var(--yellow); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.cookie-banner h2 { margin: 6px 0 7px; color: #fff; font-family: 'Barlow Condensed', Impact, sans-serif; font-size: 28px; line-height: 1; text-transform: uppercase; }
.cookie-banner p { margin: 0; color: #b8c5d5; font-size: 11px; line-height: 1.55; }
.cookie-banner a { color: #9ec3ff; }
.cookie-actions { display: flex; align-items: end; gap: 8px; }
.cookie-button { min-width: 84px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 2px; color: #fff; cursor: pointer; font: 800 10px 'Manrope', Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.cookie-button--quiet { background: transparent; color: #bbc8d7; }
.cookie-button--primary { border-color: var(--yellow); color: #121b27; background: var(--yellow); }
.cookie-button:hover { filter: brightness(1.08); }
.cookie-close { position: absolute; top: 7px; right: 9px; border: 0; color: #9baabd; background: transparent; cursor: pointer; font-size: 20px; line-height: 1; }

@media (max-width: 900px) {
  .portal-shell { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 25px; width: min(680px, calc(100% - 48px)); padding: 30px 0 20px; }
  .intro-panel { max-width: none; padding-bottom: 0; }
  .brand-logo { width: 260px; max-height: 120px; margin-left: -8px; }
  .intro-kicker { margin-top: 10px; }
  h1 { font-size: clamp(42px, 9vw, 64px); }
  .intro-copy { margin-top: 15px; }
  .route-note { margin-top: 18px; }
  .access-panel { padding: 22px; }
  .portal-footer { position: static; flex-wrap: wrap; }
  .road-mark--side { display: none; }
}

@media (max-width: 520px) {
  .portal-shell { gap: 18px; width: calc(100% - 30px); padding: 20px 0 14px; }
  .eyebrow { margin-bottom: 10px; font-size: 8px; }
  .brand-logo { width: 215px; max-height: 90px; }
  .intro-kicker { margin-top: 7px; font-size: 10px; }
  h1 { font-size: clamp(38px, 12vw, 53px); }
  .intro-copy { max-width: 310px; margin-top: 12px; font-size: 12px; line-height: 1.45; }
  .route-note { display: none; }
  .access-panel { padding: 17px 14px; }
  .panel-heading { padding-bottom: 13px; }
  h2 { font-size: 27px; }
  .panel-count { font-size: 34px; }
  .shortcut-list { gap: 7px; padding-top: 14px; }
  .shortcut { grid-template-columns: 35px 1fr 18px; gap: 10px; min-height: 54px; padding: 7px 11px 7px 8px; }
  .shortcut__icon { width: 31px; height: 31px; font-size: 9px; }
  .shortcut__copy strong { font-size: 12px; }
  .shortcut__copy small { font-size: 9px; }
  .shortcut__arrow { font-size: 17px; }
  .access-hint { margin-top: 13px; font-size: 8px; }
  .portal-footer { gap: 8px; font-size: 7px; letter-spacing: .14em; }
  .footer-rule { width: 22px; }
  .footer-links { width: 100%; margin: 2px 0 0; font-size: 8px; letter-spacing: .04em; }
  .cookie-banner { right: 12px; bottom: 12px; grid-template-columns: 1fr; gap: 13px; width: calc(100% - 24px); padding: 20px 17px 16px; }
  .cookie-banner h2 { font-size: 25px; }
  .cookie-actions { justify-content: flex-end; }
}

@media (max-height: 680px) and (min-width: 521px) {
  .portal-shell { padding-top: 22px; padding-bottom: 15px; gap: 15px; }
  .brand-logo { width: 245px; max-height: 110px; }
  .intro-kicker { margin-top: 8px; }
  h1 { font-size: 48px; }
  .intro-copy { margin-top: 12px; }
  .route-note { margin-top: 17px; }
  .access-panel { padding: 20px; }
  .panel-heading { padding-bottom: 14px; }
  .shortcut-list { gap: 6px; padding-top: 14px; }
  .shortcut { min-height: 55px; }
  .access-hint { margin-top: 12px; }
}
