/* Giornia marketing site styles.
   Colors and fonts are pulled directly from the production app's own
   theme system (src/theme.js, light-mode block) -- not re-guessed for
   this page, so the marketing site and the actual product match
   exactly. See that file for the full color-role documentation. */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;500;600;700&display=swap');

:root{
    --pine:#123A2D;       /* primary brand, buttons, headings accents */
    --pine-hover:#0E3025;
    --sage:#6F9B84;       /* secondary accent -- borders, icons, not text */
    --mint:#45B99B;       /* progress, positive/completion accent */
    --sand:#E7D4AC;       /* warm neutral accent (shopping, etc.) */
    --coral:#F26B53;      /* large accents/fills */
    --coral-dark:#C94B38; /* text-safe coral -- overdue/destructive labels */
    --ink:#101B18;        /* headings, primary text */
    --charcoal:#263B34;   /* body text */
    --stone:#68756F;      /* secondary/metadata text */
    --border:#D9E1DC;
    --border-strong:#B8C6BE;
    --surface:#F7F8F5;    /* page background */
    --card:#FFFFFF;
    --accent-dim:#E7F0EB; /* pale mint/pine-tinted background */
}

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

body{
    font-family:'Inter', Arial, sans-serif;
    color:var(--charcoal);
    background:var(--surface);
    line-height:1.6;
}

.container{
    width:min(1200px,90%);
    margin:auto;
}

section{
    padding:90px 0;
}

h1,h2,h3{
    line-height:1.15;
    font-family:'DM Serif Display', Georgia, serif;
    font-weight:400;
    color:var(--ink);
}

h1{
    font-size:clamp(2.6rem,6vw,4.4rem);
}

h2{
    font-size:clamp(1.9rem,4vw,2.75rem);
    margin-bottom:20px;
}

h3{
    font-size:1.3rem;
    font-family:'Inter', Arial, sans-serif;
    font-weight:600;
}

p{
    margin-bottom:15px;
    color:var(--charcoal);
}

.eyebrow{
    font-family:'Inter', Arial, sans-serif;
    font-weight:600;
    font-size:0.78rem;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:var(--stone);
}

.btn{
    display:inline-block;
    padding:14px 28px;
    border-radius:999px;
    text-decoration:none;
    font-family:'Inter', Arial, sans-serif;
    font-weight:600;
    font-size:0.95rem;
    transition:.2s;
}

.btn-primary{
    background:var(--pine);
    color:#FFFFFF;
    border:1px solid var(--pine);
}

.btn-primary:hover{
    background:var(--pine-hover);
    border-color:var(--pine-hover);
}

.btn-secondary{
    border:1px solid var(--sage);
    color:var(--pine);
    background:transparent;
}

.btn-secondary:hover{
    background:var(--accent-dim);
    border-color:var(--pine);
}

header{
    position:sticky;
    top:0;
    background:rgba(247,248,245,.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--border);
    z-index:999;
}

.nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo-link{
    display:flex;
    align-items:center;
    gap:8px;
    text-decoration:none;
}

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

.logo-wordmark{
    font-family:'DM Serif Display', Georgia, serif;
    font-size:1.4rem;
    color:var(--pine);
}

.nav a{
    text-decoration:none;
}

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

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

.hero p{
    font-size:1.15rem;
    color:var(--stone);
    max-width:46ch;
}

.hero-buttons{
    margin-top:30px;
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.hero-art{
    display:flex;
    justify-content:center;
}

.hero-art img{
    max-width:320px;
    width:100%;
    border-radius:24px;
    border:1px solid var(--border);
    box-shadow:0 30px 70px rgba(16,27,24,.14);
}

.center{
    text-align:center;
}

.problem{
    background:var(--card);
}

.app-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:16px;
    margin-top:40px;
}

.app-card{
    background:var(--surface);
    border:1px solid var(--border);
    padding:22px 12px;
    border-radius:16px;
    text-align:center;
    font-weight:600;
    color:var(--pine);
}

.steps{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.step{
    background:var(--card);
    padding:32px;
    border-radius:18px;
    border:1px solid var(--border);
}

.step .step-number{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    border-radius:999px;
    background:var(--accent-dim);
    color:var(--pine);
    font-weight:700;
    font-family:'Inter', Arial, sans-serif;
    margin-bottom:16px;
}

.modules{
    background:var(--card);
}

.module-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:26px;
}

.module{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:18px;
    overflow:hidden;
}

.module .shot-frame{
    background:var(--surface);
    display:flex;
    justify-content:center;
    padding:18px 18px 0;
}

.module img{
    width:100%;
    max-width:220px;
    border-radius:10px 10px 0 0;
    display:block;
    border:1px solid var(--border);
    border-bottom:none;
}

.module-content{
    padding:22px;
}

.compare{
    overflow-x:auto;
}

table{
    width:100%;
    border-collapse:collapse;
    background:var(--card);
    border-radius:12px;
    overflow:hidden;
}

th,td{
    padding:16px;
    border:1px solid var(--border);
    text-align:left;
    font-family:'Inter', Arial, sans-serif;
}

th{
    background:var(--pine);
    color:#FFFFFF;
    font-weight:600;
}

.vision{
    background:linear-gradient(135deg,var(--pine),#1A4A3A);
    color:#FFFFFF;
}

.vision h2{
    color:#FFFFFF;
}

.vision-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-top:40px;
}

.vision-card{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.16);
    padding:26px 18px;
    border-radius:16px;
    font-family:'Inter', Arial, sans-serif;
    font-weight:500;
}

.faq{
    background:var(--card);
}

.faq-item{
    max-width:760px;
    margin:0 auto 28px;
    padding-bottom:24px;
    border-bottom:1px solid var(--border);
}

.faq-item h3{
    margin-bottom:8px;
}

.cta{
    text-align:center;
    background:var(--sand);
}

.cta h2{
    color:var(--ink);
}

footer{
    background:var(--pine);
    color:#FFFFFF;
    text-align:center;
    padding:40px 0;
    font-family:'Inter', Arial, sans-serif;
}

footer a{
    color:#FFFFFF;
}

@media(max-width:900px){

    .hero-grid,
    .steps,
    .module-grid,
    .vision-grid{
        grid-template-columns:1fr;
    }

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

    .hero{
        text-align:center;
    }

    .hero p{
        margin-left:auto;
        margin-right:auto;
    }

    .hero-buttons{
        justify-content:center;
    }
}
