/* Vybit www home page in the landing-page look (same palette and shapes as landing.css).
   Loaded only by client/www/index.html, after www.css, and scoped to body.vhome, so the
   blog, the /public pages and the app (which share www.css, vybit.css and the marketing
   header) are not affected. Styles and layout only: no copy lives here.

   Layout: a dark ember hero that fills the screen (headline, sound search), then full-width
   bands, each with its own colour: "Works with" (orange), the three use cases (peach), the
   blog teaser (ink), the docs accordion (stone) and the motto (ember). The footer is a
   static ink strip. */

body.vhome {
    --vh-ink: #1c1c1e;
    --vh-orange: #ff6f00;
    --vh-amber: #ff9d12;
    --vh-ember: #1d0c04;
    --vh-peach: #ffe9d2;
    --vh-stone: #f1ebe4;
    --vh-line: #e2d8cd;
    --vh-muted: #5c5650;
    --vh-link: #a84600;
    --vh-wrap: 1180px;
    background: var(--vh-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: var(--vh-ink);
}

/* the app shell's spacing for its fixed header and footer, and its watermark, are not used here */
body.vhome .vwwwb { padding: 0; }
body.vhome .vwww { padding-top: 0; background: none; }
body.vhome .vwww::before { display: none; }
body.vhome .vdocbox { padding-bottom: 0; }

/* --- Header: the shared marketing header, on the ember field --- */

body.vhome .vheader {
    background: rgba(29, 12, 4, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
body.vhome .vheader.vheader-scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.4); }
body.vhome .vheader-inner { max-width: var(--vh-wrap); margin: 0 auto; }
body.vhome .vbrand-logo { border-radius: 8px; }
body.vhome .vprimary-nav > a::after { background: var(--vh-amber); }
body.vhome .vheader-actions a.vsignin {
    background: var(--vh-orange);
    color: var(--vh-ink);
    box-shadow: none;
    padding: 9px 20px;
    font-size: 15px;
}
body.vhome .vheader-actions a.vsignin:hover { background: var(--vh-amber); transform: none; box-shadow: none; }
body.vhome .vheader a:focus-visible, body.vhome .vnav-burger:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* --- Hero --- */

body.vhome #intro.vtagline {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 96px 24px 40px;
    color: #fff;
    font-style: normal;
    text-align: center;
    background:
        radial-gradient(ellipse 70% 62% at 50% 108%, #ff7a00 0%, #e25e00 16%, rgba(168, 62, 0, 0.75) 40%, rgba(92, 31, 0, 0) 76%),
        radial-gradient(ellipse 50% 60% at 0% 0%, rgba(122, 44, 0, 0.55) 0%, rgba(122, 44, 0, 0) 70%),
        linear-gradient(175deg, var(--vh-ember) 0%, #2e1205 58%, #4a1c05 100%);
}
body.vhome #intro .vblock { padding-bottom: 0; }
body.vhome .vtagline h1.vib {
    font-size: clamp(2.6rem, 6.4vw, 5.2rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 0 0 16px;
    text-wrap: balance;
}
body.vhome .vtagline h2.vib {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    opacity: 1;
    color: #ffb35c;
}
body.vhome .vtagline .vsubtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    line-height: 1.45;
    max-width: 44ch;
    margin: 0 auto;
    opacity: 1;
    color: #f6e9dd;
}

/* sound search: one white pill with the orange GO button */
body.vhome div.vsdemobox { width: 100%; }
body.vhome div.vsdemo { display: block; width: min(580px, 100%); margin: 34px auto 0; }
body.vhome div.vsdemo .input-group {
    height: 64px;
    margin: 0 !important;
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
    flex-wrap: nowrap;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.4), 0 0 70px rgba(255, 122, 0, 0.3);
}
body.vhome div.vsdemoimg { background: #fff; border: 0; border-radius: 0; padding: 0 4px 0 14px; }
body.vhome img.vsdemo { height: 40px; width: 40px; border-radius: 10px; }
body.vhome input.vsdemo {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 12px;
    font-size: 1.15rem;
    color: var(--vh-ink);
    background: #fff;
}
body.vhome button.vsdemo {
    width: auto;
    padding: 0 28px;
    white-space: nowrap;
    flex: none;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: var(--vh-orange);
    color: var(--vh-ink);
    font-weight: 800;
    font-size: 1.1rem;
}
body.vhome button.vsdemo:hover { background: var(--vh-amber); }
body.vhome div.vsdemo .input-group:focus-within { outline: 3px solid #fff; outline-offset: 3px; }

/* Sound waves radiating from the word "Hear", after the rings in the Vybit logo.
   Six empty rings grow and fade in turn (transform and opacity only); with reduced
   motion they stand still. They sit behind the hero text. */
body.vhome #intro.vtagline { position: relative; z-index: 0; overflow: hidden; }
body.vhome .vh-hear { position: relative; display: inline-block; }
body.vhome .vh-waves { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: -1; pointer-events: none; }
/* the logo's V, faint, at the source of the waves (behind the word) */
body.vhome .vh-v {
    position: absolute;
    left: -86px;
    top: -110px;
    width: 172px;
    height: 220px;
    fill: #ffb35c;
    opacity: 0.13;
}
body.vhome .vh-waves i {
    position: absolute;
    left: -900px;
    top: -900px;
    width: 1800px;
    height: 1800px;
    border: 2px solid #ffb35c;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.05);
    animation: vh-wave 18s linear infinite;
}
body.vhome .vh-waves i:nth-child(2) { animation-delay: -3s; }
body.vhome .vh-waves i:nth-child(3) { animation-delay: -6s; }
body.vhome .vh-waves i:nth-child(4) { animation-delay: -9s; }
body.vhome .vh-waves i:nth-child(5) { animation-delay: -12s; }
body.vhome .vh-waves i:nth-child(6) { animation-delay: -15s; }
@keyframes vh-wave {
    0% { transform: scale(0.05); opacity: 0; }
    10% { opacity: 0.42; }
    100% { transform: scale(1); opacity: 0; }
}
/* With reduced motion the rings do not move. They stand at fixed sizes and a soft glow
   passes outward from ring to ring (opacity only), so the sound still reads as travelling. */
@media (prefers-reduced-motion: reduce) {
    body.vhome .vh-waves i { opacity: var(--vh-o); animation: vh-glow 14s ease-in-out infinite; }
    body.vhome .vh-waves i:nth-child(1) { transform: scale(0.14); --vh-o: 0.26; animation-delay: 0s; }
    body.vhome .vh-waves i:nth-child(2) { transform: scale(0.28); --vh-o: 0.21; animation-delay: 0.9s; }
    body.vhome .vh-waves i:nth-child(3) { transform: scale(0.42); --vh-o: 0.16; animation-delay: 1.8s; }
    body.vhome .vh-waves i:nth-child(4) { transform: scale(0.56); --vh-o: 0.12; animation-delay: 2.7s; }
    body.vhome .vh-waves i:nth-child(5) { transform: scale(0.7); --vh-o: 0.08; animation-delay: 3.6s; }
    body.vhome .vh-waves i:nth-child(6) { transform: scale(0.84); --vh-o: 0.05; animation-delay: 4.5s; }
}
@keyframes vh-glow {
    0%, 30%, 100% { opacity: var(--vh-o); }
    12% { opacity: calc(var(--vh-o) * 3); }
}

/* --- Bands --- */

body.vhome .vh-band { padding: 80px 24px; }
body.vhome .vh-wrap { max-width: var(--vh-wrap); margin: 0 auto; }
/* brand orange: it picks up the glow at the foot of the hero */
body.vhome .vh-band-works { background: linear-gradient(135deg, var(--vh-amber) 0%, var(--vh-orange) 100%); }
body.vhome .vh-band-personas { background: var(--vh-peach); }
body.vhome .vh-band-blog { background: var(--vh-ink); padding-top: 56px; padding-bottom: 56px; }
body.vhome .vh-band-docs { background: var(--vh-stone); }

/* "Works with": the label and the store badges on one row, the platform and assistant icons below */
/* a quiet label at the start of the badge row, not a section headline */
body.vhome .vh-works-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    margin: 0 6px 0 0;
    align-self: center;
    white-space: nowrap;
}
body.vhome .vstorelinks { width: auto; margin: 0; padding: 0; gap: 16px; }
body.vhome .vstorelinks::before { content: ""; flex-basis: 100%; height: 0; order: 1; }
body.vhome .vstorelinks > span { display: inline-flex; }
body.vhome .vstorelinks > span:nth-of-type(n+5) { order: 2; }
body.vhome .vstorelinks a { display: inline-flex; border-radius: 16px; }
body.vhome .vstorelinks a:focus-visible { outline: 3px solid var(--vh-ink); outline-offset: 3px; }
/* the badges are 40px-tall bitmaps, so they are only nudged up */
/* official badge artwork, used as provided; the shadow follows each badge's own shape */
body.vhome .vstorelinks .vstore_image { height: 46px; width: auto; margin: 0; border-radius: 0; filter: drop-shadow(0 6px 10px rgba(90, 35, 0, 0.28)); }
/* the IFTTT and Zapier logos sit on white tiles: their orange marks would vanish on the orange band */
body.vhome .vstorelinks .vstore_tile { box-sizing: border-box; padding: 12px 16px; background: #fff; border-radius: 8px; }
body.vhome img.vplatform_icon {
    height: 68px;
    width: 68px;
    margin: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(90, 35, 0, 0.28);
}
/* a small name tag under each platform and assistant icon on hover or keyboard focus;
   the "/ ''" keeps it out of the link's accessible name, which the icon's alt already gives */
body.vhome .vstorelinks a[data-tip] { position: relative; }
body.vhome .vstorelinks a[data-tip]::after {
    content: attr(data-tip);
    content: attr(data-tip) / "";
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, -3px);
    padding: 3px 9px 4px;
    border-radius: 999px;
    background: rgba(28, 28, 30, 0.86);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 2;
}
@media (hover: hover) {
    body.vhome .vstorelinks a[data-tip]:hover::after { opacity: 1; transform: translate(-50%, 0); transition-delay: 0.12s; }
}
body.vhome .vstorelinks a[data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) {
    body.vhome .vstorelinks a[data-tip]::after { transition: opacity 0.15s ease; transform: translate(-50%, 0); }
}

/* the three use cases, as cards */
body.vhome .vpersona-rows {
    max-width: none;
    margin: 0;
    border: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
body.vhome .vpersona-rows a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 28px 28px 26px;
    border: 0;
    border-radius: 24px;
    background: #fff;
    color: var(--vh-ink);
    box-shadow: 0 2px 0 rgba(120, 60, 0, 0.12), 0 18px 36px rgba(120, 60, 0, 0.1);
}
body.vhome .vpersona-rows a:focus-visible { outline: 3px solid var(--vh-ink); outline-offset: 3px; }
body.vhome .vp-wave { width: 58px; height: 48px; }
body.vhome .vp-title { font-size: 1.35rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; }
body.vhome .vpersona-rows a:hover .vp-title { color: var(--vh-link); }
body.vhome .vp-sub { display: inline-block; margin-top: 8px; font-size: 1rem; line-height: 1.5; color: #3a3632; }
body.vhome .vp-go { margin-top: auto; font-size: 1.05rem; color: var(--vh-link); }
body.vhome .vpricingline { margin-top: 32px; font-size: 1.15rem; color: #3a3632; }
body.vhome .vpricingline b { color: var(--vh-ink); }

/* blog teaser */
/* no card: the teaser is the only thing in its band, so it sits straight on the ink */
body.vhome .vblog-teaser { margin: 0; padding: 0; border: 0; border-radius: 0; color: #fff; }
body.vhome .vblog-teaser-label { font-size: 0.95rem; font-weight: 700; color: #ffbe73; margin-bottom: 8px; }
body.vhome #vblogTeaserLink {
    display: inline-block;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
    text-decoration: none;
    margin-bottom: 8px;
}
body.vhome #vblogTeaserLink:hover { text-decoration: underline; }
body.vhome #vblogTeaserDesc { margin: 0 0 14px; color: #d6d0c9; }
body.vhome #vblogTeaserMore { font-weight: 700; color: #ffbe73; text-decoration: none; }
body.vhome #vblogTeaserMore:hover { text-decoration: underline; }
body.vhome .vblog-teaser a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* the route's intro (pricing, FAQ and the other www routes), above the docs */
body.vhome .vroute-intro {
    margin: 0 0 20px;
    padding: 28px 32px 30px;
    border: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--vh-amber) 0%, var(--vh-orange) 100%);
    font-size: 1.1rem;
    line-height: 1.55;
}
body.vhome .vroute-intro h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 10px; }

/* docs accordion: one white card per section */
body.vhome #vybitDocs {
    --bs-accordion-border-width: 0;
    --bs-accordion-btn-focus-box-shadow: none;
    /* keep the open section's chevron dark instead of Bootstrap's blue */
    --bs-accordion-btn-active-icon: var(--bs-accordion-btn-icon);
}
body.vhome #vybitDocs .accordion-item {
    background-color: #fff !important;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 12px;
    scroll-margin-top: 72px;
}
body.vhome #vybitDocs .accordion-item:last-child { margin-bottom: 0; }
/* the template's trailing line breaks made room for the old fixed footer */
body.vhome .vh-band-docs .vh-wrap > br { display: none; }
body.vhome #vybitDocs .vcard-header { background: none; margin: 0; }
body.vhome #vybitDocs .accordion-button {
    padding: 20px 24px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--vh-ink);
    background-color: #fff !important;
    box-shadow: none;
    border-radius: 0;
}
body.vhome #vybitDocs .accordion-button:not(.collapsed) { box-shadow: inset 0 -1px 0 var(--vh-line); }
body.vhome #vybitDocs .accordion-button:focus-visible { outline: 3px solid var(--vh-ink); outline-offset: -3px; }
body.vhome #vybitDocs .accordion-collapse { background-color: #fff !important; }
body.vhome #vybitDocs .accordion-body { padding: 22px 24px 28px; font-size: 1.02rem; line-height: 1.65; }
body.vhome #vybitDocs .accordion-body a { color: var(--vh-link); }
body.vhome .vcode { background-color: var(--vh-stone); border-radius: 6px; padding: 2px 6px; }
body.vhome .vnote { background-color: var(--vh-stone); border-radius: 10px; padding: 8px 12px; }

/* plan cards inside "Is Vybit Free?" */
body.vhome #vybitDocs .accordion-body a:has(> .vscard-container) { display: block; text-decoration: none; }
body.vhome .vscard-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 24px 0 4px;
    font-family: inherit;
}
/* shape and type only: the plan colours are the originals from vybit.css */
body.vhome .vscard {
    width: auto;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 22px;
    box-shadow: none;
    transition: none;
}
body.vhome .vscard:hover { transform: none; box-shadow: none; }
body.vhome .vscard-team { box-shadow: none; }
body.vhome .vscard h3 { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 0 0 12px; }
body.vhome .vscard p { font-size: 0.98rem; line-height: 1.5; margin: 0 0 12px; }
body.vhome .vscard .vscard-for { font-size: 0.98rem; font-style: normal; opacity: 1; min-height: 0; font-weight: 600; }
body.vhome .vscard .vscard-caps { font-size: 0.92rem; opacity: 0.9; margin-top: 0; }
body.vhome .vscard .price { margin: auto 0 0; padding-top: 14px; font-size: 1.15rem; font-weight: 800; border-top: 1px solid rgba(128, 128, 128, 0.4); }
body.vhome .vscard-pro .price, body.vhome .vscard-team .price, body.vhome .vscard-business .price { border-top-color: rgba(255, 255, 255, 0.4); }

/* --- Closing band: the motto, on the ember field again (as on the landing pages) --- */

body.vhome .vh-band-motto {
    padding: 96px 24px 104px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(ellipse 60% 90% at 50% 120%, #ff7a00 0%, rgba(214, 86, 0, 0.7) 35%, rgba(92, 31, 0, 0) 75%),
        linear-gradient(180deg, var(--vh-ember) 0%, #3a1604 100%);
}
body.vhome .vh-motto {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0;
    text-wrap: balance;
}

/* sign-up button under the motto (same shape as the landing pages' button) */
body.vhome a.vh-cta {
    display: inline-block;
    margin-top: 30px;
    padding: 22px 46px;
    border-radius: 999px;
    background: var(--vh-orange);
    color: var(--vh-ink);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(255, 111, 0, 0.35);
}
body.vhome a.vh-cta:hover { background: var(--vh-amber); }
body.vhome a.vh-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* --- Footer: a static ink strip instead of the fixed orange bar --- */

body.vhome .vfooter {
    position: static;
    width: 100%;
    height: auto;
    padding: 26px 24px 30px;
    background: var(--vh-ink);
    box-shadow: none;
}
body.vhome .vfooter .vterms { font-size: 12.5px; line-height: 2; color: #8f8983; padding: 0; }
body.vhome .vfooter .vterms a { color: #cfc8c0; }
body.vhome .vfooter .vterms a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* --- Smaller screens --- */

@media (max-width: 992px) {
    body.vhome .vprimary-nav { background: #2a1105; }
    body.vhome .vprimary-nav > a.vnav-active { background: rgba(255, 255, 255, 0.1); }
    body.vhome .vpersona-rows { grid-template-columns: minmax(0, 1fr); }
    body.vhome .vh-band { padding: 56px 20px; }
    body.vhome .vh-band-blog { padding-top: 40px; padding-bottom: 40px; }
    body.vhome .vh-band-motto { padding: 64px 20px 72px; }
}

@media (max-width: 640px) {
    body.vhome { font-size: 16px; }
    body.vhome #intro.vtagline { padding: 84px 20px 32px; }
    body.vhome div.vsdemo .input-group { height: 58px; }
    body.vhome button.vsdemo { padding: 0 16px; font-size: 1rem; }
    body.vhome .vstorelinks { gap: 12px; }
    body.vhome .vstorelinks .vstore_image { height: 40px; }
    body.vhome .vstorelinks .vstore_tile { padding: 10px 14px; }
    body.vhome img.vplatform_icon { height: 56px; width: 56px; border-radius: 14px; }
    body.vhome .vh-waves i { left: -600px; top: -600px; width: 1200px; height: 1200px; }
    /* smaller, so it stays on screen beside the left-hand word */
    body.vhome .vh-v { left: -42px; top: -54px; width: 84px; height: 107px; }
    body.vhome .vpersona-rows a { padding: 24px; }
    body.vhome #vybitDocs .accordion-button { padding: 18px 18px; font-size: 1.08rem; }
    body.vhome #vybitDocs .accordion-body { padding: 18px 18px 24px; }
    body.vhome .vroute-intro { padding: 24px; }
}
