/* Stouter Technologies blue-led public theme.
 * Kept dependency-free so it stays fast on AccuWeb shared hosting. */
:root {
    --stouter-navy: #07133d;
    --stouter-navy-deep: #04102e;
    --stouter-blue: #165dce;
    --stouter-blue-dark: #0a3d9c;
    --stouter-cyan: #04b9ee;
    --stouter-sky: #f1faff;
    --stouter-surface: #ffffff;
    --stouter-lime: #b8f329;
    --stouter-coral: #ff6b3d;
    --stouter-ink: #112044;
    --stouter-muted: #52627c;
    --stouter-line: #d4e6f3;
    --stouter-shadow: 0 18px 42px rgba(7, 19, 61, .10);
    --stouter-radius: 22px;
}

html, html[data-site-theme="light"] { background: var(--stouter-sky) !important; }
body.site-page, body.site-page--home {
    background: var(--stouter-sky) !important;
    color: var(--stouter-ink) !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
body.site-page .container,
body.site-page--home .container { max-width: 1280px; padding-left: clamp(1rem, 4vw, 4.5rem); padding-right: clamp(1rem, 4vw, 4.5rem); }
body.site-page main.container { padding-top: 1rem; padding-bottom: 3.5rem; }
body.site-page h1, body.site-page h2, body.site-page h3, body.site-page h4,
body.site-page--home h1, body.site-page--home h2, body.site-page--home h3, body.site-page--home h4 {
    color: var(--stouter-navy) !important;
    letter-spacing: -.035em;
}
body.site-page a, body.site-page--home a { color: var(--stouter-blue); }
body.site-page .muted, body.site-page--home .muted { color: var(--stouter-muted) !important; }

/* Shared header */
body.site-page .topbar, body.site-page--home .topbar {
    padding-top: max(.8rem, env(safe-area-inset-top, 0px));
    background: var(--stouter-navy) !important;
    backdrop-filter: blur(16px);
}
body.site-page .public-site-header, body.site-page--home .public-site-header {
    width: min(1180px, calc(100% - 2rem));
    min-height: 74px;
    margin: .25rem auto .7rem;
    padding: .55rem .7rem .55rem 1.05rem;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto auto auto;
    gap: 1rem;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
}
body.site-page .public-site-header__brand, body.site-page--home .public-site-header__brand {
    width: 100%; max-width: 320px; gap: .75rem; overflow: visible;
}
body.site-page .public-site-header__logo, body.site-page--home .public-site-header__logo {
    width: 84px !important; height: 56px !important; object-fit: contain !important; object-position: center !important;
    border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important;
}
body.site-page .public-site-header__copy, body.site-page--home .public-site-header__copy { width: max-content; max-width: 100%; gap: .1rem; }
body.site-page .public-site-header__title, body.site-page--home .public-site-header__title { color: #fff !important; font-size: 1.08rem; }
body.site-page .public-site-header__slogan, body.site-page--home .public-site-header__slogan { display: none; }
body.site-page .public-site-header__nav, body.site-page--home .public-site-header__nav { display: flex; align-items: center; justify-content: center; gap: clamp(.65rem, 2vw, 1.7rem); }
body.site-page .public-site-header__nav a, body.site-page--home .public-site-header__nav a {
    display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .1rem; color: #fff !important;
    text-decoration: none; font-size: .85rem; font-weight: 750; white-space: nowrap; border-bottom: 2px solid transparent;
}
body.site-page .public-site-header__nav a i, body.site-page--home .public-site-header__nav a i { display: none; }
body.site-page .public-site-header__nav a:hover, body.site-page .public-site-header__nav a:focus-visible,
body.site-page--home .public-site-header__nav a:hover, body.site-page--home .public-site-header__nav a:focus-visible,
body.site-page .public-site-header__nav a[aria-current="page"], body.site-page--home .public-site-header__nav a[aria-current="page"] { color: var(--stouter-blue) !important; border-color: var(--stouter-coral); outline: none; }
body.site-page .public-site-header__nav a[aria-current="page"], body.site-page--home .public-site-header__nav a[aria-current="page"] { background: transparent !important; color: #fff !important; border-color: transparent !important; box-shadow: none !important; }
body.site-page .public-site-header__cta, body.site-page--home .public-site-header__cta {
    display: inline-flex; align-items: center; gap: .45rem; padding: .75rem 1.05rem; border-radius: 11px;
    background: var(--stouter-coral); color: #fff !important; text-decoration: none; font-size: .82rem; font-weight: 850;
    box-shadow: 0 8px 18px rgba(255, 107, 61, .22); white-space: nowrap;
}
body.site-page .public-site-header__cta:hover, body.site-page .public-site-header__cta:focus-visible,
body.site-page--home .public-site-header__cta:hover, body.site-page--home .public-site-header__cta:focus-visible { background: #ef572d; outline: 3px solid rgba(255,107,61,.2); outline-offset: 2px; }
body.site-page .public-site-header__actions, body.site-page--home .public-site-header__actions { gap: 0; }
body.site-page .public-site-header__profile-btn, body.site-page--home .public-site-header__profile-btn {
    display: none !important; width: 42px; height: 42px; border-radius: 12px; background: transparent !important; color: #fff !important; border-color: transparent !important;
}
body.site-page .public-site-header__profile-btn-label, body.site-page--home .public-site-header__profile-btn-label { display: none; }
body.site-page .public-site-header__profile-btn-icon, body.site-page--home .public-site-header__profile-btn-icon { font-size: 1.05rem; }
body.site-page .public-scroll-nav, body.site-page--home .public-scroll-nav { display: none; }

/* Shared content primitives */
body.site-page .section, body.site-page--home .section { margin: 1.25rem 0 0; padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid rgba(212,230,243,.9); border-radius: var(--stouter-radius); background: rgba(255,255,255,.88); box-shadow: var(--stouter-shadow); }
body.site-page .section-head, body.site-page--home .section-head { align-items: end; margin-bottom: 1.35rem; }
body.site-page .section-head h1, body.site-page--home .section-head h1 { margin-bottom: .35rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 5vw, 3.4rem); }
body.site-page .section-head h2, body.site-page--home .section-head h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 3vw, 2.5rem); }
body.site-page .eyebrow, body.site-page--home .eyebrow { color: var(--stouter-blue) !important; font-size: .72rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
body.site-page .btn, body.site-page--home .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 42px; padding: .68rem 1rem;
    border: 1px solid var(--stouter-blue); border-radius: 10px; background: transparent; color: var(--stouter-blue) !important; font-weight: 800; text-decoration: none;
}
body.site-page .btn:hover, body.site-page .btn:focus-visible, body.site-page--home .btn:hover, body.site-page--home .btn:focus-visible { background: #eaf5ff; outline: 3px solid rgba(22,93,206,.15); outline-offset: 2px; }
body.site-page .btn-primary, body.site-page--home .btn-primary { background: var(--stouter-coral) !important; border-color: var(--stouter-coral) !important; color: #fff !important; box-shadow: 0 10px 22px rgba(255,107,61,.18); }
body.site-page .btn-primary:hover, body.site-page--home .btn-primary:hover { background: #ef572d !important; }
body.site-page .card, body.site-page .quote, body.site-page .faq-item, body.site-page--home .card, body.site-page--home .quote, body.site-page--home .faq-item {
    border: 1px solid var(--stouter-line) !important; border-radius: 16px !important; background: var(--stouter-surface) !important; color: var(--stouter-ink) !important; box-shadow: 0 10px 24px rgba(7,19,61,.06) !important;
}
body.site-page .card .body, body.site-page--home .card .body { background: transparent !important; }
body.site-page .faq-item, body.site-page--home .faq-item { padding: 1rem 1.1rem !important; }

/* Homepage hero */
body.site-page--home main.container { max-width: none; padding: 0 0 3rem; }
body.site-page--home .home-site-hero {
    width: 100%; max-width: none; min-height: min(670px, calc(100vh - 100px)); margin: -1rem 0 0; padding: clamp(4.5rem, 10vw, 7rem) max(1.5rem, calc((100vw - 1180px) / 2)) clamp(3.5rem, 7vw, 5.5rem);
    display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); overflow: hidden; position: relative;
    background: radial-gradient(circle at 84% 20%, rgba(4,185,238,.22), transparent 22%), radial-gradient(circle at 72% 80%, rgba(22,93,206,.25), transparent 26%), linear-gradient(135deg, var(--stouter-navy-deep), var(--stouter-navy) 60%, #0d2f86) !important;
    border-radius: 0 0 46px 46px; color: #fff !important;
}
body.site-page--home .home-site-hero::after { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; bottom: -170px; border: 1px solid rgba(4,185,238,.25); border-radius: 50%; box-shadow: 0 0 0 28px rgba(4,185,238,.04), 0 0 0 60px rgba(4,185,238,.025); }
body.site-page--home .home-site-hero__copy { position: relative; z-index: 2; max-width: 620px; }
body.site-page--home .home-site-hero__eyebrow { color: var(--stouter-cyan) !important; }
body.site-page--home .home-site-hero__copy h1 { max-width: 620px; margin: .65rem 0 1.25rem; color: #fff !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.9rem, 6.1vw, 5.5rem); line-height: .98; letter-spacing: -.055em; }
body.site-page--home .home-site-hero__copy h1 { text-transform: none !important; }
body.site-page--home .home-site-hero__copy h1 span { color: #54c7ff; }
body.site-page--home .home-site-hero__copy > p:not(.home-site-hero__eyebrow) { max-width: 49ch; margin: 0; color: #dbe9ff !important; font-size: clamp(1rem, 1.6vw, 1.22rem); line-height: 1.65; }
body.site-page--home .home-site-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
body.site-page--home .home-site-hero__primary, body.site-page--home .home-site-hero__secondary { display: inline-flex; align-items: center; gap: .55rem; padding: .88rem 1.15rem; border-radius: 11px; font-weight: 850; text-decoration: none; }
body.site-page--home .home-site-hero__primary { background: var(--stouter-coral) !important; color: #fff !important; box-shadow: 0 12px 24px rgba(255,107,61,.2) !important; }
body.site-page--home .home-site-hero__secondary { border: 1px solid rgba(255,255,255,.55) !important; background: transparent !important; color: #fff !important; }
body.site-page--home .home-site-showcase { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 1fr 1fr; gap: 1rem; min-height: 430px; transform: rotate(-2deg); }
body.site-page--home .home-site-showcase__card { position: relative; display: block; min-width: 0; overflow: hidden; border: 6px solid rgba(255,255,255,.9); border-radius: 18px; background: #dceeff; box-shadow: 0 24px 45px rgba(0,0,0,.3); text-decoration: none; }
body.site-page--home .home-site-showcase__card--wide { grid-row: 1 / span 2; }
body.site-page--home .home-site-showcase__frame, body.site-page--home .home-site-showcase__frame img { display: block; width: 100%; height: 100%; }
body.site-page--home .home-site-showcase__frame { position: relative; }
body.site-page--home .home-site-showcase__frame img { object-fit: cover; }
body.site-page--home .home-site-showcase__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 34%, rgba(7,19,61,.84)); }
body.site-page--home .home-site-showcase__text { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: grid; gap: .18rem; color: #fff; }
body.site-page--home .home-site-showcase__text span { color: #a7e9ff; font-size: .7rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
body.site-page--home .home-site-showcase__text strong { font-size: 1.05rem; }
body.site-page--home .home-site-showcase__text small { color: #dceeff; }
body.site-page--home .home-services-grid, body.site-page--home .home-portfolio-showcase { margin-top: .8rem; }
body.site-page--home .home-site-hero + style + .section { margin-top: 1.5rem; }

/* Reusable landing page layouts */
.stouter-page-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); margin: -1rem 0 1.25rem; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem); overflow: hidden; border-radius: 0 0 34px 34px; background: linear-gradient(135deg, var(--stouter-navy-deep), var(--stouter-navy) 58%, #0d2f86); color: #fff; }
.stouter-page-hero::after { display: none; }
.stouter-page-hero::after { content: ""; position: absolute; right: -80px; bottom: -160px; width: 330px; height: 330px; border: 1px solid rgba(84,199,255,.35); border-radius: 50%; box-shadow: 0 0 0 28px rgba(84,199,255,.06), 0 0 0 58px rgba(84,199,255,.03); }
.stouter-page-hero__copy { position: relative; z-index: 1; max-width: 650px; }
.stouter-page-hero h1 { margin: .5rem 0 1rem; color: #fff !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 5.7vw, 5rem); line-height: 1; letter-spacing: -.055em; }
body.site-page .stouter-page-hero h1 { color: #fff !important; }
body.site-page .stouter-page-hero h1 span { color: #54c7ff !important; }
.stouter-page-hero p { max-width: 54ch; color: #dbe9ff; font-size: 1.05rem; line-height: 1.7; }
.stouter-page-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
body.site-page .stouter-page-hero__actions .btn { color: #fff !important; border-color: rgba(255,255,255,.58) !important; }
.stouter-page-hero__actions .btn-primary { border-color: var(--stouter-coral) !important; }
/* Dark-hero neutral CTAs must keep a dark hover surface behind their white copy. */
body.site-page .stouter-page-hero__actions .btn:not(.btn-primary):hover,
body.site-page .stouter-page-hero__actions .btn:not(.btn-primary):focus-visible {
    background: var(--stouter-blue-dark) !important;
    border-color: #54c7ff !important;
    color: #fff !important;
    outline: 3px solid rgba(84,199,255,.24);
    outline-offset: 2px;
}
.stouter-page-hero__visual { position: relative; z-index: 1; min-height: 330px; display: grid; place-items: center; }
.stouter-page-hero__visual img { display: block; width: min(100%, 520px); max-height: 410px; object-fit: contain; filter: drop-shadow(0 26px 28px rgba(0,0,0,.28)); }
.stouter-preview-stack { position: relative; width: min(100%, 500px); min-height: 330px; }
.stouter-preview-stack img { position: absolute; width: 72%; max-height: 290px; object-fit: cover; border: 6px solid rgba(255,255,255,.9); border-radius: 14px; box-shadow: 0 22px 36px rgba(0,0,0,.26); }
.stouter-preview-stack img:first-child { left: 0; top: 24px; transform: rotate(-5deg); }
.stouter-preview-stack img:last-child { right: 0; bottom: 0; transform: rotate(4deg); }
.stouter-pill-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .8rem; margin: 0 0 1.3rem; }
.stouter-pill { padding: 1rem 1.1rem; border: 1px solid var(--stouter-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(7,19,61,.05); }
.stouter-pill strong { display: block; color: var(--stouter-navy); }
.stouter-pill span { color: var(--stouter-muted); font-size: .86rem; }
.stouter-kicker { margin: 0 0 .55rem; color: var(--stouter-blue); font-size: .74rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.stouter-section-title { max-width: 700px; margin: 0 0 1.3rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.03; }
.stouter-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.stouter-grid--four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.stouter-card { padding: 1.3rem; border: 1px solid var(--stouter-line); border-radius: 17px; background: #fff; box-shadow: 0 12px 28px rgba(7,19,61,.06); }
.stouter-card__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1rem; border-radius: 12px; background: #e8f5ff; color: var(--stouter-blue); font-size: 1.1rem; }
.stouter-card h3 { margin: 0 0 .45rem; font-size: 1.15rem; }
.stouter-card p { margin: 0; color: var(--stouter-muted); line-height: 1.55; }
.stouter-process { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; counter-reset: process; }
.stouter-process__step { position: relative; padding: 1.1rem 1rem 1rem 3.3rem; border-top: 2px solid #9eddf7; }
.stouter-process__step::before { counter-increment: process; content: counter(process); position: absolute; left: 0; top: .75rem; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--stouter-blue); color: #fff; font-weight: 850; }
.stouter-process__step h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.stouter-process__step p { margin: 0; color: var(--stouter-muted); font-size: .9rem; line-height: 1.55; }
.stouter-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.4rem, 4vw, 2.8rem); border-radius: 24px; background: linear-gradient(135deg, var(--stouter-navy-deep), var(--stouter-navy)); color: #fff; }
.stouter-cta h2 { margin: 0 0 .4rem; color: #fff !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3.6vw, 3rem); }
body.site-page .stouter-cta h2 { color: #fff !important; }
body.site-page .stouter-cta p { margin: 0; color: #dbe9ff !important; }
body.site-page .stouter-page-hero__actions .btn { color: #fff !important; }
.stouter-cta .btn { flex: 0 0 auto; }
.stouter-faqs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
.stouter-faqs details { padding: .9rem 1rem; border: 1px solid var(--stouter-line); border-radius: 12px; background: #fff; }
.stouter-faqs summary { color: var(--stouter-navy); cursor: pointer; font-weight: 800; }
.stouter-faqs p { color: var(--stouter-muted); }

/* Dynamic legacy surfaces inherit the same visual system. */
body.site-page .services-grid, body.site-page .apps-grid { gap: 1rem; }
body.site-page .service-category-card, body.site-page .service-item-card, body.site-page .app-category-card, body.site-page .app-item-card { min-height: 240px; border: 1px solid var(--stouter-line); border-radius: 18px; background: var(--stouter-navy); box-shadow: var(--stouter-shadow); }
body.site-page .service-category-card::after, body.site-page .service-item-card::after, body.site-page .app-category-card::after, body.site-page .app-item-card::after { background: linear-gradient(180deg, rgba(7,19,61,.04), rgba(7,19,61,.82)); }
body.site-page .service-category-card img, body.site-page .service-item-card img, body.site-page .app-category-card img, body.site-page .app-item-card img { filter: saturate(.9) brightness(.8); }
body.site-page .service-category-card .body h3, body.site-page .service-item-card .body h3, body.site-page .app-category-card .body h3, body.site-page .app-item-card .body h3 { color: #fff !important; text-transform: none; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
body.site-page .home-services-grid .home-svc-cat-card, body.site-page .home-services-grid .home-svc-item-card { min-height: 220px; border-color: var(--stouter-line); border-radius: 18px; }
body.site-page .home-services-grid .home-svc-cat-card .body, body.site-page .home-services-grid .home-svc-item-card .body { background: rgba(7,19,61,.9); border-color: transparent; }
body.site-page .home-services-grid .home-svc-cat-card .body h3, body.site-page .home-services-grid .home-svc-item-card .body h3 { color: #fff !important; text-transform: none; }
body.site-page .home-portfolio-showcase { gap: 1rem; }
body.site-page .home-portfolio-website-card, body.site-page .home-portfolio-app-card { border-color: var(--stouter-line); border-radius: 18px; box-shadow: var(--stouter-shadow); }
body.site-page .home-portfolio-card__body { background: #fff; color: var(--stouter-ink); }
body.site-page .home-portfolio-card__body h3, body.site-page .home-portfolio-app-card__body h3 { color: var(--stouter-navy) !important; text-transform: none; }

/* Contact / form controls */
body.site-page .contact-lead-form input, body.site-page .contact-lead-form select, body.site-page .contact-lead-form textarea { background: #fff !important; color: var(--stouter-ink) !important; border: 1px solid var(--stouter-line) !important; border-radius: 11px; }
body.site-page .contact-category-card, body.site-page .contact-service-card { border-color: var(--stouter-line); background: #fff; color: var(--stouter-ink); }
body.site-page .contact-category-card:hover, body.site-page .contact-category-card:focus-visible, body.site-page .contact-category-card.is-active, body.site-page .contact-service-card.is-active { border-color: var(--stouter-blue); box-shadow: 0 0 0 2px rgba(22,93,206,.1) inset; }

@media (max-width: 980px) {
    body.site-page .public-site-header, body.site-page--home .public-site-header { grid-template-columns: minmax(160px,1fr) auto auto; }
    body.site-page .public-site-header__nav, body.site-page--home .public-site-header__nav { gap: .85rem; }
    body.site-page .public-site-header__nav a:nth-child(5), body.site-page--home .public-site-header__nav a:nth-child(5) { display: none; }
    body.site-page--home .home-site-hero, .stouter-page-hero { grid-template-columns: 1fr; }
    body.site-page--home .home-site-showcase { max-width: 640px; width: 100%; justify-self: center; }
    .stouter-page-hero__visual { min-height: 280px; }
    .stouter-grid--four, .stouter-process { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
    body.site-page .public-site-header, body.site-page--home .public-site-header { width: calc(100% - 1rem); grid-template-columns: minmax(0,1fr) auto auto; gap: .35rem; padding-left: .6rem; }
    body.site-page .public-site-header__logo, body.site-page--home .public-site-header__logo { width: 64px !important; height: 44px !important; }
    body.site-page .public-site-header__title, body.site-page--home .public-site-header__title { font-size: .86rem; }
    body.site-page .public-site-header__nav, body.site-page--home .public-site-header__nav { display: none; }
    body.site-page .public-site-header__cta, body.site-page--home .public-site-header__cta { padding: .65rem .72rem; font-size: .76rem; }
    body.site-page main.container { padding-left: .7rem; padding-right: .7rem; }
    body.site-page .section, body.site-page--home .section { padding: 1.1rem; border-radius: 17px; }
    body.site-page--home .home-site-hero { margin-top: -.7rem; padding: 4.2rem 1.25rem 3.2rem; border-radius: 0 0 28px 28px; }
    body.site-page--home .home-site-hero__copy h1 { font-size: clamp(2.6rem, 12vw, 4.2rem); }
    body.site-page--home .home-site-showcase { grid-template-columns: 1.1fr .9fr; min-height: 290px; }
    body.site-page--home .home-site-showcase__card { border-width: 4px; border-radius: 12px; }
    .stouter-page-hero { margin-top: -.7rem; padding: 3.5rem 1.25rem 2.8rem; border-radius: 0 0 26px 26px; }
    .stouter-page-hero h1 { font-size: clamp(2.4rem, 12vw, 4rem); }
    .stouter-page-hero__visual { min-height: 230px; }
    .stouter-pill-row, .stouter-grid, .stouter-grid--four, .stouter-process, .stouter-faqs { grid-template-columns: 1fr; }
    .stouter-cta { align-items: flex-start; flex-direction: column; }
    .stouter-cta .btn { width: 100%; }
    .stouter-preview-stack { min-height: 230px; }
    .stouter-preview-stack img { max-height: 205px; }
    body.site-page .services-grid, body.site-page .apps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; }
    body.site-page .service-category-card, body.site-page .service-item-card, body.site-page .app-category-card, body.site-page .app-item-card { min-height: 155px; }
}
@media (max-width: 430px) {
    body.site-page .public-site-header__cta i, body.site-page--home .public-site-header__cta i { display: none; }
    body.site-page .public-site-header__cta, body.site-page--home .public-site-header__cta { padding: .6rem .62rem; }
    body.site-page .public-site-header__profile-btn, body.site-page--home .public-site-header__profile-btn { width: 36px; height: 36px; }
    body.site-page .services-grid, body.site-page .apps-grid { gap: .45rem; }
    body.site-page .service-category-card, body.site-page .service-item-card, body.site-page .app-category-card, body.site-page .app-item-card { min-height: 132px; border-radius: 13px; }
}

/* Final mockup-fidelity layer. Keep the accepted homepage rhythm open and
 * section-led instead of wrapping every block in the old generic panel. */
body.site-page--home .home-site-hero { margin-top: -1.2rem; border-radius: 0 0 46px 46px; }
body.site-page--home .home-site-hero__copy h1 { max-width: 620px; font-size: clamp(2.85rem, 4.1vw, 4.3rem); line-height: 1.02; }
body.site-page--home .home-site-hero__copy > p:not(.home-site-hero__eyebrow) { max-width: 38ch; }
body.site-page--home .stouter-home-services,
body.site-page--home .stouter-home-process,
body.site-page--home #legacy-home-services,
body.site-page--home #legacy-home-portfolio,
body.site-page--home #legacy-home-service-areas,
body.site-page--home #legacy-home-blog,
body.site-page--home #legacy-home-reviews,
body.site-page--home #legacy-home-faq,
body.site-page--home #legacy-home-ready,
body.site-page--home #legacy-home-subscribe { background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.site-page--home #legacy-home-services,
body.site-page--home #legacy-home-portfolio,
body.site-page--home #legacy-home-service-areas,
body.site-page--home #legacy-home-blog,
body.site-page--home #legacy-home-reviews,
body.site-page--home #legacy-home-faq,
body.site-page--home #legacy-home-ready,
body.site-page--home #legacy-home-subscribe { display: none !important; }
body.site-page--home .stouter-home-services,
body.site-page--home .stouter-home-process { max-width: 1180px; margin: 0 auto; padding: 3.6rem 1rem 2.6rem !important; }
body.site-page--home .stouter-home-services > .stouter-kicker,
body.site-page--home .stouter-home-services > .stouter-section-title,
body.site-page--home .stouter-home-process > .stouter-kicker { display: none; }
body.site-page--home .stouter-home-services .stouter-card { border-radius: 18px; min-height: 210px; padding: 1.3rem 1.15rem 1.2rem; }
body.site-page--home .stouter-home-services .stouter-card__icon { width: 48px !important; height: 48px !important; border-radius: 13px; color: #fff !important; box-shadow: 0 10px 20px rgba(22,93,206,.18); }
body.site-page--home .stouter-home-services .stouter-card:nth-child(1) .stouter-card__icon { background: linear-gradient(145deg, #8b5cf6, #6d48d8) !important; }
body.site-page--home .stouter-home-services .stouter-card:nth-child(2) .stouter-card__icon { background: linear-gradient(145deg, #45c8ad, #2d9b88) !important; }
body.site-page--home .stouter-home-services .stouter-card:nth-child(3) .stouter-card__icon { background: linear-gradient(145deg, #ff7654, #ed5238) !important; }
body.site-page--home .stouter-home-services .stouter-card:nth-child(4) .stouter-card__icon { background: linear-gradient(145deg, #628be9, #3f67cb) !important; }
body.site-page--home .stouter-home-services .stouter-card h3 { margin-bottom: .5rem; font-size: 1.25rem; }
body.site-page--home .stouter-home-services .stouter-card p { font-size: .9rem; line-height: 1.55; }
body.site-page--home .stouter-home-process { padding-top: 1.1rem !important; padding-bottom: 3.6rem !important; }
body.site-page--home .stouter-home-process .stouter-section-title { text-align: center; margin-left: auto; margin-right: auto; }
body.site-page--home .stouter-home-process .stouter-section-title::after { content: ""; display: block; width: 145px; height: 7px; margin: .35rem auto 0; border-bottom: 3px solid #9b7bf1; border-radius: 50%; transform: rotate(-2deg); }
body.site-page--home .stouter-home-process .stouter-process { position: relative; gap: 1.1rem; }
body.site-page--home .stouter-home-process .stouter-process::before { content: ""; position: absolute; left: 4%; right: 4%; top: 22px; border-top: 2px dashed #dbe2f6; }
body.site-page--home .stouter-home-process .stouter-process__step { z-index: 1; display: grid; grid-template-columns: 36px 56px minmax(0, 1fr); align-items: start; column-gap: .55rem; padding: 0; border-top: 0; }
body.site-page--home .stouter-home-process .stouter-process__step::before { content: none; }
body.site-page--home .stouter-home-process .stouter-process__number { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #9b7bf1; color: #fff; font-weight: 850; }
body.site-page--home .stouter-home-process .stouter-process__step:nth-child(2) .stouter-process__number { background: #45b69f; }
body.site-page--home .stouter-home-process .stouter-process__step:nth-child(3) .stouter-process__number { background: #ff7654; }
body.site-page--home .stouter-home-process .stouter-process__step:nth-child(4) .stouter-process__number { background: #5c83df; }
body.site-page--home .stouter-home-process .stouter-process__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-top: -10px; border-radius: 50%; background: #fff; color: #8b70e7; font-size: 1.25rem; box-shadow: 0 8px 20px rgba(7,19,61,.10); }
body.site-page--home .stouter-home-process .stouter-process__step:nth-child(2) .stouter-process__icon { color: #45a891; }
body.site-page--home .stouter-home-process .stouter-process__step:nth-child(3) .stouter-process__icon { color: #f26a4d; }
body.site-page--home .stouter-home-process .stouter-process__step:nth-child(4) .stouter-process__icon { color: #547de0; }
body.site-page--home .stouter-home-process .stouter-process__step > div { grid-column: 1 / -1; padding: .95rem .25rem 0; }
body.site-page--home .stouter-home-process .stouter-process__step h3 { margin: 0 0 .35rem; text-align: center; }
body.site-page--home .stouter-home-process .stouter-process__step p { text-align: center; }

/* Code-native hero composition: browser, phone, and inquiry cards mirror the
 * accepted concept while staying sharp, lightweight, and free of abstract
 * sphere/donut artwork. */
body.site-page--home .home-site-showcase.stouter-hero-stage { display: block; min-height: 470px; transform: none; }
body.site-page--home .stouter-hero-browser { position: absolute; top: 1.5%; right: 1%; width: 89%; height: 72%; overflow: hidden; transform: rotate(-3deg); border: 5px solid rgba(255,255,255,.9); border-radius: 17px; background: #fff; box-shadow: 0 28px 42px rgba(0,0,0,.28); }
body.site-page--home .stouter-hero-browser__bar { display: flex; align-items: center; gap: .35rem; height: 24px; padding: 0 .65rem; border-bottom: 1px solid #e7e4df; background: #f8f7f5; }
body.site-page--home .stouter-hero-browser__bar > span { width: 6px; height: 6px; border-radius: 50%; background: #f66b4d; }
body.site-page--home .stouter-hero-browser__bar > span:nth-child(2) { background: #e9b44d; }
body.site-page--home .stouter-hero-browser__bar > span:nth-child(3) { background: #4bb47d; }
body.site-page--home .stouter-hero-browser__bar small { margin-left: auto; margin-right: auto; color: #85817c; font-size: .44rem; }
body.site-page--home .stouter-hero-browser__page { height: calc(100% - 24px); padding: 1rem 1.1rem; background: #faf9f7; color: #26231f; }
body.site-page--home .stouter-hero-browser__nav { display: flex; align-items: center; gap: .55rem; color: #514d48; font-size: .45rem; }
body.site-page--home .stouter-hero-browser__nav strong { margin-right: auto; color: #28241f; font-size: .65rem; }
body.site-page--home .stouter-hero-browser__nav b { padding: .28rem .4rem; border-radius: 4px; background: #2b7561; color: #fff; font-size: .4rem; }
body.site-page--home .stouter-hero-browser__intro { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: .65rem; height: calc(100% - 25px); }
body.site-page--home .stouter-hero-browser__intro small { color: #857c71; font-size: .43rem; }
body.site-page--home .stouter-hero-browser__intro h2 { margin: .25rem 0; color: #24201b !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1rem, 2vw, 1.7rem); line-height: .98; letter-spacing: -.045em; }
body.site-page--home .stouter-hero-browser__intro p { margin: 0 0 .55rem; color: #766e66; font-size: .45rem; line-height: 1.35; }
body.site-page--home .stouter-hero-browser__intro > div:first-child > b { display: inline-block; padding: .38rem .48rem; border-radius: 4px; background: #2b7561; color: #fff; font-size: .43rem; }
body.site-page--home .stouter-hero-room { position: relative; height: 78%; overflow: hidden; border-radius: 5px; background: linear-gradient(135deg, #e3d9c9 0 45%, #b8c1b2 45% 100%); }
body.site-page--home .stouter-hero-room::before { content: ""; position: absolute; left: 14%; bottom: 12%; width: 30%; height: 38%; border: 6px solid #8d6c4e; border-top-width: 3px; border-radius: 5px 5px 2px 2px; box-shadow: 32px 8px 0 -4px #c5a77f; }
body.site-page--home .stouter-hero-room::after { content: ""; position: absolute; right: 12%; top: 10%; width: 13%; height: 32%; border-radius: 3px; background: linear-gradient(90deg, #9f774b 0 12%, #f6ead9 12% 88%, #9f774b 88%); box-shadow: 0 0 0 4px rgba(62,47,33,.12); }
body.site-page--home .stouter-hero-phone { position: absolute; left: 1%; bottom: -1%; width: 126px; height: 255px; padding: 1.25rem .7rem .65rem; transform: rotate(-8deg); border: 5px solid #fff; border-radius: 19px; background: #fbfbfa; color: #242a36; box-shadow: 0 24px 40px rgba(0,0,0,.3); }
body.site-page--home .stouter-hero-phone__bar { display: flex; justify-content: space-between; margin: -.8rem 0 .8rem; color: #646875; font-size: .42rem; }
body.site-page--home .stouter-hero-phone__bar b { color: #474d5b; letter-spacing: .1em; }
body.site-page--home .stouter-hero-phone > small { display: block; color: #6d7480; font-size: .48rem; }
body.site-page--home .stouter-hero-phone > strong { display: block; margin: .1rem 0 .75rem; font-size: .72rem; }
body.site-page--home .stouter-hero-phone__item { display: grid; gap: .18rem; margin-bottom: .6rem; padding: .55rem .45rem; border: 1px solid #e8e8e5; border-radius: 6px; background: #fff; }
body.site-page--home .stouter-hero-phone__item b { font-size: .48rem; }
body.site-page--home .stouter-hero-phone__item span { color: #8a8d96; font-size: .42rem; }
body.site-page--home .stouter-hero-phone__item i { display: block; width: 70%; height: 3px; border-radius: 99px; background: #8bc8b5; }
body.site-page--home .stouter-hero-phone__tabs { position: absolute; right: .55rem; bottom: .45rem; left: .55rem; display: flex; justify-content: space-between; color: #717782; font-size: .58rem; }
body.site-page--home .stouter-hero-phone__tabs span:first-child { color: #2b7561; }
body.site-page--home .stouter-hero-inquiry { position: absolute; right: -1%; bottom: 7%; width: 176px; padding: .85rem .9rem; transform: rotate(4deg); border: 5px solid #fff; border-radius: 15px; background: #fbfbfa; color: #262a32; box-shadow: 0 24px 40px rgba(0,0,0,.27); }
body.site-page--home .stouter-hero-inquiry__status { position: absolute; top: .9rem; right: .85rem; width: 7px; height: 7px; border-radius: 50%; background: #38ac7f; }
body.site-page--home .stouter-hero-inquiry strong { display: block; margin-bottom: .65rem; font-size: .72rem; }
body.site-page--home .stouter-hero-inquiry small { display: block; margin-bottom: .25rem; color: #747982; font-size: .48rem; }
body.site-page--home .stouter-hero-inquiry p { margin: 0 0 .7rem; color: #555b66; font-size: .55rem; line-height: 1.45; }
body.site-page--home .stouter-hero-inquiry b { display: block; padding: .55rem; border-radius: 6px; background: var(--stouter-coral); color: #fff; text-align: center; font-size: .52rem; }

.stouter-home-portfolio { max-width: 1180px; margin: 0 auto; padding: 1rem 1rem 3.8rem; }
.stouter-home-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.stouter-home-section-head h2, .stouter-home-faq h2 { margin: 0; color: var(--stouter-navy) !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.75rem, 3.1vw, 2.55rem); line-height: 1.05; letter-spacing: -.04em; }
.stouter-inline-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--stouter-blue) !important; font-size: .85rem; font-weight: 850; text-decoration: none; white-space: nowrap; }
.stouter-inline-link:hover, .stouter-inline-link:focus-visible { color: var(--stouter-coral) !important; }
.stouter-project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stouter-project-card { overflow: hidden; border: 1px solid var(--stouter-line); border-radius: 17px; background: #fff; box-shadow: 0 12px 28px rgba(7,19,61,.08); }
.stouter-project-card__image { display: block; aspect-ratio: 1.02 / .88; overflow: hidden; background: #dceeff; }
.stouter-project-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.stouter-project-card:hover .stouter-project-card__image img, .stouter-project-card:focus-within .stouter-project-card__image img { transform: scale(1.035); }
.stouter-project-card__body { display: grid; gap: .32rem; padding: .85rem .9rem 1rem; }
.stouter-project-card__body p { margin: 0; color: var(--stouter-muted); font-size: .72rem; font-weight: 750; }
.stouter-project-card__body h3 { margin: 0; color: var(--stouter-navy) !important; font-size: 1.05rem; letter-spacing: -.025em; }
.stouter-project-card__body a { display: inline-flex; align-items: center; gap: .4rem; margin-top: .35rem; color: var(--stouter-blue) !important; font-size: .78rem; font-weight: 850; text-decoration: none; }
.stouter-home-testimonial { max-width: 1180px; margin: 0 auto 3.2rem; padding: 1.45rem 1.8rem; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.2rem; border: 1px solid #c9e6f5; border-radius: 22px; background: linear-gradient(100deg, #e9f8ff, #e3f1ff); }
.stouter-testimonial__quote-mark { color: var(--stouter-blue); font-family: Georgia, "Times New Roman", serif; font-size: 5rem; font-weight: 900; line-height: .75; }
.stouter-home-testimonial > p { margin: 0; max-width: 58ch; color: var(--stouter-ink); font-size: 1rem; line-height: 1.55; }
.stouter-testimonial__person { display: flex; align-items: center; gap: .65rem; min-width: 180px; }
.stouter-testimonial__avatar { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--stouter-navy); color: #54c7ff; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 800; }
.stouter-testimonial__person strong, .stouter-testimonial__person small, .stouter-testimonial__stars { display: block; }
.stouter-testimonial__person strong { color: var(--stouter-navy); font-size: .88rem; }
.stouter-testimonial__person small { color: var(--stouter-muted); font-size: .72rem; }
.stouter-testimonial__stars { margin-top: .12rem; color: #f2a900; font-size: .82rem; letter-spacing: .08em; }
.stouter-home-faq { max-width: 1000px; margin: 0 auto; padding: 0 1rem 3.4rem; }
.stouter-home-faq .stouter-kicker { display: none; text-align: center; }
.stouter-home-faq h2 { text-align: center; margin-bottom: 1.2rem; }
.stouter-home-faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; }
.stouter-home-faq details { border: 1px solid var(--stouter-line); border-radius: 10px; background: #fff; box-shadow: 0 6px 16px rgba(7,19,61,.05); }
.stouter-home-faq summary { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .7rem .85rem; color: var(--stouter-navy); cursor: pointer; font-size: .82rem; font-weight: 800; list-style: none; }
.stouter-home-faq summary::-webkit-details-marker { display: none; }
.stouter-home-faq summary span { color: var(--stouter-navy); font-size: 1.05rem; font-weight: 500; }
.stouter-home-faq details p { margin: 0; padding: 0 .85rem .8rem; color: var(--stouter-muted); font-size: .78rem; line-height: 1.5; }
.stouter-home-final-cta { max-width: 1180px; margin: 0 auto 2.2rem; padding: 1.65rem 2.4rem; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; border-radius: 24px; background: radial-gradient(circle at 87% 20%, rgba(4,185,238,.18), transparent 24%), linear-gradient(135deg, var(--stouter-navy-deep), var(--stouter-navy)); color: #fff; }
.stouter-home-final-cta__mark img { width: 70px; height: 70px; object-fit: contain; }
.stouter-home-final-cta h2 { margin: 0 0 .3rem; color: #fff !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: .98; }
body.site-page--home .stouter-home-final-cta h2 { color: #fff !important; }
.stouter-home-final-cta p { margin: 0; color: #dbe9ff; font-size: .9rem; }
body.site-page .footer { max-width: 1180px !important; padding: 1rem 0 2.2rem !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.site-page .public-bottom-nav { display: none !important; }

@media (max-width: 980px) {
    .stouter-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stouter-home-testimonial { grid-template-columns: auto minmax(0,1fr); }
    .stouter-testimonial__person { grid-column: 2; }
    .stouter-home-final-cta { grid-template-columns: auto minmax(0,1fr); }
    .stouter-home-final-cta .btn { grid-column: 2; justify-self: start; }
    body.site-page--home .home-site-showcase.stouter-hero-stage { min-height: 430px; max-width: 660px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 700px) {
    body.site-page .public-site-header, body.site-page--home .public-site-header { min-height: 62px; }
    body.site-page .public-site-header__profile-btn, body.site-page--home .public-site-header__profile-btn { display: inline-flex !important; }
    body.site-page--home .home-site-hero { margin-top: -.9rem; border-radius: 0 0 28px 28px; }
    body.site-page--home .home-site-hero__copy h1 { font-size: clamp(2.65rem, 11vw, 4rem); }
    body.site-page--home .home-hero-break { display: none; }
    body.site-page--home .home-site-showcase.stouter-hero-stage { min-height: 385px; }
    body.site-page--home .stouter-hero-browser { top: 2%; right: 0; width: 94%; height: 66%; }
    body.site-page--home .stouter-hero-phone { left: 0; width: 104px; height: 212px; padding: 1.05rem .55rem .5rem; }
    body.site-page--home .stouter-hero-inquiry { right: -2%; width: 145px; padding: .7rem .7rem; }
    body.site-page--home .stouter-hero-inquiry strong { font-size: .65rem; }
    body.site-page--home .stouter-hero-inquiry p { font-size: .49rem; }
    body.site-page--home .stouter-home-process .stouter-process { gap: 1.4rem .8rem; }
    body.site-page--home .stouter-home-process .stouter-process::before { display: none; }
    body.site-page--home .stouter-home-process .stouter-process__step { grid-template-columns: 30px 48px minmax(0, 1fr); column-gap: .4rem; }
    body.site-page--home .stouter-home-process .stouter-process__number { width: 30px; height: 30px; font-size: .85rem; }
    body.site-page--home .stouter-home-process .stouter-process__icon { width: 48px; height: 48px; font-size: 1rem; }
    .stouter-home-section-head { align-items: start; flex-direction: column; }
    .stouter-project-grid { grid-template-columns: 1fr; }
    .stouter-home-testimonial { grid-template-columns: auto 1fr; padding: 1.1rem; }
    .stouter-home-testimonial > p { grid-column: 1 / -1; grid-row: 1; padding-left: 2.2rem; font-size: .9rem; }
    .stouter-testimonial__quote-mark { grid-row: 1; align-self: start; font-size: 3.6rem; }
    .stouter-testimonial__person { grid-column: 1 / -1; grid-row: 2; }
    .stouter-home-faq__grid { grid-template-columns: 1fr; }
    .stouter-home-final-cta { grid-template-columns: auto minmax(0,1fr); padding: 1.25rem; gap: .8rem; }
    .stouter-home-final-cta .btn { grid-column: 1 / -1; width: 100%; }
}

/* The accepted concept keeps the brand, compact conversation CTA, and menu
 * control on one clean row until the phone layout takes over. The legacy
 * tablet rule stacked the nav and let the CTA stretch across the viewport. */
body.site-page .public-site-header__title,
body.site-page--home .public-site-header__title {
    display: inline-flex !important;
    align-items: baseline;
    width: max-content;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    gap: .18em;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 1.08rem !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    line-height: 1 !important;
}
body.site-page .public-site-header__title-brand,
body.site-page--home .public-site-header__title-brand {
    -webkit-text-stroke: .28px rgba(255,255,255,.88);
    paint-order: stroke fill;
    font-size: 1.2em;
    line-height: .94;
    font-weight: 850;
    filter: drop-shadow(0 2px 4px rgba(4,16,46,.62)) drop-shadow(0 0 3px rgba(255,255,255,.18));
}
body.site-page .public-site-header__title-tech,
body.site-page--home .public-site-header__title-tech {
    color: rgba(255,255,255,.86);
    font-weight: 500;
    filter: drop-shadow(0 2px 4px rgba(4,16,46,.62));
}

[data-sc-effect="gradient-text-flow"] {
    color: #155eef;
    background: linear-gradient(100deg, #155eef, #8b5cf6, #0ea5a1, #155eef);
    background-size: 220% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sc-gradient-text 7s linear infinite;
}
@keyframes sc-gradient-text { to { background-position: 220% center; } }
@media (prefers-reduced-motion: reduce) {
    [data-sc-effect="gradient-text-flow"] { animation: none; background-position: 0 center; }
}

@media (max-width: 1080px) and (min-width: 701px) {
    body.site-page .public-site-header,
    body.site-page--home .public-site-header {
        width: min(1180px, calc(100% - 2rem));
        min-height: 68px;
        grid-template-columns: minmax(0, 1fr) auto auto !important;
        grid-template-rows: 1fr !important;
        align-items: center;
        column-gap: .7rem;
        row-gap: 0 !important;
        padding: .48rem .72rem .48rem 1rem;
    }
    body.site-page .public-site-header__brand,
    body.site-page--home .public-site-header__brand { grid-column: auto !important; grid-row: auto !important; }
    body.site-page .public-site-header__nav,
    body.site-page--home .public-site-header__nav { display: none !important; }
    body.site-page .public-site-header__cta,
    body.site-page--home .public-site-header__cta {
        width: auto !important;
        min-width: 0 !important;
        max-width: max-content !important;
        justify-self: end;
        padding: .72rem .92rem;
        font-size: .8rem;
    }
    body.site-page .public-site-header__actions,
    body.site-page--home .public-site-header__actions {
        grid-column: auto !important;
        grid-row: auto !important;
        justify-self: end;
    }
    body.site-page .public-site-header__profile-btn,
    body.site-page--home .public-site-header__profile-btn {
        display: inline-flex !important;
        width: 40px;
        min-width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 12px;
    }
    body.site-page .public-site-header__profile-btn-label,
    body.site-page--home .public-site-header__profile-btn-label { display: none !important; }
    body.site-page .public-site-header__logo,
    body.site-page--home .public-site-header__logo { width: 70px !important; height: 50px !important; }
    body.site-page .public-site-header__title,
    body.site-page--home .public-site-header__title { font-size: 1rem !important; }
}

@media (max-width: 700px) {
    body.site-page .public-site-header__logo,
    body.site-page--home .public-site-header__logo { width: 66px !important; height: 46px !important; }
    body.site-page .public-site-header__title,
    body.site-page--home .public-site-header__title { font-size: .86rem !important; }
}

/* Sticky-shell geometry: the legacy hero offsets were designed for the old
 * floating header and pull the first content pixels underneath the sticky
 * bar. Keep the hero flush with the shell and reserve space for anchored
 * sections when a browser jumps to an in-page target. */
html { scroll-padding-top: 6rem; }
body.site-page--home .home-site-hero,
body.site-page .stouter-page-hero {
    margin-top: 0 !important;
    border: 0 !important;
}
body.site-page .public-site-header,
body.site-page--home .public-site-header { margin-bottom: 0 !important; }
body.site-page--home main.container {
    padding-top: 0 !important;
    padding-right: clamp(1rem, 4vw, 4.5rem) !important;
    padding-bottom: 3rem !important;
    padding-left: clamp(1rem, 4vw, 4.5rem) !important;
}
body.site-page--home [id],
body.site-page [id] { scroll-margin-top: 6rem; }

/* Use one shared inset hero frame across the homepage and secondary landing
 * pages. The hero stays directly below the sticky bar while the surrounding
 * page remains light and spacious. */
body.site-page:not(.site-page--home) main.container { padding-top: 0 !important; }
body.site-page:not(.site-page--home) .stouter-page-hero {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0 !important;
    border: 0 !important;
}
@media (max-width: 700px) {
    body.site-page--home main.container {
        padding-left: .7rem !important;
        padding-right: .7rem !important;
    }
    body.site-page:not(.site-page--home) .stouter-page-hero {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Footer and drawer parity: carry the accepted navy, blue, cyan, and coral
 * system through the shared shell so the site does not fall back to the old
 * text-only footer or green-accented menu on smaller screens. */
body.site-page .footer,
body.site-page--home .footer {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-top: 1px solid #d5e8f4 !important;
    background: linear-gradient(180deg, #eef8fd 0%, #e7f3fb 100%) !important;
    color: var(--stouter-ink) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8) !important;
}
body.site-page .footer__inner,
body.site-page--home .footer__inner {
    /* Keep the footer on the same horizontal content rail as the page above. */
    width: min(1180px, calc(100% - clamp(2rem, 8vw, 9rem)));
    margin: 0 auto;
    padding: 2.4rem 0 1.15rem;
}
body.site-page .footer__top,
body.site-page--home .footer__top {
    display: grid;
    grid-template-columns: minmax(240px, 1.05fr) minmax(360px, .95fr);
    gap: clamp(2rem, 6vw, 5rem);
    padding-bottom: 2rem;
    border-bottom: 1px solid #cfe3f0;
}
body.site-page .footer__brand-block,
body.site-page--home .footer__brand-block { display: grid; align-content: start; justify-items: start; gap: .85rem; }
body.site-page .footer__brand,
body.site-page--home .footer__brand { display: inline-flex; align-items: center; gap: .75rem; width: max-content; max-width: 100%; color: var(--stouter-navy); text-decoration: none; }
body.site-page .footer__logo,
body.site-page--home .footer__logo { display: block; width: 58px; height: 48px; object-fit: contain; object-position: center; }
body.site-page .footer__brand-copy,
body.site-page--home .footer__brand-copy { display: grid; gap: .25rem; min-width: 0; }
body.site-page .footer__title,
body.site-page--home .footer__title { display: inline-flex; align-items: baseline; gap: .18em; color: var(--stouter-navy); font-size: 1.08rem; letter-spacing: -.025em; line-height: 1; }
body.site-page .footer__title-brand,
body.site-page--home .footer__title-brand { font-weight: 850; }
body.site-page .footer__title-tech,
body.site-page--home .footer__title-tech { font-weight: 500; }
body.site-page .footer__eyebrow,
body.site-page--home .footer__eyebrow { color: var(--stouter-blue); font-size: .68rem; font-weight: 850; letter-spacing: .13em; line-height: 1.2; text-transform: uppercase; }
body.site-page .footer__slogan,
body.site-page--home .footer__slogan { max-width: 34ch; margin: 0; color: var(--stouter-muted); font-size: .9rem; line-height: 1.5; }
body.site-page .footer__cta,
body.site-page--home .footer__cta { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .62rem .88rem; border: 1px solid var(--stouter-coral); border-radius: 10px; background: var(--stouter-coral); color: #fff !important; font-size: .8rem; font-weight: 850; text-decoration: none; box-shadow: 0 8px 18px rgba(255,107,61,.18); }
body.site-page .footer__cta:hover,
body.site-page .footer__cta:focus-visible,
body.site-page--home .footer__cta:hover,
body.site-page--home .footer__cta:focus-visible { background: #ef572d; border-color: #ef572d; outline: 3px solid rgba(255,107,61,.18); outline-offset: 2px; }
body.site-page .footer__link-groups,
body.site-page--home .footer__link-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 1.1rem; }
body.site-page .footer__link-group,
body.site-page--home .footer__link-group { display: grid; align-content: start; justify-items: start; gap: .42rem; }
body.site-page .footer__group-label,
body.site-page--home .footer__group-label { margin: 0 0 .18rem; color: var(--stouter-navy); font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
body.site-page .footer__link-group a,
body.site-page--home .footer__link-group a { color: var(--stouter-muted) !important; font-size: .8rem; line-height: 1.35; text-decoration: none; }
body.site-page .footer__link-group a:hover,
body.site-page .footer__link-group a:focus-visible,
body.site-page--home .footer__link-group a:hover,
body.site-page--home .footer__link-group a:focus-visible { color: var(--stouter-blue) !important; text-decoration: underline; text-underline-offset: 3px; outline: none; }
body.site-page .footer__bottom,
body.site-page--home .footer__bottom { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding-top: 1rem; }
body.site-page .footer__copyright,
body.site-page .footer__made-for,
body.site-page--home .footer__copyright,
body.site-page--home .footer__made-for { margin: 0; color: #6b8199; font-size: .72rem; line-height: 1.4; }
body.site-page .footer__made-for,
body.site-page--home .footer__made-for { text-align: center; }
body.site-page .footer-refresh-btn,
body.site-page--home .footer-refresh-btn { display: inline-grid; place-items: center; width: 2.15rem; height: 2.15rem; padding: 0; border: 1px solid #bad5e7; border-radius: 999px; background: #fff; color: var(--stouter-blue); cursor: pointer; }
body.site-page .footer-refresh-btn:hover,
body.site-page .footer-refresh-btn:focus-visible,
body.site-page--home .footer-refresh-btn:hover,
body.site-page--home .footer-refresh-btn:focus-visible { background: #eaf5ff; border-color: #8fc8ed; outline: 3px solid rgba(22,93,206,.14); outline-offset: 2px; }

body.site-page .public-profile-drawer__panel,
body.site-page--home .public-profile-drawer__panel { background: #fff !important; border-color: #cfe2ef !important; box-shadow: -22px 20px 64px rgba(7,19,61,.2) !important; }
body.site-page .public-profile-drawer__head,
body.site-page--home .public-profile-drawer__head { margin: -1rem -1rem 0; padding: 1rem; border: 0 !important; border-radius: 24px 24px 14px 14px; background: linear-gradient(135deg, var(--stouter-navy-deep), var(--stouter-navy) 70%, #0d2f86); }
body.site-page .public-profile-drawer__head-copy strong,
body.site-page--home .public-profile-drawer__head-copy strong { color: #fff !important; }
body.site-page .public-profile-drawer__head-copy small,
body.site-page--home .public-profile-drawer__head-copy small { color: #cfe5ff !important; }
body.site-page .public-profile-drawer__brand-logo,
body.site-page--home .public-profile-drawer__brand-logo { border-color: rgba(255,255,255,.6); background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
body.site-page .public-profile-drawer__subscribe-cta,
body.site-page--home .public-profile-drawer__subscribe-cta { background: var(--stouter-coral) !important; border-color: var(--stouter-coral) !important; color: #fff !important; box-shadow: 0 7px 16px rgba(255,107,61,.2) !important; }
body.site-page .public-profile-drawer__refresh,
body.site-page .public-profile-drawer__close,
body.site-page--home .public-profile-drawer__refresh,
body.site-page--home .public-profile-drawer__close { background: rgba(255,255,255,.12) !important; border-color: rgba(255,255,255,.44) !important; color: #fff !important; }
body.site-page .public-profile-drawer__subscribe-cta:hover,
body.site-page .public-profile-drawer__subscribe-cta:focus-visible,
body.site-page--home .public-profile-drawer__subscribe-cta:hover,
body.site-page--home .public-profile-drawer__subscribe-cta:focus-visible { background: #ef572d !important; border-color: #ef572d !important; }
body.site-page .public-profile-drawer__refresh:hover,
body.site-page .public-profile-drawer__refresh:focus-visible,
body.site-page .public-profile-drawer__close:hover,
body.site-page .public-profile-drawer__close:focus-visible,
body.site-page--home .public-profile-drawer__refresh:hover,
body.site-page--home .public-profile-drawer__refresh:focus-visible,
body.site-page--home .public-profile-drawer__close:hover,
body.site-page--home .public-profile-drawer__close:focus-visible { background: rgba(255,255,255,.24) !important; border-color: rgba(255,255,255,.8) !important; color: #fff !important; }
body.site-page .public-profile-drawer__group,
body.site-page--home .public-profile-drawer__group { background: #f6fbff !important; border-color: #d3e5f1 !important; }
body.site-page .public-profile-drawer__group summary,
body.site-page--home .public-profile-drawer__group summary { color: var(--stouter-navy) !important; }
body.site-page .public-profile-drawer__group summary > span i,
body.site-page .public-profile-drawer__group-links a i,
body.site-page--home .public-profile-drawer__group summary > span i,
body.site-page--home .public-profile-drawer__group-links a i { color: var(--stouter-blue) !important; }
body.site-page .public-profile-drawer__group-links a,
body.site-page--home .public-profile-drawer__group-links a { color: #173a63 !important; }
body.site-page .public-profile-drawer__group-links a:hover,
body.site-page .public-profile-drawer__group-links a:focus-visible,
body.site-page--home .public-profile-drawer__group-links a:hover,
body.site-page--home .public-profile-drawer__group-links a:focus-visible { background: #e7f4ff !important; color: #075ad3 !important; }
body.site-page .public-profile-drawer__footer,
body.site-page--home .public-profile-drawer__footer { border-color: #dbeaf3 !important; }
body.site-page .public-profile-drawer__footer-links a,
body.site-page--home .public-profile-drawer__footer-links a { color: #647895 !important; }

@media (max-width: 760px) {
    body.site-page .footer__inner,
    body.site-page--home .footer__inner { width: min(100% - 1.4rem, 1180px); padding-top: 2rem; }
    body.site-page .footer__top,
    body.site-page--home .footer__top { grid-template-columns: 1fr; gap: 1.8rem; }
    body.site-page .footer__link-groups,
    body.site-page--home .footer__link-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
    body.site-page .footer__bottom,
    body.site-page--home .footer__bottom { grid-template-columns: 1fr auto; }
    body.site-page .footer__made-for,
    body.site-page--home .footer__made-for { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}
@media (max-width: 460px) {
    body.site-page .footer__link-groups,
    body.site-page--home .footer__link-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; }
    body.site-page .footer__bottom,
    body.site-page--home .footer__bottom { gap: .65rem; }
    body.site-page .footer__copyright,
    body.site-page--home .footer__copyright { font-size: .68rem; }
}

/* Final specificity pass for the public light-theme bootstrap. */
html[data-site-theme="light"] body.site-page .public-profile-drawer__group summary > span i,
html[data-site-theme="light"] body.site-page .public-profile-drawer__group-links a i,
html[data-site-theme="light"] body.site-page--home .public-profile-drawer__group summary > span i,
html[data-site-theme="light"] body.site-page--home .public-profile-drawer__group-links a i { color: var(--stouter-blue) !important; }
html[data-site-theme="light"] body.site-page .public-profile-drawer__title,
html[data-site-theme="light"] body.site-page--home .public-profile-drawer__title { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .18em; font-size: 1.05rem; letter-spacing: -.025em; line-height: 1.05; }
html[data-site-theme="light"] body.site-page .public-profile-drawer__title-brand,
html[data-site-theme="light"] body.site-page--home .public-profile-drawer__title-brand { font-weight: 850; }
html[data-site-theme="light"] body.site-page .public-profile-drawer__title-tech,
html[data-site-theme="light"] body.site-page--home .public-profile-drawer__title-tech { font-weight: 500; }
@media (max-width: 460px) {
    html[data-site-theme="light"] body.site-page .public-profile-drawer__subscribe-cta,
    html[data-site-theme="light"] body.site-page--home .public-profile-drawer__subscribe-cta { width: 40px; padding: 0 !important; }
    html[data-site-theme="light"] body.site-page .public-profile-drawer__subscribe-cta span,
    html[data-site-theme="light"] body.site-page--home .public-profile-drawer__subscribe-cta span { display: none; }
}

/* Affiliate program parity: make the public program feel like a complete
 * product surface, while keeping the existing dashboard and referral routes. */
body.site-page .affiliate-page-shell,
body.site-page--home .affiliate-page-shell { width:100%;max-width:none;margin:0;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important; }
body.site-page .affiliate-page-hero,
body.site-page--home .affiliate-page-hero { position:relative;display:grid;grid-template-columns:minmax(0,.96fr) minmax(380px,1.04fr);align-items:center;gap:clamp(2rem,5vw,5rem);min-height:500px;margin:0 0 1.25rem;padding:clamp(3.1rem,6vw,5rem) clamp(1.25rem,5vw,4rem);overflow:hidden;border-radius:0 0 34px 34px;background:radial-gradient(circle at 84% 18%,rgba(4,185,238,.2),transparent 22%),radial-gradient(circle at 72% 84%,rgba(22,93,206,.24),transparent 28%),linear-gradient(135deg,#04102e,#07133d 60%,#0d2f86);color:#fff;isolation:isolate; }
body.site-page .affiliate-page-hero::before,
body.site-page--home .affiliate-page-hero::before { content:"";position:absolute;right:-110px;bottom:-190px;width:410px;height:410px;border:1px solid rgba(84,199,255,.35);border-radius:50%;box-shadow:0 0 0 30px rgba(84,199,255,.05),0 0 0 66px rgba(84,199,255,.025);pointer-events:none; }
body.site-page .affiliate-page-hero::after,
body.site-page--home .affiliate-page-hero::after { content:"";position:absolute;left:47%;bottom:0;width:210px;height:110px;background:radial-gradient(circle,rgba(84,199,255,.32) 1px,transparent 1.4px);background-size:10px 10px;opacity:.3;mask-image:linear-gradient(90deg,transparent,#000);pointer-events:none; }
body.site-page .affiliate-page-hero__copy,
body.site-page--home .affiliate-page-hero__copy { position:relative;z-index:2;max-width:650px; }
body.site-page .affiliate-page-hero__eyebrow,
body.site-page--home .affiliate-page-hero__eyebrow { margin:0;color:#54c7ff;font-size:.72rem;font-weight:850;letter-spacing:.16em;line-height:1.25;text-transform:uppercase; }
body.site-page .affiliate-page-hero h1,
body.site-page--home .affiliate-page-hero h1 { max-width:680px;margin:.65rem 0 1.1rem;color:#fff!important;font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(2.65rem,5.45vw,5rem)!important;line-height:.98!important;letter-spacing:-.055em!important; }
body.site-page .affiliate-page-hero__copy>p:not(.affiliate-page-hero__eyebrow),
body.site-page--home .affiliate-page-hero__copy>p:not(.affiliate-page-hero__eyebrow) { max-width:54ch;margin:0;color:#dbe9ff!important;font-size:1.05rem;line-height:1.65; }
body.site-page .affiliate-page-hero__actions,
body.site-page--home .affiliate-page-hero__actions { display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.75rem; }
body.site-page .affiliate-page-hero__actions .btn,
body.site-page--home .affiliate-page-hero__actions .btn { display:inline-flex;align-items:center;justify-content:center;gap:.48rem;min-height:44px;padding:.72rem 1rem;border:1px solid rgba(255,255,255,.58);border-radius:11px;background:transparent;color:#fff!important;font-weight:850;text-decoration:none; }
body.site-page .affiliate-page-hero__actions .btn:hover,
body.site-page .affiliate-page-hero__actions .btn:focus-visible,
body.site-page--home .affiliate-page-hero__actions .btn:hover,
body.site-page--home .affiliate-page-hero__actions .btn:focus-visible { background:rgba(255,255,255,.1);border-color:#fff;outline:3px solid rgba(84,199,255,.18);outline-offset:2px; }
body.site-page .affiliate-page-hero__actions .btn-primary,
body.site-page--home .affiliate-page-hero__actions .btn-primary { border-color:#ff6b3d;background:#ff6b3d;color:#fff!important;box-shadow:0 10px 22px rgba(255,107,61,.2); }
body.site-page .affiliate-page-hero__actions .btn-primary:hover,
body.site-page .affiliate-page-hero__actions .btn-primary:focus-visible,
body.site-page--home .affiliate-page-hero__actions .btn-primary:hover,
body.site-page--home .affiliate-page-hero__actions .btn-primary:focus-visible { background:#ef572d;border-color:#ef572d; }
body.site-page .affiliate-page-hero__actions .btn:not(.btn-primary):hover,
body.site-page .affiliate-page-hero__actions .btn:not(.btn-primary):focus-visible,
body.site-page--home .affiliate-page-hero__actions .btn:not(.btn-primary):hover,
body.site-page--home .affiliate-page-hero__actions .btn:not(.btn-primary):focus-visible,
body.site-page .affiliate-landing-hero .hero-actions .btn:not(.btn-primary):hover,
body.site-page .affiliate-landing-hero .hero-actions .btn:not(.btn-primary):focus-visible {
    background: var(--stouter-blue-dark) !important;
    border-color: #54c7ff !important;
    color: #fff !important;
}
body.site-page .portfolio-page-hero__actions .btn:not(.btn-primary):hover,
body.site-page .portfolio-page-hero__actions .btn:not(.btn-primary):focus-visible {
    background: var(--stouter-blue-dark) !important;
    border-color: #54c7ff !important;
    color: #fff !important;
}
body.site-page .affiliate-page-hero__visual,
body.site-page--home .affiliate-page-hero__visual { position:relative;z-index:2;display:grid;place-items:center;min-height:330px; }
body.site-page .affiliate-hero-dashboard,
body.site-page--home .affiliate-hero-dashboard { position:relative;width:min(100%,520px);overflow:hidden;transform:rotate(-3deg);border:5px solid rgba(255,255,255,.9);border-radius:18px;background:#fff;color:#102a43;box-shadow:0 28px 50px rgba(0,0,0,.3); }
body.site-page .affiliate-hero-dashboard__bar,
body.site-page--home .affiliate-hero-dashboard__bar { display:flex;align-items:center;gap:.55rem;height:35px;padding:0 .7rem;border-bottom:1px solid #dbe8f1;background:#f8fbfd;color:#6c7f91;font-size:.52rem; }
body.site-page .affiliate-hero-dashboard__bar>span,
body.site-page--home .affiliate-hero-dashboard__bar>span { display:flex;gap:.22rem; }.affiliate-hero-dashboard__bar>span i { display:block;width:6px;height:6px;border-radius:50%;background:#ff6b3d; }.affiliate-hero-dashboard__bar>span i:nth-child(2){background:#f3b54a}.affiliate-hero-dashboard__bar>span i:nth-child(3){background:#43b78a}
body.site-page .affiliate-hero-dashboard__bar strong,
body.site-page--home .affiliate-hero-dashboard__bar strong { margin-left:.25rem;font-weight:800; }.affiliate-hero-dashboard__bar>b { margin-left:auto;padding:.22rem .48rem;border-radius:999px;background:#e5f6ed;color:#16845b;font-size:.45rem;letter-spacing:.04em;text-transform:uppercase; }
body.site-page .affiliate-hero-dashboard__body,
body.site-page--home .affiliate-hero-dashboard__body { display:grid;gap:.85rem;padding:1.2rem 1.25rem 1.25rem;background:linear-gradient(145deg,#f8fcff,#eaf5fb); }
body.site-page .affiliate-hero-dashboard__topline,
body.site-page--home .affiliate-hero-dashboard__topline { display:flex;align-items:center;justify-content:space-between;color:#5b6b7f;font-size:.62rem;font-weight:750; }.affiliate-hero-dashboard__topline strong { color:#185adb;font-size:.58rem; }
body.site-page .affiliate-hero-dashboard__metrics,
body.site-page--home .affiliate-hero-dashboard__metrics { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem; }.affiliate-hero-dashboard__metrics span { display:grid;gap:.3rem;padding:.7rem .65rem;border:1px solid #d4e4ee;border-radius:10px;background:#fff; }.affiliate-hero-dashboard__metrics small { color:#6b8199;font-size:.48rem; }.affiliate-hero-dashboard__metrics strong { color:#102a43;font-size:1.25rem;letter-spacing:-.04em; }.affiliate-hero-dashboard__metrics span:nth-child(2) strong { color:#16845b; }.affiliate-hero-dashboard__metrics span:nth-child(3) strong { color:#ff6b3d; }
body.site-page .affiliate-hero-dashboard__chart,
body.site-page--home .affiliate-hero-dashboard__chart { display:flex;align-items:end;gap:.45rem;height:82px;padding:.8rem .9rem .6rem;border-radius:10px;background:#fff;border:1px solid #d4e4ee; }.affiliate-hero-dashboard__chart i { flex:1;min-width:10px;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,#54c7ff,#185adb); }.affiliate-hero-dashboard__chart i:nth-child(1){height:24%}.affiliate-hero-dashboard__chart i:nth-child(2){height:41%}.affiliate-hero-dashboard__chart i:nth-child(3){height:34%}.affiliate-hero-dashboard__chart i:nth-child(4){height:58%}.affiliate-hero-dashboard__chart i:nth-child(5){height:74%}.affiliate-hero-dashboard__chart i:nth-child(6){height:92%;background:linear-gradient(180deg,#b8eee6,#16845b)}
body.site-page .affiliate-hero-dashboard__link,
body.site-page--home .affiliate-hero-dashboard__link { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.2rem .6rem;padding:.65rem .7rem;border:1px solid #cbddec;border-radius:10px;background:#fff; }.affiliate-hero-dashboard__link span { grid-column:1/-1;color:#16845b;font-size:.45rem;font-weight:850;letter-spacing:.12em; }.affiliate-hero-dashboard__link strong { overflow:hidden;color:#185adb;font-size:.62rem;text-overflow:ellipsis;white-space:nowrap; }.affiliate-hero-dashboard__link b { display:grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#eaf5ff;color:#185adb;font-size:.55rem; }
body.site-page .affiliate-hero-reward,
body.site-page--home .affiliate-hero-reward { position:absolute;right:1%;bottom:-2%;display:flex;align-items:center;gap:.55rem;width:155px;padding:.75rem .8rem;transform:rotate(7deg);border:4px solid #fff;border-radius:14px;background:#ff6b3d;color:#fff;box-shadow:0 20px 36px rgba(0,0,0,.28); }.affiliate-hero-reward strong { display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff;color:#ff6b3d;font-family:Georgia,serif;font-size:1.2rem; }.affiliate-hero-reward span { font-size:.58rem;font-weight:800;line-height:1.25; }
body.site-page .affiliate-program-intro,
body.site-page--home .affiliate-program-intro { display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:clamp(1.5rem,5vw,4rem);align-items:start;margin:0 0 1.25rem;padding:clamp(1.35rem,3vw,2.25rem);border:1px solid #d5e6f1;border-radius:24px;background:linear-gradient(135deg,#fff,#f3f9fd);box-shadow:0 12px 28px rgba(7,19,61,.06); }.affiliate-program-intro__heading h2 { margin:.35rem 0 .5rem;color:#07133d;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.8rem,3.3vw,2.8rem);letter-spacing:-.045em;line-height:1.02; }.affiliate-program-intro__heading p:last-child { margin:0;color:#5b6b7f;line-height:1.55; }
body.site-page .affiliate-program-steps,
body.site-page--home .affiliate-program-steps { display:grid;gap:.7rem; }.affiliate-program-steps article { display:grid;grid-template-columns:42px minmax(0,1fr);gap:.8rem;align-items:start;padding:.75rem .8rem;border:1px solid #d7e6f0;border-radius:14px;background:#fff; }.affiliate-program-steps article>span { display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#eaf5ff;color:#185adb;font-size:.72rem;font-weight:850; }.affiliate-program-steps article:nth-child(2)>span { background:#e5f6ed;color:#16845b; }.affiliate-program-steps article:nth-child(3)>span { background:#fff0eb;color:#ff6b3d; }.affiliate-program-steps h3 { margin:0;color:#102a43;font-size:.95rem; }.affiliate-program-steps p { margin:.18rem 0 0;color:#5b6b7f;font-size:.78rem;line-height:1.45; }
body.site-page .affiliate-page-content,
body.site-page--home .affiliate-page-content { padding:clamp(1.25rem,3vw,2.3rem);border:1px solid #d5e6f1;border-radius:24px;background:rgba(255,255,255,.9);box-shadow:0 14px 34px rgba(7,19,61,.07); }.affiliate-page-content>.section-head h2 { margin:.35rem 0 .25rem;color:#07133d;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.8rem,3.3vw,2.8rem);letter-spacing:-.045em;line-height:1.02; }.affiliate-page-content>.section { background:#fff!important;border-color:#d5e6f1!important;box-shadow:0 10px 24px rgba(7,19,61,.06)!important; }.affiliate-page-content .card,.affiliate-page-content .quote { border-color:#d5e6f1!important;background:#fff!important;color:#102a43!important;box-shadow:0 10px 24px rgba(7,19,61,.06)!important; }.affiliate-page-content .card h2,.affiliate-page-content .card h3,.affiliate-page-content .card strong { color:#102a43!important; }.affiliate-page-content input,.affiliate-page-content select,.affiliate-page-content textarea { border:1px solid #cbddec!important;border-radius:10px!important;background:#fff!important;color:#102a43!important; }.affiliate-page-content .btn:not(.btn-primary) { color:#185adb!important;border-color:#cbddec!important;background:#fff!important; }.affiliate-page-content .btn:not(.btn-primary):hover,.affiliate-page-content .btn:not(.btn-primary):focus-visible { background:#eaf5ff!important;border-color:#93baf4!important;color:#075ad3!important; }.affiliate-page-content .eyebrow { color:#185adb!important; }
body.site-page .affiliate-referral-tabs,
body.site-page--home .affiliate-referral-tabs { display:flex;flex-wrap:wrap;gap:.45rem;margin:1rem 0 1.1rem; }.affiliate-referral-tabs__tab { display:inline-flex;align-items:center;gap:.45rem;padding:.5rem .75rem;border:1px solid #cbddec;border-radius:999px;background:#fff;color:#185adb;text-decoration:none;font-size:.82rem;font-weight:800; }.affiliate-referral-tabs__tab.is-active { border-color:#185adb;background:#185adb;color:#fff; }.affiliate-referral-tabs__count { display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 .25rem;border-radius:999px;background:#eaf5ff;color:#185adb;font-size:.68rem; }.affiliate-referral-tabs__tab.is-active .affiliate-referral-tabs__count { background:rgba(255,255,255,.18);color:#fff; }

/* Partner-created public landing pages use the same hero and form surfaces. */
body.site-page .affiliate-landing-hero { position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.7fr);align-items:center;gap:clamp(1.5rem,5vw,4rem);margin:0 0 1.25rem;padding:clamp(2.8rem,6vw,4.8rem) clamp(1.25rem,5vw,4rem);overflow:hidden;border-radius:0 0 34px 34px;background:radial-gradient(circle at 84% 18%,rgba(4,185,238,.2),transparent 22%),linear-gradient(135deg,#04102e,#07133d 62%,#0d2f86);color:#fff; }.affiliate-landing-hero h2 { margin:.55rem 0 1rem;color:#fff!important;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.4rem,5vw,4.6rem);line-height:.99;letter-spacing:-.055em; }.affiliate-landing-hero p.muted { color:#dbe9ff!important;line-height:1.65; }.affiliate-landing-hero .hero-actions { display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.5rem; }.affiliate-landing-hero .hero-actions .btn:not(.btn-primary) { border-color:rgba(255,255,255,.58);background:transparent;color:#fff!important; }.affiliate-landing-hero>.card { border:1px solid #d5e6f1!important;background:#fff!important;color:#102a43!important;box-shadow:0 18px 38px rgba(0,0,0,.2)!important; }.affiliate-landing-hero>.card h3 { color:#102a43!important; }.affiliate-landing-hero>.card .muted { color:#5b6b7f!important; }.affiliate-landing-hero + .section { border-color:#d5e6f1!important;background:#fff!important; }.affiliate-landing-hero + .section .card { border-color:#d5e6f1!important;background:#fff!important;box-shadow:0 10px 24px rgba(7,19,61,.06)!important; }.affiliate-landing-hero + .section input,.affiliate-landing-hero + .section select,.affiliate-landing-hero + .section textarea { border-color:#cbddec!important;background:#fff!important;color:#102a43!important; }

@media (max-width:1100px){body.site-page .affiliate-page-hero,body.site-page--home .affiliate-page-hero{grid-template-columns:1fr;gap:1.5rem;padding-top:3.4rem;padding-bottom:2.6rem}.affiliate-page-hero__copy{max-width:720px}.affiliate-page-hero__visual{min-height:300px}.affiliate-hero-dashboard{margin:0 auto}.affiliate-program-intro{grid-template-columns:1fr!important}.affiliate-landing-hero{grid-template-columns:1fr!important}}
@media (max-width:760px){body.site-page .affiliate-page-hero,body.site-page--home .affiliate-page-hero{min-height:0;padding:2.8rem 1rem 1.5rem;border-radius:0 0 26px 26px}body.site-page .affiliate-page-hero h1,body.site-page--home .affiliate-page-hero h1{font-size:clamp(2.4rem,10.8vw,4rem)!important}.affiliate-page-hero__actions .btn{flex:1 1 150px}.affiliate-page-hero__visual{min-height:250px}.affiliate-hero-dashboard{width:94%}.affiliate-hero-dashboard__body{padding:.9rem}.affiliate-hero-reward{right:0;transform:rotate(6deg) scale(.9)}.affiliate-program-intro,.affiliate-page-content{padding:1rem!important;border-radius:18px!important}.affiliate-page-content .section-head{align-items:start}.affiliate-page-content .section-head__actions{margin-top:.25rem}.affiliate-landing-hero{padding:2.8rem 1rem 1.4rem;border-radius:0 0 26px 26px}.affiliate-landing-hero h2{font-size:clamp(2.35rem,10.5vw,4rem)}}
@media (max-width:420px){.affiliate-page-hero__actions .btn{flex-basis:100%}.affiliate-page-hero__visual{min-height:220px}.affiliate-hero-dashboard__metrics{gap:.3rem}.affiliate-hero-dashboard__metrics span{padding:.5rem .45rem}.affiliate-hero-dashboard__metrics small{font-size:.4rem}.affiliate-hero-dashboard__metrics strong{font-size:1rem}.affiliate-hero-dashboard__chart{height:65px}.affiliate-hero-reward{width:135px;padding:.55rem}.affiliate-hero-reward span{font-size:.52rem}}

/* Keep the homepage process steps together on phones. The previous mobile
 * cascade placed the number/icon row above a separate centered copy row,
 * which made each step feel disconnected and unnecessarily tall. */
@media (max-width: 700px) {
    body.site-page--home .stouter-home-process .stouter-process {
        gap: .35rem;
    }
    body.site-page--home .stouter-home-process .stouter-process__step {
        grid-template-columns: 30px 48px minmax(0, 1fr);
        align-items: center;
        column-gap: .45rem;
        padding: .7rem 0;
    }
    body.site-page--home .stouter-home-process .stouter-process__icon {
        margin-top: 0;
    }
    body.site-page--home .stouter-home-process .stouter-process__step > div {
        grid-column: 3;
        min-width: 0;
        padding: 0;
    }
    body.site-page--home .stouter-home-process .stouter-process__step h3,
    body.site-page--home .stouter-home-process .stouter-process__step p {
        text-align: left;
    }
    body.site-page--home .stouter-home-process .stouter-process__step h3 {
        margin-bottom: .25rem;
    }
}

@media (max-width: 430px) {
    body.site-page--home .stouter-home-process .stouter-process__step {
        grid-template-columns: 30px 44px minmax(0, 1fr);
        column-gap: .4rem;
    }
    body.site-page--home .stouter-home-process .stouter-process__icon {
        width: 44px;
        height: 44px;
    }
    body.site-page--home .stouter-home-process .stouter-process__step p {
        font-size: .86rem;
        line-height: 1.42;
    }
}
