/* ==========================================================================
   MGURUSI SOFTWARE — Global Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset & tokens
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    /* Brand */
    --blue: #2563EB;
    --blue-hover: #1D4ED8;
    --blue-dark: #1E40AF;
    --blue-soft: #DBEAFE;
    --blue-tint: #EFF6FF;

    /* Neutrals — duller, warmer than default */
    --navy: #0F172A;
    --navy-soft: #1E293B;
    --text: #334155;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --white: #FFFFFF;
    --surface: #FFFFFF;

    /* Background palette — dull, blended, warm */
    --bg-base: #F2EEE5;
    --bg-blend-1: #EDE9DE;
    --bg-blend-2: #F0EDE2;
    --surface-soft: #F4F1E9;
    --surface-tint: #EBE7DC;

    /* Borders */
    --border: #E4E1D8;
    --border-dark: #C9C5B8;

    /* Accents */
    --green: #10B981;
    --green-soft: #D1FAE5;
    --green-dark: #047857;

    /* Radius */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;

    /* Shadow */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 30px 80px rgba(15, 23, 42, 0.16);

    /* Layout */
    --container: 1200px;
    --nav-height: 72px;
    --section-y: 96px;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-fast: cubic-bezier(0.4, 0, 0.2, 1);
    --t-fast: 160ms;
    --t-med: 260ms;
    --t-slow: 480ms;

    color-scheme: light;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 24px);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    /* Layered soft-colour blend over a dull warm base */
    background-color: var(--bg-base);
    background-image:
        radial-gradient(circle at 15% 12%, rgba(37, 99, 235, 0.045), transparent 42%),
        radial-gradient(circle at 85% 22%, rgba(16, 185, 129, 0.04), transparent 45%),
        radial-gradient(circle at 35% 72%, rgba(245, 158, 11, 0.035), transparent 42%),
        radial-gradient(circle at 75% 92%, rgba(139, 92, 246, 0.03), transparent 42%),
        linear-gradient(180deg, #F2EEE5 0%, #EEE9DE 100%);
    background-attachment: fixed;
    color: var(--text);
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: 0;
    background: transparent;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color var(--t-fast) var(--ease-fast);
}

a:hover {
    color: var(--blue-hover);
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

p {
    margin: 0;
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   2. Typography scale
   -------------------------------------------------------------------------- */

.h1 {
    font-size: clamp(2.25rem, 5.2vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.h3 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.25;
}

.h4 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
}

.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-muted);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow--light {
    color: var(--blue-soft);
}

/* --------------------------------------------------------------------------
   3. Layout containers
   -------------------------------------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-y) 0;
}

.section--soft {
    background: linear-gradient(180deg, #F1EDE3 0%, #EBE7DC 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section--tint {
    background: linear-gradient(180deg, #EDEFF3 0%, #E8EAEE 100%);
}

.section--dark {
    background: var(--navy);
    color: #CBD5E1;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--white);
}

.section__head {
    max-width: 720px;
    margin-bottom: 56px;
}

.section__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section__head p {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 1.075rem;
}

.section--dark .section__head p {
    color: #94A3B8;
}

/* --------------------------------------------------------------------------
   4. Navigation
   -------------------------------------------------------------------------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(252, 250, 246, 0.94);
    border-bottom: 1px solid transparent;
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    transition: border-color var(--t-med) var(--ease-fast),
                box-shadow var(--t-med) var(--ease-fast);
}

.nav.is-scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02),
                0 6px 20px rgba(15, 23, 42, 0.04);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: var(--nav-height);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.brand:hover {
    color: var(--navy);
}

.brand__mark {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: -0.04em;
}

.brand__name {
    display: inline-block;
}

.brand__name strong {
    font-weight: 800;
}

.brand__name span {
    color: var(--text-muted);
    font-weight: 600;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link {
    position: relative;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
    transition: color var(--t-fast) var(--ease-fast),
                background var(--t-fast) var(--ease-fast);
}

.nav__link:hover {
    color: var(--blue);
    background: rgba(37, 99, 235, 0.06);
}

.nav__link.is-active {
    color: var(--blue);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav__toggle {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--navy);
    transition: border-color var(--t-fast) var(--ease-fast),
                background var(--t-fast) var(--ease-fast);
}

.nav__toggle:hover {
    border-color: var(--border-dark);
    background: var(--surface-soft);
}

.nav__toggle-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.nav__toggle-icon span {
    position: absolute;
    left: 2px;
    right: 2px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform var(--t-med) var(--ease),
                opacity var(--t-med) var(--ease),
                top var(--t-med) var(--ease);
}

.nav__toggle-icon span:nth-child(1) { top: 5px; }
.nav__toggle-icon span:nth-child(2) { top: 9px; }
.nav__toggle-icon span:nth-child(3) { top: 13px; }

.nav.is-open .nav__toggle-icon span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}
.nav.is-open .nav__toggle-icon span:nth-child(2) {
    opacity: 0;
}
.nav.is-open .nav__toggle-icon span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

.nav__mobile {
    display: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height var(--t-slow) var(--ease);
    border-top: 1px solid transparent;
    background: var(--white);
}

.nav.is-open .nav__mobile {
    max-height: 480px;
    border-top-color: var(--border);
}

.nav__mobile-inner {
    padding: 16px 24px 28px;
    display: grid;
    gap: 4px;
}

.nav__mobile .nav__link {
    padding: 14px 16px;
    font-size: 0.98rem;
}

.nav__mobile .btn {
    margin-top: 12px;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: background var(--t-fast) var(--ease-fast),
                border-color var(--t-fast) var(--ease-fast),
                color var(--t-fast) var(--ease-fast),
                transform var(--t-fast) var(--ease-fast),
                box-shadow var(--t-fast) var(--ease-fast);
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.15);
}

.btn--primary:hover {
    background: var(--blue-hover);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}

.btn--secondary {
    background: var(--white);
    color: var(--navy);
    border-color: var(--border-dark);
}

.btn--secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-tint);
}

.btn--ghost {
    background: transparent;
    color: var(--navy);
}

.btn--ghost:hover {
    background: var(--surface-tint);
}

.btn--light {
    background: var(--white);
    color: var(--blue);
}

.btn--light:hover {
    background: var(--blue-tint);
    color: var(--blue-dark);
}

.btn--ghost-light {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.18);
}

.btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.32);
}

.btn--lg {
    min-height: 52px;
    padding: 14px 26px;
    font-size: 1rem;
}

.btn__arrow {
    display: inline-block;
    transition: transform var(--t-med) var(--ease);
}

.btn:hover .btn__arrow {
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 112px 0 128px;
    background: #0B1120;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(11, 17, 32, 0.88) 0%,
            rgba(11, 17, 32, 0.72) 45%,
            rgba(11, 17, 32, 0.45) 100%
        );
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
}

.hero__copy {
    max-width: 600px;
}

.hero__title {
    margin-bottom: 24px;
}

.hero__title em {
    font-style: normal;
    color: var(--blue);
}

.hero__sub {
    margin-bottom: 40px;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 540px;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 44px;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.hero__meta-item {
    display: grid;
    gap: 4px;
}

.hero__meta-value {
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.hero__meta-label {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.hero__visual {
    position: relative;
}

/* Floating accent cards */
.mockup-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 700;
    animation: float 6s var(--ease) infinite;
    pointer-events: none;
    z-index: 3;
}

.mockup-float--tl {
    top: -18px;
    left: -28px;
}

.mockup-float--br {
    bottom: -22px;
    right: -24px;
    animation-delay: -3s;
}

.mockup-float svg {
    width: 16px;
    height: 16px;
    color: var(--blue);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* --------------------------------------------------------------------------
   7. Trust bar
   -------------------------------------------------------------------------- */

.trust {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #EFEBE1 0%, #EBE7DC 100%);
}

.trust__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.trust__item svg {
    width: 18px;
    height: 18px;
    color: var(--blue);
}

/* --------------------------------------------------------------------------
   8. Solutions grid
   -------------------------------------------------------------------------- */

.solutions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.solution {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 16px;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--white);
    overflow: hidden;
    transition: border-color var(--t-med) var(--ease-fast),
                transform var(--t-med) var(--ease),
                box-shadow var(--t-med) var(--ease);
}

.solution::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--t-med) var(--ease);
}

.solution:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.solution:hover::after {
    transform: scaleX(1);
}

.solution__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--blue-tint);
    color: var(--blue);
    border: 1px solid var(--blue-soft);
}

.solution__icon svg {
    width: 24px;
    height: 24px;
}

.solution__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
}

.solution__desc {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.solution__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue);
    font-size: 0.92rem;
    font-weight: 700;
}

.solution__link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--t-med) var(--ease);
}

.solution:hover .solution__link svg {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   9. Featured SMS
   -------------------------------------------------------------------------- */

.featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: center;
}

.featured__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.featured__badge svg {
    width: 12px;
    height: 12px;
}

.featured__title {
    margin-bottom: 20px;
}

.featured__desc {
    margin-bottom: 28px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.featured__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin-bottom: 32px;
}

.featured__list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
}

.featured__list-item svg {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex: 0 0 18px;
    color: var(--green);
}

.featured__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.featured__visual {
    position: relative;
}

/* --------------------------------------------------------------------------
   10. Why section (dark)
   -------------------------------------------------------------------------- */

.why {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
}

.why__item {
    position: relative;
    padding-top: 32px;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.why__num {
    position: absolute;
    top: -12px;
    left: 0;
    padding-right: 12px;
    background: var(--navy);
    color: var(--blue-soft);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.why__title {
    margin-bottom: 12px;
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.why__desc {
    color: #94A3B8;
    font-size: 0.94rem;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   11. CTA band
   -------------------------------------------------------------------------- */

.cta-band {
    position: relative;
    padding: 80px 64px;
    border-radius: var(--r-xl);
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.18), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.12), transparent 55%),
        var(--navy);
    color: var(--white);
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 20%, transparent 70%);
    pointer-events: none;
}

.cta-band__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: center;
}

.cta-band__title {
    margin-bottom: 14px;
    color: var(--white);
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.cta-band__desc {
    color: #94A3B8;
    font-size: 1.05rem;
    max-width: 560px;
}

.cta-band__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */

.footer {
    padding: 72px 0 32px;
    background: var(--navy);
    color: #94A3B8;
    font-size: 0.92rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 56px;
    margin-bottom: 56px;
}

.footer__brand {
    max-width: 340px;
}

.footer__brand .brand {
    color: var(--white);
    margin-bottom: 16px;
}

.footer__brand .brand__name span {
    color: #94A3B8;
}

.footer__brand p {
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.65;
}

.footer__col-title {
    margin-bottom: 16px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer__links {
    display: grid;
    gap: 10px;
}

.footer__links a {
    color: #94A3B8;
    font-size: 0.92rem;
    transition: color var(--t-fast) var(--ease-fast);
}

.footer__links a:hover {
    color: var(--white);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 32px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    font-size: 0.82rem;
    color: #64748B;
}

.footer__bottom a {
    color: #94A3B8;
}

.footer__bottom a:hover {
    color: var(--white);
}

/* --------------------------------------------------------------------------
   13. Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity var(--t-slow) var(--ease),
                transform var(--t-slow) var(--ease);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal[data-delay="1"] { transition-delay: 60ms; }
.reveal[data-delay="2"] { transition-delay: 120ms; }
.reveal[data-delay="3"] { transition-delay: 180ms; }
.reveal[data-delay="4"] { transition-delay: 240ms; }

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    :root {
        --section-y: 72px;
    }

    .hero {
        padding: 72px 0 88px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .hero__copy {
        max-width: 720px;
    }

    .hero__visual {
        max-width: 620px;
        margin: 0 auto;
        width: 100%;
    }

    .featured {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .why {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 32px;
    }

    .cta-band {
        padding: 56px 40px;
    }

    .cta-band__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__grid {
        grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
        gap: 40px;
    }
}

@media (max-width: 860px) {
    .nav__links,
    .nav__actions .btn--secondary {
        display: none;
    }

    .nav__toggle {
        display: grid;
    }

    .nav__mobile {
        display: block;
    }

    .nav__actions .btn--primary {
        min-height: 40px;
        padding: 8px 16px;
        font-size: 0.86rem;
    }
}

@media (max-width: 720px) {
    :root {
        --section-y: 56px;
        --nav-height: 64px;
    }

    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 56px 0 72px;
    }

    .hero__ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__ctas .btn {
        width: 100%;
    }

    .hero__meta {
        gap: 20px 32px;
    }

    .hero__meta-value {
        font-size: 1.15rem;
    }

    .mockup-float {
        display: none;
    }

    .solutions {
        grid-template-columns: 1fr;
    }

    .solution {
        padding: 24px;
    }

    .featured__list {
        grid-template-columns: 1fr;
    }

    .featured__ctas {
        flex-direction: column;
    }

    .featured__ctas .btn {
        width: 100%;
    }

    .why {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-band {
        padding: 40px 24px;
    }

    .cta-band__ctas {
        flex-direction: column;
    }

    .cta-band__ctas .btn {
        width: 100%;
    }

    .footer {
        padding: 56px 0 24px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 40px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 460px) {
    .nav__actions .btn--primary span:not(.sr-only) {
        display: none;
    }

    .nav__actions .btn--primary::after {
        content: "Login";
    }

    .brand__name span {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   15. Accessibility
   -------------------------------------------------------------------------- */

.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;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .mockup-float {
        animation: none;
    }
}

/* --------------------------------------------------------------------------
   Hero — background image layer
   -------------------------------------------------------------------------- */

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0;
    transform: scale(1.08);
    animation: hero-bg-in 1.4s ease forwards,
               hero-bg-drift 30s ease-in-out 1.4s infinite alternate;
}

@keyframes hero-bg-in {
    to {
        opacity: 1;
    }
}

@keyframes hero-bg-drift {
    0% {
        transform: scale(1.08) translate(0, 0);
    }
    100% {
        transform: scale(1.14) translate(-1.5%, -1%);
    }
}

/* Ensure hero content sits above the image */
.hero__inner {
    position: relative;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   Hero — dark background text overrides
   -------------------------------------------------------------------------- */

.hero .eyebrow {
    color: #7DD3FC;
}

.hero__title,
.hero .h1 {
    color: #FFFFFF;
}

.hero__title em {
    color: #60A5FA;
}

.hero__sub {
    color: rgba(226, 232, 240, 0.85);
}

.hero__meta {
    border-top-color: rgba(226, 232, 240, 0.18);
}

.hero__meta-value {
    color: #FFFFFF;
}

.hero__meta-label {
    color: rgba(226, 232, 240, 0.7);
}

/* Secondary button on dark background */
.hero .btn--secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero .btn--secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Floating badges stay white — they pop nicely against the dark */
.hero .mockup-float {
    background: rgba(255, 255, 255, 0.96);
    color: var(--navy);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Reduced-motion safety */
@media (prefers-reduced-motion: reduce) {
    .hero__bg img {
        animation: none;
        opacity: 1;
        transform: scale(1.08);
    }
}