/*
Theme Name:   myDeskee
Theme URI:    https://mydeskee.com
Template:     kadence
Description:  Kadence child theme for the myDeskee marketing site. Branding (palette / typography) and small overrides live here so the parent theme stays update-safe.
Author:       myDeskee
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  mydeskee
*/

/* -------------------------------------------------------------------------- */
/*  Brand tokens                                                              */
/* -------------------------------------------------------------------------- */
:root {
    --md-teal:  #14B8A6;
    --md-deep:  #0F766E;
    --md-mint:  #5EEAD4;
    --md-amber: #FBBF24;
    --md-ink:   #0B1F22;
    --md-paper: #FFFFFF;
    --md-fog:   #F5FBFA;
    --md-line:  #E2EEEC;

    --md-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --md-font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* -------------------------------------------------------------------------- */
/*  Typography                                                                */
/* -------------------------------------------------------------------------- */
body {
    font-family: var(--md-font-sans);
    color: var(--md-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
code, pre, kbd, samp {
    font-family: var(--md-font-mono);
}

/* -------------------------------------------------------------------------- */
/*  Buttons - primary / secondary                                             */
/* -------------------------------------------------------------------------- */
.wp-block-button.is-style-md-primary .wp-block-button__link,
.md-btn-primary a {
    background: var(--md-teal);
    color: #fff;
    border-radius: 10px;
    padding: 14px 22px;
    font-weight: 600;
    transition: background-color .15s ease, transform .15s ease;
}
.wp-block-button.is-style-md-primary .wp-block-button__link:hover,
.md-btn-primary a:hover {
    background: var(--md-deep);
    transform: translateY(-1px);
}
.wp-block-button.is-style-md-ghost .wp-block-button__link,
.md-btn-ghost a {
    background: transparent;
    color: var(--md-ink);
    border: 1.5px solid var(--md-line);
    border-radius: 10px;
    padding: 12.5px 22px;
    font-weight: 600;
}
.wp-block-button.is-style-md-ghost .wp-block-button__link:hover,
.md-btn-ghost a:hover {
    border-color: var(--md-teal);
    color: var(--md-deep);
}

/* -------------------------------------------------------------------------- */
/*  Hero / landing sections                                                   */
/* -------------------------------------------------------------------------- */
.md-hero {
    background:
        radial-gradient(1200px 600px at 50% -200px, rgba(20,184,166,0.18), transparent 60%),
        linear-gradient(180deg, var(--md-paper) 0%, var(--md-fog) 100%);
    padding: 96px 24px 80px;
}
.md-hero .md-eyebrow {
    color: var(--md-deep);
    font-family: var(--md-font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    margin-bottom: 16px;
}
.md-hero h1 {
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
}
.md-hero .md-lede {
    font-size: 1.18rem;
    line-height: 1.55;
    color: #355757;
    max-width: 620px;
    margin: 0 auto 28px;
}
.md-hero .md-cta-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.md-section {
    padding: 80px 24px;
}
.md-section--fog { background: var(--md-fog); }

.md-section h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-align: center;
    margin: 0 0 16px;
}
.md-section .md-section-lede {
    text-align: center;
    color: #355757;
    max-width: 620px;
    margin: 0 auto 56px;
}

/* Feature / step cards */
.md-card-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    max-width: 1080px;
    margin: 0 auto;
}
.md-card {
    background: var(--md-paper);
    border: 1px solid var(--md-line);
    border-radius: 16px;
    padding: 28px 24px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.md-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -20px rgba(15,118,110,0.25);
    border-color: rgba(20,184,166,0.4);
}
.md-card .md-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(20,184,166,0.12);
    color: var(--md-deep);
    font-family: var(--md-font-mono);
    font-weight: 700;
    margin-bottom: 16px;
}
.md-card h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}
.md-card p { margin: 0; color: #355757; line-height: 1.55; }

/* Final CTA strip */
.md-cta {
    background: linear-gradient(135deg, var(--md-deep), var(--md-teal));
    color: #fff;
    border-radius: 20px;
    padding: 56px 24px;
    text-align: center;
    max-width: 1080px;
    margin: 80px auto;
}
.md-cta h2 { color: #fff; margin: 0 0 12px; }
.md-cta p { color: rgba(255,255,255,0.85); margin: 0 0 24px; }
.md-cta .wp-block-button__link {
    background: #fff;
    color: var(--md-deep) !important;
}

/* Footer tweaks */
.site-footer {
    background: var(--md-ink);
    color: #C7D9D7;
}
.site-footer a { color: var(--md-mint); }
