:root {
  /* Ken Keiper Colors */
  --color-bg: #F7F7F7;
  --color-bg-dark: #1D1E23;
  --color-text: #1d1e23;
  --color-text-light: #FFFFFF;
  --color-accent: #00c6b9;
  --color-accent-peach: #ffcea0;
  --color-dmf: #7ab528;

  /* Layout & Spacing */
  --nav-height: 80px;
  --container-width: 1200px;
  --section-padding: 8rem 0;

  /* Text */
  --slate: #8b95a8;
  --white: #f2f3f6;

  /* Typography Scale */
  --heading-xl: clamp(2.2rem, 4.5vw, 3.5rem);
  --heading-lg: clamp(1.5rem, 2.5vw, 2rem);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s ease;
  --transition-slow: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

/* Signal Strip */
.signal-strip {
    background-color: #1D1E23;
    border-bottom: 1px solid rgba(122, 181, 40, 0.2);
    padding: 0.65rem 2rem;
    text-align: center;
}

.signal-strip-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.signal-item {
    font-size: 0.82rem;
    font-weight: 500;
    color: #7ab528;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.signal-item strong {
    font-weight: 800;
}

.signal-divider {
    color: rgba(122, 181, 40, 0.35);
    font-size: 0.9rem;
    line-height: 1;
}

@media (max-width: 600px) {
    .signal-divider {
        display: none;
    }

    .signal-strip-inner {
        gap: 0.4rem 1.5rem;
    }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Nav Foundation from Corporate */
.navbar {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 2.5rem; /* Reduced vertical padding to allow larger logo */
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-logo {
    height: 56px; /* Slightly reduced for better balance */
    width: auto;
    object-fit: contain;
    margin: -4px 0; /* Adjusted margin to match new height */
}

.nav-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-bg-dark);
    text-decoration: none; /* Removed underline */
}

.nav-links a:hover {
    color: var(--color-dmf);
}

.nav-cta-btn {
    background-color: var(--color-bg-dark);
    color: #ffffff !important;
    padding: 0.65rem 1.4rem !important;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: all var(--transition-fast);
    white-space: nowrap;
    text-decoration: none !important; /* Removed underline */
}

.nav-cta-btn:hover {
    background-color: var(--color-dmf);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(122, 181, 40, 0.2);
}

/* Hamburger button — hidden on desktop */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 200;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-bg-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Animate to X when open */
.nav-hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Tablet & Mobile nav — hamburger for screens up to 1024px */
@media (max-width: 1200px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        transform: none;
        border-radius: 0;
        padding: 0.9rem 1.5rem;
        z-index: 999;
    }

    .nav-brand {
        gap: 0.5rem;
    }

    .nav-logo {
        height: 72px; /* Super-sizing it on mobile */
        margin: -4px 0;
    }

    .nav-name {
        font-size: 1.3rem; /* Matching the scale */
    }

    .nav-hamburger {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 1rem 1.5rem 2rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: none;
    }

    .nav-links li:last-child {
        padding-top: 1rem;
    }

    .nav-links a {
        display: block;
        padding: 0.85rem 0;
        font-size: 1.1rem;
        text-decoration: none;
    }

    .nav-cta-btn {
        display: block;
        text-align: center;
        padding: 0.9rem 1.4rem !important;
        width: 100%;
        background-color: var(--color-dmf) !important;
        color: #ffffff !important;
    }
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2.4rem;
    font-weight: 700; /* Made slightly bolder */
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    text-decoration: none; /* Remove underline */
    text-align: center;
}

.btn-primary {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light) !important;
}

.btn-primary:hover {
    background-color: #333333;
    color: var(--color-text-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}



/* Footer */
.footer-wrapper {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    border-top: 3px solid var(--color-dmf);
}

/* Main Footer Grid */
.footer-main {
    padding: 5rem 0 4rem;
}

.footer-main-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 4rem;
    align-items: flex-start;
}

/* Brand Column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.footer-brand-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    max-width: 260px;
    margin-bottom: 0.5rem;
}

.footer-social-links {
    display: flex;
    flex-direction: row; /* Changed to row */
    gap: 1.2rem;
    margin-top: 1rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05); /* Subtle circle background */
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    color: var(--color-dmf);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.footer-social-link svg {
    opacity: 0.9;
}

/* Nav Columns */
.footer-col-heading {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 1.5rem;
}

.footer-col-links {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-col-links a:hover {
    color: #ffffff;
}

/* Contact list with icons */
.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-contact-list svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-list a:hover {
    color: var(--color-dmf);
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.5rem 0;
}

.footer-bottom-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.2);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.2);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-main-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .footer-main {
        padding: 2rem 0 1.5rem; /* Even tighter vertical padding */
    }

    .footer-main-container {
        grid-template-columns: 1fr;
        gap: 1.25rem; /* Further reduced gap */
        text-align: center;
    }

    .footer-col-redundant {
        display: none;
    }

    .footer-brand {
        grid-column: span 1;
        align-items: center;
        gap: 0.25rem; /* Minimal internal gap */
    }

    .footer-brand-tagline {
        max-width: none;
        margin-bottom: 0;
        font-size: 0.85rem; /* Slightly smaller tagline */
    }

    .footer-social-links {
        justify-content: center;
        gap: 0.8rem; /* Tighter icon gap */
        margin-top: 0.25rem;
    }

    .footer-contact-list {
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
    }

    .footer-bottom {
        padding: 0.75rem 0; /* Minimal bottom bar */
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 0.4rem;
    }
}

/* Background Accents */
.image-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    top: 20px;
    left: 20px;
    z-index: -1;
    border-radius: 8px;
    opacity: 0.1;
}
