/* Page frame: sticky header, lime index bar, hero, section scaffolding, grids, and footer. */
/* Header and index bar */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--canvas); border-bottom: 2px solid var(--ink); }
.site-header .shell { height: calc(var(--header-h) - 2px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-link { display: block; line-height: 0; }
.brand-link img { height: 42px; width: auto; }
/* Product label lockup: the plaque lockup, a 2px ink rule, and the site or product name in the wordmark face. The plaque is 1.5em tall, so the label matches the wordmark inside it. */
.lockup { --lockup-size: 28px; display: inline-flex; align-items: center; gap: .42em; font-size: var(--lockup-size); line-height: 1; color: var(--ink); text-decoration: none; }
.lockup img { height: 1.5em; width: auto; flex: none; }
.lockup-label { display: inline-flex; align-items: center; gap: .42em; font-family: var(--display); font-weight: 700; letter-spacing: -.045em; white-space: nowrap; }
.lockup-label::before { content: ""; width: 2px; height: 1.1em; background: var(--ink); }
.header-meta { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700; color: var(--ink-soft); }
.version { padding: 4px 8px; border: 1.5px solid var(--ink); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: .7rem; font-weight: 500; }
.index-bar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 19; background: var(--lime); border-bottom: 2px solid var(--ink); }
.index-bar ol { margin: 0; padding: 8px 0; display: flex; gap: 6px 8px; list-style: none; overflow-x: auto; scrollbar-width: none; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.index-bar a { display: block; padding: 4px 9px; border: 1.5px solid transparent; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); transition: background .15s ease, color .15s ease; }
.index-bar a:hover { border-color: var(--ink); background: var(--paper); }
.index-bar a[aria-current="true"] { border-color: var(--ink); background: var(--ink); color: var(--lime); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--blue); color: #fff; border-bottom: 2px solid var(--ink); }
.hero::after { content: ""; position: absolute; z-index: -1; top: -235px; right: -205px; width: 660px; height: 660px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 51px, var(--sky) 52px 54px); opacity: .14; pointer-events: none; }
.hero .shell { padding-block: clamp(64px, 8vw, 100px) clamp(72px, 9vw, 110px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero-label { margin-bottom: 16px; color: var(--blue-soft); font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: .97; letter-spacing: -.066em; }
.hero h1 span { color: var(--lime); }
.hero .lede { max-width: 620px; margin-top: 24px; color: var(--blue-soft); font-size: clamp(1rem, 1.5vw, 1.13rem); line-height: 1.65; }
.hero-card { margin: 0; padding: clamp(22px, 3vw, 32px); border: 2px solid var(--ink); border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); display: grid; gap: 22px; }
.chip { width: fit-content; padding: 6px 10px; border: 1.5px solid var(--ink); border-radius: var(--r-sm); background: var(--lime); box-shadow: 3px 3px 0 var(--ink); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-card .logo-stage { padding: clamp(24px, 4vw, 40px) 18px; border: 1.5px solid var(--ink); border-radius: var(--r-md); background: var(--canvas); display: grid; place-items: center; }
.hero-card .logo-stage img { width: min(100%, 380px); }
.hero-card dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hero-card dl div { padding: 12px; border: 1.5px solid var(--ink); border-radius: 11px; box-shadow: 3px 3px 0 var(--ink); }
.hero-card dt { color: var(--blue-dark); font-size: .56rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hero-card dd { margin: 6px 0 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }

/* Sections */
.section { padding-block: clamp(80px, 9vw, 120px) 0; }
.section:last-of-type { padding-bottom: clamp(80px, 9vw, 120px); }
/* Section intro (guidelines/visual.md, Section intros): one column. Label, headline, a
   one-sentence lead with a lime stripe, then detail. Block flow keeps the lead inline,
   so the stripe follows each line. */
.section-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-label { margin-bottom: 15px; color: var(--blue-dark); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { margin-bottom: 22px; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -.058em; }
.section-head .section-lead { display: inline; background: linear-gradient(transparent 58%, var(--lime) 58%); -webkit-box-decoration-break: clone; box-decoration-break: clone; color: var(--ink); font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 700; line-height: 1.45; letter-spacing: -.01em; }
.section-head p:not(.section-label):not(.section-lead) { max-width: 70ch; margin-top: 14px; color: var(--ink-soft); line-height: 1.7; }
.sub { margin: clamp(48px, 6vw, 72px) 0 20px; font-size: clamp(1.35rem, 2.2vw, 1.8rem); letter-spacing: -.04em; line-height: 1.1; }
.sub-note { max-width: 70ch; margin: -8px 0 22px; color: var(--ink-soft); }

.panel { border: 2px solid var(--ink); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-lg); }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { min-width: 0; padding: 22px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--paper); box-shadow: var(--shadow-sm); }
.card h3 { font-size: 1.15rem; letter-spacing: -.03em; line-height: 1.2; }
.card p { margin-top: 8px; color: var(--ink-soft); font-size: .92rem; line-height: 1.65; }
.kicker { display: block; margin-bottom: 10px; color: var(--blue-dark); font-size: .6rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }


/* Footer */
.header-link { color: var(--blue-dark); text-underline-offset: 3px; }
.header-link:hover { color: var(--ink); }
.header-link:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

/* Footer: matches signalscorps.com and the docs portal. Brand and definition on the left, one Signals Corps link column, then the copyright and company line. */
.site-footer { border-top: 2px solid var(--ink); background: var(--ink); color: var(--panel-copy); }
.footer-main { padding-block: 72px 64px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(130px, .5fr); gap: clamp(40px, 6vw, 90px); }
.footer-brand { max-width: 480px; }
.footer-brand-link { display: inline-block; line-height: 0; }
.footer-brand-link img { height: 40px; width: auto; }
.footer-lockup { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.footer-brand-kit { margin: 0; color: var(--panel-muted); font-size: .72rem; line-height: 1.5; }
.footer-brand-kit span { color: var(--paper); font-weight: 750; }
.footer-brand > p { max-width: 430px; margin-top: 25px; color: var(--panel-muted); font-size: 1rem; line-height: 1.7; }
.footer-social { margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.footer-social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #62677E; border-radius: 7px; color: var(--paper); }
.footer-social a:hover { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.footer-social a:active { border-color: var(--pink); background: var(--pink); color: var(--ink); }
.site-footer .footer-social a:focus-visible { border-radius: 7px; }
.footer-social svg { width: 20px; height: 20px; display: block; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-column h2 { margin: 0 0 7px; color: var(--lime); font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.footer-column a { min-height: 24px; display: inline-flex; align-items: center; color: var(--paper); font-size: .8rem; font-weight: 750; text-decoration: none; }
.footer-column a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 4px; }
.footer-column a:active { color: var(--pink); }
.site-footer a:focus-visible { border-radius: 2px; outline: 3px solid var(--pink); outline-offset: 4px; }
.footer-bottom { min-height: 72px; padding-block: 20px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--panel-line); color: var(--panel-muted); font-size: .68rem; line-height: 1.55; }
.footer-bottom strong { color: var(--paper); }
.footer-bottom a { color: var(--lime); font-weight: 800; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-bottom .footer-legal-links a { min-height: 24px; display: inline-flex; align-items: center; color: var(--paper); font-weight: 750; text-decoration: none; }
.footer-bottom .footer-legal-links a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom .footer-legal-links a:active { color: var(--pink); }
