/* ---- WARM-PAPER ATMOSPHERE ---- */

/* Barely-there paper grain over the editorial content (sits below nav + lightbox). */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* ---- NAV ---- */

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245,240,231,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-container {
    position: relative;
    width: 28px;
    height: 28px;
}

.logo-container img {
    width: 28px;
    height: 28px;
    display: block;
}

#logo-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    pointer-events: none;
}

.wordmark {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 28px;
}

.nav-links a:not(.btn) {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.15s;
}

.nav-links a:not(.btn):hover { color: var(--ink); }

/* ---- HERO ---- */

.hero {
    padding: 48px 0 56px;
    background: radial-gradient(115% 90% at 78% -10%, rgba(226,114,91,0.07), transparent 55%);
}

.hero-grid {
    display: grid;
    gap: 40px;
}

.hero-text { max-width: 520px; }

.hero-text .eyebrow { margin-bottom: 16px; }

.hero h1 {
    font-size: clamp(33px, 5.6vw, 56px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.hero-body {
    margin-top: 16px;
    color: var(--ink-soft);
    font-size: 15px;
}

.hero .email-group { margin-top: 28px; }

.hero-note {
    margin-top: 10px;
    font-size: 12px;
    color: var(--ink-mute);
}

.hero-img {
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ---- PILLARS ---- */

.pillars {
    padding: 56px 0;
}

.pillars-grid {
    display: grid;
    gap: 32px;
    margin-top: 36px;
}

.pillar {
    background: var(--bone);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 28px;
    box-shadow: var(--shadow);
}

.pillar-num {
    font-size: 13px;
    font-weight: 800;
    color: var(--coral);
    margin-bottom: 10px;
}

.pillar h3 {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.pillar p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.6;
}

/* ---- VIDEO ---- */

.video-section {
    padding: 56px 0;
}

/* ---- FEATURES ---- */

.features {
    padding: 56px 0;
}

.feature-row {
    display: grid;
    gap: 40px;
    align-items: center;
    padding: 48px 0;
}

.feature-row + .feature-row { border-top: 1px solid var(--line); }

.feature-text .eyebrow { margin-bottom: 12px; }

.feature-text h3 {
    font-size: clamp(23px, 2.8vw, 28px);
    font-weight: 600;
    letter-spacing: -0.012em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.feature-text p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.65;
}

.feature-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    display: block;
}

/* ---- PRICING ---- */

.pricing {
    padding: 56px 0;
}

.pricing-grid {
    display: grid;
    gap: 20px;
    margin-top: 36px;
}

.price-card {
    background: var(--bone);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 28px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border: 2px solid var(--coral);
    background: var(--coral-tint);
    position: relative;
}

.price-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--coral);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.price-tier {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}

.price-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1;
}

.price-amount span {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-mute);
}

.price-annual {
    font-size: 12px;
    color: var(--ink-mute);
    margin-top: 4px;
}

.price-features {
    list-style: none;
    margin: 20px 0;
    flex: 1;
}

.price-features li {
    font-size: 13px;
    color: var(--ink-soft);
    padding: 5px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.price-features li::before {
    content: '\2713';
    color: var(--olive);
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}

.price-card .btn { width: 100%; text-align: center; }

/* ---- FAQ ---- */

.faq {
    padding: 56px 0;
}

.faq-grid {
    display: grid;
    gap: 32px;
    margin-top: 36px;
}

.faq-item h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.faq-item p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ---- FOOTER CTA ---- */

.footer-cta {
    background: var(--paper-two);
    padding: 56px 0;
}

.footer-cta-inner { text-align: center; }

.footer-cta h2 { margin-bottom: 8px; }

.footer-cta p {
    color: var(--ink-soft);
    margin-bottom: 24px;
}

.footer-cta .email-group {
    margin: 0 auto;
}

/* ---- FOOTER ---- */

footer {
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

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

.footer-copy {
    font-size: 12px;
    color: var(--ink-mute);
}

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

.footer-links a {
    font-size: 12px;
    color: var(--ink-mute);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-links a:hover { color: var(--ink); }

/* ---- VIDEO EMBED ---- */

.video-embed {
    margin: 36px auto 0;
    width: 100%;
    max-width: 880px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    overflow: hidden;
    background: var(--bone);
    border: 1px solid var(--line);
}

.video-embed video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- PHONE FRAME ---- */

.phone-frame {
    width: 100%;
    max-width: 264px;
    margin: 0 auto;
    box-sizing: border-box;
    background: var(--ink);
    border-radius: 34px;
    padding: 10px;
    box-shadow: var(--shadow-lg);
}

.phone-frame img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
}

/* ---- SHOWCASE ---- */

.showcase { padding: 56px 0; }

.showcase-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
}

.showcase-card {
    flex: 0 1 100%;
    max-width: 480px;
    background: var(--bone);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.showcase-card img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--line);
}

.showcase-card figcaption { padding: 18px 20px; }

.showcase-card h3 {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.showcase-card p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.55;
}

/* ---- STORY ---- */

.story { padding: 56px 0; }

.story-grid {
    display: grid;
    gap: 40px;
    align-items: start;
}

.story-text .eyebrow { margin-bottom: 12px; }

.story-text p {
    margin-top: 16px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.65;
}

.story-quote {
    margin: 0;
    align-self: center;
}

.story-quote blockquote {
    margin: 0;
    padding-left: 20px;
    border-left: 3px solid var(--coral);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(24px, 3vw, 33px);
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: var(--ink);
}

/* ---- RESPONSIVE ---- */

@media (min-width: 769px) {
    .nav-links { display: flex; }

    .showcase { padding: 72px 0; }
    .showcase-card { flex-basis: 300px; }

    .hero { padding: 72px 0 80px; }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
        align-items: center;
    }

    .pillars-grid { grid-template-columns: repeat(3, 1fr); }

    .feature-row { grid-template-columns: 1fr 1fr; }
    .feature-row.reversed .feature-text { order: 2; }
    .feature-row.reversed .feature-media { order: 1; }

    .story-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }

    .pricing-grid { grid-template-columns: repeat(3, 1fr); }

    .faq-grid { grid-template-columns: 1fr 1fr; }

    .pillars, .video-section, .features, .story, .pricing, .faq { padding: 72px 0; }
    .footer-cta { padding: 72px 0; }

    .feature-media .phone-frame { max-width: 300px; }
}

/* ---- ZOOMABLE IMAGES + LIGHTBOX ---- */

.zoomable { cursor: zoom-in; }
.zoomable:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4vmin;
    background: rgba(28,26,25,0.86);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox img {
    max-width: 92vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.45);
    cursor: zoom-out;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox-close:hover { background: rgba(255,255,255,0.26); }

/* ---- SCROLL REVEAL ---- */

body.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

body.reveal-ready [data-reveal].in {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--reveal-i, 0) * 70ms);
}

@media (prefers-reduced-motion: reduce) {
    body.reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---- INTERACTION POLISH ---- */

.skip-link {
    position: absolute;
    left: 12px;
    top: -56px;
    z-index: 1100;
    background: var(--ink);
    color: var(--paper);
    padding: 10px 16px;
    border-radius: var(--radius-btn);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

nav { transition: box-shadow 0.25s ease, background 0.25s ease; }
nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(28,26,25,0.07); }

/* animated underline for nav links (not the button) */
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1.5px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }

/* card hover lift */
.pillar, .price-card, .showcase-card {
    transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s ease;
}
.pillar:hover,
.showcase-card:hover,
.price-card:not(.featured):hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* button hover lift */
.btn-coral { transition: background 0.2s, transform 0.15s, box-shadow 0.2s; }
.btn-coral:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(226,114,91,0.30); }

/* accessible focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .pillar, .price-card, .showcase-card, .btn-coral, nav, .nav-links a:not(.btn)::after { transition: none; }
    .pillar:hover, .showcase-card:hover, .price-card:not(.featured):hover, .btn-coral:hover { transform: none; }
}

/* ---- FEATURE PROMPT EXAMPLES ---- */

.prompt-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
    max-width: 400px;
}

.feature-tile.prompt {
    background: var(--bone);
    border: 1px solid var(--line);
    border-left: 2px solid var(--coral);
    border-radius: 10px;
    padding: 11px 15px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    box-shadow: var(--shadow);
    line-height: 1.4;
}
