/* GLASS OPS - HOME PAGE */
/* DEMO STAR PAGE TRANSITION */
.home-page .free-demo-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.home-page .free-demo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 44px;
    padding: 0 24px;
    border-radius: 10px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(17, 72, 116, .18);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.home-page .free-demo-button:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(17, 72, 116, .24);
}

.signup-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 38px;
    color: white;
    border: 1px solid #666;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.backoffice-gallery-image {
    cursor: pointer;
}

.screenshot-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.screenshot-lightbox.show {
    display: flex;
}

.screenshot-lightbox-image {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.screenshot-lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    border: 0;
    background: transparent;
    color: white;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}

.screenshot-lightbox-prev,
.screenshot-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: rgba(0, 0, 0, 0.35);
    color: white;
    font-size: 40px;
    width: 55px;
    height: 70px;
    cursor: pointer;
    border-radius: 5px;
}

.screenshot-lightbox-prev {
    left: 20px;
}

.screenshot-lightbox-next {
    right: 20px;
}

.screenshot-lightbox-prev:hover,
.screenshot-lightbox-next:hover {
    background: rgba(0, 0, 0, 0.65);
}

.screenshot-lightbox-counter {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 15px;
}

.demo-word {
    font-size: 1.4em;
    font-weight: 700;
}

.home-page .hero-demo-actions {
    position: absolute;
    top: 18px;
    right: 28px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.home-page .hero-demo-actions .demo-notice {
    position: static;
    display: block;
    margin: 0;
    text-decoration: none;
}

.home-page .hero-demo-actions .demo-star {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    margin: 0;
    transform: rotate(7deg);
}

.home-page .hero-demo-actions .demo-star:hover {
    transform: rotate(0deg) scale(1.08);
}

.home-page .demo-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 8px 18px;
    border-radius: 20px;
}

.demo-transition {
    position: fixed;
    width: 120px;
    height: 120px;
    transform: translate(-50%, -50%) scale(0);
    background: #ffd800;
    clip-path: polygon( 50% 0%, 57% 28%, 72% 8%, 72% 32%, 96% 20%, 80% 42%, 100% 50%, 80% 58%, 96% 80%, 72% 68%, 72% 92%, 57% 72%, 50% 100%, 43% 72%, 28% 92%, 28% 68%, 4% 80%, 20% 58%, 0% 50%, 20% 42%, 4% 20%, 28% 32%, 28% 8%, 43% 28% );
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .08s ease, background-color .20s ease;
}

.demo-transition.active {
    opacity: 1;
    /* Intentionally enormous to cover every corner */
    transform: translate(-50%, -50%) scale(60);
}

.demo-transition.white {
    background: #fff;
}

.contact-line {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-line span {
    opacity: 0.8;
}

.contact-line a {
    font-weight: 600;
    text-decoration: none;
}

.contact-line a:hover {
    text-decoration: underline;
}

.home-page .demo-star {
    position: absolute;
    opacity: 0.75;
    left: 92%;
    top: 32%;
    transform: translate(-50%, -50%) rotate(7deg);
    width: 115px;
    font-size: 12px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffd500;
    color: #03386C;
    text-align: center;
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: .25px;
    clip-path: polygon( 50% 0%, 56% 16%, 68% 4%, 70% 21%, 85% 13%, 80% 30%, 97% 28%, 85% 41%, 100% 50%, 84% 56%, 97% 69%, 79% 69%, 85% 87%, 69% 79%, 67% 97%, 56% 84%, 50% 100%, 44% 84%, 33% 97%, 31% 79%, 15% 87%, 21% 69%, 3% 69%, 16% 56%, 0% 50%, 15% 41%, 3% 28%, 20% 30%, 15% 13%, 30% 21%, 32% 4%, 44% 16% );
    z-index: 10;
    transition: transform .15s ease;
}

.home-page .demo-star:hover {
    color: #03386C;
    transform: translate(-50%, -50%) rotate(0deg) scale(1.08);
}

.home-page .backoffice-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.home-page .backoffice-screenshot {
    transition: transform .2s ease;
}

.home-page .backoffice-link:hover .backoffice-screenshot {
    transform: translateY(-5px);
}

.home-page .backoffice-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 40px;
    align-items: center;
}

.home-page .backoffice-grid .copy {
    min-width: 0;
}

.home-page .backoffice-screenshot {
    min-width: 0;
    width: 100%;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(15, 63, 99, .12);
}

.home-page .backoffice-screenshot img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

/* HOME PAGE
   All homepage rules are scoped under .home-page. */
.home-page,
.home-page * {
    box-sizing: border-box;
}

.home-page {
    position: relative;
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    overflow: hidden;
    background: #f5fafc;
}

.home-page:before {
    display: none;
}

.home-page .go-wrap {
    position: relative;
    z-index: 2;
    width: calc(100% - 20px);
    max-width: 1600px;
    margin: auto;
}

.home-page .hero-splash {
    width: 130%;
    max-width: 230px;
    height: auto;
    display: block;
    margin: 0;
}

.home-page /* HERO */ .go-hero {
    border-radius: 15px;
    position: relative;
    isolation: isolate;
    padding: 42px 0 42px 10px;
    color: #fff;
    overflow: hidden;
    background: radial-gradient(circle at 8% 26%, rgba(50,183,241,.35), transparent 25%), radial-gradient(circle at 8% 30%, rgba(58,151,209,.19), transparent 30%), linear-gradient(135deg, #042742 0%, #073f73 46%, #0b609f 100%);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.home-page .go-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .15;
    background-image: linear-gradient(rgba(255,255,255,.14) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,.14) 2px, transparent 2px);
    background-size: 118px 118px;
    transform: perspective(750px) rotateX(57deg) scale(1.2);
    transform-origin: center 82%;
}

.home-page .go-hero:after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -135px;
    top: -180px;
    z-index: -1;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 50%;
    box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018);
}

.home-page .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(310px, .6fr);
    gap: 32px;
    align-items: center;
}

.home-page .hero-brand {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.home-page #about-logo-container {
    position: relative;
    width: 160px;
    height: 198px;
    overflow: hidden;
    filter: drop-shadow(0 20px 28px rgba(0,0,0,.18));
}

.home-page #about-logo-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.home-page #about-logo-loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #bfe5ff;
    font-size: 11px;
    letter-spacing: 2px;
}

.home-page .eyebrow,
.home-page .mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.home-page .eyebrow {
    color: #bfeaff;
    margin-bottom: 12px;
}

.home-page .eyebrow:before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: var(--cyan);
}

.home-page .logo-title {
    margin: 12px 0 0px;
    font-family: Arial, sans-serif;
    font-size: clamp(80px, 5vw, 182px);
    line-height: .95;
    font-weight: 800;
    letter-spacing: -.055em;
    transform: translateY(-12px);
}

.logo-title .glass {
    color: rgb(0, 0, 0);
}

.logo-title .ops {
    color: rgb(0, 0, 0);
}

.home-page .hero-copy {
    margin: 0;
    max-width: 680px;
    color: #e9f6fd;
    font-size: 15px;
    line-height: 1.5;
}

.home-page .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.home-page .hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    transition: .18s ease;
}

.home-page .hero-btn.primary {
    color: #063555;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.home-page .hero-btn.primary:hover {
    color: #063555;
    background: #edf9ff;
    transform: translateY(-2px);
}

.home-page .hero-btn.secondary {
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.08);
}

.home-page .hero-btn.secondary:hover {
    color: #fff;
    background: rgba(255,255,255,.14);
}

.home-page .hero-side {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.home-page .hero-proof {
    display: grid;
    gap: 10px;
    margin: 0;
    color: #cae8f8;
    font-size: 13px;
    font-weight: 700;
}

.home-page .hero-proof span {
    display: block;
    line-height: 1.4;
    padding-left: 20px;
    position: relative;
}

.home-page .hero-proof span:before {
    content: "✓";
    position: absolute;
    left: 0;
    margin-right: 7px;
    color: #6ee0a9;
    font-weight: 900;
}

.home-page .hero-card {
    position: relative;
    padding: 22px;
    margin: 0px 20px 0px 0px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.08));
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.home-page .hero-card:before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), transparent 80%);
}

.home-page .hero-card .small-label {
    color: #97dcff;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
    font-weight: 800;
}

.home-page .hero-card h2 {
    margin: 8px 0 10px;
    font-size: 26px;
    line-height: 1.15;
}

.home-page .hero-card p {
    margin: 0 0 22px;
    color: #e6f5fd;
    line-height: 1.65;
}

.home-page .problem-list {
    display: grid;
    gap: 11px;
    margin-bottom: 24px;
}

.home-page .problem-list div {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(3,40,69,.24);
    color: #f4fbff;
    font-size: 14px;
}

.home-page .problem-list b {
    color: #67d0fb;
}

.home-page .pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.home-page .pill {
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    font-size: 12px;
    font-weight: 750;
}

.home-page /* SECTIONS */ section {
    position: relative;
    z-index: 1;
    padding: 38px 0;
}

.home-page .section-title {
    max-width: 820px;
    margin: 0 auto 42px;
    text-align: center;
}

.home-page .mini {
    color: var(--blue);
    margin-bottom: 9px;
}

.home-page .section-title h2,
.home-page .copy h2 {
    margin: 0 0 13px;
    color: var(--navy);
    font-size: clamp(31px, 4vw, 44px);
    line-height: 1.08;
    font-weight: 830;
    letter-spacing: -.035em;
}

.home-page .section-title p,
.home-page .copy > p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.72;
}

.home-page .business-strip {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(8px);
}

.home-page .business-strip .go-wrap {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 22px;
}

.home-page .business-point {
    display: flex;
    gap: 11px;
    align-items: center;
    color: #29465e;
    font-size: 14px;
    font-weight: 750;
}

.home-page .business-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    border-radius: 10px;
    color: var(--blue);
    background: #eaf7fd;
    font-size: 17px;
}

.home-page .platform-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.home-page .platform {
    position: relative;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.home-page .platform:hover {
    transform: none;
    box-shadow: 0 22px 55px rgba(15,63,99,.14);
}

.home-page .platform:after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -60px;
    top: -60px;
    border-radius: 50%;
    background: var(--sky);
}

.home-page .platform-icon {
    position: relative;
    z-index: 2;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 15px;
    background: #e6f6fd;
    color: var(--blue);
    font-size: 21px;
    font-weight: 900;
}

.home-page .platform h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 9px;
    color: var(--navy);
    font-size: 23px;
}

.home-page .platform p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--muted);
    line-height: 1.68;
}

.home-page .alt {
    background: transparent;
    border-top: none;
    border-bottom: none;
}

.home-page .feature-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.home-page .feature-grid.reverse {
    grid-template-columns: 1.05fr .95fr;
}

.home-page .copy .mini {
    text-align: left;
}

.home-page .checks {
    list-style: none;
    margin: 21px 0 0;
    padding: 0;
}

.home-page .checks li {
    position: relative;
    padding: 8px 0 8px 30px;
    color: #334e63;
}

.home-page .checks li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 9px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e5f7ee;
    color: var(--success);
    font-size: 12px;
    font-weight: 900;
}

.home-page .phones {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px;
    align-items: end;
}

.home-page .phone {
    width: 100%;
    max-width: 120px;
    margin: 0 auto;
    padding: 2px;
    border-radius: 16px;
    background: #334e63;
    box-shadow: 0 18px 38px rgba(20,61,94,.22);
    transition: .2s;
}

.home-page .phone:nth-child(2),
.home-page .phone:nth-child(4) {
    transform: translateY(18px);
}

.home-page .phone:hover {
    transform: translateY(-5px);
}

.home-page .phone img {
    width: 100%;
    display: block;
    border-radius: 14px;
    background: #fff;
}

.home-page .browser {
    overflow: hidden;
    border: 1px solid #cbdce8;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}

.home-page .browser-bar {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 15px;
    background: #edf4f8;
    border-bottom: 1px solid #d8e5ee;
}

.home-page .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #aec0ce;
}

.home-page .address {
    height: 23px;
    flex: 1;
    margin-left: 10px;
    border-radius: 7px;
    background: #fff;
    border: 1px solid #dbe6ee;
}

.home-page .dashboard {
    display: grid;
    grid-template-columns: 165px 1fr;
    min-height: 340px;
}

.home-page .dash-nav {
    padding: 18px 14px;
    background: var(--navy);
}

.home-page .dash-logo {
    margin-bottom: 22px;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.home-page .dash-logo span {
    color: var(--cyan);
}

.home-page .navline {
    height: 11px;
    width: 80%;
    margin: 12px 0;
    border-radius: 6px;
    background: rgba(255,255,255,.18);
}

.home-page .navline.short {
    width: 58%;
}

.home-page .dash-main {
    padding: 22px;
    background: #f7fafc;
}

.home-page .stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    margin-bottom: 17px;
}

.home-page .stat {
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    font-size: 13px;
    color: #5a7185;
}

.home-page .stat strong {
    display: block;
    color: var(--blue);
    font-size: 24px;
}

.home-page .tablemock {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}

.home-page .tableline {
    height: 13px;
    margin: 10px 0;
    border-radius: 7px;
    background: linear-gradient(90deg,#e9f0f5 0 23%,#f4f7f9 23% 100%);
}

.home-page .flow-section {
    color: #fff;
    background: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px), linear-gradient(135deg, #052d4e, #074874);
    background-size: 46px 46px, 46px 46px, auto;
}

.home-page .flow-section .section-title h2,
.home-page .flow-section .section-title p {
    color: #fff;
}

.home-page .flow-section .mini {
    color: #75d2fb;
}

.home-page .flow {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 14px;
}

.home-page .step {
    position: relative;
    padding: 22px 15px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    background: rgba(255,255,255,.07);
    text-align: center;
    backdrop-filter: blur(5px);
}

.home-page .step:not(:last-child):after {
    content: "→";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: #62c8ff;
    font-size: 24px;
    font-weight: 900;
    z-index: 2;
}

.home-page .step strong {
    display: block;
    margin-bottom: 5px;
}

.home-page .step span {
    color: #cfe8f8;
    font-size: 14px;
}

.home-page .tech-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}

.home-page .tech {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255,255,255,.95);
    text-align: center;
    box-shadow: 0 10px 28px rgba(17,72,116,.06);
}

.home-page .tech strong {
    display: block;
    color: var(--navy);
    font-size: 18px;
}

.home-page .tech span {
    color: var(--muted);
    font-size: 14px;
}

.home-page .closing {
    padding-top: 0;
}

.home-page .closing-box {
    position: relative;
    padding: 50px 38px;
    border: 1px solid #c8e4f3;
    border-radius: 24px;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(50,183,241,.16), transparent 30%), linear-gradient(135deg,#effaff,#dff3ff);
    text-align: center;
    box-shadow: 0 18px 50px rgba(17,72,116,.08);
}

.home-page .closing-box h2 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 35px;
    font-weight: 830;
    letter-spacing: -.03em;
}

.home-page .closing-box p {
    max-width: 820px;
    margin: auto;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.72;
}

.home-page .closing-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 24px;
}

.home-page .closing-actions a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    padding: 0 19px;
    border-radius: 11px;
    text-decoration: none;
    font-weight: 800;
}

.home-page .closing-actions .main {
    color: #fff;
    background: var(--blue);
}

.home-page .closing-actions .outline {
    color: var(--blue);
    border: 1px solid #b8d8e9;
    background: rgba(255,255,255,.7);
}

@media(max-width:1000px) {
    .home-page .hero-grid,
    .home-page .feature-grid,
    .home-page .feature-grid.reverse {
        grid-template-columns: 1fr;
    }

    /* Read each feature before its screenshots when sections stack. */
    .home-page .feature-grid.reverse > .copy {
        order: -1;
    }

    .home-page .hero-side {
        margin-top: 12px;
    }

    .home-page .hero-proof {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
    }

    .home-page .platform-grid {
        grid-template-columns: 1fr;
    }

    .home-page .business-strip .go-wrap {
        grid-template-columns: repeat(2,1fr);
    }

    .home-page .phones {
        max-width: 650px;
        margin: auto;
    }

    .home-page .hero-card {
        max-width: 720px;
    }

}

@media(max-width:760px) {
    .home-page {
        margin-top: 0;
    }

    .home-page .go-wrap {
        width: min(100% - 26px,1220px);
    }

    .home-page .go-hero {
        padding: 20px 0 22px;
    }

    .home-page .hero-brand {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 14px;
    }

    .home-page .hero-splash {
        max-width: 100px;
    }

    .home-page .hero-proof {
        grid-template-columns: 1fr;
    }

    .home-page #about-logo-container {
        width: 122px;
        height: 145px;
    }

    .home-page .logo-title {
        font-size: clamp(48px, 16vw, 68px);
    }

    .home-page .hero-copy {
        font-size: 16px;
    }

    .home-page .business-strip .go-wrap {
        grid-template-columns: 1fr;
    }

    .home-page .phones {
        grid-template-columns: repeat(2,1fr);
    }

    .home-page .phone:nth-child(2),
    .home-page .phone:nth-child(4) {
        transform: none;
    }

    .home-page .flow {
        grid-template-columns: 1fr;
    }

    .home-page .step:not(:last-child):after {
        content: "↓";
        right: 50%;
        top: auto;
        bottom: -22px;
        transform: translateX(50%);
    }

    .home-page .tech-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .home-page .dashboard {
        grid-template-columns: 100px 1fr;
    }

    .home-page .stats {
        grid-template-columns: 1fr;
    }

    .home-page section {
        padding: 50px 0;
    }

}

@media (max-width: 480px) {
    .home-page .hero-brand {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .home-page .hero-splash {
        max-width: 90px;
    }

}

/* Public Home navigation: activated only by Views/Home/_MobileNavigation. */
.home-public-navbar .home-nav-toggle {
    display: none;
}

@media (max-width: 760px) {
    /* Padding provides a stable gap below the sticky public navbar. */
    .home-public-navbar + br + .container {
        padding-top: 20px;
    }

    .home-public-navbar.top-navbar {
        min-height: 64px;
        padding: 10px 16px;
        flex-wrap: nowrap;
    }

    .home-public-navbar .home-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 44px;
        padding: 10px 14px;
        border: 1px solid rgba(255, 255, 255, .35);
        border-radius: 10px;
        background: rgba(255, 255, 255, .1);
        color: #fff;
        font: inherit;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
    }

    .home-public-navbar .home-nav-toggle-icon {
        display: grid;
        gap: 4px;
        width: 20px;
    }

    .home-public-navbar .home-nav-toggle-icon span {
        height: 2px;
        border-radius: 2px;
        background: currentColor;
    }

    .home-public-navbar.home-nav-open .home-nav-toggle-icon span:first-child {
        transform: translateY(6px) rotate(45deg);
    }

    .home-public-navbar.home-nav-open .home-nav-toggle-icon span:nth-child(2) {
        opacity: 0;
    }

    .home-public-navbar.home-nav-open .home-nav-toggle-icon span:last-child {
        transform: translateY(-6px) rotate(-45deg);
    }

    .home-public-navbar .public-nav-buttons {
        position: absolute;
        top: 100%;
        left: 12px;
        right: 12px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 10px;
        max-height: calc(100dvh - 88px);
        overflow-y: auto;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 0 0 14px 14px;
        background: var(--navbar-color, #123b57);
        box-shadow: 0 14px 30px rgba(2, 34, 59, .25);
    }

    .home-public-navbar .public-nav-buttons[hidden] {
        display: none;
    }

    .home-public-navbar .public-nav-buttons .glassops-download {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        min-width: 0;
        min-height: 46px;
        height: auto;
        margin: 0;
        padding: 12px 16px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        box-shadow: none;
        color: #fff;
        font-size: 16px;
        line-height: 1.4;
        text-decoration: none;
    }

    .home-public-navbar .public-nav-buttons .glassops-download:hover,
    .home-public-navbar .home-nav-toggle:hover {
        background: rgba(255, 255, 255, .16);
    }

    .home-public-navbar .public-nav-buttons a:focus-visible,
    .home-public-navbar .home-nav-toggle:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

}
