/* Site skin modelled on the layout of icgam.com: dark header with outlined pill
   navigation, a dark hero with the headline bottom-left, large light petrol
   headings on white, arrow link lists, and a petrol gradient band at the foot.
   Loaded last; overrides the house tokens/components for this demo only. */

:root[data-theme='light'] {
  --bg: #ffffff;
  --bg-2: #f2f5f6;
  --bg-3: #e6ecee;
  --fg: #000000;
  --fg-2: #3c4a4e;
  --fg-3: #6b7b80;
  --border: #d7dfe1;
  --border-2: #b6c3c7;
  --accent: #3a4bfb;
  --accent-fg: #ffffff;
  --petrol: #003b49;
  --font-sans: 'Figtree', 'Pembroke', 'Proxima Nova', system-ui, sans-serif;
  --font-display: var(--font-sans);
  --max: 1240px;
}

body { font-family: var(--font-sans); font-size: 17px; }
.shell { display: block; height: auto; overflow: visible; }
.content { overflow: visible; max-width: var(--max); margin: 0 auto; padding: 64px 24px 96px; }
.wrap { max-width: 1040px; }
.mobile-nav { display: none !important; }

/* header */
.site { background: #1f1f21; color: #fff; }
.site-inner { max-width: var(--max); margin: 0 auto; padding: 28px 24px 22px; }
.row1 { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.logo { display: flex; align-items: baseline; gap: 10px; background: none; border: 0; color: #fff; cursor: pointer; padding: 0; font: inherit; }
.logo b { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.logo span { font-size: 16px; font-weight: 400; color: #c9ccd4; }
.textnav { margin-left: auto; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.textnav .rail-item {
  all: unset; cursor: pointer; color: #fff; font-size: 16px; display: inline-flex; gap: 6px; align-items: center;
}
.textnav .rail-item:hover { text-decoration: underline; text-underline-offset: 4px; }
.textnav .rail-item[aria-current='true'] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.textnav .count:not(:empty) { background: var(--accent); color: #fff; border-radius: 10px; font-size: 12px; padding: 0 7px; line-height: 18px; }
.persona { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13px; color: #c9ccd4; padding: 0; border: 0; }
.persona select { background: transparent; color: #fff; border: 1px solid #5c5f6a; border-radius: 15px; padding: 4px 10px; font: inherit; font-size: 14px; }
.persona select option { color: #000; }

.pills { margin-top: 26px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(96px, 1fr)); }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: #4a4c57; }
.timeline li:first-child::before { left: 50%; }
.timeline li:last-child::before { right: 50%; }
.timeline li.past::before, .timeline li.now::before { background: var(--accent); }
.timeline li.now::before { right: 50%; }
.timeline li.now:last-child::before { right: 50%; }
.timeline .rail-item { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 0 4px 4px; text-align: center; color: #fff; }
.timeline .dot { width: 20px; height: 20px; border-radius: 50%; background: #1f1f21; border: 2px solid #6b6e7a; box-sizing: border-box; transition: transform var(--dur, .15s); }
.timeline .past .dot { background: var(--accent); border-color: var(--accent); }
.timeline .past .dot::after { content: ''; display: block; width: 6px; height: 3px; margin: 5px auto 0; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.timeline .now .dot { background: #fff; border: 5px solid var(--accent); box-shadow: 0 0 0 5px rgba(58, 75, 251, 0.35); }
.timeline .lbl { font-size: 14px; line-height: 1.25; }
.timeline .sub { margin: 0; font-size: 11px; color: #9a9da8; text-transform: uppercase; letter-spacing: 0.05em; }
.timeline .now .sub { color: #9fb0ff; }
.timeline .next .lbl { color: #c9ccd4; }
.timeline .rail-item:hover .dot { transform: scale(1.15); }
.timeline .rail-item:hover .lbl { text-decoration: underline; text-underline-offset: 4px; }
.timeline .rail-item[aria-current='true'] .lbl { font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.timeline .rail-item:focus-visible, .textnav .rail-item:focus-visible, .logo:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #1f1f21 0%, #2b2c31 55%, #4a4b52 100%); color: #fff; min-height: 240px; display: flex; align-items: flex-end; }
body[data-view='home'] .hero { min-height: 400px; }
.streaks i { position: absolute; height: 34px; background: #3a4bfb; filter: blur(14px); opacity: 0.75; border-radius: 20px; transform-origin: left center; }
.streaks i:nth-child(1) { width: 70%; left: -5%; top: 18%; transform: rotate(6deg); }
.streaks i:nth-child(2) { width: 60%; left: 45%; top: 46%; transform: rotate(4deg); opacity: 0.55; }
.streaks i:nth-child(3) { width: 14px; height: 70%; left: 22%; top: 10%; transform: rotate(14deg); opacity: 0.45; }
.streaks i:nth-child(4) { width: 80%; left: 30%; top: 82%; transform: rotate(8deg); opacity: 0.6; filter: blur(18px); }
.hero-inner { position: relative; max-width: var(--max); width: 100%; margin: 0 auto; padding: 40px 24px 44px; }
.hero h1 { margin: 0; font-weight: 300; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.12; letter-spacing: -0.01em; max-width: 820px; }
.hero-kicker { font-size: 14px; color: #c9ccd4; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.08em; }

/* sections */
section + section { margin-top: 72px; }
.section-head { display: block; border: 0; padding: 0; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 300; color: var(--petrol); text-transform: none; letter-spacing: -0.01em; margin: 0 0 8px; line-height: 1.15; }
.section-head p { font-size: 16px; color: var(--fg-3); }

/* arrow lists */
.list { border-top: 1px solid var(--border); }
.list > button, .list > div.row { padding: 18px 0; font-size: 18px; gap: 16px; }
.list > button::before { content: '→'; color: var(--accent); flex: none; }
.list > button:hover { color: var(--accent); }
.list .meta { font-size: 14px; }
.list .date { font-family: var(--font-sans); font-size: 15px; width: 110px; color: var(--petrol); font-weight: 500; }

/* controls */
.btn-primary, .btn { border-radius: 15px; padding: 8px 20px; font-size: 15px; }
.btn-primary { background: var(--accent); border: 1px solid var(--accent); }
.btn-primary::after { content: ' →'; }
.btn { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn[disabled] { border-color: var(--border-2); color: var(--fg-3); background: none; cursor: default; }
.field, select.field { border-radius: 10px; font-size: 16px; padding: 8px 12px; background: #fff; }
.ask .field { border-radius: 26px; padding: 14px 22px; font-size: 18px; border-color: var(--petrol); }
.ask .btn-primary { border-radius: 26px; padding: 14px 28px; font-size: 17px; }
.link { color: var(--accent); }
.hint { font-size: 14px; margin-top: 12px; }

/* answers */
.turn-q { font-size: 15px; padding-top: 18px; }
.turn-q b { font-size: 18px; color: var(--petrol); }
.answer p { font-size: 21px; line-height: 1.55; max-width: 62ch; }
.source { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.source b { color: var(--accent); }
.office { border-left: 2px solid var(--accent); font-size: 15px; }
.note { border-left-color: var(--accent); }
.ok-line { border-left-color: var(--accent); font-size: 16px; }
.tbl { font-size: 15px; }
.tbl th { color: var(--petrol); }
.progress i { background: var(--accent); }
.form label { font-size: 13px; color: var(--petrol); }

/* footer band */
.site-foot { background: linear-gradient(180deg, #2f5f6a 0%, #6f9199 60%, #a9bfc4 100%); color: #fff; }
.foot-inner { max-width: var(--max); margin: 0 auto; padding: 72px 24px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.foot-inner h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 300; margin: 0 0 18px; line-height: 1.15; }
.foot-inner p { font-size: 19px; line-height: 1.6; margin: 0; max-width: 46ch; }
.arrows { display: grid; gap: 22px; align-content: start; }
.arrows button { all: unset; cursor: pointer; font-size: 22px; font-weight: 700; color: #fff; display: flex; gap: 16px; }
.arrows button::before { content: '→'; font-weight: 400; }
.arrows button:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot-note { max-width: var(--max); margin: 0 auto; padding: 18px 24px 28px; font-size: 13px; color: #eef3f4; border-top: 1px solid rgba(255,255,255,0.35); }

@media (max-width: 860px) {
  .site-inner { padding: 18px 16px; }
  .textnav { margin-left: 0; gap: 16px; }
  .pills { overflow-x: auto; padding-bottom: 6px; }
  .timeline { grid-template-columns: repeat(9, 92px); }
  .content { padding: 40px 16px 64px; }
  .hero-inner { padding: 28px 16px 32px; }
  body[data-view='home'] .hero { min-height: 280px; }
  .foot-inner { grid-template-columns: 1fr; padding: 48px 16px 32px; }
  .list .meta { display: none; }
  .actions .spacer { display: none; }
}
