/* ============================================================
   TempoShift Marketing Site
   ============================================================ */

/* Poppins is loaded by the <link> tag in index.html so we get
   the benefit of <link rel="preconnect"> for the font CDN.
   Importing it again here would create a duplicate request. */

:root {
    --ink:        #0d1117;
    --ink-2:      #1d2433;
    --ink-soft:   #4a5568;
    --ink-faint:  #8b91a3;
    --line:       #e8e2d8;
    --line-soft:  #f0ebe2;

    --teal-50:    #ebfaf6;
    --teal-100:   #d1f3eb;
    --teal-200:   #a8e6d4;
    --teal-400:   #34c9a8;
    --teal-500:   #14a586;
    --teal-600:   #0d8a72;
    --teal-700:   #0a7263;
    --teal-800:   #094f47;
    --teal-900:   #0a3d3a;

    --coral:      #ff6b5b;
    --amber:      #f6a609;
    --violet:     #7c6cf0;
    --rose:       #f0506e;

    --surface:    #ffffff;
    --canvas:     #fbf6ef;
    --canvas-2:   #f4ede2;

    --radius-sm:  10px;
    --radius:     16px;
    --radius-lg:  22px;
    --radius-xl:  28px;

    --shadow-sm:  0 1px 2px rgba(20,30,50,0.04),
                  0 6px 18px -8px rgba(20,30,50,0.10);
    --shadow:     0 1px 3px rgba(20,30,50,0.05),
                  0 18px 40px -18px rgba(20,30,50,0.18);
    --shadow-lg:  0 2px 5px rgba(20,30,50,0.06),
                  0 32px 80px -22px rgba(20,30,50,0.30);
    --shadow-xl:  0 4px 12px rgba(20,30,50,0.08),
                  0 60px 140px -30px rgba(20,30,50,0.35);

    --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    /* `clip` is the modern equivalent of `hidden` that doesn't create a new
       scroll-containing block — so position:sticky on the header still works.
       Browsers that don't yet support `clip` fall back to `hidden`, which
       is acceptable on the html root (sticky on a direct child of body
       continues to work). */
    overflow-x: hidden;
    overflow-x: clip;
}
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-2);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.005em;
    overflow-x: hidden;
    overflow-x: clip;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251,246,239,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled {
    border-bottom-color: rgba(20,30,50,0.06);
}
.site-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
    gap: 24px;
}
.site-brand {
    display: flex; align-items: center; gap: 11px;
    font-weight: 700; font-size: 18px; letter-spacing: -0.02em;
}
.site-brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-brand .accent { color: var(--teal-600); }
.site-nav {
    display: flex; align-items: center; gap: 28px;
}
.site-nav a {
    font-size: 14px; font-weight: 500; color: var(--ink-soft);
    transition: color 0.2s;
}
.site-nav a:hover { color: var(--teal-700); }
.site-header-actions {
    display: flex; align-items: center; gap: 12px;
}
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 18px; border-radius: 12px;
    font-family: var(--font); font-size: 14px; font-weight: 600;
    letter-spacing: -0.005em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
    color: #fff;
    box-shadow: 0 6px 18px -6px rgba(13,138,114,0.55),
                inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -6px rgba(13,138,114,0.6),
                inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-ghost {
    background: transparent;
    color: var(--ink-2);
    border-color: rgba(20,30,50,0.12);
}
.btn-ghost:hover { background: rgba(255,255,255,0.6); border-color: rgba(20,30,50,0.2); }
.btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 14px; }
.btn-arrow svg { width: 16px; height: 16px; transition: transform 0.2s; }
.btn:hover .btn-arrow svg { transform: translateX(2px); }
.mobile-toggle { display: none; background: none; border: none; padding: 8px; color: var(--ink-2); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: -10% -5% 30% -5%;
    z-index: -1;
    background:
        radial-gradient(50% 70% at 18% 0%, rgba(20,165,134,0.20), transparent 60%),
        radial-gradient(45% 70% at 82% 8%, rgba(124,108,240,0.18), transparent 62%),
        radial-gradient(40% 60% at 55% 0%, rgba(246,166,9,0.14), transparent 58%);
    filter: blur(10px);
    pointer-events: none;
}
.hero-inner {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 56px;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px 7px 8px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(20,30,50,0.08);
    border-radius: 99px;
    font-size: 13px; font-weight: 500; color: var(--ink-soft);
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
}
.hero-eyebrow .badge {
    background: var(--teal-50);
    color: var(--teal-700);
    padding: 3px 9px;
    border-radius: 99px;
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.02em;
}
.hero h1 {
    margin: 0 0 22px;
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: var(--ink);
}
.hero h1 .grad {
    background: linear-gradient(135deg, var(--teal-500), var(--teal-700) 60%, var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    font-weight: 700;
}
.hero p.lede {
    font-size: clamp(17px, 2.2vw, 21px);
    color: var(--ink-soft);
    margin: 0 auto 36px;
    max-width: 640px;
    line-height: 1.55;
}
.hero-ctas {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 20px;
}
.hero-trust {
    font-size: 13px; color: var(--ink-faint);
    display: flex; align-items: center; gap: 6px; justify-content: center;
}
.hero-trust svg { width: 14px; height: 14px; color: var(--teal-500); }

.hero-image {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1600px) rotateX(2.5deg);
    transform-origin: center top;
}
.hero-image::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-xl);
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.hero-image img {
    width: 100%; height: auto; display: block;
}

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.social-proof {
    padding: 48px 0 56px;
    text-align: center;
}
.social-proof .label {
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 26px;
}
.proof-logos {
    display: flex; justify-content: center; align-items: center;
    gap: 56px; flex-wrap: wrap;
    opacity: 0.6;
}
.proof-logos .logo {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink-2);
    letter-spacing: -0.01em;
    white-space: nowrap;
    display: inline-flex; align-items: center; gap: 7px;
}
.proof-logos .logo svg {
    width: 22px; height: 22px;
    color: var(--ink-faint);
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section { padding: 96px 0; }
.section.alt { background: var(--canvas-2); }

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}
.section-eyebrow {
    display: inline-block;
    padding: 5px 12px;
    background: var(--teal-50);
    color: var(--teal-700);
    border-radius: 99px;
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.section h2 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--ink);
}
.section .sub {
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0;
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.problem-card {
    padding: 28px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(20,30,50,0.06);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
}
.problem-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    background: rgba(240,80,110,0.12);
    color: var(--rose);
}
.problem-icon svg { width: 22px; height: 22px; }
.problem-card h3 {
    margin: 0 0 10px;
    font-size: 18px; font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.problem-card p {
    margin: 0;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    padding: 28px;
    background: var(--surface);
    border: 1px solid rgba(20,30,50,0.06);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(20,165,134,0.18);
}
.feature-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--teal-50);
    color: var(--teal-700);
    margin-bottom: 18px;
}
.feature-icon svg { width: 23px; height: 23px; }
.feature-icon.amber { background: rgba(246,166,9,0.10); color: #b45309; }
.feature-icon.violet { background: rgba(124,108,240,0.10); color: var(--violet); }
.feature-icon.coral { background: rgba(255,107,91,0.10); color: var(--coral); }
.feature-icon.rose { background: rgba(240,80,110,0.10); color: var(--rose); }
.feature-card h3 {
    margin: 0 0 10px;
    font-size: 18px; font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.feature-card p {
    margin: 0;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ============================================================
   PRODUCT TOUR
   ============================================================ */
.tour-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 96px;
}
.tour-row:last-child { margin-bottom: 0; }
.tour-row.reverse { grid-template-columns: 1.4fr 1fr; }
.tour-row.reverse .tour-copy { order: 2; }
.tour-row.reverse .tour-image { order: 1; }
.tour-copy { padding: 0; }
.tour-copy .eyebrow {
    display: inline-block;
    padding: 4px 10px;
    background: var(--teal-50);
    color: var(--teal-700);
    border-radius: 99px;
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.tour-copy h3 {
    margin: 0 0 14px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--ink);
}
.tour-copy p {
    margin: 0 0 18px;
    font-size: 16px;
    color: var(--ink-soft);
    line-height: 1.65;
}
.tour-list {
    margin: 0 0 22px; padding: 0; list-style: none;
}
.tour-list li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--ink-2);
    display: flex; align-items: flex-start; gap: 10px;
}
.tour-list li svg {
    width: 17px; height: 17px;
    color: var(--teal-500);
    flex-shrink: 0;
    margin-top: 3px;
}
.tour-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--canvas);
}
.tour-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   MOBILE SECTION
   ============================================================ */
.mobile-section {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 64px;
    align-items: center;
}
.mobile-image-wrap {
    display: flex; justify-content: center;
    position: relative;
}
.mobile-image-wrap::before {
    content: "";
    position: absolute;
    inset: 5% -20% 5% -20%;
    background: radial-gradient(45% 65% at 50% 50%, rgba(20,165,134,0.18), transparent 65%);
    filter: blur(28px);
    z-index: 0;
}
.phone-frame {
    position: relative; z-index: 1;
    border: 10px solid #1a1f2e;
    border-radius: 36px;
    padding: 0;
    background: #1a1f2e;
    box-shadow: var(--shadow-xl);
    width: 320px;
    overflow: hidden;
}
.phone-frame::before {
    content: "";
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 100px; height: 20px;
    background: #1a1f2e;
    border-radius: 0 0 14px 14px;
    z-index: 5;
}
.phone-frame img {
    border-radius: 26px;
    width: 100%;
    display: block;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.testimonial {
    padding: 28px;
    background: var(--surface);
    border: 1px solid rgba(20,30,50,0.06);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.testimonial .quote {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-2);
}
.testimonial .author {
    display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 13px;
}
.av-a { background: linear-gradient(135deg, #f59e0b, #f97316); }
.av-b { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.av-c { background: linear-gradient(135deg, #8b5cf6, #d946ef); }
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.testimonial-role { font-size: 12px; color: var(--ink-soft); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}
.pricing-card {
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid rgba(20,30,50,0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex; flex-direction: column;
}
.pricing-card.featured {
    border-color: var(--teal-500);
    box-shadow: 0 2px 5px rgba(20,30,50,0.06),
                0 40px 80px -22px rgba(20,165,134,0.32);
    transform: scale(1.02);
}
.pricing-badge {
    position: absolute; top: -12px; right: 22px;
    padding: 5px 13px;
    background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
    color: #fff;
    border-radius: 99px;
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px -2px rgba(13,138,114,0.5);
}
.pricing-tier {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 8px;
}
.pricing-name {
    margin: 0 0 8px;
    font-size: 24px; font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.pricing-desc {
    font-size: 13px;
    color: var(--ink-soft);
    margin: 0 0 24px;
    min-height: 40px;
}
.pricing-price {
    display: flex; align-items: baseline; gap: 4px;
    margin-bottom: 22px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.pricing-price .amount {
    font-size: 40px; font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1;
}
.pricing-price .period {
    font-size: 14px; color: var(--ink-soft);
}
.pricing-features {
    margin: 0 0 28px; padding: 0; list-style: none;
    flex: 1;
}
.pricing-features li {
    padding: 5px 0;
    font-size: 13px;
    color: var(--ink-2);
    display: flex; align-items: flex-start; gap: 9px;
}
.pricing-features li svg {
    width: 16px; height: 16px;
    color: var(--teal-500);
    flex-shrink: 0;
    margin-top: 3px;
}
.pricing-cta {
    width: 100%;
    justify-content: center;
}

/* ============================================================
   SECURITY / TRUST
   ============================================================ */
.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.security-card {
    padding: 24px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(20,30,50,0.06);
    border-radius: var(--radius);
    text-align: center;
}
.security-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--teal-50);
    color: var(--teal-700);
    margin-bottom: 14px;
}
.security-icon svg { width: 20px; height: 20px; }
.security-card h4 {
    margin: 0 0 6px;
    font-size: 14px; font-weight: 600;
    color: var(--ink);
}
.security-card p {
    margin: 0;
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.5;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
    padding: 96px 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, var(--teal-800), var(--teal-900));
    color: #fff;
}
.final-cta::before {
    content: "";
    position: absolute;
    inset: -50% -10% auto -10%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(50% 70% at 15% 30%, rgba(124,108,240,0.30), transparent 60%),
        radial-gradient(40% 60% at 85% 70%, rgba(246,166,9,0.20), transparent 60%);
    filter: blur(20px);
}
.final-cta-inner {
    text-align: center;
    max-width: 720px; margin: 0 auto;
}
.final-cta h2 {
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.final-cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin: 0 0 36px;
}
.final-cta .btn-primary {
    background: #fff;
    color: var(--teal-800);
    box-shadow: 0 10px 30px -8px rgba(0,0,0,0.4);
}
.final-cta .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px -8px rgba(0,0,0,0.5);
}
.final-cta .btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.3);
}
.final-cta .btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    padding: 64px 0 32px;
    background: var(--ink);
    color: rgba(255,255,255,0.75);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 56px;
    margin-bottom: 48px;
}
.footer-brand img { width: 36px; height: 36px; border-radius: 9px; margin-bottom: 16px; }
.footer-brand .name {
    font-weight: 700; font-size: 18px; color: #fff;
    letter-spacing: -0.02em;
    display: flex; align-items: center; gap: 11px;
    margin-bottom: 12px;
}
.footer-brand p {
    margin: 0; font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    max-width: 280px;
}
.footer-col-title {
    font-size: 12px; font-weight: 600;
    color: #fff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { padding: 5px 0; }
.footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 28px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
}
.footer-social {
    display: flex; gap: 10px;
}
.footer-social a {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.65);
    display: inline-flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.footer-social svg { width: 16px; height: 16px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s, transform 0.7s;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { transition: none; opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    /* `!important` here is intentional: the desktop nav MUST be hidden
       on mobile no matter what later rules or cached older CSS look
       like, otherwise nav links leak through under the sticky header. */
    .site-nav { display: none !important; }
    .site-header-actions .btn-ghost { display: none; }
    .site-header-actions .btn-primary { padding: 10px 16px; font-size: 14px; }
    .mobile-toggle { display: inline-flex; }
    .problem-grid, .features-grid, .testimonials-grid, .pricing-grid { grid-template-columns: 1fr; }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
    .tour-row { grid-template-columns: 1fr; gap: 32px; }
    .tour-row.reverse { grid-template-columns: 1fr; }
    .tour-row.reverse .tour-copy, .tour-row.reverse .tour-image { order: initial; }
    .mobile-section { grid-template-columns: 1fr; gap: 40px; }
    .pricing-card.featured { transform: none; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .hero { padding: 56px 0 40px; }
    .section { padding: 64px 0; }
    .hero-image { transform: none; }
}
@media (max-width: 640px) {
    .container { padding: 0 18px; }
    .footer-grid { grid-template-columns: 1fr; }
    .proof-logos { gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 14px; }
}

/* ----------------------------------------------------------------------
   MOBILE DRAWER
   Slides in from the right. A dark backdrop dims the page so the drawer
   reads as a distinct surface and people can tap outside to close.
   When closed, both the drawer and backdrop have `visibility: hidden`
   and `pointer-events: none` so they can't intercept taps.
   ---------------------------------------------------------------------- */

/* Dark backdrop sibling of .mobile-menu, rendered just below it. */
.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(13, 17, 23, 0.45);
    z-index: 48;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}
.mobile-menu-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    background: var(--surface);
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
    box-shadow: -16px 0 40px -20px rgba(13, 17, 23, 0.25);
    z-index: 49;
    padding: 24px 22px 32px;
    transform: translateX(100%);
    transition: transform 0.28s ease, visibility 0.28s ease;
    overflow-y: auto;
    visibility: hidden;
    overscroll-behavior: contain;
}
.mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu nav a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.15s;
}
.mobile-menu nav a:hover,
.mobile-menu nav a:active {
    color: var(--teal-700);
}
.mobile-menu nav .signin-link {
    margin-top: 8px;
    border-bottom: none;
    color: var(--ink-soft);
    font-weight: 600;
}
.mobile-menu .btn {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
    font-size: 15px;
}

/* ============================================================
   COMPARISON TABLE — "Without TempoShift / With TempoShift"
   ============================================================ */
.compare-table {
    max-width: 920px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 18px 48px -28px rgba(13, 17, 23, 0.18);
}
.compare-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.compare-col {
    padding: 18px 28px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
}
.compare-col.without {
    background: var(--canvas-2);
    color: var(--ink-soft);
}
.compare-col.with {
    background: var(--teal-700);
    color: #fff;
}
.compare-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line-soft);
}
.compare-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 28px;
    font-size: 15px;
    line-height: 1.5;
}
.compare-cell svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}
.compare-cell.without {
    color: var(--ink-soft);
    background: var(--canvas);
}
.compare-cell.without svg { color: var(--rose); }
.compare-cell.with {
    color: var(--ink-2);
    background: var(--surface);
    font-weight: 500;
}
.compare-cell.with svg { color: var(--teal-600); }

@media (max-width: 720px) {
    .compare-head { display: none; }
    .compare-row {
        grid-template-columns: 1fr;
        border-top: none;
        border-bottom: 1px solid var(--line-soft);
    }
    .compare-row:last-child { border-bottom: none; }
    .compare-cell { padding: 14px 20px; }
    .compare-cell.without::before {
        content: "Without";
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--ink-faint);
        margin-right: 4px;
    }
    .compare-cell.with::before {
        content: "With";
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--teal-600);
        margin-right: 4px;
    }
}

/* ============================================================
   STAT STRIP  (honest product facts, just under the hero)
   ============================================================ */
.stat-strip {
    padding: 8px 0 8px;
}
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat {
    text-align: center;
    padding: 24px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.stat-num {
    display: block;
    font-size: clamp(26px, 3.4vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--teal-600);
}
.stat-label {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ink-soft);
}

/* ============================================================
   INDUSTRY STRIP  (honest fallback when there are no real logos)
   ============================================================ */
.industries {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px 16px;
    flex-wrap: wrap;
}
.industry {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
    padding: 8px 16px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: 99px;
}

/* ============================================================
   FOUNDER NOTE  (honest stand-in until real testimonials exist)
   ============================================================ */
.founder-note {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.founder-note h2 {
    margin: 16px 0 20px;
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.18;
    color: var(--ink);
}
.founder-note p {
    font-size: 17px;
    line-height: 1.72;
    color: var(--ink-soft);
    margin: 0 auto 16px;
    max-width: 660px;
}
.founder-note .founder-sign {
    font-weight: 600;
    color: var(--ink-2);
    margin-top: 6px;
}

/* ============================================================
   TRUST BADGES  (compliance row in the enterprise section)
   ============================================================ */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 48px;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    padding: 9px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 99px;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}
.trust-badge svg {
    width: 15px;
    height: 15px;
    color: var(--teal-500);
    flex: none;
}

/* ---- Responsive ---- */
@media (max-width: 760px) {
    .stat-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .stat { padding: 18px 12px; }
}
@media (max-width: 520px) {
    .industries { gap: 10px; }
    .industry { font-size: 13px; padding: 7px 13px; }
}
