@font-face {
  font-family: Urbanist;
  src: url("../assets/urbanist.woff2") format("woff2");
  font-weight: 500 900;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../assets/ibm-plex-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --frame: min(100% - clamp(2rem, 8.5vw, 8.5rem), 86rem);
  --display: Urbanist, "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

.aurora {
  --paper: #f7eee9;
  --ink: #2b1a2b;
  --muted: #5c4552;
  --accent: #863e57;
  --rule: #d2b6bc;
  --button: #732b50;
  --button-ink: #fff7f5;
  --night: #21152d;
}

.galileo {
  --paper: #edf0e6;
  --ink: #13291f;
  --muted: #40554a;
  --accent: #35654c;
  --rule: #a9beae;
  --button: #1a4b38;
  --button-ink: #f5fff0;
  --night: #162a25;
}

body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.52 var(--body); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
p, h1, h2, h3, figure, dl, dd, ol { margin: 0; }
h1, h2, h3, .pitch { font: 745 1em/.99 var(--display); letter-spacing: -.045em; }
h1 { font-size: clamp(4rem, 9.75vw, 10.7rem); line-height: .88; letter-spacing: -.067em; }
h2 { font-size: clamp(2.55rem, 4.9vw, 5.35rem); }
h3 { font-size: clamp(1.45rem, 2.35vw, 2.35rem); letter-spacing: -.035em; }
.frame { width: var(--frame); margin-inline: auto; }
.skip { position: absolute; z-index: 5; inset: .6rem auto auto .8rem; padding: .65rem .9rem; background: #fff; color: var(--ink); transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }

.head, .foot { background: var(--night); color: #fff7f6; }
.head-inner, .foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 1.15rem; min-height: 4.55rem; }
.redegal { display: inline-flex; align-items: center; min-height: 2.75rem; }
.redegal img { width: clamp(6.6rem, 9vw, 7.5rem); height: auto; }
.head nav, .foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(.85rem, 2.8vw, 2.5rem); }
.head nav a, .foot nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-size: .9rem; }
.head nav a:hover, .foot nav a:hover { text-decoration: underline; }
:is(.head, .foot, .aurora .connector-hero, .galileo .connector-close) :focus-visible { outline-color: #f3c7a9; }

.eyebrow { color: var(--accent); font: 670 .77rem/1.4 ui-monospace, Consolas, monospace; letter-spacing: .105em; text-transform: uppercase; }
.connector-hero { padding-block: clamp(2.7rem, 6.6vw, 7.25rem); }
.connector-hero h1 { margin-top: .7rem; }
.connector-hero h1 span { color: #a54e28; }
.pitch { max-width: 21ch; margin-top: .9rem; font-size: clamp(1.65rem, 3.4vw, 3.75rem); }
.lead { max-width: 48ch; margin-top: 1rem; color: var(--muted); font-size: clamp(1.03rem, 1.48vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.15rem; margin-top: 1.22rem; }
.button, .text-link { display: inline-flex; align-items: center; min-height: 2.8rem; font-weight: 710; }
.button { width: fit-content; padding: .67rem .95rem; background: var(--button); color: var(--button-ink); text-decoration: none; line-height: 1.3; }
.button:hover { text-decoration: underline; }

.aurora .connector-hero { background: var(--night); color: #fff4f2; }
.aurora .connector-hero h1 span, .aurora .connector-hero .eyebrow { color: #ffa891; }
.aurora .lead { color: #e8cfd6; }
.aurora .connector-hero .button { background: #edab9e; color: #351c33; }
.aurora-hero { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.12fr); align-items: center; gap: clamp(2rem, 6.4vw, 7rem); }
.channel-sheet { padding: clamp(1rem, 3vw, 2.6rem); border-top: .35rem solid #ef9c85; background: #38233f; color: #fff4f2; }
.channel-sheet h2, .journey-sheet h2 { margin-top: .52rem; font-size: clamp(1.65rem, 2.85vw, 2.9rem); letter-spacing: -.034em; }
.channels { display: grid; gap: .65rem; margin: 1.2rem 0 .9rem; }
.channels > div { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem .7rem; padding: .43rem 0 .57rem; border-bottom: 2px solid #6e4c69; }
.channels > div::after { content: ""; position: absolute; width: var(--share); bottom: -2px; height: 2px; background: #ffa891; }
.channels dt { font-weight: 650; }
.channels dd { color: #ffd1c1; font-weight: 700; font-variant-numeric: tabular-nums; }
.channels dd span { color: #ecd6df; font-size: .85rem; font-weight: 500; }
.channel-sheet .takeaway, .channel-sheet .evidence dd { color: #f0d9e2; }
.channel-sheet .evidence { border-color: #906885; }

.galileo-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); align-items: end; gap: clamp(1.7rem, 3.8vw, 4rem) clamp(2rem, 6.8vw, 7.3rem); }
.galileo-hero .pitch { max-width: 25ch; }
.journey-sheet { grid-column: 1 / -1; padding: clamp(1.1rem, 3vw, 2.5rem); border-top: .34rem solid #366a50; background: #fbfcf6; }
.journey { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem clamp(.82rem, 2.7vw, 2.45rem); padding: 0; margin: 1.35rem 0 1rem; }
.journey li { position: relative; display: grid; gap: .17rem; border-top: 2px solid #bad3c1; padding-top: .67rem; }
.journey li::before { content: ""; position: absolute; top: -2px; left: 0; width: var(--level); height: 2px; background: #366a50; }
.journey li span { font-weight: 690; }
.journey li strong { font: 760 clamp(2rem, 5.8vw, 5.7rem)/1 var(--display); color: #204b35; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.journey small { color: #4a6354; font-size: .87rem; }

.takeaway { max-width: 67ch; font-size: .94rem; }
.evidence { border-top: 1px solid var(--rule); margin-top: .9rem; }
.evidence summary { min-height: 2.75rem; padding: .66rem .1rem; cursor: pointer; color: inherit; font-weight: 700; }
.evidence summary:hover { text-decoration: underline; text-underline-offset: .21em; }
.evidence dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1rem; padding-block: .3rem .7rem; }
.evidence dt { font-weight: 700; }
.evidence dd { color: var(--muted); font-size: .9rem; }

.connector-usage, .connector-close { padding-block: clamp(3.55rem, 7.4vw, 7.8rem); }
.usage-layout, .close-inner { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); align-items: start; gap: clamp(1.5rem, 6vw, 6.8rem); }
.usage-layout h2, .close-inner h2 { margin-top: .65rem; }
.method { display: grid; border-top: 1px solid var(--rule); padding: 0; list-style: none; }
.method li { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: baseline; gap: .45rem 1.25rem; padding-block: .95rem 1.15rem; border-bottom: 1px solid var(--rule); }
.method p, .close-inner p:not(.eyebrow) { color: var(--muted); }
.close-inner p:not(.eyebrow) { max-width: 55ch; margin-top: .92rem; }
.close-inner .button { align-self: end; justify-self: end; }
.aurora .connector-close { background: #e6bfbd; }
.galileo .connector-close { background: #1c4131; color: #f7fff3; }
.galileo .connector-close p { color: #d9eddb; }
.galileo .connector-close .button { background: #d2e9cc; color: #173929; }

@media (max-width: 54rem) {
  .aurora-hero, .galileo-hero, .usage-layout, .close-inner { grid-template-columns: 1fr; }
  .close-inner .button { justify-self: start; }
  .galileo .lead { margin-top: 0; }
}
@media (max-width: 39rem) {
  .head-inner, .foot-inner { padding-block: .5rem .35rem; }
  .head nav, .foot nav { flex-basis: 100%; }
  .head nav a, .foot nav a { font-size: .85rem; }
  .journey li span { font-size: .86rem; }
  .method li { grid-template-columns: 1fr; }
}
@media (max-width: 23rem) {
  h1 { font-size: 3.85rem; }
  .journey { gap: .55rem; }
  .journey li strong { font-size: 1.8rem; }
}

.performance-cta { padding: 1.5rem max(1.25rem, calc((100% - 72rem)/2)); background: #e9f1fc; color: #0a203c; }
.performance-cta p { margin: 0 0 .5rem; }
.performance-cta a { display: inline-flex; align-items: center; min-height: 44px; color: #064a9b; font-weight: 700; text-underline-offset: .2em; }
