/* 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: auto minmax(0, 1fr) 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: clamp(220px, 25vw, 275px); 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: flex-start; gap: clamp(.3rem, 1.15vw, 1.25rem); width: 100%; max-width: 100%; min-width: 0; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
body.site-page .public-site-header__nav::-webkit-scrollbar, body.site-page--home .public-site-header__nav::-webkit-scrollbar { display: none; }
body.site-page .public-site-header__nav a, body.site-page--home .public-site-header__nav a {
    display: inline-flex; flex: 0 0 auto; min-width: max-content; align-items: center; gap: .25rem; padding: .55rem clamp(.12rem, .32vw, .45rem); color: #fff !important;
    text-decoration: none; font-size: clamp(.7rem, 1.14vw, .85rem); font-weight: 750; letter-spacing: -.01em; 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: .42rem; }
body.site-page .public-site-header__profile-btn, body.site-page--home .public-site-header__profile-btn {
    display: inline-flex !important; align-items: center; justify-content: center; 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 version notice used by standalone public pages and the app shell. */
body.site-page .app-update-notice,
body.site-page--home .app-update-notice {
    position: fixed; top: calc(.8rem + env(safe-area-inset-top, 0px)); left: 50%; z-index: 1600;
    display: flex; align-items: center; justify-content: space-between; gap: .85rem;
    width: min(680px, calc(100vw - 1.25rem)); padding: .7rem .8rem;
    border-radius: 14px; font-size: .84rem; line-height: 1.35;
    transform: translate(-50%, -160%); opacity: 0; pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
}
body.site-page .app-update-notice.is-visible,
body.site-page--home .app-update-notice.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
body.site-page .app-update-notice__actions,
body.site-page--home .app-update-notice__actions { display: flex; align-items: center; justify-content: flex-end; gap: .4rem; flex: 0 0 auto; }
body.site-page .app-update-notice button,
body.site-page--home .app-update-notice button { width: auto; min-height: 34px; margin: 0; padding: .42rem .62rem; border: 1px solid #73cfc3; border-radius: 9px; font: inherit; font-size: .76rem; font-weight: 850; cursor: pointer; }
body.site-page .app-update-notice,
body.site-page--home .app-update-notice {
    background: #fff;
    color: #102a43;
    border: 1px solid #cbd9e8;
    box-shadow: 0 16px 38px rgba(24, 58, 96, .18);
}
body.site-page .app-update-notice button,
body.site-page--home .app-update-notice button { background: #b8eee6; color: #07584f; border-color: #73cfc3; }
body.site-page .app-update-notice .app-update-notice__dismiss,
body.site-page--home .app-update-notice .app-update-notice__dismiss { background: #f8fbff; color: #29466f; border-color: #cbd9e8; }
@media (max-width: 560px) {
    body.site-page .app-update-notice,
    body.site-page--home .app-update-notice { align-items: stretch; flex-direction: column; gap: .55rem; padding: .72rem .75rem; }
    body.site-page .app-update-notice__actions,
    body.site-page--home .app-update-notice__actions { justify-content: stretch; }
    body.site-page .app-update-notice button,
    body.site-page--home .app-update-notice button { flex: 1 1 0; }
}

/* 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); }

/* Secondary service pages need more room at tablet widths. Three columns make
 * fit/build cards and process steps too narrow in the responsive content rail. */
@media (max-width: 900px) {
    body.site-page:not(.site-page--home) .stouter-grid,
    body.site-page:not(.site-page--home) .stouter-grid--four,
    body.site-page:not(.site-page--home) .stouter-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .85rem;
    }
    body.site-page:not(.site-page--home) .stouter-pill-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 620px) {
    body.site-page:not(.site-page--home) .stouter-grid,
    body.site-page:not(.site-page--home) .stouter-grid--four,
    body.site-page:not(.site-page--home) .stouter-process,
    body.site-page:not(.site-page--home) .stouter-pill-row {
        grid-template-columns: 1fr;
    }
}

/* Local SEO case-study components. Kept CSS-only so the page remains quick on
 * shared hosting and the Google-results visual is clearly an illustration. */
.local-seo-hero { padding-block: clamp(2.5rem, 5vw, 4rem); }
.local-seo-hero .stouter-page-hero__copy > p strong { color: #fff; }
.local-seo-results-card { width: min(100%, 520px); padding: 1rem; border: 1px solid rgba(84,199,255,.42); border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(240,248,255,.98)); color: var(--stouter-ink); box-shadow: 0 24px 54px rgba(0,0,0,.3); }
.local-seo-results-card__topline { display: flex; align-items: center; gap: .45rem; margin-bottom: .8rem; color: #60738d; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.local-seo-results-card__dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--stouter-coral); box-shadow: 0 0 0 4px rgba(255,107,61,.14); }
.local-seo-results-card__dots { margin-left: auto; color: #9aabc0; letter-spacing: .18em; }
.local-seo-results-card__query { display: flex; align-items: center; gap: .6rem; min-height: 44px; margin-bottom: .7rem; padding: .62rem .75rem; border: 1px solid #cbd9e8; border-radius: 11px; background: #fff; color: #244263; font-size: .92rem; font-weight: 700; box-shadow: 0 6px 14px rgba(24,58,96,.06); }
.local-seo-results-card__query span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.local-seo-results-card__query i:first-child { color: var(--stouter-blue); }
.local-seo-results-card__query i:last-child { margin-left: auto; color: #91a3ba; font-size: .8rem; }
.local-seo-result { display: grid; gap: .18rem; margin-top: .55rem; padding: .72rem .8rem; border: 1px solid #d9e5ef; border-radius: 12px; background: #fff; }
.local-seo-result__label { width: fit-content; padding: .18rem .42rem; border-radius: 999px; color: #315273; background: #edf5ff; font-size: .64rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.local-seo-result strong { color: var(--stouter-navy); font-size: .9rem; line-height: 1.25; }
.local-seo-result small { color: #60738d; font-size: .72rem; }
.local-seo-result--sponsored { border-color: #f2d4c8; }
.local-seo-result--sponsored .local-seo-result__label { background: #fff0e9; color: #a44323; }
.local-seo-result--listings { border-color: #c7e5d7; }
.local-seo-result--listings .local-seo-result__label { background: #eaf8f0; color: #16704b; }
.local-seo-result--organic { border-color: #a9c7f3; box-shadow: 0 0 0 3px rgba(22,93,206,.1); }
.local-seo-result--organic .local-seo-result__label { background: #e7f0ff; color: #185adb; }
.stouter-page-hero .local-seo-results-card__caption { margin: .8rem 0 0; color: #52627c !important; font-size: .76rem; line-height: 1.45; }
.local-seo-proof-row { margin-top: .2rem; }
.local-seo-proof-row .stouter-pill { border-top: 3px solid var(--stouter-blue); }
.local-seo-proof-row .stouter-pill:nth-child(2) { border-top-color: var(--stouter-cyan); }
.local-seo-proof-row .stouter-pill:nth-child(3) { border-top-color: var(--stouter-coral); }
.local-seo-story__intro { max-width: 760px; }
.local-seo-story__intro > p:last-child, .local-seo-section-lead { max-width: 70ch; color: var(--stouter-muted); line-height: 1.7; }
.local-seo-rank-shift { display: grid; grid-template-columns: minmax(0,.8fr) auto minmax(0,1.2fr); align-items: stretch; gap: 1rem; margin-top: 1.35rem; }
.local-seo-rank-shift__point { display: grid; align-content: center; gap: .22rem; min-height: 150px; padding: 1.2rem; border: 1px solid var(--stouter-line); border-radius: 16px; background: var(--stouter-sky); }
.local-seo-rank-shift__point span { color: var(--stouter-blue); font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.local-seo-rank-shift__point strong { color: var(--stouter-navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 3.4vw, 2.65rem); line-height: 1; }
.local-seo-rank-shift__point small { max-width: 38ch; color: var(--stouter-muted); line-height: 1.45; }
.local-seo-rank-shift__point--before { border-color: #f2d4c8; background: #fff8f5; }
.local-seo-rank-shift__point--before span { color: #a44323; }
.local-seo-rank-shift__point--after { border-color: #b9e3cc; background: #f3fbf6; }
.local-seo-rank-shift__point--after span { color: #16704b; }
.local-seo-rank-shift__point--after strong { font-size: clamp(1.3rem, 2.7vw, 2.15rem); }
.local-seo-rank-shift__connector { display: grid; place-items: center; color: var(--stouter-blue); font-size: 1.25rem; }
.local-seo-note { display: flex; align-items: flex-start; gap: .5rem; margin: 1rem 0 0; padding: .78rem .9rem; border: 1px solid #cfe3f3; border-radius: 12px; background: #f4faff; color: var(--stouter-muted); font-size: .82rem; line-height: 1.5; }
.local-seo-note i { margin-top: .14rem; color: var(--stouter-blue); }
.local-seo-method-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.local-seo-method-card { position: relative; min-height: 100%; padding-top: 2.65rem; }
.local-seo-method-card__number { position: absolute; top: 1rem; left: 1.3rem; color: var(--stouter-blue); font-size: .7rem; font-weight: 900; letter-spacing: .12em; }
.local-seo-method-card h3 { font-size: 1.08rem; }
.local-seo-lane-card { min-height: 100%; }
.local-seo-callout { display: grid; gap: .25rem; margin-top: 1rem; padding: 1rem 1.1rem; border: 1px solid #b9e3cc; border-radius: 14px; background: #f3fbf6; }
.local-seo-callout strong { color: #11613f; }
.local-seo-callout span { color: var(--stouter-muted); }
.local-seo-package__intro { max-width: 780px; }
.local-seo-package-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.local-seo-package-card { min-height: 100%; }
.local-seo-package__note { display: grid; gap: .25rem; margin-top: 1rem; padding: .9rem 1rem; border: 1px solid #cfe3f3; border-radius: 14px; background: #f4faff; color: var(--stouter-muted); line-height: 1.55; }
.local-seo-package__note strong { color: var(--stouter-navy); }
.local-seo-package__cta { display: inline-flex; margin-top: 1rem; }
.local-seo-conversion-case { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; background: linear-gradient(145deg, #ffffff, #f1f8fc); }
.local-seo-conversion-case .stouter-section-title { margin-bottom: .7rem; }
.local-seo-conversion-case__copy > p { max-width: 64ch; color: var(--stouter-muted); line-height: 1.65; }
.local-seo-conversion-case__result { padding: 1rem; border: 1px solid #cfe3f3; border-radius: 18px; background: #f7fbff; box-shadow: 0 12px 28px rgba(24,58,96,.08); }
.local-seo-conversion-case__result-label { margin: 0 0 .7rem; color: var(--stouter-blue); font-size: .7rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.local-seo-conversion-case__rank { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: stretch; gap: .55rem; }
.local-seo-conversion-case__rank > div { display: grid; align-content: center; gap: .22rem; min-width: 0; padding: .82rem; border: 1px solid #f2d4c8; border-radius: 13px; background: #fff8f5; }
.local-seo-conversion-case__rank > div:last-child { border-color: #b9e3cc; background: #f3fbf6; }
.local-seo-conversion-case__rank span { color: #a44323; font-size: .66rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.local-seo-conversion-case__rank > div:last-child span { color: #16704b; }
.local-seo-conversion-case__rank strong { color: var(--stouter-navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.2rem, 2.6vw, 1.8rem); line-height: 1.05; }
.local-seo-conversion-case__rank small { color: var(--stouter-muted); font-size: .72rem; line-height: 1.4; }
.local-seo-conversion-case__rank > i { display: grid; place-items: center; color: var(--stouter-blue); }
.local-seo-conversion-case__metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; margin-top: .65rem; }
.local-seo-conversion-case__metrics > div { display: grid; gap: .16rem; padding: .65rem .7rem; border-radius: 11px; background: #fff; }
.local-seo-conversion-case__metrics strong { color: var(--stouter-navy); font-size: .78rem; }
.local-seo-conversion-case__metrics span { color: var(--stouter-muted); font-size: .66rem; line-height: 1.35; }
.local-seo-conversion-case__note { margin: .8rem 0 0; color: #11613f; font-size: .82rem; font-weight: 750; line-height: 1.45; }
.local-seo-funnel__intro { max-width: 800px; }
.local-seo-funnel__intro > p:last-child { color: var(--stouter-muted); line-height: 1.7; }
.local-seo-funnel__steps { display: grid; gap: .7rem; margin-top: 1.25rem; }
.local-seo-funnel__step { position: relative; width: 100%; padding: 1rem 1.2rem 1rem 1.45rem; border-left: 5px solid var(--stouter-blue); border-radius: 0 15px 15px 0; background: #f4faff; }
.local-seo-funnel__step:nth-child(2) { width: 92%; border-left-color: var(--stouter-cyan); }
.local-seo-funnel__step:nth-child(3) { width: 84%; border-left-color: #16845b; }
.local-seo-funnel__step:nth-child(4) { width: 76%; border-left-color: var(--stouter-coral); }
.local-seo-funnel__step > span { color: var(--stouter-blue); font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.local-seo-funnel__step:nth-child(2) > span { color: #0786ae; }
.local-seo-funnel__step:nth-child(3) > span { color: #16704b; }
.local-seo-funnel__step:nth-child(4) > span { color: #a44323; }
.local-seo-funnel__step h3 { margin: .28rem 0 .25rem; font-size: 1.05rem; }
.local-seo-funnel__step p { max-width: 78ch; margin: 0; color: var(--stouter-muted); font-size: .9rem; line-height: 1.55; }
.local-seo-funnel__bottom { display: grid; gap: .25rem; margin-top: 1.1rem; padding: 1rem 1.1rem; border: 1px solid #f2d4c8; border-radius: 14px; background: #fff8f5; }
.local-seo-funnel__bottom strong { color: #a44323; }
.local-seo-funnel__bottom span { color: var(--stouter-muted); line-height: 1.55; }
.local-seo-example { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(260px,.8fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.local-seo-example .stouter-section-title { margin-bottom: .7rem; }
.local-seo-example > div:first-child > p:last-of-type { max-width: 62ch; color: var(--stouter-muted); line-height: 1.65; }
.local-seo-example__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.15rem; }
.local-seo-example__facts { display: grid; gap: .65rem; }
.local-seo-example__facts > div { display: grid; gap: .22rem; padding: .9rem 1rem; border-left: 3px solid var(--stouter-cyan); border-radius: 0 12px 12px 0; background: #f4faff; }
.local-seo-example__facts > div:nth-child(2) { border-left-color: var(--stouter-blue); }
.local-seo-example__facts > div:nth-child(3) { border-left-color: var(--stouter-coral); }
.local-seo-example__facts span { color: var(--stouter-blue); font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.local-seo-example__facts strong { color: var(--stouter-navy); font-size: .94rem; line-height: 1.35; }

@media (max-width: 980px) {
    .local-seo-method-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .local-seo-conversion-case { grid-template-columns: 1fr; }
    .local-seo-package-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .local-seo-funnel__step:nth-child(n) { width: 100%; }
    .local-seo-example { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .local-seo-rank-shift { grid-template-columns: 1fr; gap: .55rem; }
    .local-seo-rank-shift__point { min-height: 125px; }
    .local-seo-rank-shift__connector { min-height: 24px; transform: rotate(90deg); }
    .local-seo-method-grid { grid-template-columns: 1fr; }
    .local-seo-package-grid { grid-template-columns: 1fr; }
    .local-seo-package__cta { width: 100%; justify-content: center; }
    .local-seo-conversion-case__rank { grid-template-columns: 1fr; }
    .local-seo-conversion-case__rank > i { min-height: 20px; transform: rotate(90deg); }
    .local-seo-conversion-case__metrics { grid-template-columns: 1fr; }
    .local-seo-example__actions { display: grid; }
    .local-seo-example__actions .btn { width: 100%; }
}

/* 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(0,1fr) auto; }
    body.site-page .public-site-header__nav, body.site-page--home .public-site-header__nav { gap: .85rem; }
    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; 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(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.stouter-project-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--stouter-line); border-radius: 18px; background: #fff; box-shadow: 0 14px 30px rgba(7,19,61,.09); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.stouter-project-card:hover, .stouter-project-card:focus-within { border-color: #54c7ff; box-shadow: 0 22px 42px rgba(7,19,61,.14); transform: translateY(-2px); }
.stouter-project-card__screenshot-link { display: block; color: inherit; text-decoration: none; }
.stouter-project-card__screenshot { position: relative; aspect-ratio: 8 / 5; overflow: hidden; background: #eaf5fb; }
.stouter-project-card__screenshot picture, .stouter-project-card__screenshot img { display: block; width: 100%; height: 100%; }
.stouter-project-card__screenshot img { object-fit: cover; transition: transform .25s ease; }
.stouter-project-card:hover .stouter-project-card__screenshot img, .stouter-project-card:focus-within .stouter-project-card__screenshot img { transform: scale(1.02); }
.stouter-project-card__screenshot-label { position: absolute; top: .65rem; right: .65rem; display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .58rem; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; background: rgba(7,19,61,.78); color: #fff; font-size: .7rem; font-weight: 800; line-height: 1; box-shadow: 0 8px 18px rgba(7,19,61,.18); }
.stouter-project-card__body { display: grid; grid-template-rows: auto minmax(4.35em, 1fr) auto; gap: .72rem; flex: 1; padding: 1rem 1.05rem 1.15rem; }
.stouter-project-card__identity { display: flex; align-items: center; min-width: 0; gap: .7rem; }
.stouter-project-card__logo { display: grid; flex: 0 0 74px; place-items: center; width: 74px; height: 54px; overflow: hidden; border: 1px solid #d7e5f0; border-radius: 11px; background: #f8fbff; }
.stouter-project-card__logo picture, .stouter-project-card__logo img { display: block; width: 100%; height: 100%; }
.stouter-project-card__logo img { object-fit: contain; }
.stouter-project-card__heading { min-width: 0; }
.stouter-project-card__eyebrow { margin: 0 0 .16rem; color: var(--stouter-blue); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.stouter-project-card__heading h3 { margin: 0; overflow-wrap: anywhere; color: var(--stouter-navy) !important; font-size: clamp(1.08rem, 1.9vw, 1.34rem); line-height: 1.08; letter-spacing: -.025em; }
.stouter-project-card__description { display: -webkit-box; margin: 0; overflow: hidden; color: var(--stouter-muted); font-size: .86rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.stouter-project-card__actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.stouter-project-card__actions a { display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; padding: .45rem .7rem; border-radius: 9px; font-size: .76rem; font-weight: 850; text-decoration: none; }
.stouter-project-card__primary { border: 1px solid var(--stouter-coral); background: var(--stouter-coral); color: #fff !important; }
.stouter-project-card__primary:hover, .stouter-project-card__primary:focus-visible { border-color: #ef572d; background: #ef572d; color: #fff !important; outline: 3px solid rgba(255,107,61,.16); outline-offset: 2px; }
.stouter-project-card__secondary { border: 1px solid var(--stouter-line); background: #fff; color: var(--stouter-blue) !important; }
.stouter-project-card__secondary:hover, .stouter-project-card__secondary:focus-visible { border-color: #54c7ff; background: #eaf5ff; color: var(--stouter-blue-dark) !important; outline: 3px solid rgba(84,199,255,.16); outline-offset: 2px; }
.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 {
    color: #fff;
    -webkit-text-fill-color: #fff;
    -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: 1120px) 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 !important;
        grid-template-rows: auto auto !important;
        align-items: center;
        column-gap: .7rem;
        row-gap: .4rem !important;
        padding: .48rem .72rem .48rem 1rem;
    }
    body.site-page .public-site-header__brand,
    body.site-page--home .public-site-header__brand { grid-column: 1 !important; grid-row: 1 !important; }
    body.site-page .public-site-header__nav,
    body.site-page--home .public-site-header__nav {
        display: flex !important;
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        justify-content: flex-start;
        padding-top: .34rem;
        border-top: 1px solid rgba(255,255,255,.2);
    }
    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: 2 !important;
        grid-row: 1 !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: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .75rem; width: max-content; max-width: 100%; color: var(--stouter-navy); }
body.site-page .footer__brand-home,
body.site-page--home .footer__brand-home { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
body.site-page .footer__brand-title-link,
body.site-page--home .footer__brand-title-link { color: inherit; 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 { display: flex; align-items: center; flex-wrap: wrap; gap: .12rem .32rem; color: var(--stouter-blue); font-size: .68rem; font-weight: 850; letter-spacing: .13em; line-height: 1.2; text-transform: uppercase; }
body.site-page .footer__eyebrow a,
body.site-page--home .footer__eyebrow a { color: inherit; text-decoration: none; }
body.site-page .footer__eyebrow a:hover,
body.site-page .footer__eyebrow a:focus-visible,
body.site-page--home .footer__eyebrow a:hover,
body.site-page--home .footer__eyebrow a:focus-visible { color: var(--stouter-navy); text-decoration: underline; text-underline-offset: 3px; outline: none; }
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__contact,
body.site-page--home .footer__contact { max-width: 34ch; margin: -.25rem 0 0; color: var(--stouter-muted); font-size: .82rem; line-height: 1.45; }
body.site-page .footer__contact a,
body.site-page--home .footer__contact a { color: var(--stouter-blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
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; }

/* Shared external-profile bar: keep the public shell connected to the
 * company's social channels and app-store developer profiles without adding
 * third-party widgets or runtime payload. */
.public-social-links { display: grid; justify-items: start; gap: .5rem; margin-top: .15rem; }
.public-social-links__label { color: var(--stouter-navy, #07133d); font-size: .68rem; font-weight: 850; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; }
.public-social-links__items { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.public-social-links__link { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid #cbd9e8; border-radius: 999px; background: #fff; color: #185adb; text-decoration: none !important; box-shadow: 0 5px 12px rgba(24,58,96,.08); transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease; }
.public-social-links__link i { font-size: 1.05rem; line-height: 1; }
.public-social-links__link:hover,
.public-social-links__link:focus-visible { transform: translateY(-2px); background: #eaf2ff; border-color: #93baf4; color: #075ad3; outline: 3px solid rgba(24,90,219,.15); outline-offset: 2px; box-shadow: 0 8px 18px rgba(24,90,219,.14); }
.public-social-links__link--facebook { color: #1877f2; }
.public-social-links__link--instagram { color: #c13584; }
.public-social-links__link--tiktok { color: #111827; }
.public-social-links__link--google-play-developer { color: #168445; }
.public-social-links__link--app-store-developer { color: #007aff; }
.public-social-links__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.public-social-links--drawer { margin: .1rem 0 .05rem; padding: .85rem .15rem .8rem; border-top: 1px solid #e5edf5; border-bottom: 1px solid #e5edf5; }
.public-social-links--drawer .public-social-links__link { width: 2.35rem; height: 2.35rem; box-shadow: none; }
body.site-page .public-social-links__label,
body.site-page--home .public-social-links__label { color: var(--stouter-navy) !important; }
body.site-page .public-social-links__link,
body.site-page--home .public-social-links__link { background: #fff; }
body.site-page .public-social-links__link:hover,
body.site-page .public-social-links__link:focus-visible,
body.site-page--home .public-social-links__link:hover,
body.site-page--home .public-social-links__link:focus-visible { background: #eaf2ff; }

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; }

/* Blog articles use a dark editorial token set internally. Re-map those
   tokens on the light public shell so long-form copy and conversion actions
   remain readable after the public theme bootstrap forces light mode. */
body.site-page .blog-article { color: #102a43 !important; }
body.site-page .blog-article__crumbs,
body.site-page .blog-article__byline { color: #64748b !important; }
body.site-page .blog-article__crumbs a { color: #185adb !important; }
body.site-page .blog-article__dek { color: #5b6b7f !important; }
body.site-page .blog-article__body,
body.site-page .blog-article__body p { color: #29466f !important; }
body.site-page .blog-article__lede { color: #173a63 !important; }
body.site-page .blog-article__aside-card { background: #fff !important; border-color: #cbd9e8 !important; box-shadow: 0 10px 24px rgba(24,58,96,.07) !important; }
body.site-page .blog-article__aside-card p { color: #64748b !important; }
body.site-page .blog-article__aside-card a { color: #185adb !important; }
body.site-page .blog-article__aside-card a:hover,
body.site-page .blog-article__aside-card a:focus-visible { color: #075ad3 !important; }
body.site-page .blog-article__aside-card--accent { background: linear-gradient(145deg,#eaf7f1,#f7fbff) !important; border-color: #9bd7c4 !important; }
body.site-page .blog-article__aside-card--accent strong { color: #173a63 !important; }
body.site-page .blog-article__closing { background: linear-gradient(145deg,#185adb,#0d3d91) !important; border-color: #185adb !important; box-shadow: 0 16px 34px rgba(24,90,219,.18) !important; }
body.site-page .blog-article__closing h2,
body.site-page .blog-article__closing p { color: #fff !important; }
body.site-page .blog-article__closing-actions .btn:not(.btn-primary) { background: #fff !important; color: #173a63 !important; border-color: #cbd9e8 !important; }
body.site-page .blog-article__closing-actions .btn:not(.btn-primary):hover,
body.site-page .blog-article__closing-actions .btn:not(.btn-primary):focus-visible { background: #eaf2ff !important; color: #075ad3 !important; border-color: #93baf4 !important; }

@media (max-width: 900px) {
    body.site-page .footer__top,
    body.site-page--home .footer__top { grid-template-columns: 1fr; gap: 1.4rem; padding-bottom: 1.6rem; }
    body.site-page .footer__brand-block,
    body.site-page--home .footer__brand-block { justify-items: center; text-align: center; }
    body.site-page .footer__brand,
    body.site-page--home .footer__brand { justify-content: center; width: min(100%, 24rem); }
    body.site-page .footer__brand-copy,
    body.site-page--home .footer__brand-copy { justify-items: center; }
    body.site-page .footer__slogan,
    body.site-page .footer__contact,
    body.site-page--home .footer__slogan,
    body.site-page--home .footer__contact { max-width: 40ch; }
    body.site-page .footer__cta,
    body.site-page--home .footer__cta { justify-self: center; }
    body.site-page .footer__link-groups,
    body.site-page--home .footer__link-groups { width: min(100%, 36rem); justify-self: center; }
    body.site-page .footer__link-group,
    body.site-page--home .footer__link-group { justify-items: center; text-align: center; }
    body.site-page .footer__made-for,
    body.site-page--home .footer__made-for { text-align: center; justify-self: center; }
}
@media (max-width: 760px) {
    body.site-page .footer__inner,
    body.site-page--home .footer__inner { width: min(100% - 2rem, 1180px); padding-top: 1.8rem; }
    body.site-page .footer__top,
    body.site-page--home .footer__top { grid-template-columns: 1fr; gap: 1.4rem; padding-bottom: 1.6rem; }
    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: center; justify-self: center; }
}
@media (max-width: 460px) {
    body.site-page .footer__inner,
    body.site-page--home .footer__inner { width: min(100% - 2rem, 1180px); padding-top: 1.5rem; }
    body.site-page .footer__top,
    body.site-page--home .footer__top { gap: 1.2rem; padding-bottom: 1.3rem; }
    body.site-page .footer__link-groups,
    body.site-page--home .footer__link-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1.1rem;
        row-gap: 1rem;
    }
    body.site-page .footer__link-group:nth-child(3),
    body.site-page--home .footer__link-group:nth-child(3) { grid-column: 1 / -1; }
    body.site-page .footer__bottom,
    body.site-page--home .footer__bottom {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: .55rem .8rem;
    }
    body.site-page .footer__copyright,
    body.site-page--home .footer__copyright { font-size: .68rem; }
    body.site-page .footer__made-for,
    body.site-page--home .footer__made-for { grid-column: 1 / -1; grid-row: 2; }
    body.site-page .footer-refresh-btn,
    body.site-page--home .footer-refresh-btn { justify-self: end; }
}

/* Auth parity pass: auth uses the app-shell main element, so give it the same
 * public content rail, header breathing room, and hero frame as the homepage
 * and marketing pages instead of letting the legacy shell go full-bleed. */
body.site-page.public-auth-shell main.app-shell-content {
    width: 100% !important;
    max-width: 1280px !important;
    margin-inline: auto !important;
    padding: clamp(.75rem, 1.8vw, 1.4rem) clamp(1rem, 4vw, 4.5rem) clamp(2rem, 4vw, 4.5rem) !important;
    box-sizing: border-box !important;
}
body.site-page.public-auth-shell .auth-entry-section.stouter-page-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 1.35rem !important;
    border-radius: 30px !important;
}
@media (max-width: 700px) {
    body.site-page.public-auth-shell main.app-shell-content {
        padding: .7rem .9rem 4rem !important;
    }
    body.site-page.public-auth-shell .auth-entry-section.stouter-page-hero {
        margin: 0 0 1rem !important;
        border-radius: 22px !important;
    }
}
@media (max-width: 460px) {
    body.site-page .footer__inner,
    body.site-page--home .footer__inner {
        width: min(100% - 1.2rem, 1180px);
        padding-top: 1.65rem;
    }
    body.site-page .footer__top,
    body.site-page--home .footer__top { gap: 1.35rem; padding-bottom: 1.45rem; }
    body.site-page .footer__link-groups,
    body.site-page--home .footer__link-groups { column-gap: 1.1rem; row-gap: 1rem; }
    body.site-page .footer__link-group,
    body.site-page--home .footer__link-group { gap: .3rem; }
}
@media (max-width: 340px) {
    body.site-page .footer__link-groups,
    body.site-page--home .footer__link-groups { grid-template-columns: 1fr; }
    body.site-page .footer__link-group:nth-child(3),
    body.site-page--home .footer__link-group:nth-child(3) { grid-column: auto; }
    body.site-page .footer__bottom,
    body.site-page--home .footer__bottom { grid-template-columns: 1fr; align-items: start; }
    body.site-page .footer__made-for,
    body.site-page--home .footer__made-for { grid-column: auto; grid-row: auto; }
    body.site-page .footer-refresh-btn,
    body.site-page--home .footer-refresh-btn { justify-self: start; }
}

/* 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;
    }
}

/* App listing cards: keep the artwork visible behind a readable, partially
 * transparent label instead of washing the lower half of the image to white. */
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,.22) 42%, rgba(7,19,61,.72) 100%), linear-gradient(135deg, rgba(22,132,91,.04), transparent 42%, rgba(24,90,219,.12)) !important;
}
body.site-page .app-category-card .body,
body.site-page .app-item-card .body {
    padding: .58rem .68rem !important;
    border: 1px solid rgba(255,255,255,.72) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.68) !important;
    color: #07133d !important;
    box-shadow: 0 8px 20px rgba(7,19,61,.18) !important;
    -webkit-backdrop-filter: blur(4px) saturate(1.08);
    backdrop-filter: blur(4px) saturate(1.08);
}
body.site-page .app-category-card .body h2,
body.site-page .app-category-card .body h3,
body.site-page .app-item-card .body h2,
body.site-page .app-item-card .body h3 {
    color: #07133d !important;
    text-shadow: 0 1px 0 rgba(255,255,255,.45) !important;
}

/* Shared hero geometry: keep the public page frame visibly separated from
 * the sticky header, round every corner, and give copy an earlier tablet
 * stack so headings do not get squeezed beside visual panels. */
body.site-page:not(.site-page--home) main.container,
body.site-page--home main.container {
    padding-top: clamp(.75rem, 1.8vw, 1.4rem) !important;
}
body.site-page .stouter-page-hero,
body.site-page--home .home-site-hero,
body.site-page .affiliate-page-hero,
body.site-page--home .affiliate-page-hero,
body.site-page .affiliate-landing-hero {
    margin-top: 0 !important;
    border-radius: 30px !important;
}
body.site-page .stouter-page-hero__copy,
body.site-page--home .home-site-hero__copy,
body.site-page .affiliate-page-hero__copy,
body.site-page--home .affiliate-page-hero__copy {
    min-width: 0;
    max-width: min(100%, 62ch);
}
body.site-page .stouter-page-hero h1,
body.site-page--home .home-site-hero__copy h1,
body.site-page .affiliate-page-hero h1,
body.site-page--home .affiliate-page-hero h1,
body.site-page .affiliate-landing-hero h2 {
    text-wrap: balance;
    overflow-wrap: normal;
}
body.site-page .stouter-page-hero h1 span,
body.site-page--home .home-site-hero__copy h1 span,
body.site-page .affiliate-page-hero h1 span,
body.site-page--home .affiliate-page-hero h1 span,
body.site-page .affiliate-landing-hero h2 span {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
}
body.site-page .stouter-page-hero h1,
body.site-page--home .home-site-hero__copy h1,
body.site-page .affiliate-page-hero h1,
body.site-page--home .affiliate-page-hero h1,
body.site-page .affiliate-landing-hero h2 {
    text-wrap: pretty;
}
body.site-page .stouter-page-hero p,
body.site-page--home .home-site-hero__copy > p:not(.home-site-hero__eyebrow),
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),
body.site-page .affiliate-landing-hero p {
    text-wrap: pretty;
}
/* Tablet heroes keep the copy and visual in one intentional composition. The
 * former full-width stack made 801–1100px viewports feel like a broken
 * desktop layout with a large empty side of the hero. Narrow tablets and
 * phones still stack. */
@media (max-width: 1100px) and (min-width: 801px) {
    body.site-page .stouter-page-hero,
    body.site-page--home .home-site-hero,
    body.site-page .affiliate-page-hero,
    body.site-page--home .affiliate-page-hero,
    body.site-page .affiliate-landing-hero {
        grid-template-columns: minmax(0, 1.35fr) minmax(250px, .85fr) !important;
        gap: clamp(1rem, 3vw, 2.25rem) !important;
    }
    body.site-page .stouter-page-hero__copy,
    body.site-page--home .home-site-hero__copy,
    body.site-page .affiliate-page-hero__copy,
    body.site-page--home .affiliate-page-hero__copy {
        max-width: min(100%, 48ch);
    }
    body.site-page--home .home-site-hero {
        min-height: min(560px, calc(100vh - 100px));
    }
    body.site-page--home .home-site-hero__copy h1 {
        font-size: clamp(2.45rem, 5.75vw, 4.4rem);
    }
    body.site-page--home .home-site-hero__copy > p:not(.home-site-hero__eyebrow) {
        font-size: clamp(.92rem, 1.6vw, 1.08rem);
    }
    body.site-page--home .home-site-hero__actions {
        flex-wrap: nowrap;
        gap: .55rem;
    }
    body.site-page--home .home-site-hero__primary,
    body.site-page--home .home-site-hero__secondary {
        padding-inline: .72rem;
        font-size: .72rem;
        white-space: nowrap;
    }
    body.site-page .stouter-page-hero__visual {
        min-height: 290px;
    }
}
@media (max-width: 800px) {
    body.site-page .stouter-page-hero,
    body.site-page--home .home-site-hero,
    body.site-page .affiliate-page-hero,
    body.site-page--home .affiliate-page-hero,
    body.site-page .affiliate-landing-hero {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: clamp(1.25rem, 4vw, 2.5rem) !important;
    }
}
@media (max-width: 700px) {
    body.site-page:not(.site-page--home) main.container,
    body.site-page--home main.container {
        padding-top: .7rem !important;
    }
    body.site-page .stouter-page-hero,
    body.site-page--home .home-site-hero,
    body.site-page .affiliate-page-hero,
    body.site-page--home .affiliate-page-hero,
    body.site-page .affiliate-landing-hero {
        border-radius: 22px !important;
    }
    body.site-page .stouter-page-hero h1,
    body.site-page--home .home-site-hero__copy h1,
    body.site-page .affiliate-page-hero h1,
    body.site-page--home .affiliate-page-hero h1,
    body.site-page .affiliate-landing-hero h2 {
        max-width: 18ch;
        font-size: clamp(2.35rem, 10.8vw, 4rem) !important;
        line-height: 1.06 !important;
        letter-spacing: -.04em;
    }
    body.site-page .stouter-page-hero h1 span,
    body.site-page--home .home-site-hero__copy h1 span,
    body.site-page .affiliate-page-hero h1 span,
    body.site-page--home .affiliate-page-hero h1 span,
    body.site-page .affiliate-landing-hero h2 span { max-width: 100%; }
}

/* Final public-hero contrast contract: legacy light-theme heading rules may
 * arrive with stronger selectors on app/auth shells. Dark hero frames always
 * keep light copy; their white cards retain the normal dark text contract. */
html[data-site-theme="light"] body.site-page .stouter-page-hero,
html[data-site-theme="light"] body.site-page--home .home-site-hero,
html[data-site-theme="light"] body.site-page .affiliate-page-hero,
html[data-site-theme="light"] body.site-page--home .affiliate-page-hero,
html[data-site-theme="light"] body.site-page .affiliate-landing-hero {
    color: #fff !important;
}
html[data-site-theme="light"] body.site-page .stouter-page-hero h1,
html[data-site-theme="light"] body.site-page--home .home-site-hero__copy h1,
html[data-site-theme="light"] body.site-page .affiliate-page-hero h1,
html[data-site-theme="light"] body.site-page--home .affiliate-page-hero h1,
html[data-site-theme="light"] body.site-page .affiliate-landing-hero h2 {
    color: #fff !important;
}
html[data-site-theme="light"] body.site-page .stouter-page-hero h1 span,
html[data-site-theme="light"] body.site-page .affiliate-page-hero h1 span,
html[data-site-theme="light"] body.site-page .affiliate-landing-hero h2 span,
html[data-site-theme="light"] body.site-page--home .home-site-hero__copy h1 span {
    color: #54c7ff !important;
}
html[data-site-theme="light"] body.site-page .stouter-page-hero__copy > p:not(.stouter-kicker),
html[data-site-theme="light"] body.site-page--home .home-site-hero__copy > p:not(.home-site-hero__eyebrow),
html[data-site-theme="light"] body.site-page .affiliate-page-hero__copy > p:not(.affiliate-page-hero__eyebrow),
html[data-site-theme="light"] body.site-page--home .affiliate-page-hero__copy > p:not(.affiliate-page-hero__eyebrow),
html[data-site-theme="light"] body.site-page .affiliate-landing-hero > p {
    color: #dbe9ff !important;
}

/* Final hero text contract: leave enough air between large serif lines and
 * preserve real word boundaries when mobile hides intentional line breaks. */
body.site-page .stouter-page-hero h1,
body.site-page--home .home-site-hero__copy h1,
body.site-page .affiliate-page-hero h1,
body.site-page--home .affiliate-page-hero h1,
body.site-page .affiliate-landing-hero h2 {
    font-kerning: normal;
    word-spacing: .015em;
}
body.site-page .stouter-page-hero h1 span,
body.site-page--home .home-site-hero__copy h1 span,
body.site-page .affiliate-page-hero h1 span,
body.site-page--home .affiliate-page-hero h1 span,
body.site-page .affiliate-landing-hero h2 span {
    margin-inline-start: .08em;
}

/* Auth is the same public hero, with a centered copy column and a card that
 * must never retain a desktop minimum width on tablets or phones. */
body.site-page.public-auth-shell .auth-entry-section,
body.site-page.public-auth-shell .auth-entry-copy,
body.site-page.public-auth-shell .auth-entry-card,
body.site-page.public-auth-shell .auth-entry-card__body,
body.site-page.public-auth-shell .auth-shell-form,
body.site-page.public-auth-shell .auth-shell-label {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
body.site-page.public-auth-shell .auth-entry-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 500px) !important;
    width: 100% !important;
}
body.site-page.public-auth-shell .auth-entry-copy {
    display: flex !important;
    width: 100% !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
body.site-page.public-auth-shell .auth-entry-intro { text-align: center; }
body.site-page.public-auth-shell .auth-entry-actions { justify-content: center; width: 100%; }
body.site-page.public-auth-shell .auth-entry-trust { justify-content: center; text-align: center; }
body.site-page.public-auth-shell .auth-shell-form > *,
body.site-page.public-auth-shell .auth-shell-label > *,
body.site-page.public-auth-shell .auth-shell-form input:not([type="checkbox"]),
body.site-page.public-auth-shell .auth-shell-form select,
body.site-page.public-auth-shell .auth-shell-form textarea,
body.site-page.public-auth-shell .auth-shell-form > button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}
@media (max-width: 980px) {
    body.site-page.public-auth-shell .auth-entry-section {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}
@media (max-width: 700px) {
    body.site-page .stouter-page-hero h1,
    body.site-page--home .home-site-hero__copy h1,
    body.site-page .affiliate-page-hero h1,
    body.site-page--home .affiliate-page-hero h1,
    body.site-page .affiliate-landing-hero h2 {
        max-width: 18ch;
        font-size: clamp(2.2rem, 10vw, 3.75rem) !important;
        line-height: 1.12 !important;
        letter-spacing: -.025em !important;
        word-spacing: .02em;
    }
    body.site-page.public-auth-shell .auth-entry-section {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding: clamp(2rem, 7vw, 3rem) clamp(1rem, 5vw, 1.5rem) clamp(1.6rem, 5vw, 2.15rem) !important;
        border-radius: 22px !important;
    }
    body.site-page.public-auth-shell .auth-entry-copy,
    body.site-page.public-auth-shell .auth-entry-card { width: 100% !important; }
    body.site-page.public-auth-shell .auth-entry-copy h1 {
        max-width: 100%;
        line-height: 1.1 !important;
        letter-spacing: -.025em !important;
    }
    body.site-page.public-auth-shell .auth-entry-intro { max-width: 32ch; }
    body.site-page.public-auth-shell .auth-entry-actions .discover-listing-filter-btn {
        width: min(100%, 18rem) !important;
        flex: 0 1 auto !important;
    }
}

/* Mobile footer identity stack: use the available phone width, center the
 * brand/contact block, and keep link columns readable instead of cramped. */
@media (max-width: 760px) {
    body.site-page .footer__brand-block,
    body.site-page--home .footer__brand-block {
        justify-items: center;
        text-align: center;
    }
    body.site-page .footer__brand,
    body.site-page--home .footer__brand {
        justify-content: center;
        width: min(100%, 24rem);
    }
    body.site-page .footer__brand-copy,
    body.site-page--home .footer__brand-copy { justify-items: center; }
    body.site-page .footer__slogan,
    body.site-page .footer__contact,
    body.site-page--home .footer__slogan,
    body.site-page--home .footer__contact { max-width: 40ch; }
    body.site-page .footer__cta,
    body.site-page--home .footer__cta { justify-self: center; }
    body.site-page .footer__link-groups,
    body.site-page--home .footer__link-groups { width: min(100%, 36rem); justify-self: center; }
    body.site-page .footer__link-group,
    body.site-page--home .footer__link-group { justify-items: center; text-align: center; }
}
@media (max-width: 460px) {
    body.site-page .footer__inner,
    body.site-page--home .footer__inner { width: min(100% - 1.5rem, 1180px); }
    body.site-page .footer__brand-copy,
    body.site-page--home .footer__brand-copy { gap: .4rem; }
    body.site-page .footer__brand-block,
    body.site-page--home .footer__brand-block { gap: 1rem; }
    body.site-page .footer__slogan,
    body.site-page--home .footer__slogan { margin-top: .15rem; }
    body.site-page .footer__contact,
    body.site-page--home .footer__contact { margin-top: 0; }
    body.site-page .footer__link-groups,
    body.site-page--home .footer__link-groups {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: .7rem;
        row-gap: .8rem;
    }
    body.site-page .footer__link-group,
    body.site-page--home .footer__link-group { justify-items: center; text-align: center; }
    body.site-page .footer__link-group:nth-child(3),
    body.site-page--home .footer__link-group:nth-child(3) { grid-column: auto; }
    body.site-page .footer__bottom,
    body.site-page--home .footer__bottom { text-align: center; }
    body.site-page .footer-refresh-btn,
    body.site-page--home .footer-refresh-btn { justify-self: center; }
}

/* Public site search: lightweight controls shared by the sticky header,
 * navigation drawer, and the categorized results page. */
body.site-page .public-site-header__search-trigger { border-color: rgba(0,166,255,.4); background: rgba(255,255,255,.08); color: #fff; box-shadow: 0 0 0 1px rgba(117,240,0,.08); }
body.site-page .public-site-header__search-trigger:hover,body.site-page .public-site-header__search-trigger:focus-visible { border-color: rgba(117,240,0,.62); background: rgba(255,255,255,.14); color: #fff; }

.public-site-search .app-shell-content { min-height: calc(100vh - 190px); padding: 0 !important; background: transparent !important; }
.public-search { width: min(100%, 1040px); margin: 0 auto; padding: clamp(1rem, 3vw, 2.4rem) clamp(.7rem, 3vw, 1.5rem) 3rem; color: #102a43; }
.public-search__hero { position: relative; display: grid; gap: 1.25rem; overflow: hidden; padding: clamp(1.3rem, 4vw, 2.75rem); border: 1px solid rgba(255,255,255,.18); border-radius: 28px; background: radial-gradient(circle at 92% 0%, rgba(0,166,255,.35), transparent 36%), linear-gradient(135deg, #071b3b 0%, #123f83 56%, #0b6aa3 100%); color: #fff; box-shadow: 0 22px 54px rgba(17,59,123,.2); }
.public-search__hero::after { position: absolute; right: -3.5rem; bottom: -7rem; width: 18rem; height: 18rem; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; pointer-events: none; }
.public-search__hero > div,.public-search__form,.public-search__hero-note { position: relative; z-index: 1; }
.public-search__eyebrow { display: flex; align-items: center; gap: .48rem; margin: 0 0 .55rem; color: #a8ecff; font-size: .72rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.public-search__hero h1 { margin: 0; color: #fff; font-family: Georgia,"Times New Roman",serif; font-size: clamp(2.25rem, 6vw, 4rem); letter-spacing: -.045em; line-height: 1.02; }
.public-search__hero > div > p:last-child { max-width: 54ch; margin: .7rem 0 0; color: rgba(239,246,255,.88); font-size: clamp(.96rem, 2vw, 1.08rem); }
.public-search__form { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .72rem; min-height: 64px; padding: .38rem .42rem .38rem 1rem; border: 1px solid rgba(255,255,255,.58); border-radius: 17px; background: #fff; box-shadow: 0 14px 32px rgba(1,14,38,.22); }
.public-search__form > i { color: #3680d4; font-size: 1.05rem; }
.public-search__form input[type="search"] { width: 100%; min-width: 0; height: 52px; margin: 0; padding: .45rem 0; border: 0; outline: 0; background: transparent; color: #102a43; font: inherit; font-size: clamp(.92rem, 2vw, 1.04rem); }
.public-search__form input::placeholder { color: #8190a8; opacity: 1; }
.public-search__form button { display: inline-flex; align-items: center; justify-content: center; width: auto; max-width: none; min-width: 116px; min-height: 50px; margin: 0; padding: .65rem 1rem; border: 0; border-radius: 12px; background: #185adb; color: #fff; font: inherit; font-size: .9rem; font-weight: 850; cursor: pointer; }
.public-search__form button:hover,.public-search__form button:focus-visible { background: #0b4bc2; outline: 3px solid rgba(24,90,219,.2); outline-offset: 2px; }
.public-search__hero-note { color: rgba(219,234,254,.78); font-size: .75rem; }
.public-search__tabs { display: flex; align-items: center; gap: clamp(.85rem, 2.5vw, 1.55rem); overflow-x: auto; margin: 1.45rem 0 .35rem; border-bottom: 1px solid #d7e1ed; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.public-search__tabs a { display: inline-flex; align-items: center; justify-content: center; gap: .38rem; min-height: 48px; flex: 0 0 auto; padding: .4rem .18rem .52rem; border-bottom: 3px solid transparent; color: #647895; text-decoration: none; font-size: .88rem; font-weight: 800; white-space: nowrap; }
.public-search__tabs a:hover,.public-search__tabs a:focus-visible { color: #075ad3; outline: none; }
.public-search__tabs a.is-active { border-color: #185adb; color: #124b9b; }
.public-search__tabs small { display: inline-flex; align-items: center; justify-content: center; min-width: 1.3rem; height: 1.3rem; padding: 0 .28rem; border-radius: 999px; background: #eaf2ff; color: #185adb; font-size: .68rem; font-weight: 850; }
.public-search__summary { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin: 1.15rem .15rem .75rem; color: #5b6b7f; font-size: .86rem; }
.public-search__summary strong { color: #102a43; }
.public-search__summary small { color: #8190a8; font-size: .75rem; }
.public-search__results { display: grid; overflow: hidden; border: 1px solid #dce6f1; border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(24,58,96,.07); }
.public-search__result { display: grid; grid-template-columns: 2.8rem minmax(0,1fr) 1.5rem; align-items: center; gap: .9rem; min-width: 0; padding: 1rem 1.1rem; border-bottom: 1px solid #edf1f6; color: #102a43; text-decoration: none; transition: background .16s ease; }
.public-search__result:last-child { border-bottom: 0; }
.public-search__result:hover,.public-search__result:focus-visible { background: #f6faff; outline: none; }
.public-search__result-icon { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border: 1px solid #d8e7f8; border-radius: 13px; background: #eff6ff; color: #185adb; font-size: .98rem; }
.public-search__result-copy { display: grid; gap: .2rem; min-width: 0; }
.public-search__result-type { overflow: hidden; color: #16845b; font-size: .67rem; font-weight: 850; letter-spacing: .065em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.public-search__result-type span { padding: 0 .18rem; color: #9aabc0; }
.public-search__result-copy strong { overflow-wrap: anywhere; color: #14365c; font-size: 1rem; line-height: 1.3; }
.public-search__result-description { display: -webkit-box; overflow: hidden; color: #5b6b7f; font-size: .84rem; line-height: 1.48; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.public-search__result-url { overflow: hidden; color: #8696aa; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.public-search__result-arrow { color: #8fa1b7; font-size: .8rem; transition: transform .16s ease,color .16s ease; }
.public-search__result:hover .public-search__result-arrow,.public-search__result:focus-visible .public-search__result-arrow { transform: translateX(3px); color: #185adb; }
.public-search__welcome,.public-search__empty { display: grid; gap: 1rem; margin-top: 1rem; padding: clamp(1.1rem, 3vw, 1.75rem); border: 1px solid #dce6f1; border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(24,58,96,.06); }
.public-search__welcome { grid-template-columns: minmax(0,1fr) auto; align-items: center; }
.public-search__welcome > div:first-child { display: grid; grid-template-columns: 2.7rem minmax(0,1fr); column-gap: .8rem; align-items: center; }
.public-search__welcome-icon { display: grid; place-items: center; grid-row: span 2; width: 2.55rem; height: 2.55rem; border-radius: 14px; background: #ecf8f2; color: #16845b; }
.public-search__welcome h2,.public-search__empty h2 { margin: 0; color: #173a63; font-size: 1.02rem; }
.public-search__welcome p,.public-search__empty p { margin: .18rem 0 0; color: #647895; font-size: .83rem; }
.public-search__quick-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; }
.public-search__quick-links a,.public-search__empty>a { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: .42rem .68rem; border: 1px solid #d7e4f2; border-radius: 999px; background: #f8fbff; color: #185adb; text-decoration: none; font-size: .74rem; font-weight: 800; white-space: nowrap; }
.public-search__quick-links a:hover,.public-search__quick-links a:focus-visible,.public-search__empty>a:hover,.public-search__empty>a:focus-visible { border-color: #93baf4; background: #eaf2ff; outline: none; }
.public-search__empty { justify-items: center; padding: 2.2rem 1rem; text-align: center; }
.public-search__empty>span { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 16px; background: #f1f5f9; color: #69819d; font-size: 1.15rem; }
.public-search__empty>a { margin-top: .25rem; }
@media (max-width: 760px) {
    body.site-page .public-site-header__search-trigger { width: 40px; height: 40px; border-radius: 12px; }
    .public-search { padding: .8rem .65rem 2.2rem; }
    .public-search__hero { gap: 1rem; border-radius: 21px; }
    .public-search__form { grid-template-columns: auto minmax(0,1fr); gap: .55rem; min-height: 58px; padding-left: .8rem; }
    .public-search__form input[type="search"] { height: 46px; font-size: .88rem; }
    .public-search__form button { grid-column: 1/-1; min-height: 44px; }
    .public-search__welcome { grid-template-columns: 1fr; }
    .public-search__quick-links { justify-content: flex-start; }
}
@media (max-width: 430px) {
    body.site-page .public-site-header__search-trigger { width: 36px; height: 36px; }
    .public-search__result { grid-template-columns: 2.3rem minmax(0,1fr) 1rem; gap: .62rem; padding: .82rem .68rem; }
    .public-search__result-icon { width: 2.2rem; height: 2.2rem; border-radius: 11px; font-size: .85rem; }
    .public-search__result-copy strong { font-size: .93rem; }
    .public-search__result-description { font-size: .78rem; }
    .public-search__result-url { font-size: .68rem; }
}
@media (max-width: 360px) {
    body.site-page .public-site-header__cta { display: none; }
}

/* Public-page motion stays opt-in until the small enhancement script is ready. */
.site-scroll-progress {
    position: fixed;
    z-index: 1500;
    top: env(safe-area-inset-top, 0px);
    left: 0;
    right: 0;
    height: 3px;
    overflow: hidden;
    pointer-events: none;
}
.site-scroll-progress__bar {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, #75f000 0%, #00a6ff 55%, #ff6b3d 100%);
    box-shadow: 0 0 12px rgba(0,166,255,.28);
}
html.site-motion-ready body.site-page:not(.site-page--featured-standalone) [data-scroll-reveal] {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition: opacity 560ms cubic-bezier(.22,.61,.36,1), transform 560ms cubic-bezier(.22,.61,.36,1);
    transition-delay: var(--scroll-motion-delay, 0ms);
}
html.site-motion-ready body.site-page:not(.site-page--featured-standalone) [data-scroll-reveal].is-visible,
html.site-motion-ready body.site-page:not(.site-page--featured-standalone) [data-scroll-reveal]:focus-within {
    opacity: 1;
    transform: none;
}
@media (max-width: 760px) {
    html.site-motion-ready body.site-page:not(.site-page--featured-standalone) [data-scroll-reveal] {
        transform: translate3d(0, 9px, 0);
        transition-duration: 460ms;
        transition-delay: 0ms;
    }
}
@media (prefers-reduced-motion: reduce) {
    html.site-motion-ready body.site-page [data-scroll-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .stouter-project-card,
    .stouter-project-card__screenshot img {
        transition: none !important;
    }
    .stouter-project-card:hover,
    .stouter-project-card:focus-within,
    .stouter-project-card:hover .stouter-project-card__screenshot img,
    .stouter-project-card:focus-within .stouter-project-card__screenshot img {
        transform: none !important;
    }
}

/* Default Stouter branding uses one transparent logo lockup. The dark-text
 * companion keeps the same mark readable wherever the shared shell is light. */
body.site-page .public-site-header__brand--wordmark,
body.site-page--home .public-site-header__brand--wordmark {
    display: flex;
    align-items: center;
    gap: 0;
    width: clamp(210px, 25vw, 300px);
    max-width: clamp(210px, 25vw, 300px);
}
body.site-page .public-site-header__wordmark,
body.site-page--home .public-site-header__wordmark {
    position: relative;
    display: block;
    width: min(100%, 290px);
    aspect-ratio: 1200 / 480;
    min-width: 0;
    flex: 1 1 150px;
}
body.site-page .public-site-header__wordmark > picture,
body.site-page--home .public-site-header__wordmark > picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
body.site-page .public-site-header__wordmark > picture > img,
body.site-page--home .public-site-header__wordmark > picture > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
body.site-page .public-site-header__wordmark-dark,
body.site-page--home .public-site-header__wordmark-dark { display: none !important; }
body.site-page .public-profile-drawer__head-main--wordmark,
body.site-page--home .public-profile-drawer__head-main--wordmark { flex: 1 1 auto; }
body.site-page .public-profile-drawer__wordmark,
body.site-page--home .public-profile-drawer__wordmark {
    position: relative;
    display: block;
    width: min(220px, 100%);
    aspect-ratio: 1200 / 480;
    min-width: 0;
    flex: 1 1 150px;
}
body.site-page .public-profile-drawer__wordmark > picture,
body.site-page--home .public-profile-drawer__wordmark > picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
body.site-page .public-profile-drawer__wordmark > picture > img,
body.site-page--home .public-profile-drawer__wordmark > picture > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
body.site-page .public-profile-drawer__wordmark-dark,
body.site-page--home .public-profile-drawer__wordmark-dark { display: none !important; }
body.site-page .footer__brand--wordmark,
body.site-page--home .footer__brand--wordmark {
    grid-template-columns: minmax(0, 1fr);
    gap: .72rem;
    width: min(100%, 360px);
}
body.site-page .footer__brand--wordmark .footer__brand-home,
body.site-page--home .footer__brand--wordmark .footer__brand-home {
    display: flex;
    width: min(100%, 350px);
}
body.site-page .footer__logo-picture--wordmark,
body.site-page--home .footer__logo-picture--wordmark {
    display: block;
    width: min(100%, 350px);
    aspect-ratio: 1200 / 480;
}
body.site-page .footer__logo--wordmark,
body.site-page--home .footer__logo--wordmark {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
body.site-page .footer__brand--wordmark .footer__brand-copy,
body.site-page--home .footer__brand--wordmark .footer__brand-copy { display: block; }
@media (max-width: 760px) {
    body.site-page .public-site-header__brand--wordmark,
    body.site-page--home .public-site-header__brand--wordmark { width: min(100%, 230px); max-width: min(100%, 230px); }
    body.site-page .public-site-header__brand--wordmark .public-site-header__wordmark,
    body.site-page--home .public-site-header__brand--wordmark .public-site-header__wordmark { width: min(100%, 220px); }
    body.site-page .public-profile-drawer__wordmark,
    body.site-page--home .public-profile-drawer__wordmark { width: min(180px, 100%); }
}
@media (max-width: 340px) {
    body.site-page .footer__link-groups,
    body.site-page--home .footer__link-groups { grid-template-columns: 1fr; row-gap: 1rem; }
    body.site-page .footer__link-group:nth-child(3),
    body.site-page--home .footer__link-group:nth-child(3) { grid-column: auto; }
    body.site-page .footer__bottom,
    body.site-page--home .footer__bottom { grid-template-columns: 1fr; align-items: center; text-align: center; }
    body.site-page .footer__made-for,
    body.site-page--home .footer__made-for { grid-column: auto; grid-row: auto; text-align: center; justify-self: center; }
    body.site-page .footer-refresh-btn,
    body.site-page--home .footer-refresh-btn { justify-self: center; }
}
