/*
 * vechio.co marketing site.
 * Colors, type and shapes mirror the mobile app theme (Mobile/src/theme)
 * and the assistant sign-in pages in the API.
 */

@font-face { font-family: "Nunito"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/nunito-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/nunito-600.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/nunito-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/nunito-800.woff2") format("woff2"); }

:root {
    --forest: #284D3B;
    --deep-sage: #47695B;
    --soft-sage: #789582;
    --fresh-mint: #DDEDE2;
    --pale-mint: #EFF7F0;
    --background: #E5EDE3;
    --warm-ivory: #FAFAF5;
    --white: #FFFFFF;
    --input-background: #F0F6EF;
    --input-border: #D5E2D5;
    --leaf: #59A91B;
    --leaf-dark: #388600;

    --radius-card: 20px;
    --radius-small: 12px;
    --radius-pill: 999px;

    --shadow-card: 0 14px 34px rgba(40, 77, 59, 0.10), 0 3px 8px rgba(40, 77, 59, 0.06);
    --shadow-soft: 0 6px 18px rgba(40, 77, 59, 0.08);
    --shadow-button: 0 4px 10px rgba(40, 77, 59, 0.18);

    --page: 1120px;
    --gutter: clamp(20px, 4vw, 40px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
    margin: 0;
    font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--forest);
    background-color: var(--background);
    background-image:
        radial-gradient(1200px 700px at 6% -10%, rgba(250, 250, 245, 0.95) 0%, rgba(250, 250, 245, 0) 62%),
        radial-gradient(1000px 600px at 104% 40%, rgba(120, 149, 130, 0.20) 0%, rgba(120, 149, 130, 0) 60%);
    background-repeat: no-repeat;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--forest); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--leaf-dark); }

:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: var(--radius-small);
    background: var(--forest);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}
.skip:focus { top: 12px; color: var(--white); }

.wrap {
    width: 100%;
    max-width: var(--page);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(229, 237, 227, 0.82);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid rgba(40, 77, 59, 0.06);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 72px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--forest);
}
.logo img { width: 36px; height: 36px; }
.logo:hover { color: var(--forest); }

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav a {
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    color: var(--deep-sage);
}
.nav a:hover { color: var(--forest); }

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: var(--radius-small);
    background: transparent;
    color: var(--forest);
    cursor: pointer;
}
.nav-toggle svg { margin: auto; }

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: var(--radius-pill);
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--deep-sage) 0%, var(--forest) 100%);
    box-shadow: var(--shadow-button);
}
.btn-primary:hover { color: var(--white); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(40, 77, 59, 0.22); }

.btn-ghost {
    color: var(--forest);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}
.btn-ghost:hover { color: var(--forest); transform: translateY(-1px); }

.nav .btn { min-height: 42px; padding: 0 20px; font-size: 15px; color: var(--white); }

/* Store badges (coming soon) */

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

.store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
    padding: 10px 20px 10px 16px;
    border-radius: 14px;
    background: var(--forest);
    color: var(--white);
    box-shadow: var(--shadow-button);
    cursor: default;
    user-select: none;
}

.store svg { flex: none; width: 28px; height: 28px; }

.store span { display: grid; line-height: 1.2; }
.store small { font-size: 12px; font-weight: 600; color: var(--fresh-mint); letter-spacing: 0.02em; }
.store strong { font-size: 18px; font-weight: 800; }

.store-note {
    margin: 14px 0 0;
    font-size: 14px;
    color: var(--deep-sage);
}

/* Hero */

.hero {
    padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px);
}

.hero .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(32px, 6vw, 72px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    font-size: 14px;
    font-weight: 700;
    color: var(--deep-sage);
}
.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--leaf);
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; }

.hero h1 {
    margin: 0;
    font-size: clamp(38px, 5.4vw, 60px);
    font-weight: 800;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, var(--leaf) 0%, var(--leaf-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero .lead {
    margin: 20px 0 30px;
    max-width: 34em;
    font-size: clamp(18px, 1.6vw, 20px);
    color: var(--deep-sage);
}

/* Phone mockup */

.phone-stage { text-align: left; }

.phone {
    position: relative;
    width: min(330px, 100%);
    margin: 0 auto;
    padding: 12px;
    border-radius: 48px;
    background: linear-gradient(160deg, #1d3a2c 0%, #142a20 100%);
    box-shadow: 0 40px 80px rgba(40, 77, 59, 0.28), 0 10px 24px rgba(40, 77, 59, 0.18);
    transform: rotate(2deg);
}

.phone::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 50%;
    width: 96px;
    height: 26px;
    border-radius: 14px;
    background: #0d1c15;
    transform: translateX(-50%);
    z-index: 2;
}

.screen {
    position: relative;
    overflow: hidden;
    border-radius: 38px;
    padding: 58px 16px 18px;
    background: var(--background);
    background-image: radial-gradient(400px 260px at 0% 0%, rgba(250, 250, 245, 0.95) 0%, rgba(250, 250, 245, 0) 70%);
    font-size: 13px;
    line-height: 1.35;
}

.screen-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.screen-top b { font-size: 22px; font-weight: 800; }

.avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--fresh-mint);
    font-weight: 800;
    color: var(--forest);
}

.screen-date { margin: 0 0 12px; color: var(--deep-sage); font-weight: 600; }

.chips { display: flex; gap: 6px; margin-bottom: 14px; }

.chip {
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--white);
    font-weight: 700;
    font-size: 12px;
    color: var(--deep-sage);
}
.chip.on { background: var(--forest); color: var(--white); }

.item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 2px 6px rgba(40, 77, 59, 0.06);
}

.item-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--pale-mint);
    color: var(--deep-sage);
}
.item-icon svg { width: 20px; height: 20px; }
.item-icon.appt { background: #FFF4E5; color: #9A5B00; }

.item-text { flex: 1; min-width: 0; display: grid; }
.item-text b { font-size: 14px; font-weight: 800; }
.item-text span { color: var(--soft-sage); font-weight: 600; font-size: 12px; }

.check {
    flex: none;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--input-border);
}
.check.done { border-color: var(--leaf); background: var(--leaf); color: var(--white); }
.check svg { width: 14px; height: 14px; }

.item.is-done b { color: var(--soft-sage); text-decoration: line-through; text-decoration-color: rgba(120, 149, 130, 0.6); }

.tabbar {
    display: flex;
    justify-content: space-around;
    margin-top: 14px;
    padding: 10px 6px;
    border-radius: 20px;
    background: var(--white);
    color: var(--soft-sage);
}
.tabbar svg { width: 22px; height: 22px; }
.tabbar .on { color: var(--forest); }

.float-card {
    position: absolute;
    left: -40px;
    bottom: -14px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    font-size: 13px;
    line-height: 1.3;
    transform: rotate(-2deg);
}
.float-card .item-icon { width: 32px; height: 32px; background: var(--leaf); color: var(--white); }
.float-card b { display: block; font-size: 14px; font-weight: 800; }
.float-card span { color: var(--deep-sage); font-weight: 600; }

/* Sections */

.section { padding: clamp(56px, 8vw, 104px) 0; }

.section-head {
    max-width: 640px;
    margin: 0 auto clamp(32px, 5vw, 56px);
    text-align: center;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(30px, 3.6vw, 42px);
    font-weight: 800;
}

.section-head p {
    margin: 14px 0 0;
    font-size: 18px;
    color: var(--deep-sage);
}

.kicker {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--leaf-dark);
}

/* Features */

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature {
    padding: 28px;
    border-radius: var(--radius-card);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: var(--pale-mint);
    color: var(--deep-sage);
}
.feature-icon svg { width: 26px; height: 26px; }

.feature h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; }
.feature p { margin: 0; color: var(--deep-sage); font-size: 16px; }

/* Steps */

.band {
    background: var(--warm-ivory);
    border-top: 1px solid rgba(40, 77, 59, 0.06);
    border-bottom: 1px solid rgba(40, 77, 59, 0.06);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 40px);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps li { counter-increment: step; }

.steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--forest);
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
}

.steps h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.steps p { margin: 0; color: var(--deep-sage); font-size: 16px; }

/* Split sections (assistants, privacy) */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 6vw, 72px);
}

.split h2 {
    margin: 0;
    font-size: clamp(30px, 3.6vw, 42px);
    font-weight: 800;
}

.split p { color: var(--deep-sage); font-size: 18px; }

.chat {
    display: grid;
    gap: 12px;
    padding: 24px;
    border-radius: var(--radius-card);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.bubble {
    max-width: 86%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 16px;
    line-height: 1.45;
}

.bubble.me {
    justify-self: end;
    border-bottom-right-radius: 6px;
    background: var(--forest);
    color: var(--white);
}

.bubble.ai {
    border-bottom-left-radius: 6px;
    background: var(--pale-mint);
    color: var(--forest);
}

.bubble.ai small {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--soft-sage);
}
.bubble.ai small img { width: 16px; height: 16px; }

.assistant-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 26px;
    padding: 0;
    list-style: none;
}

.assistant-list li {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    font-size: 15px;
    font-weight: 700;
}
.assistant-list li.soon { color: var(--soft-sage); background: rgba(255, 255, 255, 0.6); box-shadow: none; }

.promises {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.promises li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}
.promises .feature-icon { flex: none; width: 40px; height: 40px; margin: 0; border-radius: 12px; }
.promises .feature-icon svg { width: 20px; height: 20px; }
.promises b { display: block; font-size: 17px; }
.promises span { color: var(--deep-sage); font-size: 15px; }

/* Download */

.download {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
    padding: clamp(28px, 5vw, 56px);
    border-radius: 28px;
    background: linear-gradient(140deg, var(--forest) 0%, #1e3c2e 100%);
    color: var(--white);
    box-shadow: 0 30px 60px rgba(40, 77, 59, 0.25);
}

.download h2 { margin: 0; font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.download p { margin: 12px 0 26px; color: var(--fresh-mint); font-size: 18px; }

.download .store { background: var(--white); color: var(--forest); }
.download .store small { color: var(--soft-sage); }
.download .store-note { color: var(--fresh-mint); }

.qr {
    width: 200px;
    padding: 16px;
    border-radius: 20px;
    background: var(--white);
    text-align: center;
}
.qr img { width: 100%; height: auto; }
.qr p { margin: 8px 0 0; font-size: 13px; font-weight: 700; color: var(--deep-sage); }

/* Footer */

.site-footer {
    padding: 48px 0 40px;
    background: var(--warm-ivory);
    border-top: 1px solid rgba(40, 77, 59, 0.08);
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.site-footer .tagline { margin: 12px 0 0; max-width: 28em; color: var(--deep-sage); }

.site-footer h2 {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--soft-sage);
}

.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 8px; }
.site-footer li a { text-decoration: none; font-weight: 600; color: var(--deep-sage); }
.site-footer li a:hover { color: var(--forest); text-decoration: underline; }

.legal-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(40, 77, 59, 0.08);
    font-size: 14px;
    color: var(--soft-sage);
}

.legal-line p { margin: 0; }

/* Document pages (legal, support) */

.doc-page { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 8vw, 96px); }

.doc {
    max-width: 800px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 56px);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.doc h1 { margin: 0; font-size: clamp(32px, 4vw, 44px); font-weight: 800; }

.doc .meta { margin: 10px 0 28px; color: var(--soft-sage); font-size: 15px; font-weight: 600; }

.doc .intro { font-size: 18px; color: var(--deep-sage); }

.doc h2 {
    margin: 40px 0 12px;
    padding-top: 8px;
    font-size: 24px;
    font-weight: 800;
}

.doc h3 { margin: 24px 0 8px; font-size: 18px; font-weight: 800; }

.doc p, .doc li { color: #2f4d3f; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li + li { margin-top: 6px; }

.doc table {
    width: 100%;
    margin: 16px 0;
    border-collapse: collapse;
    font-size: 15px;
}
.doc th, .doc td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--input-border); }
.doc th { font-weight: 800; background: var(--pale-mint); }
.doc .table-scroll { overflow-x: auto; }

.toc {
    margin: 0 0 8px;
    padding: 20px 24px;
    border-radius: 16px;
    background: var(--pale-mint);
}
.toc h2 { margin: 0 0 8px; padding: 0; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--deep-sage); }
.toc ol { margin: 0; columns: 2; column-gap: 32px; font-size: 15px; }
.toc li { break-inside: avoid; }
.toc a { text-decoration: none; font-weight: 600; }
.toc a:hover { text-decoration: underline; }

.callout {
    margin: 24px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--leaf);
    border-radius: 0 14px 14px 0;
    background: var(--pale-mint);
}
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }

.callout.warn { border-left-color: #C27803; background: #FFF7E8; }

.draft-banner {
    max-width: 800px;
    margin: 0 auto 16px;
    padding: 12px 18px;
    border-radius: 14px;
    background: #FFF7E8;
    border: 1px solid #F2D8A7;
    color: #7A4B00;
    font-size: 14px;
    font-weight: 600;
}

mark.todo {
    padding: 1px 4px;
    border-radius: 4px;
    background: #FFF0C2;
    color: #6B4500;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0;
}

.contact-card {
    padding: 20px;
    border-radius: 16px;
    background: var(--pale-mint);
}
.contact-card h3 { margin: 0 0 4px; }
.contact-card p { margin: 0; }

details {
    border-bottom: 1px solid var(--input-border);
    padding: 14px 0;
}
details summary {
    cursor: pointer;
    font-weight: 800;
    font-size: 17px;
    list-style-position: outside;
}
details p { margin: 10px 0 0; }

/* Get page / 404 */

.center-page {
    min-height: calc(100vh - 72px);
    display: grid;
    place-items: center;
    padding: 40px 0;
}

.center-card {
    width: 100%;
    max-width: 480px;
    padding: clamp(28px, 5vw, 44px);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.center-card .heart { width: 80px; height: 80px; margin: 0 auto 16px; }
.center-card h1 { margin: 0; font-size: 30px; font-weight: 800; }
.center-card p { color: var(--deep-sage); }
.center-card .stores { justify-content: center; margin-top: 24px; }
.center-card .stores .store { width: 100%; justify-content: center; }
.center-card .store.highlight { outline: 3px solid var(--leaf); outline-offset: 3px; }

/* Responsive */

@media (max-width: 960px) {
    .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .float-card { left: -16px; }
}

@media (max-width: 820px) {
    .nav-toggle { display: grid; }

    .nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px var(--gutter) 20px;
        background: rgba(229, 237, 227, 0.98);
        border-bottom: 1px solid rgba(40, 77, 59, 0.08);
    }
    .nav.open { display: flex; }
    .nav a { padding: 12px 4px; font-size: 17px; }
    .nav .btn { margin-top: 8px; min-height: 48px; }

    .hero .wrap,
    .split { grid-template-columns: minmax(0, 1fr); }
    .hero .wrap { text-align: center; }
    .hero .lead { margin-left: auto; margin-right: auto; }
    .hero .stores { justify-content: center; }
    .phone { transform: none; margin-top: 12px; }
    .float-card { left: -8px; bottom: -14px; }

    .steps { grid-template-columns: minmax(0, 1fr); }
    .download { grid-template-columns: minmax(0, 1fr); text-align: center; }
    .download .stores { justify-content: center; }
    .qr { margin: 0 auto; }
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .features { grid-template-columns: minmax(0, 1fr); }
    .stores { flex-direction: column; align-items: stretch; }
    .store { justify-content: center; }
    .toc ol { columns: 1; }
    .contact-cards { grid-template-columns: minmax(0, 1fr); }
    .float-card { display: none; }
}
