/* Signal Works: home page ("Daylight editorial"). Kept out of index.html so the CSP can forbid inline styles. */
:root {
  --paper: #f7f3ea;      /* page */
  --paper-hi: #fcfaf5;   /* plates inside the stone bands */
  --stone: #ece5d6;      /* neutral panel behind the hero shot */
  --stone-band: #f0eadf; /* stats and portal bands */
  --rule: #dcd3c1;       /* hairlines */
  --rule-dark: #c7bca7;  /* timeline connector on phones */
  --ink: #0e2a22;        /* headings, dark band, theme-color */
  --text: #26352f;       /* body copy */
  --muted: #56655e;      /* secondary copy */
  --signal: #2fbf7c;     /* CTA fill */
  --signal-hover: #27a96c;
  --signal-bright: #5fe0a1; /* accents on the dark band only */
  --green-deep: #0b6b45; /* small green text on light */
  --tint: #e6f0e8;       /* pale pine band behind the portal shot */
  --tint-rule: #cfdfd3;
  --band-text: #f3efe6;
  --band-muted: #b3c5bb;
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--paper);
       -webkit-font-smoothing: antialiased; line-height: 1.6; font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; }
p, dt, figcaption, li { text-wrap: pretty; }
.nw { white-space: nowrap; }
a { color: inherit; }
.wrap { max-width: 1224px; margin: 0 auto; padding: 0 32px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
       background: var(--signal); color: var(--ink); font-family: var(--sans); font-weight: 600;
       font-size: 16px; line-height: 1.2; text-decoration: none; padding: 15px 26px; border-radius: 10px;
       white-space: nowrap; transition: background .15s ease, transform .15s ease, box-shadow .15s ease; }
@media (hover: hover) {
  .btn:hover { background: var(--signal-hover); transform: translateY(-1px); }
  .btn-line:hover { background: rgba(14,42,34,.06); box-shadow: inset 0 0 0 2px var(--ink); }
}
.btn-sm { font-size: 14.5px; padding: 11px 18px; border-radius: 9px; min-height: 44px; }
.btn-line { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }

/* Header */
.top { border-bottom: 1px solid var(--rule); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px;
           padding-top: 18px; padding-bottom: 18px; }
.logo { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--ink); }
.sw-mark { width: 40px; height: 40px; flex: none; border-radius: 50%; }
.logo-name { font-weight: 700; font-size: 17px; line-height: 1.1; letter-spacing: -.005em; }
.logo-name span { display: block; font-weight: 500; font-size: 11px; color: var(--muted);
                  letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; white-space: nowrap; }
.top-right { display: flex; align-items: center; gap: 26px; }
.top-tel { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--ink);
           text-decoration: none; min-height: 44px; padding: 10px 0; border-bottom: 1px solid transparent;
           white-space: nowrap; }
.top-tel:hover { border-bottom-color: var(--ink); }
.tel-ico { width: 16px; height: 16px; flex: none; color: var(--green-deep); }

/* Eyebrows and section heads */
.eyebrow { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; color: var(--green-deep); font-size: 13px;
           font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; text-wrap: balance; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); flex: none;
                   margin-top: calc(.75em - 3.5px); }
h1, h2, .fig, .stat dd, .num, .group-h, .cta-tel, .proof-lead {
  font-family: var(--serif); font-weight: 500; color: var(--ink); font-optical-sizing: auto; }
h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.018em; text-wrap: balance; }
.sec { padding: 112px 0; }
.sec + .sec { border-top: 1px solid var(--rule); }
.sec-head { max-width: 780px; margin-bottom: 56px; }

/* Hero: kept short enough that the stats figures clear the fold at 1280x800 */
.hero { padding: 40px 0 44px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.1fr); gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(42px, 4.6vw, 60px); line-height: 1.03; letter-spacing: -.025em; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--green-deep); }
.lede { font-size: 19.5px; line-height: 1.6; color: var(--text); margin-top: 24px; max-width: 34em; }
.hero-act { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; margin-top: 34px; }

/* Product frame: a neutral panel so the portal's blue reads as product UI */
.plate { background: var(--stone); border-radius: 22px; padding: 24px; }
.hero-shot.plate { padding-bottom: 20px; }
.frame { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #ddd5c5;
         box-shadow: 0 1px 1px rgba(14,42,34,.04), 0 28px 50px -24px rgba(14,42,34,.38); }
.frame img { display: block; width: 100%; height: auto; }
.crop { overflow: hidden; }
.frame-bar { display: flex; gap: 6px; align-items: center; height: 28px; padding: 0 14px;
             background: #f5f2ec; border-bottom: 1px solid #e6dfd1; }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d1c1; }
.hero-shot figcaption { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin-top: 14px; padding: 0 4px; }

/* Stats: the first stone band */
.stats { background: var(--stone-band); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
         padding: 34px 0 44px; }
.stats-h { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .14em;
           text-transform: uppercase; color: var(--muted); margin-bottom: 22px; line-height: 1.4; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px;
        padding: 0 28px; border-left: 1px solid var(--rule); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat dd { font-size: clamp(46px, 5vw, 66px); line-height: .95; letter-spacing: -.02em; }
.stat dt { font-size: 15px; line-height: 1.45; color: var(--muted); max-width: 22ch; }
.note { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 36px; padding-top: 18px;
        border-top: 1px solid var(--rule); max-width: 92ch; }

/* How it works */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.steps li { border-top: 2px solid var(--green-deep); padding-top: 22px; }
.num { display: block; font-size: 46px; line-height: 1; font-style: italic; color: var(--green-deep);
       margin-bottom: 18px; }
.steps h3 { font-size: 19px; font-weight: 650; color: var(--ink); line-height: 1.3; margin-bottom: 10px;
            letter-spacing: -.005em; }
.steps p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* The program: two typographic lists */
.program { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 80px; }
/* Rows are shared across the two lists (subgrid) so their hairlines line up at every width. */
.group { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
.group-h { font-size: 30px; font-style: italic; line-height: 1.1; padding-bottom: 20px; }
.feat { list-style: none; border-top: 2px solid var(--green-deep); grid-row: span 3; display: grid;
        grid-template-rows: subgrid; }
.feat li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 20px; padding: 28px 0;
           border-bottom: 1px solid var(--rule); }
.ico { width: 28px; height: 28px; color: var(--green-deep); margin-top: 1px; }
.feat h4 { font-size: 18.5px; font-weight: 650; color: var(--ink); line-height: 1.35; margin-bottom: 8px;
           letter-spacing: -.005em; }
.feat p { font-size: 16px; line-height: 1.62; color: var(--muted); }

/* Inside the portal: the one pale-pine band. Copy on the left, the registrant timeline on the right. */
.sec-portal { background: var(--tint); border-top: 1px solid var(--tint-rule); border-bottom: 1px solid var(--tint-rule);
              padding: 96px 0; }
.sec-portal + .sec { border-top: 0; }
.portal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); column-gap: 72px; align-items: center; }
.portal-copy { max-width: 600px; }
.portal-copy h2 { font-size: clamp(32px, 3.2vw, 42px); }
.portal-lede { font-size: 18px; line-height: 1.6; color: var(--text); margin-top: 22px; max-width: 34em; }
/* One level of framing: a white card on the band, the capture at about its own size. */
.frame-act { background: #f8fafc; padding: 6px 4px 2px; }
/* The timeline capture is mostly empty on its right side: crop that off so the event lines stay legible. */
.frame-act img { aspect-ratio: 3 / 2; object-fit: cover; object-position: left top; }

/* Proof */
.proof-lead { font-size: clamp(25px, 2.5vw, 32px); line-height: 1.3; letter-spacing: -.01em; max-width: 30em;
              margin-bottom: 56px; }
.proof { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.proof li { border-top: 2px solid var(--ink); padding-top: 26px; display: flex; flex-direction: column; }
.fig { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-size: 64px; line-height: 1;
       letter-spacing: -.025em; }
.fig small { font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.proof p { font-size: 17px; line-height: 1.55; color: var(--text); margin: 18px 0 0; }
.when { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
        color: var(--muted); margin-top: auto; padding-top: 16px; }
.proof-note { margin-top: 56px; }

/* Closing CTA: the one dark band */
.cta { background: var(--ink); color: var(--band-text); padding: 104px 0; position: relative; overflow: hidden; }
.cta-arcs { position: absolute; width: 560px; height: 560px; right: -200px; top: 50%; margin-top: -280px;
            opacity: .08; pointer-events: none; }
.cta-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px;
            align-items: end; }
.cta h2 { color: var(--band-text); font-size: clamp(36px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.022em; }
.cta-msg p { font-size: 19px; line-height: 1.6; color: var(--band-muted); margin-top: 22px; max-width: 32em; }
.cta-act { display: flex; flex-direction: column; align-items: flex-start; border-left: 1px solid rgba(243,239,230,.18);
           padding-left: 48px; }
.cta-label { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
             color: var(--signal-bright); }
.cta-tel { font-size: clamp(36px, 3.8vw, 50px); line-height: 1.15; color: var(--band-text); text-decoration: none;
           letter-spacing: -.01em; margin: 8px 0 26px; padding: 4px 0; border-bottom: 1px solid rgba(243,239,230,.3); }
.cta-tel:hover { border-bottom-color: var(--signal-bright); }

/* Footer */
.foot { padding: 44px 0 56px; }
.foot-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 72px; align-items: start; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--ink); }
.sw-mark-sm { width: 28px; height: 28px; }
.foot-text { justify-self: end; max-width: 80ch; }
.foot-note { font-size: 13px; line-height: 1.65; color: var(--muted); }
.foot-meta { display: flex; flex-wrap: wrap; align-items: center; font-size: 13px; line-height: 1.6; color: var(--muted);
             margin-top: 14px; padding-top: 4px; border-top: 1px solid var(--rule); }
.foot-meta a { color: var(--ink); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center;
               min-height: 44px; padding: 10px 0; }
.foot-meta .sep { margin: 0 .4em; }
.foot-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Keyboard focus */
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.cta a:focus-visible { outline-color: var(--signal-bright); }

/* Less motion for those who ask for it */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* Tracking-pixel fallback image (noscript) */
.px { display: none; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { gap: 44px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
  .program { column-gap: 48px; }
  .portal { column-gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
}
@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-copy { max-width: 680px; }
  .sec { padding: 88px 0; }
  .stats { padding: 48px 0; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .portal-copy h2 { font-size: clamp(32px, 3.6vw, 42px); }
  .cta-arcs { width: 420px; height: 420px; right: -170px; top: auto; bottom: -60px; margin-top: 0; }
  .proof { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .proof li { padding: 26px 0 30px; }
  .cta-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
  .cta-act { border-left: 0; padding-left: 0; border-top: 1px solid rgba(243,239,230,.18); padding-top: 32px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-text { justify-self: start; }
}
/* The program keeps its two lists side by side down to small tablets. */
@media (max-width: 860px) {
  .program, .group, .feat { display: block; }
  .group + .group { margin-top: 56px; }
}
/* Below small tablets the timeline goes under its copy, at about its own size. */
@media (max-width: 760px) {
  .portal { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .p-act { max-width: 460px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .top-row { padding-top: 14px; padding-bottom: 14px; gap: 12px; }
  .top-right { gap: 16px; }
  .top-tel { font-size: 14.5px; gap: 6px; }
  .logo { gap: 10px; }
  .top .sw-mark { width: 36px; height: 36px; }
  .logo-name { font-size: 16px; }
  .logo-name span { font-size: 10px; letter-spacing: .1em; }
  .btn-sm { font-size: 14px; padding: 10px 14px; }
  .eyebrow { font-size: 12px; letter-spacing: .1em; }
  .hero { padding: 36px 0 52px; }
  .hero h1 { font-size: clamp(38px, 10.4vw, 46px); }
  .lede { font-size: 18px; margin-top: 20px; }
  .hero-act { margin-top: 28px; flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-act .btn { width: 100%; padding-top: 16px; padding-bottom: 16px; }
  .plate { padding: 14px; border-radius: 16px; }
  /* The roster is a wide desktop view: on phones it bleeds off the right edge, cropped to the first two
     registrants at a readable size. */
  .hero-shot { margin: 0 -20px 0 -6px; }
  .hero-shot.plate { padding: 14px 0 12px 14px; border-radius: 16px 0 0 16px; }
  .hero-shot .frame { border-right: 0; border-radius: 9px 0 0 9px; }
  .hero-shot .crop { aspect-ratio: 1000 / 620; }
  .hero-shot .crop img { width: 167.4%; max-width: none; }
  .frame-bar { height: 22px; padding: 0 10px; gap: 5px; }
  .frame-bar i { width: 7px; height: 7px; }
  .hero-shot figcaption { font-size: 13px; margin-top: 12px; padding: 0 20px 0 2px; }
  .stats { padding: 44px 0 40px; }
  .stats-h { margin-bottom: 26px; }
  .stat { padding: 0 0 0 18px; gap: 10px; }
  .stat dd { font-size: 42px; }
  .stat dt { font-size: 13.5px; }
  .note { margin-top: 32px; font-size: 12.5px; }
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 36px; }
  h2 { font-size: 32px; }

  /* How it works becomes a vertical timeline: numeral node on the left, a thin rule joining the steps. */
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px;
              border-top: 0; padding: 0 0 30px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { content: ""; position: absolute; left: 21.5px; top: 44px; bottom: 0; width: 1px;
                      background: var(--rule-dark); }
  .steps li:last-child::before { display: none; }
  .num { grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
         border: 1.5px solid var(--green-deep); border-radius: 50%; background: var(--paper); font-size: 23px;
         margin: 0; padding-right: 2px; }
  .steps h3 { grid-column: 2; font-size: 18px; padding-top: 10px; margin-bottom: 6px; }
  .steps p { grid-column: 2; font-size: 15.5px; }

  .group-h { font-size: 26px; padding-bottom: 16px; }
  .feat li { grid-template-columns: 26px minmax(0, 1fr); gap: 16px; padding: 22px 0; }
  .ico { width: 24px; height: 24px; }
  .feat h4 { font-size: 17.5px; }
  .portal-copy h2 { font-size: 32px; }
  .portal-lede { font-size: 17px; margin-top: 18px; }
  .p-act { margin: 0 -6px; max-width: none; }
  .frame { border-radius: 9px; }
  /* Full content width for the timeline, cropped tighter so its text stays near its captured size. */
  .frame-act img { aspect-ratio: 25 / 18; }
  .proof-lead { font-size: 21px; margin-bottom: 36px; }
  .fig { font-size: 54px; }
  .proof-note { margin-top: 28px; }
  .cta { padding: 72px 0; }
  /* Arcs sit top right on phones so they never run behind the full-width button. */
  .cta-arcs { width: 320px; height: 320px; right: -100px; top: -48px; bottom: auto; }
  .cta-msg p { font-size: 17.5px; }
  .cta-tel { font-size: 36px; }
  .cta-act .btn { width: 100%; }
  .foot { padding: 36px 0 44px; }
}
/* Phones: the phone number takes the header slot; the hero's two buttons sit right below. */
@media (max-width: 560px) {
  .top-btn { display: none; }
}
/* Very narrow phones */
@media (max-width: 380px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .logo { gap: 8px; }
  .top .sw-mark { width: 32px; height: 32px; }
  .hero-shot { margin-right: -16px; }
  .hero-shot figcaption { padding-right: 16px; }
  .logo-name { font-size: 15px; }
  .logo-name span { font-size: 9.5px; letter-spacing: .08em; }
  .top-tel { font-size: 14px; }
  .tel-ico { width: 14px; height: 14px; }
  .stat dd { font-size: 38px; }
}
/* Under 350px there is no room for the descriptor beside the phone number. */
@media (max-width: 349px) {
  .logo-name span { display: none; }
}
