/*
Theme Name: TwigMetrics
Theme URI: https://twigmetrics.no
Author: TwigMetrics
Author URI: https://twigmetrics.no
Description: Professional SEO analytics theme for TwigMetrics. Powered by ACF Pro for content management.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: twigmetrics
*/

/* ═══════════════════════════════════════════════════════════
   TwigMetrics Design System — main.css
   Premium SaaS aesthetic: gradients, dark cards, glow effects
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #18181b;
    background: #fff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: rgb(0, 94, 58);;
    text-decoration: none;
}

/* ── Container ────────────────────────────────────────────── */
.tm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .tm-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .tm-container {
        padding: 0 2rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
.tm-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 1rem 0; /* Space from top */
	background: rgb(255, 255, 255);
	 box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.tm-navbar__container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
	border-left:none;
	border-right:none;
    pointer-events: auto; /* Re-enable clicks on the pill itself */
    transition: all 0.3s ease;
}

.tm-navbar__inner {
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

@media (min-width: 640px) {
    .tm-navbar__inner {
        padding: 0 2rem;
        height: 72px;
    }
}

/* Logo */
.tm-logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 800;
}

.tm-logo__text {
    color: #18181b;
}

.tm-logo__accent {
    color: #005E3A;
}

.tm-logo img {
    height: 32px;
    width: auto;
}

/* Nav Links */
.tm-navbar__links {
    display: none;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    .tm-navbar__links {
        display: flex;
    }
}

.tm-navbar__links a {
    font-size: 0.875rem;
    font-weight: 600;
    color: #52525b;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.tm-navbar__links a:hover {
    color: #005E3A;
}

.tm-navbar__links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: #005E3A;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.tm-navbar__links a:hover::after {
    width: 100%;
}

/* CTA */
.tm-navbar__cta {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 900px) {
    .tm-navbar__cta {
        display: flex;
    }
}

.tm-navbar__login {
    border: none !important;
    background: transparent !important;
    padding: 0.5rem 1rem !important;
}

.tm-navbar__login:hover {
    background: rgba(0, 0, 0, 0.04) !important;
    box-shadow: none !important;
}

.tm-btn--sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
}

/* Hamburger SVG */
.tm-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #18181b;
    transition: color 0.2s;
}

.tm-burger:hover {
    color: #005E3A;
}

@media (min-width: 900px) {
    .tm-burger {
        display: none;
    }
}

.tm-burger__line {
    transition: transform 0.3s ease, opacity 0.3s ease, transform-origin 0.3s ease;
    transform-origin: center;
}

.tm-burger.is-open .tm-burger__line--top {
    transform: translateY(6px) rotate(45deg);
}

.tm-burger.is-open .tm-burger__line--middle {
    opacity: 0;
}

.tm-burger.is-open .tm-burger__line--bottom {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu */
.tm-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    flex-direction: column;
    padding-top: 50px; /* Space for the floating pill */
}

.tm-mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
	margin-top:85px;
}

.tm-mobile-menu__inner {
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.1s;
}

.tm-mobile-menu.is-open .tm-mobile-menu__inner {
    transform: translateY(0);
    opacity: 1;
}

.tm-mobile-menu a {
    display: block;
    padding: 1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #18181b;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tm-mobile-menu__actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tm-mobile-menu__btn {
    width: 100%;
    text-align: center;
    border: none;
}

.tm-mobile-menu ul{
	list-style:none;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.tm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.tm-btn--primary {
    background: #005E3A;
    color: #fff;
    padding: 0.75rem 1.75rem;
}

.tm-btn--primary:hover {
    background: #004A2E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 94, 58, 0.25);
}

.tm-btn--white {
    background: #fff;
    color: #005E3A;
    padding: 0.75rem 1.75rem;
}

.tm-btn--white:hover {
    background: #f4f4f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tm-btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 0.75rem 1.75rem;
}

.tm-btn--outline:hover {
    background: #fff;
    color: #005E3A;
}

.tm-btn--ghost {
    background: transparent;
    color: #52525b;
    padding: 0.75rem 1.75rem;
    border: 1px solid #e4e4e7;
}

.tm-btn--ghost:hover {
    background: #f4f4f5;
    color: #18181b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.tm-btn--dark {
    background: #18181b;
    color: #fff;
    padding: 0.75rem 1.75rem;
}

.tm-btn--dark:hover {
    background: #27272a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tm-btn--lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tm-hero {
    position: relative;
    padding: 7rem 0 5rem !important;
    /* Reduced padding from 10rem to fix white gap */
    margin-top: 0 !important;
    /* Prevent Gutenberg injected margins */
    overflow: hidden;
    width: 100%;
}

/* Fix for nested .tm-hero classes created by Gutenberg wrappers */
.tm-hero .tm-hero {
    padding: 0 !important;
    position: static !important;
    overflow: visible !important;
}

@media (min-width: 768px) {
    .tm-hero {
        padding: 8.5rem 0 6rem !important;
    }
}

/* Force absolute elements to ignore Gutenberg's max-width defaults */
.tm-hero>.wp-block-html,
.tm-hero__bg,
.tm-hero__grid,
.tm-hero__blob-1,
.tm-hero__blob-2 {
    max-width: none !important;
}

.tm-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, rgba(0, 94, 58, 0.03) 0%, #ffffff 40%, rgba(0, 94, 58, 0.05) 100%);
    pointer-events: none;
}

.tm-hero__grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle, #005E3A 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.tm-hero__blob-1 {
    position: absolute;
    top: -50px;
    right: -10vw;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(0, 94, 58, 0.07);
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
}

.tm-hero__blob-2 {
    position: absolute;
    bottom: -50px;
    left: -10vw;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.05);
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
}

.tm-hero .tm-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.tm-hero__content {
    max-width: 900px;
    /* Increased from 720px so "laget for" fits on the same line */
    margin: 0 auto;
    text-align: center;
    animation: heroFadeUp 0.8s ease-out;
}

.tm-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #18181b;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .tm-hero__title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .tm-hero__title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .tm-hero__title {
        font-size: 4.5rem;
    }
}

.tm-hero__highlight {
    color: #005E3A;
    position: relative;
    display: inline;
    background: linear-gradient(135deg, #005E3A, #00875A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tm-hero__subtitle {
    font-size: 1.0625rem;
    color: #52525b;
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .tm-hero__subtitle {
        font-size: 1.1875rem;
    }
}

/* Search */
.tm-search {
    max-width: 520px;
    margin: 0 auto 2rem;
}

.tm-search__form {
    position: relative;
    background: #fff;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.tm-search__form:focus-within {
    border-color: rgba(0, 94, 58, 0.35);
    box-shadow: 0 4px 24px rgba(0, 94, 58, 0.1), 0 0 0 3px rgba(0, 94, 58, 0.06);
}

.tm-search__icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a1a1aa;
    width: 20px;
    height: 20px;
}

.tm-search__input {
    width: 100%;
    height: 54px;
    padding: 0 3.5rem 0 3.25rem;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.9375rem;
    outline: none;
    border-radius: 9999px;
    color: #18181b;
}

.tm-search__input::placeholder {
    color: #a1a1aa;
}

.tm-search__btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #005E3A;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.tm-search__btn:hover {
    background: #004A2E;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 94, 58, 0.3);
}

/* Hero Actions */
.tm-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

@media (min-width: 480px) {
    .tm-hero__actions {
        flex-direction: row;
        gap: 1rem;
    }
}

/* Trust badges */
.tm-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

.tm-trust__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #71717a;
}

.tm-trust__check {
    color: #005E3A;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   DEMO SECTION
   ═══════════════════════════════════════════════════════════ */
.tm-demo {
    padding: 2.5rem 0;
    background: #fff;
}

.tm-demo__browser {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid #e4e4e7;
    overflow: hidden;
}

.tm-demo__bar {
    background: #fafafa;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #f4f4f5;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tm-demo__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d4d4d8;
}

.tm-demo__label {
    font-size: 0.75rem;
    color: #71717a;
    margin-left: 0.5rem;
}

.tm-demo__body {
    padding: 0.5rem;
    position: relative;
}

.tm-demo__body img {
    border-radius: 6px;
    width: 100%;
}

.tm-demo__fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}

.tm-demo__badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #18181b;
    color: #fff;
    font-size: 0.6875rem;
    padding: 4px 10px;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tm-demo__badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #a3e635;
}

/* ═══════════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════════ */
.tm-features {
    padding: 5rem 0;
    background: #fff;
}

.tm-features__header {
    text-align: center;
    margin-bottom: 4rem;
}

.tm-features__title {
    font-size: 2rem;
    font-weight: 700;
    color: #18181b;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .tm-features__title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .tm-features__title {
        font-size: 3rem;
    }
}

.tm-features__subtitle {
    font-size: 1rem;
    color: #52525b;
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .tm-features__subtitle {
        font-size: 1.125rem;
    }
}

.tm-feature-card {
    background: #fafafa;
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .tm-feature-card {
        padding: 3rem;
    }
}

@media (min-width: 1024px) {
    .tm-feature-card {
        padding: 4rem;
    }
}

.tm-feature-card__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .tm-feature-card__grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.tm-feature-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #18181b;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .tm-feature-card__title {
        font-size: 2rem;
    }
}

.tm-feature-card__desc {
    font-size: 1rem;
    color: #52525b;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .tm-feature-card__desc {
        font-size: 1.125rem;
    }
}

.tm-feature-card__img {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

.tm-feature-card__img img {
    width: 100%;
}

.tm-feature-card--reverse .tm-feature-card__content {
    order: 2;
}

@media (max-width: 1023px) {
    .tm-feature-card--reverse .tm-feature-card__content {
        order: unset;
    }
}

/* ═══════════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════════ */
.tm-cta-banner {
    padding: 3rem 0;
    background: #fff;
}

.tm-cta-banner__inner {
    margin: 0 10px;
}

@media (min-width: 640px) {
    .tm-cta-banner__inner {
        margin: 0 15px;
    }
}

@media (min-width: 1024px) {
    .tm-cta-banner__inner {
        margin: 0 20px;
    }
}

.tm-cta-banner__card {
    background: #005E3A;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

@media (min-width: 640px) {
    .tm-cta-banner__card {
        border-radius: 2rem;
        padding: 4rem 3rem;
    }
}

.tm-cta-banner__grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
    background-size: 30px 30px;
}

.tm-cta-banner__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.tm-cta-banner__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .tm-cta-banner__title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .tm-cta-banner__title {
        font-size: 3rem;
    }
}

.tm-cta-banner__subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .tm-cta-banner__subtitle {
        font-size: 1.25rem;
    }
}

.tm-cta-banner__btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .tm-cta-banner__btns {
        flex-direction: row;
    }
}

/* ═══════════════════════════════════════════════════════════
   BENEFITS (Dark Theme)
   ═══════════════════════════════════════════════════════════ */
.tm-benefits {
    padding: 5rem 0;
    background: #fff;
}

.tm-benefits__outer {
    margin: 0 10px;
}

@media (min-width: 640px) {
    .tm-benefits__outer {
        margin: 0 15px;
    }
}

@media (min-width: 1024px) {
    .tm-benefits__outer {
        margin: 0 20px;
    }
}

.tm-benefits__dark {
    background: #18181b;
    border-radius: 1.5rem;
    padding: 3rem 1.5rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .tm-benefits__dark {
        border-radius: 2rem;
        padding: 4rem 2.5rem;
    }
}

@media (min-width: 1024px) {
    .tm-benefits__dark {
        padding: 5rem 4rem;
    }
}

.tm-benefits__grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: linear-gradient(rgba(163, 230, 53, 0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(163, 230, 53, 0.3) 1px, transparent 1px);
    background-size: 30px 30px;
}

.tm-benefits__header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.tm-benefits__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #a3e635;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.tm-benefits__title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

@media (min-width: 640px) {
    .tm-benefits__title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .tm-benefits__title {
        font-size: 3rem;
    }
}

.tm-benefits__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .tm-benefits__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tm-benefits__cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.tm-benefit-card {
    background: rgba(39, 39, 42, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(63, 63, 70, 0.5);
    transition: all 0.3s;
}

.tm-benefit-card:hover {
    border-color: rgba(163, 230, 53, 0.3);
    background: rgba(39, 39, 42, 0.7);
}

.tm-benefit-card__icon {
    position: relative;
    margin-bottom: 1.5rem;
}

.tm-benefit-card__icon-inner {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(163, 230, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #a3e635;
    position: relative;
    z-index: 1;
    transition: background 0.3s;
}

.tm-benefit-card:hover .tm-benefit-card__icon-inner {
    background: rgba(163, 230, 53, 0.2);
}

.tm-benefit-card__glow {
    position: absolute;
    inset: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(163, 230, 53, 0.15);
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s;
}

.tm-benefit-card:hover .tm-benefit-card__glow {
    opacity: 1;
}

.tm-benefit-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.tm-benefit-card:hover .tm-benefit-card__title {
    color: #a3e635;
}

.tm-benefit-card__desc {
    font-size: 0.875rem;
    color: #a1a1aa;
    line-height: 1.6;
}

/* Scrolling tags */
.tm-scroll {
    position: relative;
    overflow: hidden;
    height: 56px;
    margin-top: 2rem;
}

.tm-scroll__fade-l,
.tm-scroll__fade-r {
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
}

.tm-scroll__fade-l {
    left: 0;
    background: linear-gradient(to right, #18181b, transparent);
}

.tm-scroll__fade-r {
    right: 0;
    background: linear-gradient(to left, #18181b, transparent);
}

.tm-scroll__track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    animation: scrollLeft 30s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.tm-scroll__tag {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 1.25rem;
    white-space: nowrap;
}

.tm-scroll__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a3e635;
    flex-shrink: 0;
}

.tm-scroll__text {
    font-size: 0.875rem;
    color: #a1a1aa;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════ */
.tm-pricing {
    padding: 5rem 0;
    background: #fff;
}

.tm-pricing__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.tm-pricing__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #005E3A;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.tm-pricing__title {
    font-size: 2rem;
    font-weight: 700;
    color: #18181b;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .tm-pricing__title {
        font-size: 2.5rem;
    }
}

.tm-pricing__subtitle {
    font-size: 1rem;
    color: #52525b;
    max-width: 600px;
    margin: 0 auto;
}

.tm-pricing__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .tm-pricing__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tm-pricing__cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tm-price-card {
    background: #fff;
    border: 1px solid #e4e4e7;
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s;
}

.tm-price-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    border-color: #d4d4d8;
}

.tm-price-card--popular {
    border-color: #005E3A;
    box-shadow: 0 20px 60px rgba(0, 94, 58, 0.08);
}

.tm-price-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #005E3A;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 9999px;
}

.tm-price-card__name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #18181b;
    margin-bottom: 0.5rem;
}

.tm-price-card__price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #18181b;
    margin-bottom: 0.25rem;
}

.tm-price-card__period {
    font-size: 0.875rem;
    color: #71717a;
    margin-bottom: 1.5rem;
}

.tm-price-card__features {
    list-style: none;
    margin-bottom: 2rem;
}

.tm-price-card__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #52525b;
}



/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */
.tm-faq {
    padding: 5rem 0;
    background: #fff;
}

.tm-faq__header {
    text-align: center;
    margin-bottom: 3rem;
}

.tm-faq__title {
    font-size: 2rem;
    font-weight: 700;
    color: #18181b;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .tm-faq__title {
        font-size: 2.5rem;
    }
}

.tm-faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.tm-faq-item {
    margin-bottom: 0.5rem;
}

.tm-faq-item__q {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #18181b;
    text-align: left;
    transition: all 0.3s;
}

.tm-faq-item__q:hover {
    background: #fafafa;
}

.tm-faq-item.is-open .tm-faq-item__q {
    background: #18181b;
    color: #a3e635;
    border-radius: 1rem 1rem 0 0;
}

.tm-faq-item__toggle {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s;
}

.tm-faq-item.is-open .tm-faq-item__toggle {
    background: #fff;
    transform: rotate(45deg);
}

.tm-faq-item__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.tm-faq-item.is-open .tm-faq-item__a {
    max-height: 500px;
}

.tm-faq-item__a-inner {
    padding: 1.5rem;
    background: #f4f4f5;
    border-radius: 0 0 1rem 1rem;
    font-size: 0.9375rem;
    color: #52525b;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   ARTICLES
   ═══════════════════════════════════════════════════════════ */
.tm-articles {
    padding: 5rem 0;
    background: #fff;
}

.tm-articles__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.tm-articles__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.tm-articles__title {
    font-size: 2rem;
    font-weight: 700;
    color: #18181b;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .tm-articles__title {
        font-size: 2.5rem;
    }
}

.tm-articles__subtitle {
    font-size: 1rem;
    color: #52525b;
    max-width: 600px;
    margin: 0 auto;
}

.tm-articles__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .tm-articles__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tm-articles__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tm-article-card {
    background: #fff;
    border: 1px solid #e4e4e7;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.tm-article-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.tm-article-card__img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f4f4f5;
}

.tm-article-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.tm-article-card:hover .tm-article-card__img img {
    transform: scale(1.05);
}

.tm-article-card__body {
    padding: 1.5rem;
}

.tm-article-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #18181b;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.tm-article-card__excerpt {
    font-size: 0.875rem;
    color: #71717a;
    line-height: 1.6;
}

.tm-article-card__meta {
    font-size: 0.75rem;
    color: #a1a1aa;
    margin-top: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.tm-footer {
    position: relative;
    background: #000;
    color: #fff;
    padding: 5rem 0 2rem;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .tm-footer {
        padding: 6rem 0 2rem;
    }
}

.tm-footer__inner {
    position: relative;
    z-index: 10;
}

.tm-footer__split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .tm-footer__split {
        grid-template-columns: 1.2fr 1fr;
        gap: 6rem;
    }
}

/* Left: Massive CTA Block */
.tm-footer__cta-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tm-footer__headline {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 1rem;
    max-width: 600px;
}

@media (min-width: 768px) {
    .tm-footer__headline {
        font-size: 4.5rem;
    }
}

.tm-footer__subhead {
    font-size: 1.25rem;
    color: #a1a1aa;
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.6;
}

.tm-footer__cta-actions {
    margin-bottom: 4rem;
}

.tm-btn--white {
    background: #fff;
    color: #042f1f;
    border: none;
}

.tm-btn--white:hover {
    background: #f4f4f5;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.tm-footer__brand-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    width: 100%;
}

@media (min-width: 640px) {
    .tm-footer__brand-info {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.tm-footer__logo {
    display: inline-block;
    font-size: 1.875rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.04em;
}

.tm-footer__logo-accent {
    color: #10b981;
    /* Lime Green accent to pop on dark background */
}

.tm-footer__socials {
    display: flex;
    gap: 1rem;
}

.tm-footer__socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a1a1aa;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tm-footer__socials a:hover {
    background: #10b981;
    color: #042f1f;
    border-color: #10b981;
    transform: scale(1.1);
}

/* Right: Tight Navigation Links Stack */
.tm-footer__navs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
}

@media (min-width: 640px) {
    .tm-footer__navs {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .tm-footer__navs {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.tm-footer__col-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.tm-footer__links {
    list-style: none;
}

.tm-footer__links li {
    margin-bottom: 1rem;
}

.tm-footer__links a {
    font-size: 1.0625rem;
    color: #a1a1aa;
    transition: color 0.2s;
    font-weight: 500;
}

.tm-footer__links a:hover {
    color: #10b981;
}

/* Bottom Bar */
.tm-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .tm-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.tm-footer__copy {
    font-size: 0.875rem;
    color: #71717a;
}

.tm-footer__legal {
    display: flex;
    gap: 2rem;
}

.tm-footer__legal a {
    font-size: 0.875rem;
    color: #71717a;
    transition: color 0.2s;
}

.tm-footer__legal a:hover {
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   PAGE CONTENT (Gutenberg styling)
   ═══════════════════════════════════════════════════════════ */
.tm-page {
    padding: 7rem 0 4rem;
}

.tm-page__header {
    text-align: center;
    margin-bottom: 3rem;
}

.tm-page__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #18181b;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .tm-page__title {
        font-size: 3rem;
    }
}

.tm-page__content {
    max-width: 800px;
    margin: 0 auto;
}

.tm-page__content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
}

.tm-page__content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

.tm-page__content p {
    margin-bottom: 1.25rem;
    color: #3f3f46;
    line-height: 1.8;
}

.tm-page__content ul,
.tm-page__content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    color: #3f3f46;
}

.tm-page__content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.tm-page__content img {
    border-radius: 1rem;
    margin: 2rem 0;
}

.tm-page__content blockquote {
    border-left: 4px solid #005E3A;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #fafafa;
    border-radius: 0 1rem 1rem 0;
    font-style: italic;
    color: #52525b;
}

/* ═══════════════════════════════════════════════════════════
   GUTENBERG BLOCK DEFAULTS (Global Design System)
   All new pages automatically get TwigMetrics branding
   ═══════════════════════════════════════════════════════════ */

/* Full-width fix: make all wp:html blocks span full width */
.site-main>.wp-block-html,
.entry-content>.wp-block-html,
.site-main>*,
.entry-content>* {
    max-width: 100%;
}

/* Buttons — pill shape, green, hover effect */
.wp-block-button__link {
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 9999px !important;
    padding: 0.75rem 1.75rem;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.shadow-sm{
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: 0 0 7px 1px #00000030;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 94, 58, 0.2);
    opacity: 1;
}

/* Large button variant */
.wp-block-button.is-style-large .wp-block-button__link {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Outline button variant */
.wp-block-button.is-style-outline .wp-block-button__link {
    border: 2px solid currentColor;
    background: transparent !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: #005E3A !important;
    color: #fff !important;
    border-color: #005E3A;
}

/* Headings — tight letter-spacing */
.wp-block-heading {
    font-family: 'Inter', -apple-system, sans-serif;
    letter-spacing: -0.02em;
    color: #18181b;
}

/* Paragraphs */
.wp-block-paragraph {
    line-height: 1.7;
}

/* Columns */
.wp-block-columns {
    gap: 2rem;
}

/* Group blocks */
.wp-block-group {
    box-sizing: border-box;
}

/* Cover blocks */
.wp-block-cover {
    border-radius: 1.5rem;
    overflow: hidden;
    min-height: 300px;
}

/* Images — rounded corners */
.wp-block-image img {
    border-radius: 1rem;
}

.wp-block-image.is-style-rounded img {
    border-radius: 9999px;
}

/* Separator / divider */
.wp-block-separator {
    border-color: #e4e4e7;
    opacity: 1;
}

.wp-block-separator.has-alpha-channel-opacity {
    opacity: 1;
}

/* Quote */
.wp-block-quote {
    border-left: 4px solid #005E3A;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    background: #f8faf9;
    border-radius: 0 1rem 1rem 0;
    font-style: italic;
    color: #52525b;
}

.wp-block-quote cite {
    font-size: 0.875rem;
    color: #71717a;
    font-style: normal;
    font-weight: 600;
}

/* List blocks */
.wp-block-list {
    padding-left: 1.25rem;
    line-height: 1.8;
}

.wp-block-list li {
    margin-bottom: 0.5rem;
    color: #3f3f46;
}

.wp-block-list li::marker {
    color: #005E3A;
}

/* Table blocks */
.wp-block-table {
    border-collapse: collapse;
    width: 100%;
}

.wp-block-table td,
.wp-block-table th {
    padding: 0.75rem 1rem;
    border: 1px solid #e4e4e7;
    text-align: left;
}

.wp-block-table thead th {
    background: #f4f4f5;
    font-weight: 600;
    color: #18181b;
}

.wp-block-table tbody tr:hover {
    background: #fafafa;
}

/* Spacer blocks — reasonable defaults */
.wp-block-spacer {
    margin: 0;
}

/* Media & text */
.wp-block-media-text {
    gap: 2rem;
}

.wp-block-media-text .wp-block-media-text__media img {
    border-radius: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════ */
.tm-text-center {
    text-align: center;
}

.tm-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;
}

.tm-navbar__logo-wrap{
	max-width:130px;
}

#breadcrumbs {
    text-align: center;
    font-size: 16px;
    opacity: 0.8;
	margin:30px;
}

#breadcrumbs a {
	color: rgb(0, 94, 58);
}