@import url('https://fonts.googleapis.com/css?family=Hind:300,400,500,600,700');

:root {
    --lummi-text: #515769;
    --lummi-muted: #81848f;
    --lummi-light: #f3f8fa;
    --lummi-white: #fff;
    --lummi-green: #5b9f62;
    --lummi-orange: #d58512;
    --lummi-line: #e9edf0;
    --lummi-dark: #28322d;
    --lummi-shadow: 0 18px 50px rgba(32, 47, 61, .10);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--lummi-text);
    font-family: Hind, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: #fff;
    overflow-x: hidden;
}

img { max-width: 100%; }

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container,
.header-inner,
.footer-inner {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    transition: background .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
    background: rgba(255,255,255,.97);
    box-shadow: 0 2px 18px rgba(0,0,0,.08);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: block;
}

.brand-logo {
    display: block;
    width: 146px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    padding: 28px 0;
}

.is-scrolled .main-nav a {
    color: var(--lummi-text);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 9px;
    height: 2px;
    background: var(--lummi-orange);
    opacity: 0;
    transition: opacity .2s;
}

.main-nav a:hover::after {
    opacity: 1;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--lummi-text);
}


/* =========================================================
   HERO
   ========================================================= */

.hero-section {
    position: relative;
    width: 100%;
    /* Fixed hero height so changing typewriter lines never changes layout. */
    height: 760px;
    overflow: hidden;
    background: #111;
}

.hero-image,
.hero-image img,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,.08) 100%),
        linear-gradient(0deg, rgba(0,0,0,.32), transparent 48%);
}

.hero-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: min(1000px, calc(100% - 50px));
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.hero-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.hero-content h1 {
    display: block;
    width: 100%;
    /* Reserve space for up to 3 lines of typewriter text. */
    height: 3.36em;
    overflow: hidden;
    margin: 0 auto 22px;
    color: #fff;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.12;
    font-weight: 700;
    text-shadow: 0 3px 18px rgba(0,0,0,.38);
}

#lummi-typewriter {
    display: inline;
}

/*
 * Cursor belongs to the same inline text flow.
 * This makes it follow the last character even when the sentence wraps.
 */
#lummi-typewriter::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: .95em;
    margin-left: 6px;
    vertical-align: -.08em;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    animation: lummi-blink .85s steps(1) infinite;
}

@keyframes lummi-blink {
    50% { opacity: 0; }
}

.hero-subtitle {
    margin: 0 auto;
    max-width: 760px;
    color: #fff;
    font-size: clamp(15px, 1.5vw, 20px);
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.hero-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.hero-scroll {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,.85);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .7px;
    transform: translateX(-50%);
}

.hero-scroll i {
    font-size: 11px;
    animation: lummi-scroll 1.5s ease-in-out infinite;
}

@keyframes lummi-scroll {
    50% { transform: translateY(4px); }
}


/* =========================================================
   COMMON
   ========================================================= */

.eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--lummi-orange);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading h2,
.closing-content h2 {
    margin: 0 0 10px;
    color: var(--lummi-text);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.2;
}

.section-heading p,
.closing-content p {
    margin: 0;
    color: var(--lummi-muted);
    font-size: 17px;
}

.centered {
    text-align: center;
}

.centered-line {
    margin-left: auto !important;
    margin-right: auto !important;
}

.section-line {
    width: 48px;
    height: 3px;
    margin: 22px 0;
    background: var(--lummi-orange);
}


/* =========================================================
   INTRO
   ========================================================= */

.intro-section {
    padding: 90px 0;
    background: #fff;
}

.intro-section .section-heading {
    max-width: 800px;
    margin: 0 auto;
}

.intro-section h2 {
    font-size: clamp(32px, 4vw, 48px);
}


/* =========================================================
   FEATURES
   ========================================================= */

.features-section {
    padding: 90px 0;
    background: var(--lummi-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 34px 28px 32px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(32,47,61,.07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lummi-shadow);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    border-radius: 50%;
    color: #fff;
    background: var(--lummi-green);
}

.feature-icon.orange {
    background: var(--lummi-orange);
}

.feature-icon i {
    font-size: 22px;
}

.feature-card h3 {
    margin: 0 0 9px;
    color: var(--lummi-text);
    font-size: 22px;
}

.feature-card p {
    margin: 0;
    color: var(--lummi-muted);
    font-size: 15px;
    line-height: 1.55;
}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.how-section {
    padding: 90px 0;
    background: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    position: relative;
    padding: 0 30px 35px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(32,47,61,.07);
}

.step-number {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 18px;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #fff;
    background: var(--lummi-orange);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,.15);
}

.step-image {
    margin: 0 -30px 28px;
}

.step-image img {
    display: block;
    width: 100%;
    height: auto;
}

.step-card h3 {
    margin: 0 0 8px;
    color: var(--lummi-text);
    font-size: 22px;
}

.step-card p {
    margin: 0;
    color: var(--lummi-muted);
    font-size: 15px;
}


/* =========================================================
   PRICING
   ========================================================= */

.pricing-section {
    padding: 90px 0;
    background: var(--lummi-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 30px 30px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(32,47,61,.07);
}

.pricing-card-featured {
    border: 2px solid var(--lummi-green);
    transform: translateY(-8px);
    box-shadow: var(--lummi-shadow);
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    padding: 5px 14px;
    border-radius: 20px;
    color: #fff;
    background: var(--lummi-green);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    transform: translateX(-50%);
}

.pricing-label {
    display: block;
    margin-bottom: 10px;
    color: var(--lummi-orange);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.pricing-top h3 {
    min-height: 56px;
    margin: 0;
    color: var(--lummi-text);
    font-size: 21px;
    line-height: 1.25;
}

.pricing-price {
    margin-top: 22px;
    color: var(--lummi-text);
    font-size: 30px;
    font-weight: 700;
}

.pricing-price small {
    font-size: 15px;
    font-weight: 600;
}

.pricing-price span {
    color: var(--lummi-muted);
    font-size: 13px;
    font-weight: 400;
}

.pricing-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 28px 0 30px;
    padding: 0;
    list-style: none;
    flex: 1;
}

.pricing-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--lummi-muted);
    font-size: 14px;
}

.pricing-card li i {
    margin-top: 4px;
    color: var(--lummi-green);
    font-size: 12px;
}

.pricing-card .btn {
    width: 100%;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    padding: 90px 0;
    background: #fff;
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    overflow: hidden;
    border-radius: 18px;
    background: var(--lummi-light);
    box-shadow: var(--lummi-shadow);
}

.cta-image {
    min-width: 0;
}

.cta-image img {
    display: block;
    width: 100%;
    height: auto;
}

.cta-content {
    padding: clamp(35px, 5vw, 65px);
}

.cta-content h2 {
    margin: 0;
    color: var(--lummi-text);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.18;
}

.cta-content p {
    margin: 0 0 26px;
    color: var(--lummi-muted);
    font-size: 17px;
}


/* =========================================================
   BUTTON
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 30px;
    border: 0;
    border-radius: 3px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: transform .2s, opacity .2s;
}

.btn:hover {
    color: #fff;
    transform: translateY(-2px);
    opacity: .9;
}

.btn-orange {
    background: var(--lummi-orange);
}

.btn-green {
    background: var(--lummi-green);
}

.btn-outline-green {
    color: var(--lummi-green);
    background: transparent;
    border: 1px solid var(--lummi-green);
}

.btn-outline-green:hover {
    color: #fff;
    background: var(--lummi-green);
}


/* =========================================================
   CLOSING
   ========================================================= */

.closing-section {
    padding: 100px 0;
    background: var(--lummi-light);
}

.closing-content {
    max-width: 900px;
    margin: 0 auto;
}

.closing-content h2 {
    font-size: clamp(28px, 3.5vw, 44px);
}

.closing-mark {
    margin-top: 28px;
    color: var(--lummi-text);
    font-size: 28px;
    font-weight: 700;
}

.closing-mark strong {
    color: var(--lummi-orange);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 30px 0;
    background: #fff;
    border-top: 1px solid var(--lummi-line);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.footer-brand img {
    display: block;
    width: 110px;
    height: auto;
    margin-bottom: 7px;
}

.footer-brand p {
    margin: 0;
    color: var(--lummi-muted);
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 22px;
}

.footer-links a {
    color: var(--lummi-muted);
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--lummi-green);
}

.footer-copy {
    text-align: right;
}

.footer-copy p {
    margin: 0;
    color: var(--lummi-muted);
    font-size: 13px;
}

.footer-copy span {
    color: #a0a3aa;
    font-size: 11px;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 900;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    color: #fff;
    background: rgba(81,87,105,.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: .25s;
}

.back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .main-nav a {
        color: var(--lummi-text);
    }

    .site-header {
        background: #fff;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .main-nav {
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 20px 18px;
        background: #fff;
        box-shadow: 0 8px 20px rgba(0,0,0,.08);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 0;
    }

    .main-nav a::after {
        bottom: 8px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 620px;
        margin: 0 auto;
    }

    .pricing-card-featured {
        transform: none;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-links {
        order: 3;
    }

    .footer-copy {
        text-align: left;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .container,
    .header-inner,
    .footer-inner {
        width: min(100% - 30px, 1140px);
    }

    .header-inner {
        min-height: 64px;
    }

    .brand-logo {
        width: 120px;
    }

    .main-nav {
        top: 64px;
    }

    .hero-section {
        height: 680px;
        margin-top: 64px;
    }

    .hero-image img {
        object-position: center;
    }

    .hero-content {
        width: calc(100% - 34px);
        top: 48%;
    }

    .hero-eyebrow {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .hero-content h1 {
        height: 3.42em;
        margin-bottom: 14px;
        font-size: clamp(25px, 7.2vw, 38px);
        line-height: 1.14;
    }

    #lummi-typewriter::after {
        margin-left: 4px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.4;
    }

    .hero-actions {
        margin-top: 22px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-scroll {
        bottom: 14px;
        font-size: 9px;
    }

    .intro-section,
    .features-section,
    .how-section,
    .pricing-section,
    .cta-section {
        padding: 55px 0;
    }

    .closing-section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2,
    .closing-content h2 {
        font-size: 28px;
    }

    .section-heading p,
    .closing-content p {
        font-size: 15px;
    }

    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 28px 24px;
    }

    .step-card {
        padding: 0 20px 28px;
    }

    .step-image {
        margin-left: -20px;
        margin-right: -20px;
        margin-bottom: 24px;
    }

    .cta-card {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 32px 24px 36px;
    }

    .cta-content h2 {
        font-size: 29px;
    }

    .cta-content p {
        font-size: 15px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 12px 18px;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .hero-section {
        height: 620px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 13px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    #lummi-typewriter::after,
    .hero-scroll i {
        animation: none;
    }

    .feature-card,
    .btn {
        transition: none;
    }
}
