/* Homepage product showcase */
.home-hero {
    overflow: hidden;
    position: relative;
    z-index: 1;
    min-height: 760px;
}

.home-hero + .section {
    position: relative;
    z-index: 0;
}

.product-showcase {
    position: relative;
    padding: 110px 0 120px;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0, rgba(19,124,75,.10), transparent 30%),
        linear-gradient(180deg, #f7faf8 0%, #fff 100%);
}
.product-showcase::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    left: -260px;
    bottom: -260px;
    border: 1px solid #d9e9df;
    border-radius: 50%;
    box-shadow: 0 0 0 55px #f2f8f4, 0 0 0 110px #f7faf8;
}
.product-showcase-head {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 70px;
    align-items: end;
    margin-bottom: 54px;
}
.product-showcase-head h2 {
    margin: 0;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -.055em;
}
.product-showcase-head > p {
    margin: 0 0 7px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}
.product-grid {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
}
.product-grid .product-card {
    position: relative;
    min-height: 350px;
    padding: 34px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #dce8e1;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(5,31,21,.07);
    isolation: isolate;
}
.product-grid .product-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--accent);
}
.product-grid .product-card::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 220px;
    height: 220px;
    top: -115px;
    right: -90px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 9%, white);
    transition: transform .35s ease;
}
.product-grid .product-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--accent) 32%, #dce8e1);
    box-shadow: 0 24px 60px rgba(5,31,21,.12);
}
.product-grid .product-card:hover::after { transform: scale(1.12); }
.product-card-number {
    position: absolute;
    right: 28px;
    bottom: 18px;
    color: color-mix(in srgb, var(--accent) 11%, white);
    font-size: 94px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.08em;
    pointer-events: none;
}
.product-card-top {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.product-grid .product-icon {
    width: 74px;
    height: 74px;
    margin: 0;
    border: 1px solid color-mix(in srgb, var(--accent) 15%, #e2ebe5);
    border-radius: 19px;
    background: color-mix(in srgb, var(--accent) 8%, white);
    font-size: 32px;
}
.product-grid .product-icon img { width: 60px; height: 60px; }
.product-grid .status {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid #cfe9d6;
    background: #effaf2;
    color: #14723b;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 9px;
}
.product-grid .status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2db65e;
    box-shadow: 0 0 0 4px rgba(45,182,94,.12);
}
.product-card-copy { margin: 38px 0 30px; max-width: 430px; }
.product-category {
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 9px;
    font-weight: 900;
}
.product-grid .product-card h3 { margin: 0 0 13px; font-size: 28px; letter-spacing: -.035em; }
.product-grid .product-card p { min-height: 0; margin: 0; max-width: 410px; line-height: 1.65; }
.product-link {
    position: relative;
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e5ede8;
    color: var(--accent);
    font-size: 13px;
}
.product-link i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 10%, white);
    font-style: normal;
    font-size: 18px;
    transition: .25s;
}
.product-card:hover .product-link i { color: #fff; background: var(--accent); transform: rotate(45deg); }
.product-showcase + .section { padding-top: 110px; }
}

.home-clients {
    background: #e9f7ef;
    overflow: hidden;
}
.client-categories { display:flex; gap:9px; flex-wrap:wrap; margin-top:-24px; margin-bottom:35px; }
.client-categories span { padding:8px 12px; border:1px solid #cce2d3; border-radius:99px; background:#fff; color:var(--green); font-size:11px; font-weight:800; }
.business-tile { position:relative; display:flex; flex-direction:column; gap:7px; padding:18px 16px; text-align:center; }
.business-tile .client-product { position:absolute; top:10px; right:10px; padding:4px 7px; border-radius:99px; background:#eaf5ee; color:var(--green); font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.business-tile img { width:120px; height:90px; margin-top:12px; flex:none; object-fit:contain; }
.business-tile b {
    width:100%;
    min-height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--ink);
    font-size:10px;
    line-height:1.22;
    overflow-wrap:anywhere;
    hyphens:auto;
}
.business-tile b.client-name-long { font-size:9px; line-height:1.18; }
.client-monogram { width:82px; height:82px; margin-top:12px; flex:none; display:grid; place-items:center; border-radius:20px; color:#fff; background:linear-gradient(145deg,#0c3b2b,#3276ee); font-size:34px; font-weight:900; }

.home-hero .nav nav { gap: 22px; }
.home-hero .nav nav a { font-size: 13px; }
.settings-preview { display:flex; align-items:flex-end; gap:18px; padding:18px; margin-bottom:28px; background:var(--soft); border:1px solid var(--line); border-radius:12px; }
.settings-preview > div { display:flex; flex-direction:column; gap:8px; color:var(--muted); font-size:11px; font-weight:700; }
.settings-preview img { width:76px; height:76px; padding:8px; background:#fff; border:1px solid var(--line); border-radius:10px; object-fit:contain; }
.settings-preview .wide img { width:150px; object-fit:cover; }
.current-image { margin-bottom:28px; padding:16px; border:1px solid var(--line); border-radius:12px; background:var(--soft); }
.current-image span { display:block; margin-bottom:10px; color:var(--muted); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.current-image img { width:100%; max-height:360px; object-fit:contain; object-position:left center; border-radius:8px; background:#fff; }
.about-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:90px; align-items:start; }
.about-grid h2 { font-size:clamp(36px,5vw,58px); letter-spacing:-.05em; line-height:1.05; margin:0; }
.about-grid p { color:var(--muted); line-height:1.8; margin:0 0 18px; }
.about-grid .lead-copy { font-size:20px; color:var(--ink); font-weight:600; }
.value-list { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:32px; }
.value-list span { padding:15px 16px; background:#f1f7f3; border-radius:10px; font-size:13px; font-weight:700; }
.value-list span::before { content:'✓'; color:var(--green); margin-right:8px; }
.journey-section { background:linear-gradient(145deg,#071f18,#0d4933); color:#fff; }
.journey-section .section-heading p { color:#abc0b8; }
.journey-grid { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid #ffffff24; }
.journey-grid article { padding:34px 25px 10px 0; }
.journey-grid b { display:block; color:#bff458; font-size:12px; margin-bottom:35px; }
.journey-grid h3 { font-size:19px; margin:0 0 12px; }
.journey-grid p { color:#a9beb6; line-height:1.7; font-size:14px; }
.audience-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.audience-grid article { padding:32px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.audience-grid span { color:var(--green); text-transform:uppercase; letter-spacing:.1em; font-size:10px; font-weight:900; }
.audience-grid h3 { font-size:21px; margin:12px 0 9px; }
.audience-grid p { color:var(--muted); line-height:1.7; margin:0; }
.faq-section { background:var(--soft); }
.faq-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:90px; }
.faq-layout .section-heading { margin:0; }
.faq-layout .section-heading a { color:var(--green); font-weight:800; font-size:14px; }
.faq-list details { border-bottom:1px solid #cfdcd4; padding:22px 0; }
.faq-list summary { cursor:pointer; font-weight:800; font-size:17px; list-style:none; padding-right:35px; position:relative; }
.faq-list summary::after { content:'+'; position:absolute; right:4px; font-size:22px; color:var(--green); }
.faq-list details[open] summary::after { content:'−'; }
.faq-list p { color:var(--muted); line-height:1.7; margin:15px 35px 0 0; }
.cta-actions { justify-content:center; margin-top:28px; }
.footer-contact { display:inline-block; color:#dbe6e2; font-size:14px; margin-top:8px; }

/* Product pages use a stacked hero so wide application screenshots remain legible. */
.product-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 54px;
    align-items: stretch;
    padding-top: 62px;
    padding-bottom: 110px;
}
.product-hero-copy {
    width: min(820px, 100%);
    margin: 0 auto;
    text-align: center;
}
.product-hero-copy .back {
    width: max-content;
    margin: 0 auto 42px;
}
.product-hero-copy h1 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.product-hero-copy > p {
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
}
.product-hero-copy .actions {
    justify-content: center;
}
.product-hero .hero-shot {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line));
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 35px 90px rgba(5,31,21,.16);
    transform: none;
    animation: none;
}
.hero-shot-bar {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    background: color-mix(in srgb, var(--accent) 8%, #f7faf8);
    border-bottom: 1px solid var(--line);
}
.hero-shot-bar > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 45%, #d7ded9);
}
.hero-shot-bar small {
    margin-left: auto;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
}
.product-hero .hero-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}
.floating-product-nav { position:fixed; z-index:70; top:50%; right:0; transform:translateY(-50%); }
.floating-product-nav .product-switcher { position:relative; }
.product-switcher summary { display:flex; align-items:center; gap:8px; padding:11px 13px; border:1px solid var(--line); border-radius:9px; background:#fff; color:var(--ink); font-size:12px; font-weight:800; cursor:pointer; list-style:none; transition:.2s; }
.floating-product-nav summary { padding:14px 10px; flex-direction:column; border-right:0; border-radius:14px 0 0 14px; color:#fff; background:var(--green); border-color:var(--green); box-shadow:0 12px 35px rgba(5,31,21,.22); }
.floating-product-nav .switcher-icon { font-size:13px; color:#c9f571; }
.floating-product-nav .switcher-label { font-size:10px; writing-mode:vertical-rl; transform:rotate(180deg); letter-spacing:.08em; text-transform:uppercase; }
.floating-product-nav .switcher-arrow { font-size:17px; color:#c9f571; }
.product-switcher summary::-webkit-details-marker { display:none; }
.product-switcher summary:hover, .product-switcher[open] summary { border-color:#a9c7b5; box-shadow:0 6px 18px rgba(5,31,21,.08); }
.floating-product-nav summary:hover, .floating-product-nav .product-switcher[open] summary { border-color:var(--green); background:#0d6841; box-shadow:0 14px 40px rgba(5,31,21,.3); }
.product-switcher-menu { position:absolute; top:50%; right:calc(100% + 10px); width:340px; padding:10px; border:1px solid var(--line); border-radius:15px; background:#fff; box-shadow:0 24px 65px rgba(5,31,21,.18); transform:translate(8px,-50%); opacity:0; visibility:hidden; pointer-events:none; transition:.2s; }
.floating-product-nav .product-switcher:hover .product-switcher-menu, .floating-product-nav .product-switcher[open] .product-switcher-menu, .floating-product-nav .product-switcher:focus-within .product-switcher-menu { transform:translate(0,-50%); opacity:1; visibility:visible; pointer-events:auto; }
.product-switcher-menu > small { display:block; padding:7px 9px 9px; color:var(--muted); text-transform:uppercase; letter-spacing:.11em; font-size:9px; font-weight:900; }
.product-switcher-menu > a:not(.all-products) { display:flex; align-items:center; gap:11px; padding:10px; border-radius:10px; transition:.18s; }
.product-switcher-menu > a:not(.all-products):hover { background:#f2f7f4; }
.product-switcher-menu > a.current { background:#eff8f2; }
.product-switcher-menu > a > span { width:38px; height:38px; display:grid; place-items:center; flex:none; overflow:hidden; border:1px solid var(--line); border-radius:9px; background:#fff; }
.product-switcher-menu > a > span img { width:34px; height:34px; object-fit:contain; }
.product-switcher-menu > a > div { min-width:0; flex:1; }
.product-switcher-menu strong, .product-switcher-menu a small { display:block; }
.product-switcher-menu strong { font-size:13px; }
.product-switcher-menu a small { margin-top:3px; overflow:hidden; color:var(--muted); font-size:10px; font-weight:500; text-overflow:ellipsis; white-space:nowrap; }
.product-switcher-menu a b { color:var(--green); }
.product-switcher-menu .all-products { display:block; margin-top:6px; padding:12px 10px 5px; border-top:1px solid var(--line); color:var(--green); font-size:11px; font-weight:900; }
.product-switcher-menu .switcher-home { margin-bottom:5px; border-bottom:1px solid var(--line); border-radius:10px 10px 0 0!important; }
.product-switcher-menu .switcher-home > span { color:var(--green); font-size:20px; }

.clients-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 18px;
}

.client-logo {
    min-height: 220px;
    padding: 28px;
    border: 1px solid #d7e7dc;
    border-radius: 18px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10221a;
    font-size: 21px;
    font-weight: 800;
    box-shadow: 0 14px 40px rgba(5, 31, 21, .07);
}

.client-logo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.client-logo.dark {
    background: #000;
}

@media (max-width: 900px) {
    .product-showcase-head { grid-template-columns: 1fr; gap: 22px; }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .product-grid .product-card { min-height: 365px; padding: 28px; }
    .clients-strip { grid-template-columns: 1fr; }
    .about-grid, .faq-layout { grid-template-columns:1fr; gap:45px; }
    .journey-grid { grid-template-columns:1fr 1fr; }
    .product-nav > nav { display:none; }
}

@media (max-width: 560px) {
    .product-grid { grid-template-columns: 1fr; }
    .home-hero { min-height: 690px; padding-bottom: 25px; }
    .product-showcase { padding: 80px 0; }
    .product-showcase-head { margin-bottom: 36px; }
    .product-showcase-head h2 { font-size: 40px; }
    .product-grid .product-card { min-height: 330px; padding: 25px; }
    .product-card-number { font-size: 72px; }
    .value-list, .journey-grid, .audience-grid { grid-template-columns:1fr; }
    .journey-grid article { border-bottom:1px solid #ffffff18; }
    .settings-preview { flex-wrap:wrap; }
    .product-hero { gap:36px; padding-top:35px; padding-bottom:75px; }
    .product-hero-copy .back { margin-bottom:30px; }
    .product-hero .hero-shot { width:calc(100% + 20px); margin-left:-10px; border-radius:16px; }
    .hero-shot-bar { height:36px; padding:0 12px; }
    .product-nav { gap:10px; }
    .product-nav .product-brand > span:last-child { display:none; }
    .floating-product-nav { top:auto; right:14px; bottom:16px; transform:none; }
    .floating-product-nav summary { flex-direction:row; padding:12px 15px; border:0; border-radius:99px; }
    .floating-product-nav .switcher-label { writing-mode:horizontal-tb; transform:none; }
    .floating-product-nav .switcher-arrow { transform:rotate(90deg); }
    .product-switcher-menu { position:fixed; top:auto; right:14px; bottom:72px; left:14px; width:auto; transform:translateY(8px); }
    .floating-product-nav .product-switcher:hover .product-switcher-menu, .floating-product-nav .product-switcher[open] .product-switcher-menu, .floating-product-nav .product-switcher:focus-within .product-switcher-menu { transform:none; }
}
