/* Afterglow glass: flatter compositions, translucent surfaces and soft highlights. */
.afterglow {
  --glass-fill: linear-gradient(135deg, #d8f9ff10, #c9fff405 42%, #a3caff09), #101d29c7;
  --glass-edge: #d2f1ff24;
  --glass-shadow: inset 0 1px 0 #efffff21, inset 0 -1px 0 #cce9ff07, 0 14px 40px #0003;
}

/* The supplied wordmark retains a dark matte within its alpha channel.
   Screen compositing keeps that matte from darkening the surface behind it.
   Leave the wrapper unisolated so the image blends with its actual card. */
.afterglow .brand {
  background: transparent;
}
.afterglow .brand img {
  mix-blend-mode: screen;
}

/* Feather the image boundary, rather than blurring the lettering itself.
   The full-opacity centre preserves the mark and its coloured glow. */
.afterglow .brand img {
  filter: contrast(1.08);
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 7%, #000 96%, transparent),
    linear-gradient(to bottom, transparent, #000 12%, #000 85%, transparent);
  mask-image:
    linear-gradient(to right, transparent, #000 7%, #000 96%, transparent),
    linear-gradient(to bottom, transparent, #000 12%, #000 85%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* Solid backgrounds are the baseline; translucency is enabled with blur support. */
.afterglow .floating-net,
.afterglow .dark-float,
.afterglow .showcase-highlight,
.afterglow .feature-preview,
.afterglow .control-panel {
  background: linear-gradient(135deg, #24333f, #14232e 65%);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .afterglow .floating-net,
  .afterglow .dark-float,
  .afterglow .showcase-highlight,
  .afterglow .feature-preview,
  .afterglow .control-panel {
    background: var(--glass-fill);
    -webkit-backdrop-filter: blur(24px) saturate(135%);
    backdrop-filter: blur(24px) saturate(135%);
  }
}

/* A light glass capsule gives the navigation a quieter, contemporary outline. */
@media (min-width: 701px) {
  .afterglow .site-header nav {
    padding: 13px 25px;
    border: 1px solid #d7f3ff15;
    border-radius: 40px;
    background: linear-gradient(120deg, #e4f6ff09, #ccffed03);
    box-shadow: inset 0 1px 0 #efffff10;
    gap: 28px;
  }
}
.afterglow .header-button {
  background: linear-gradient(130deg, #defde914, #baffd808);
  border-color: #c5f5d62d;
  border-radius: 30px;
  box-shadow: inset 0 1px 0 #f0ffed14;
}
.afterglow .primary { border-radius: 30px; }
.afterglow .hero {
  background: radial-gradient(ellipse at 85% 38%, #1c5e7020, transparent 58%);
}
.afterglow .depth-scene {
  perspective: none;
  isolation: isolate;
}
.afterglow .depth-scene::before {
  content: '';
  position: absolute;
  inset: 30px -10px 0;
  background:
    radial-gradient(ellipse at 76% 31%, #66c7f338, transparent 47%),
    radial-gradient(ellipse at 35% 68%, #56cfab2e, transparent 48%);
  pointer-events: none;
  z-index: -1;
}
.afterglow .depth-scene > .phone {
  top: 22px;
  right: 7%;
  transform: rotate(2deg);
  transform-origin: center;
  border: 2px solid #d4f4ff45;
  background: linear-gradient(150deg, #223341, #111d29 45%, #0d1723);
  border-radius: 31px;
  box-shadow: inset 0 1px 0 #ffffff32, inset 0 -1px 0 #bce5ff12, 0 25px 55px #0005;
}
.afterglow .depth-scene > .phone::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 29px;
  background: linear-gradient(118deg, #e4faff08, transparent 27%, transparent 79%, #d9f8ff04);
  pointer-events: none;
}
.afterglow .depth-scene .balance-block {
  background: linear-gradient(120deg, #c0f0ab, #77ddc5);
  border: 1px solid #e8ffdc6b;
  box-shadow: inset 0 1px 0 #f8ffe94d;
  border-radius: 16px;
}
.afterglow .depth-scene .floating-net {
  top: 222px;
  left: -5px;
  transform: rotate(-2deg);
  border-radius: 20px;
  border-top-color: #e0f7ff55;
  border-left-color: #d3f8f635;
}
.afterglow .depth-scene .floating-net > small { color: #acc5ce; }
.afterglow .depth-scene .dark-float {
  left: 45px;
  bottom: 6px;
  transform: none;
  border-radius: 18px;
  border-top-color: #ddfff63d;
}
.afterglow .depth-scene .dark-float small { color: #b0c7c8; }
.afterglow .depth-scene .dark-float > span { color: #b8ead2; }
.afterglow .depth-scene .orbit { opacity: .23; }

/* The main desktop screen returns to an undistorted, level composition. */
.showcase-scene {
  position: relative;
  isolation: isolate;
  padding: 7px 0 0;
}
.showcase-scene::before {
  content: '';
  position: absolute;
  inset: 10% -2% 12%;
  background:
    radial-gradient(ellipse at 18% 60%, #258c7c22, transparent 60%),
    radial-gradient(ellipse at 80% 30%, #377ba32b, transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.afterglow .showcase-scene .desktop-showcase {
  position: relative;
  transform: none;
  border: 1px solid #ddf6ff2e;
  border-top-color: #e8f9ff4d;
  border-radius: 18px;
  background: linear-gradient(130deg, #f0fcff0e, #d5f6ff04), #12222edb;
  box-shadow: inset 0 1px 0 #eafcff24, 0 22px 65px #0004;
}
.afterglow .showcase-scene .window-bar {
  padding-block: 17px;
  color: #b5c9d2;
  background: linear-gradient(110deg, #e4faff09, #ccedff03);
  border-bottom-color: #e4faff10;
}
.afterglow .showcase-scene .desktop-showcase .app-main {
  background: linear-gradient(145deg, #17242f, #111c28 65%);
}
.afterglow .showcase-scene .desktop-showcase .metrics > div,
.afterglow .showcase-scene .desktop-showcase .inner-panel {
  background: linear-gradient(135deg, #d7f4ff08, #c8edff02), #172632;
  border-color: #d9f1ff19;
  border-top-color: #e4f9ff27;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 #f0ffff06;
}
.afterglow .showcase-scene .insight-inline {
  background: linear-gradient(110deg, #7ae3bf10, #99dfff06);
  border-color: #b8ffe321;
  border-radius: 12px;
}
.showcase-highlight {
  position: relative;
  display: flex;
  align-items: center;
  gap: 19px;
  width: fit-content;
  max-width: 100%;
  margin: 19px 0 19px auto;
  padding: 18px 24px;
  border-radius: 19px;
  color: #eaf6fa;
}
.showcase-highlight > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 24px; }
.showcase-highlight small { display: block; font-size: .5625rem; letter-spacing: .1em; color: #aec9cd; line-height: 1.6; }
.showcase-highlight strong { grid-column: 2; grid-row: 1 / 3; font-size: 1.7rem; font-weight: 550; letter-spacing: -.04em; }
.showcase-highlight strong > span { font-size: 1rem; color: #9dbfc5; }
.showcase-highlight p { grid-column: 1; font-size: .75rem; color: #c3d8dd; margin: 0; }
.highlight-icon { width: 40px; height: 42px; flex-shrink: 0; display: grid; place-items: center; color: #b5e7d6; font-size: 1.4rem; border: 1px solid #e0fff92a; background: linear-gradient(135deg, #bfffe717, #b9ecff06); border-radius: 12px; }
.afterglow .overview-caption { margin-top: 0; }

/* Use frosted surfaces selectively and retain a dark backing for financial text. */
.afterglow .feature-content {
  border-color: #d0f5ff17;
  background:
    radial-gradient(ellipse at 90% 30%, #497aa22e, transparent 50%),
    radial-gradient(ellipse at 60% 95%, #3c98772b, transparent 50%),
    #101b25;
  border-radius: 20px;
}
.afterglow .feature-preview { border-radius: 18px; border-top-color: #e2f6ff42; }
.afterglow .feature-tabs button { border-radius: 30px; }
.afterglow .feature-tabs button[aria-selected=true] {
  background: linear-gradient(120deg, #cbffe91c, #c4ecff0b);
  border-color: #d4ffee32;
  box-shadow: inset 0 1px 0 #f0fff618;
  color: #d1f3e8;
}
.afterglow .detail-card {
  border-color: #d6f1ff18;
  border-radius: 18px;
  background: linear-gradient(145deg, #e5f9ff06, #dceeff02), #111d27;
  box-shadow: inset 0 1px 0 #edffff0d;
}
.afterglow .builder-card { background: radial-gradient(ellipse at top left, #43756618, transparent 65%), #111e28; }
.afterglow .merchant-example,
.afterglow .suggestion-preview,
.afterglow .statement-preview {
  border-color: #dbf4ff20;
  box-shadow: inset 0 1px 0 #efffff0e;
  border-radius: 12px;
}
.afterglow .control-panel { border-radius: 22px; border-top-color: #ddf9ff3b; }
.afterglow .control-panel-top { border-bottom-color: #d2f1ff18; }
.afterglow .control-shield,
.afterglow .detail-symbol { background: linear-gradient(140deg, #d3ffee12, #b8e6ff04); border-color: #d1fff22b; box-shadow: inset 0 1px 0 #efffff12; }

@media (max-width: 1150px) {
  .afterglow .depth-scene .floating-net { width: 270px; left: -10px; }
  .afterglow .depth-scene .dark-float { left: 12px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .afterglow .site-header nav { gap: 19px; padding: 12px 21px; }
}
@media (max-width: 900px) {
  .afterglow .depth-scene .floating-net { width: 250px; }
}
@media (max-width: 800px) {
  .afterglow .depth-scene > .phone { right: 28px; }
  .afterglow .depth-scene .floating-net { left: 0; width: 280px; }
  .afterglow .depth-scene .dark-float { left: 35px; }
}
@media (max-width: 700px) {
  .afterglow .site-header nav { border-color: #d5f4ff2e; background: #152630f5; box-shadow: inset 0 1px 0 #f0ffff24, 0 15px 35px #0005; border-radius: 18px; }
  .afterglow .site-header nav a { border-radius: 11px; }
  .afterglow .site-header nav a:hover { background: #c1f2f012; }
  .afterglow .menu-toggle { border-color: #def7ff2b; background: linear-gradient(120deg, #e5faff12, #e5faff05); border-radius: 20px; box-shadow: inset 0 1px 0 #efffff12; }
  .showcase-highlight { width: 100%; padding: 18px; gap: 14px; }
  .showcase-highlight > div { flex: 1; }
}
@media (max-width: 480px) {
  .afterglow .depth-scene > .phone { top: 5px; right: 3px; transform: rotate(2deg) scale(.89); transform-origin: top right; }
  .afterglow .depth-scene .floating-net { top: 234px; left: 0; width: 225px; transform: rotate(-2deg); }
  .afterglow .depth-scene .dark-float { left: 5px; bottom: 0; }
  .afterglow .depth-scene::before { inset: 10px 0 0; }
  .showcase-highlight > div { gap: 3px 10px; }
  .showcase-highlight small { font-size: .5rem; }
  .showcase-highlight strong { font-size: 1.35rem; }
  .showcase-highlight strong > span { font-size: .8125rem; }
  .showcase-highlight p { font-size: .6875rem; }
  .highlight-icon { width: 31px; height: 35px; font-size: 1.1rem; }
}
@media (prefers-reduced-transparency: reduce) {
  .afterglow .floating-net,
  .afterglow .dark-float,
  .afterglow .showcase-highlight,
  .afterglow .feature-preview,
  .afterglow .control-panel { background: #182936; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (forced-colors: active) {
  .afterglow .floating-net,
  .afterglow .dark-float,
  .afterglow .showcase-highlight,
  .afterglow .feature-preview,
  .afterglow .control-panel { border: 1px solid CanvasText; background: Canvas; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Canadian identity stays close to the product promise. */
.afterglow .hero-origin {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 25px 0 0;
  font-size: .8125rem;
  color: #cfdfdf;
  line-height: 1.7;
}
.origin-mark {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 29px;
  height: 24px;
  font-size: .625rem;
  letter-spacing: .07em;
  color: #c7edde;
  border: 1px solid #dcfff02b;
  border-radius: 6px;
  background: linear-gradient(120deg, #cdffea13, #c1e6ff05);
}
.afterglow .hero-origin + .hero-footnote { margin-top: 9px; }
.footer-origin { display: block; color: #a2bfb9; font-size: .75rem; margin-top: 16px; }

.afterglow .feature-tabs { flex-wrap:wrap; }
.payday-entry { display:flex; align-items:center; gap:14px; padding:23px 0; margin-top:25px; border-block:1px solid #d1fff217; }
.payday-entry b { display:block; font-size:.875rem; font-weight:500; }
.payday-entry small { display:block; margin-top:7px; font-size:.75rem; color:#9fb9c2; }
.payday-entry>strong { margin-left:auto; font-size:.875rem; font-weight:500; color:#78ddbb; }
.payday-icon { display:grid; place-items:center; width:38px; height:38px; border-radius:12px; background:#b7ffe214; color:#9ceac7; font-size:1.4rem; }
.cashflow-equation { margin-top:28px; }
.cashflow-equation>div { display:flex; justify-content:space-between; gap:15px; padding:13px 0; font-size:.875rem; color:#bcd0d8; }
.cashflow-equation b { font-weight:500; color:#e6f3f6; }
.cashflow-equation .cashflow-result { border-top:1px solid #d0ffee24; padding-block:21px; margin-top:6px; align-items:center; }
.cashflow-result strong { font-size:1.8rem; color:#78ddbb; font-weight:550; }
.budget-remainder { display:flex; align-items:center; justify-content:space-between; gap:15px; font-size:.8125rem; padding:15px; border:1px solid #d4ffee25; border-radius:10px; background:#c5fff109; color:#bdcfdb; }
.budget-remainder strong { font-size:1.1rem; color:#b0e6da; }
.merchant-result[hidden] { display:none; }
.merchant-demo-button { display:flex; align-items:center; justify-content:space-between; gap:15px; margin:16px 0 0; padding:12px 13px; width:100%; background:#b5ffe90b; border:1px solid #c8ffef2a; border-radius:9px; color:#c8eadf; font-size:.8125rem; }
.merchant-demo-button:hover { background:#b5ffe915; }
.merchant-card .example-label { font-size:.75rem; line-height:1.7; min-height:3.4em; margin-bottom:0; }
.afterglow .control-section { padding-bottom:75px; }
@media(max-width:700px) {
 .afterglow .feature-tabs { display:grid; grid-template-columns:1fr 1fr; }
 .afterglow .feature-tabs button { font-size:.8125rem; }
}

.afterglow .intelligence-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 75px;
  border-bottom: 1px solid #d2f1ff12;
}
.intelligence-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1rem; line-height: 1.8; max-width: 480px; }
.intelligence-note { display: flex; align-items: flex-start; gap: 13px; margin-top: 27px; padding-top: 22px; border-top: 1px solid #c7efe51c; }
.intelligence-note > span { color: #b5e7d6; font-size: 1.5rem; line-height: 1.4; }
.intelligence-note p { font-size: .875rem; color: #b9d4ce; margin: 0; line-height: 1.75; }
.intelligence-features {
  background: linear-gradient(135deg, #d8f9ff0b, #c9fff403 60%), #14232ee8;
  border: 1px solid var(--glass-edge);
  border-top-color: #e2f6ff36;
  border-radius: 22px;
  padding: 10px 30px 23px;
  box-shadow: var(--glass-shadow);
}
.intelligence-features article { display: flex; gap: 20px; padding: 25px 0; }
.intelligence-features article + article { border-top: 1px solid #d2f1ff14; }
.intelligence-number { font-size: .75rem; color: #a4d6c8; padding-top: 4px; }
.intelligence-features h3 { font-size: 1rem; font-weight: 550; line-height: 1.5; margin: 0 0 9px; }
.intelligence-features article p { color: #aabfc8; font-size: .9375rem; line-height: 1.75; margin: 0; }
.intelligence-footnote { margin: 0; padding-top: 16px; border-top: 1px solid #d2f1ff14; font-size: .75rem; line-height: 1.7; color: #a5b8c0; }
@media (max-width: 1100px) {
  .afterglow .intelligence-section { gap: 40px; }
  .afterglow .intelligence-section h2 { font-size: 2.6rem; }
}
@media (max-width: 800px) {
  .afterglow .hero-origin { justify-content: center; }
  .afterglow .intelligence-section { grid-template-columns: 1fr; gap: 30px; }
  .intelligence-copy > p:not(.eyebrow) { max-width: none; }
}
@media (max-width: 480px) {
  .afterglow .hero-origin { gap: 8px; font-size: .75rem; }
  .afterglow .intelligence-section h2 { font-size: 2.25rem; }
  .intelligence-features { padding: 5px 21px 21px; }
  .intelligence-features article { gap: 14px; padding: 22px 0; }
  .intelligence-features article p { font-size: .875rem; }
}

/* A varied ending: reassurance strip, editorial story, centred FAQ, colourful close. */
.afterglow .control-strip { padding-block: 38px 44px; border-bottom: 1px solid #5ae0bf22; }
.control-strip-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.afterglow .control-strip h2 { font-size: 1.25rem; font-weight: 550; letter-spacing: -.025em; line-height: 1.4; margin: 0; }
.control-strip-heading > p { margin: 0; font-size: .8125rem; color: #8faeb9; }
.control-assurances { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.control-assurances article { display: flex; align-items: flex-start; gap: 14px; }
.control-assurances article + article { border-left: 1px solid #9edace20; padding-left: 28px; }
.control-assurances article > span { color: #46e7bd; font-size: .6875rem; padding-top: 4px; }
.control-assurances h3 { margin: 0 0 8px; font-size: .9375rem; font-weight: 550; line-height: 1.45; letter-spacing: -.015em; }
.control-assurances article p { margin: 0; font-size: .875rem; line-height: 1.7; color: #a4bec7; }
.afterglow .founder-section { display: block; border: 0; padding-block: 120px 100px; background: radial-gradient(ellipse at 30% 35%, #02d99c09, transparent 60%); }
.founder-heading { max-width: 950px; margin-inline: auto; }
.founder-heading .eyebrow { margin-bottom: 30px; }
.afterglow .founder-heading h2 { font-size: clamp(2.6rem, 4.7vw, 4.5rem); line-height: 1.12; font-weight: 500; letter-spacing: -.055em; margin: 0 0 42px; }
.founder-story { min-width: 0; max-width: 680px; margin-inline: auto; }
.founder-story p { font-size: 1rem; line-height: 1.9; color: #b6cbd4; margin: 0 0 26px; }
.founder-story > p { color: #c2d5dc; font-size: 1.0625rem; }
.founder-more { border-block: 1px solid #84e6ce26; }
.founder-more summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; list-style: none; cursor: pointer; color: #70f2cf; font-size: .875rem; font-weight: 550; }
.founder-more summary::-webkit-details-marker { display: none; }
.founder-more summary::marker { content: ''; }
.founder-more .story-read, .founder-more .story-close { font-size: inherit; font-weight: inherit; color: inherit; }
.founder-more .story-close, .founder-more[open] .story-read { display: none; }
.founder-more[open] .story-close { display: inline; }
.founder-more[open] summary > span { transform: none; }
.founder-more .story-toggle { font-size: 1.4rem; font-weight: 400; }
.founder-more[open] summary > .story-toggle { transform: rotate(45deg); }
.founder-full-story { padding: 7px 0 26px; }
.founder-full-story p { padding-right: 0; }
.founder-full-story p:last-child { margin-bottom: 0; }
.afterglow .faq { display: block; max-width: 1040px; padding-top: 35px; padding-bottom: 95px; }
.afterglow .faq > div:first-child { text-align: center; margin-bottom: 36px; }
.afterglow .faq h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.2; letter-spacing: -.045em; margin-bottom: 0; }
.afterglow .faq .eyebrow { margin-bottom: 14px; }
.afterglow .faq-list { border-top: 1px solid #d3f5ff20; }
.afterglow .faq summary { font-size: 1rem; padding-block: 22px; }
.afterglow .closing.finale { padding-block: 56px; margin-bottom: 48px; background: none; }
.afterglow .closing.finale::before { background: radial-gradient(ellipse at 10% 0, #b3ff6b99, transparent 55%), linear-gradient(110deg, #48e6b6, #42d6dc 65%, #74beff); border: 1px solid #b1ffe08c; border-radius: 24px; }
.afterglow .closing.finale .eyebrow { color: #185653; font-size: .625rem; margin-bottom: 17px; }
.afterglow .closing.finale h2 { font-size: clamp(2rem, 3.5vw, 3.3rem); line-height: 1.2; color: #092d36; letter-spacing: -.05em; margin-bottom: 12px; }
.afterglow .closing.finale h2 em { color: #15576a; }
.afterglow .closing.finale > p:not(.eyebrow) { color: #1c535b; margin-bottom: 24px; font-size: .9375rem; }
.afterglow .closing.finale .primary { background: #092c36; color: #d9fff1; border-color: #0a3544; box-shadow: 0 5px 18px #0a656523; padding: 13px 23px; }
.afterglow .closing.finale .primary:hover { background: #154453; }
@media (prefers-reduced-motion: no-preference) { .founder-more .story-toggle { transition: transform .25s; } }
@media (max-width: 800px) {
 .control-assurances { gap: 20px; }
 .control-assurances article { gap: 9px; }
 .control-assurances article + article { padding-left: 17px; }
 .afterglow .founder-section { padding-block: 85px 70px; }
 .founder-heading, .founder-story { max-width: 680px; }
}
@media (max-width: 650px) {
 .control-strip-heading { display: block; margin-bottom: 23px; }
 .control-strip-heading > p { margin-top: 5px; }
 .control-assurances { grid-template-columns: minmax(0, 1fr); gap: 20px; }
 .control-assurances article { gap: 15px; }
 .control-assurances article + article { border-left: 0; padding-left: 0; }
 .control-assurances article p { max-width: 390px; }
 .afterglow .control-strip { padding-block: 30px 38px; }
 .afterglow .founder-heading h2 { font-size: clamp(2.05rem, 7.4vw, 3rem); margin-bottom: 27px; }
 .founder-heading .eyebrow { font-size: .625rem; line-height: 1.8; margin-bottom: 23px; }
 .founder-story > p { font-size: 1rem; }
 .afterglow .faq { padding-top: 10px; padding-bottom: 65px; }
 .afterglow .faq summary { font-size: .9375rem; }
 .afterglow .closing.finale { padding-block: 40px; }
 .afterglow .closing.finale h2 { font-size: 2rem; padding-inline: 20px; }
 .afterglow .closing.finale > p:not(.eyebrow) { padding-inline: 25px; }
}
@media (forced-colors: active) {
 .afterglow .closing.finale::before { background: Canvas; border-color: CanvasText; }
 .afterglow .closing.finale h2, .afterglow .closing.finale h2 em, .afterglow .closing.finale .eyebrow, .afterglow .closing.finale > p:not(.eyebrow) { color: CanvasText; }
 .afterglow .closing.finale .primary { background: ButtonFace; color: ButtonText; border-color: ButtonText; }
}

/* Keep the three feature-card labels readable at every breakpoint. */
.afterglow .detail-heading .eyebrow {
  min-width: 0;
  font-size: .875rem;
  line-height: 1.5;
  letter-spacing: .055em;
  font-weight: 700;
  text-wrap: balance;
}
.afterglow .detail-heading { gap: 13px; }

/* Brighter Afterglow accents, with dark surfaces retained for contrast. */
.afterglow { --accent: #36efbc; --muted: #b5c6d1; --glass-edge: #5fcce23d; }
.afterglow .hero h1 em { background-image: linear-gradient(105deg, #a0ff5e, #27efd0 65%, #47cfff); }
.afterglow .section h2 em, .afterglow .closing h2 em { color: #48edc5; }
.afterglow .hero-copy > .eyebrow, .afterglow .eyebrow { color: #55f0c9; }
.afterglow .eyebrow-line { background: #50f2c7; }
.afterglow .primary { background: linear-gradient(110deg, #a5ff66, #42edbe); border-color: #a3ffb2; color: #082b25; box-shadow: 0 5px 25px #17e6ad25, inset 0 1px 0 #e5ffc26b; }
.afterglow .primary:hover { background: linear-gradient(110deg, #b9ff83, #68f9d2); box-shadow: 0 8px 30px #1ff0b836; }
.afterglow .header-button { color: #8affd5; border-color: #3ef5b750; background: linear-gradient(130deg, #27eebc1c, #20baff0a); }
.afterglow .hero { background: radial-gradient(ellipse 38% 48% at 62% 48%, #087bab2b, #087bab00 100%); }
/* Explicit radii bring each glow to zero opacity before its layer boundary.
   Only the decorative background changes; phone and cards remain unmasked. */
.afterglow .depth-scene::before {
  background:
    radial-gradient(ellipse 34% 46% at 66% 46%, #24baff4a 0%, #24baff18 45%, #24baff00 100%),
    radial-gradient(ellipse 45% 38% at 45% 62%, #05ecb03d 0%, #05ecb014 45%, #05ecb000 100%);
}
.afterglow .depth-scene .balance-block { background: linear-gradient(120deg, #a2ff59, #32ecc4); border-color: #bfff927a; }
.afterglow .track .mint { background: linear-gradient(90deg, #00d79d, #3cf6bd); }
.afterglow .track .purple { background: linear-gradient(90deg, #9260ff, #be8bff); }
.afterglow .track .blue { background: linear-gradient(90deg, #238dff, #40d6ff); }
.afterglow .positive, .afterglow .cashflow-result strong { color: #36efb9 !important; }
.afterglow .feature-tabs button[aria-selected=true] { color: #83ffda; border-color: #39ecc04f; background: linear-gradient(120deg, #09e6b525, #1eafff12); }
.afterglow .feature-content { background: radial-gradient(ellipse at 90% 30%, #177ce53b, transparent 50%), radial-gradient(ellipse at 60% 95%, #00c18a30, transparent 50%), #0e1d2b; }
.afterglow .detail-symbol, .afterglow .intelligence-number, .afterglow .card-index { color: #55f4cb; }
.afterglow .detail-symbol { border-color: #2bf0ba40; background: #08d5a717; }
.afterglow .merchant-symbol { background: linear-gradient(135deg, #28d6a9, #3caddc); color: #092e2e; }
.afterglow .intelligence-features { border-color: #51d6de3b; background: linear-gradient(135deg, #047f9825, #703fe00c 75%), #112431; }
@media (forced-colors: active) {
 .afterglow .primary, .afterglow .header-button { background: ButtonFace; color: ButtonText; border-color: ButtonText; box-shadow: none; }
 .afterglow .hero h1 em { background: none; color: CanvasText; }
}

/* Small Canadian bank signatures beneath the hero's origin line. */
.afterglow .hero-banks { margin-top: 15px; scroll-margin-top: 120px; }
.afterglow .hero-banks .bank-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 12px 18px; list-style: none; padding: 0; margin: 0; }
.afterglow .hero-banks .bank-logos li { display: flex; align-items: center; justify-content: center; min-height: 28px; }
.afterglow .hero-banks .bank-logos img { display: block; object-fit: contain; max-width: 100%; }
.afterglow .hero-banks .bank-rbc { width: 22px; height: 28px; }
.afterglow .hero-banks .bank-td { width: 32px; height: 28px; }
.afterglow .hero-banks .bank-scotia { width: 90px; height: 22px; }
.afterglow .hero-banks .bank-bmo { width: 64px; height: 24px; }
.afterglow .hero-banks .bank-cibc { width: 68px; height: 24px; }
.afterglow .hero-copy .hero-bank-note { margin-top: 12px; font-size: .75rem; line-height: 1.65; color: #a6b9c0; }
.afterglow .hero-bank-note span { color: #91a6b0; }
@media (max-width: 800px) {
  .afterglow .hero-banks .bank-logos { justify-content: center; }
}
@media (max-width: 480px) {
  .afterglow .hero-banks .bank-logos { column-gap: 12px; }
  .afterglow .hero-banks .bank-rbc { width: 20px; height: 26px; }
  .afterglow .hero-banks .bank-td { width: 25px; height: 24px; }
  .afterglow .hero-banks .bank-scotia { width: 76px; height: 20px; }
  .afterglow .hero-banks .bank-bmo { width: 52px; height: 21px; }
  .afterglow .hero-banks .bank-cibc { width: 54px; height: 21px; }
}
/* Keep existing customers one click away on desktop and mobile. */
.afterglow .header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.afterglow .login-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 17px; border: 1px solid #66eac346; border-radius: 999px; color: #a5ffe1; background: #19bb9510; font-size: .875rem; font-weight: 600; white-space: nowrap; transition: background .2s ease, border-color .2s ease; }
.afterglow .login-button:hover { background: #25d9ac22; border-color: #66eac37a; }
.afterglow .login-button:focus-visible { outline: 2px solid #9cffd9; outline-offset: 4px; }
@media (min-width: 801px) and (max-width: 1100px) {
  .afterglow .header-actions .header-button { display: none; }
}
@media (max-width: 700px) {
  .afterglow .site-header { gap: 10px; }
  .afterglow .site-header > a { margin-right: auto; }
  .afterglow .header-actions { gap: 0; }
  .afterglow .login-button { padding-inline: 14px; font-size: .8125rem; }
  .afterglow .menu-toggle { gap: 8px; padding-inline: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .afterglow .login-button { transition: none; }
}
@media (max-width: 380px) {
  .afterglow .site-header .brand img { width: 100px; height: 34px; }
  .afterglow .site-header .brand { padding-inline: 0; }
}
