/* Tiempos Font Declarations */
@font-face {
    font-family: 'Tiempos Text';
    src: url('../fonts/tiempos/TiemposText-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Tiempos Text';
    src: url('../fonts/tiempos/TiemposText-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Tiempos Text';
    src: url('../fonts/tiempos/TiemposText-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Graphik';
    src: url('../fonts/graphik/Graphik-Light.woff2') format('woff2'),
        url('../fonts/graphik/Graphik-Light.woff') format('woff'),
        url('../fonts/graphik/Graphik-Light.ttf') format('truetype');
    font-weight: 300;
    /* Light */
    font-style: normal;
}

@font-face {
    font-family: 'Graphik';
    src: url('../fonts/graphik/Graphik-Medium.woff2') format('woff2'),
        url('../fonts/graphik/Graphik-Medium.woff') format('woff'),
        url('../fonts/graphik/Graphik-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Graphik';
    src: url('../fonts/graphik/Graphik-Regular.woff2') format('woff2'),
        url('../fonts/graphik/Graphik-Regular.woff') format('woff'),
        url('../fonts/graphik/Graphik-Regular.ttf') format('truetype');
    font-weight: 400;
    /* Regular */
    font-style: normal;
}


@font-face {
    font-family: 'Graphik';
    src: url('../fonts/graphik/Graphik-Semibold.woff2') format('woff2'),
        url('../fonts/graphik/Graphik-Semibold.woff') format('woff'),
        url('../fonts/graphik/Graphik-Semibold.ttf') format('truetype');
    font-weight: 600;
    /* Semibold */
    font-style: normal;
}


:root {
    --hero-top: #ffffff;
    --hero-bottom: #ffde00;
    --hero-deep: #50BA70;
    --cta-highlight: #ffde00;
    --ink: #101820;
    --ink-light: #2c2c2c;
    --paper: #fffdf6;
    --soft-gray: #f7f5ef;
    --border: rgba(16,24,32,0.12);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Graphik', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.55;
}

h1, h2, h3 {
    font-family: 'Tiempos Text', Georgia, serif;
}

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

a:hover { color: #0f8076; }

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

.page-container {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}

@media (max-width: 640px) {
    .page-container { width: calc(100% - 40px); }
}

.site-header {
    background: transparent;
    color: var(--ink);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 24px 0;
}

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

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-login {
    opacity: 0.6;
}

.site-header .btn.header-cta {
    background: var(--ink);
    color: #fff;
    font-weight: 700;
}

.site-header .btn.header-cta:hover {
    background: var(--ink-light);
}

.logo {
    font-family: Arial, sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--ink);
    letter-spacing: -1px;
    font-style: italic;
}

.logo span {
    font-size: 0.7em;
    font-weight: 400;
    color: var(--ink-light);
    opacity: 0.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 2rem;
    border-radius: 8px;
    border: 1px solid transparent;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(16,24,32,0.15);
}

.btn:hover { 
    /* background: #0066c8; */
    box-shadow: 0 6px 16px rgba(16,24,32,0.2);
    transform: translateY(-1px);
    color: #ffe87e;
}

.btn-dark { background: var(--ink); }

.hero {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 30%, #ffde00 70%, #50BA70 100%);
    padding: 180px 0 180px;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 160px;
    background: linear-gradient(180deg, rgba(80,186,112,0) 0%, rgba(60,160,95,0.6) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.hero-text { flex: 1 1 360px; max-width: 640px; }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--ink);
    opacity: 0.8;
}

.hero h1 {
    /* font-size: clamp(2.1rem, 3.4vw, 3.4rem); */
    font-size: clamp(1.9rem, 3.2vw, 3.2rem);
    line-height: 1.15;
    margin: 0 0 16px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.5px;
}

.lead { 
    font-size: 1.2rem; 
    margin-bottom: 28px;
    line-height: 1.6;
    color: var(--ink);
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.hero-points li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-proof {
    flex: 1 1 400px;
    max-width: 540px;
    position: relative;
}

.hero-testimonials {
    position: relative;
    overflow: hidden;
    height: 540px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.hero-testimonials::before,
.hero-testimonials::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 2;
    pointer-events: none;
}

.hero-testimonials::before {
    top: 0;
    background: linear-gradient(180deg, rgba(255,222,0,0.85) 0%, rgba(255,222,0,0) 100%);
}

.hero-testimonials::after {
    bottom: 0;
    /* background: linear-gradient(0deg, rgba(80,186,112,0.85) 0%, rgba(80,186,112,0) 100%); */
}

.testimonial-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: scrollTestimonials 25s linear infinite;
}

.hero-testimonials:hover .testimonial-track { animation-play-state: paused; }

.testimonial-card {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid rgba(16,24,32,0.06);
    box-shadow: 0 4px 12px rgba(16,24,32,0.06);
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7DD87A 0%, #50BA70 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-content {
    flex: 1;
}

.testimonial-card .quote {
    margin: 0 0 10px;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--ink);
}

.testimonial-card .author {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ink-light);
    opacity: 0.7;
}

.testimonial-card.testimonial-image {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

.testimonial-card.testimonial-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

@keyframes scrollTestimonials {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) { .testimonial-track { animation: none; } }

.insight {
    background: var(--soft-gray);
    padding: 100px 0;
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
}

.section-heading h2 {
    font-size: clamp(2rem, 3.1vw, 3rem);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.tabbed-experience {
    margin-top: 40px;
}

.tab-buttons {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 12px;
    padding: 0 32px;
    /* margin-bottom: -14px; */
    position: relative;
    z-index: 2;
}

.tabbed-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    /* border: 1px solid rgba(16,24,32,0.08); */
    box-shadow: 0 8px 24px rgba(16,24,32,0.05);
    padding: 32px 32px 115px;
}

.tab-button {
    border: none;
/* background: #ede3cf; */
background: transparent;
/* border-radius: 999px; */
border-top-left-radius: 8px;
border-top-right-radius: 8px;
padding: 1rem 1rem;
font-weight: 400;
font-family: 'Graphik', sans-serif;
font-size: 0.95rem;
cursor: pointer;
color: var(--ink);
    /* box-shadow: inset 0 -1px 0 rgba(0,0,0,0.08); */
}

.tab-button.active {
    background: #fff;
    /* color: #fff; */
    box-shadow: none;
    font-weight: 600;
}

.tab-button:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(16,24,32,0.18);
}

.tab-panel {
    display: none;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.tab-panel.active { display: flex; }
.panel-media { 
    flex: 1 1 320px; 
    max-width: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.panel-media video {
    border-radius: 16px;
    background: #000;
    border: 3px solid rgba(0,0,0,0.08);
    max-height: 500px;
}

.panel-copy { flex: 1 1 360px; }

.panel-copy h3 { margin-top: 0; margin-bottom: 16px; }

.panel-tagline { font-weight: 600; margin-top: 16px; }

.panel-quote {
    margin: 0;
    padding: 24px;
    border-radius: 18px;
    padding-top: 75px;
    border: 1px solid var(--border);
    background: var(--paper);
    font-size: 1rem;
    position: relative;
}

.panel-quote::before {
    content: '“';
    position: absolute;
    top: 20px;
    left: 15px;
    font-size: 150px;
    line-height: 1;
    font-family: 'Tiempos Text', Georgia, serif;
    color: rgba(80, 186, 112, 0.12);
    font-weight: 400;
    pointer-events: none;
    /* font-style: italic; */
}

.panel-quote cite {
    display: block;

    margin-top: 12px;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--ink-light);
}

.tab-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cta-highlight);
    border-radius: 0 0 8px 8px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.tab-footer p {
    margin: 0;
    font-weight: 600;
    font-size: 1.05rem;
}

.newsletter {
    background: var(--paper);
    padding: 96px 0;
    border-top: 1px solid var(--border);
}

.newsletter-inner {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.newsletter-copy { flex: 1 1 360px; }

.newsletter-copy h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.newsletter-form {
    flex: 1 1 320px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 999px;
    padding: 6px;
    border: 1px solid var(--border);
}

.newsletter-form input {
    flex: 1;
    min-width: 220px;
    border: none;
    padding: 0.75rem 1.2rem;
    border-radius: 999px;
    font-size: 1rem;
    outline: none;
}

.site-footer {
    padding: 32px 5vw 48px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(540px, calc(100% - 40px));
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    padding: 0px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--ink-light);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.2s ease;
    padding: 4px;
}

.modal-close:hover {
    opacity: 0.7;
}

.modal-inner {
    text-align: left;
}

.modal-eyebrow {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 12px;
    opacity: 0.5;
}

.modal-inner h2 {
    font-size: 1.85rem;
    margin: 0 0 20px;
    line-height: 1.25;
    color: var(--ink);
    font-weight: 700;
}

.modal-body {
    margin-bottom: 28px;
}

.modal-body p {
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
    color: var(--ink);
}

.modal-cta {
    background: var(--soft-gray);
    border-radius: 10px;
    padding: 24px;
}

.modal-cta-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 20px;
    color: var(--ink);
}

.modal-inner strong {
    font-weight: 600;
    color: var(--ink);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-form input {
    width: 100%;
    border: 2px solid rgba(16,24,32,0.15);
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    background: #fff;
    transition: all 0.2s ease;
}

.modal-form input:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(16,24,32,0.08);
}

.btn-modal-subscribe {
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 100%;
    font-size: 1rem;
}

.btn-modal-subscribe:hover {
    background: var(--ink-light);
    box-shadow: 0 4px 12px rgba(16,24,32,0.2);
}

@media (max-width: 900px) {
    .hero { padding: 120px 0 120px; }
    .hero-inner { gap: 2.5rem; }
    .hero-proof { max-width: none; width: 100%; }
    .site-header .btn.header-cta { display: none; }
    .header-nav { gap: 20px; }
    .nav-link { font-size: 0.9rem; }
    .tab-buttons { padding: 0;  }
    .newsletter-form { flex-direction: column; border-radius: 24px; }
    .newsletter-form input { width: 100%; border-radius: 18px; }
    .modal-content { padding: 40px 32px; }
    .modal-inner h2 { font-size: 1.6rem; }
    .modal-body { margin-bottom: 24px; }
    .modal-cta { padding: 20px; }
}

@media (max-width: 640px) {
    .nav-link:first-child { display: none; }
    .modal-content { padding: 32px 24px; }
    .modal-inner h2 { font-size: 1.4rem; }
    .modal-eyebrow { font-size: 0.65rem; margin-bottom: 10px; }
    .modal-body { margin-bottom: 20px; }
    .modal-body p { font-size: 0.95rem; }
    .modal-cta { padding: 20px; }
    .modal-cta-text { font-size: 0.9rem; margin-bottom: 16px; }
}

@media (max-width: 520px) {
    .btn { width: 100%; justify-content: center; }
    .tabbed-card { padding: 24px 24px 90px; }
    .tab-footer { flex-direction: column; align-items: flex-start; }
}
