/* Today, Just This — todayjustthis.com */

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

:root {
    --primary: #5B7B6F;
    --primary-light: #8AADA0;
    --primary-dark: #3D5A4F;
    --bg: #F8F6F3;
    --surface: #FFFFFF;
    --surface-alt: #F0EDE8;
    --text: #2D2D2D;
    --text-2: #6B6B6B;
    --text-3: #9B9B9B;
    --divider: #E5E0DA;
    --morning: #FAEDD6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248,246,243,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--divider); }

.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1.1rem;
}
.logo img { width: 32px; height: 32px; border-radius: 8px; }

.badge img { height: 40px; display: block; }
.badge img:hover { opacity: 0.8; }

/* Shared */
.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5.5rem 0; }
.label {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: linear-gradient(180deg, var(--morning) 0%, var(--bg) 55%);
}
.hero-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
}
.hero-text { flex: 1; max-width: 520px; }
.hero-text h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
}
.hero-text h1 em { font-style: normal; color: var(--primary); }
.hero-text p {
    font-size: 1.12rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.hero-text .badge img { height: 48px; }
.hero-phone { flex: 0 0 280px; }
.hero-phone img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.12);
}
.hero-phone .placeholder {
    width: 100%;
    aspect-ratio: 9/19.5;
    border-radius: 24px;
    background: var(--surface-alt);
    border: 2px dashed var(--divider);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-3);
    font-size: 0.85rem;
}

/* Empathy */
.empathy { background: var(--surface); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.empathy-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem; }
.empathy-item { text-align: center; }
.empathy-item .icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.empathy-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.35rem; }
.empathy-item p { font-size: 0.92rem; color: var(--text-2); line-height: 1.6; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.step {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: 16px;
    padding: 2rem;
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; color: var(--text-2); line-height: 1.6; }

/* Screenshots */
.screenshots { background: var(--surface); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.shots-row {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
}
.shots-row::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 220px; scroll-snap-align: start; }
.shot img { width: 100%; border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.shot .placeholder {
    width: 100%;
    aspect-ratio: 9/19.5;
    border-radius: 16px;
    background: var(--surface-alt);
    border: 2px dashed var(--divider);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-3);
    font-size: 0.8rem;
    text-align: center;
    padding: 1rem;
}

/* Trust */
.trust { background: var(--surface-alt); }
.trust-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.trust-app { display: flex; align-items: center; gap: 0.75rem; }
.trust-app img { width: 52px; height: 52px; border-radius: 13px; }
.trust-app h3 { font-size: 0.95rem; font-weight: 600; }
.trust-app .stars { color: #C4A96A; font-size: 0.95rem; }
.trust-app .stars span { font-size: 0.75rem; color: var(--text-3); margin-left: 0.25rem; }
.trust-tags { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.tag {
    font-size: 0.82rem;
    color: var(--text-2);
    background: var(--surface);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    border: 1px solid var(--divider);
}

/* Footer */
.footer { background: #1a1a1a; color: #999; padding: 2.5rem 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-row p { font-size: 0.85rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: #777; text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { color: #fff; }

/* Legal pages */
.page-hero {
    padding: 8rem 0 3.5rem;
    background: linear-gradient(180deg, var(--surface-alt) 0%, var(--bg) 100%);
    text-align: center;
}
.page-hero h1 { font-size: clamp(2rem,4vw,2.75rem); font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.page-hero p { font-size: 1rem; color: var(--text-2); }
.legal-content { max-width: 700px; }
.legal-content h2 { font-size: 1.2rem; font-weight: 600; margin: 2.5rem 0 0.75rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1rem; font-weight: 600; margin: 1.25rem 0 0.5rem; }
.legal-content p { color: var(--text-2); margin-bottom: 1rem; line-height: 1.7; }
.legal-content ul { color: var(--text-2); margin-bottom: 1rem; padding-left: 1.5rem; }
.legal-content li { margin-bottom: 0.4rem; line-height: 1.7; }
.legal-content a { color: var(--primary); }
.legal-content a:hover { color: var(--primary-dark); }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.88rem; }
.legal-content th, .legal-content td { text-align: left; padding: 0.6rem; border-bottom: 1px solid var(--divider); color: var(--text-2); }
.legal-content th { font-weight: 600; color: var(--text); }

/* Responsive */
@media (max-width: 768px) {
    .hero { min-height: auto; padding: 6rem 0 3rem; }
    .hero-row { flex-direction: column; gap: 2rem; }
    .hero-text { text-align: center; max-width: 100%; }
    .hero-text .badge { display: flex; justify-content: center; }
    .hero-phone { flex: none; width: 200px; }
    .empathy-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .steps-grid { grid-template-columns: 1fr; }
    .trust-row { flex-direction: column; text-align: center; }
    .trust-app { flex-direction: column; }
    .trust-tags { justify-content: center; }
    .footer-row { flex-direction: column; text-align: center; }
    .section { padding: 4rem 0; }
    .badge img { height: 36px; }
}
