/* Homepage layout: film-first hero, then one band per selling point of the film.
   Colours come from the design-system tokens; the deep teal band is the page's one dark moment. */
/* Hero */
.home-hero { position: relative; overflow: hidden; padding: 132px 20px 72px; background: linear-gradient(180deg, #cdf3e6 0%, #eefaf5 46%, #fff 100%); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.home-hero h1 { margin: 0 0 18px; }
.home-hero-hook { display: block; font-size: clamp(2.3rem, 4.3vw, 3.9rem); }
.home-hero-hook em { font-style: normal; color: var(--color-primary); }
.home-hero-kicker { display: block; margin-top: 18px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 700; letter-spacing: .04em; color: var(--rv-green-700); line-height: 1.5; }
.home-hero-typing { font-size: 1.15rem; color: #444; margin: 0 0 12px; }
.home-hero-lead { font-size: 1rem; color: var(--page-muted); margin: 0 0 28px; max-width: 34em; line-height: 1.8; }
.home-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.home-hero-proof { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem; color: var(--page-muted); }
.home-hero-proof i { color: var(--color-primary); margin-right: 6px; }

.promo-video { position: relative; }
.promo-video::before { content: ''; position: absolute; inset: 22px -18px -18px 22px; border-radius: 20px; background: var(--color-primary); opacity: .16; }
.promo-video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(0, 50, 35, .22), 0 0 0 1px var(--page-line); }
.promo-video video { display: block; width: 100%; height: 100%; object-fit: contain; background: #f6f8f7; }
/* Fullscreen keeps the film's 16:9 shape and letterboxes the rest */
.promo-video video:fullscreen { object-fit: contain; background: #000; }
.promo-video video:-webkit-full-screen { object-fit: contain; background: #000; }
.promo-video-sound { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 9px 18px 9px 14px; font-size: .95rem; font-weight: 700; color: #fff; background: rgba(0, 60, 45, .86); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.promo-video-sound:hover { background: var(--page-teal); transform: translateY(-1px); }
.promo-video-sound:focus-visible { outline: 3px solid var(--rv-orange-400); outline-offset: 2px; }

/* Figures strip */
.home-figures { border-block: 1px solid var(--page-line); background: #fff; padding: 0 20px; }
.home-figures-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1100px; margin: 0 auto; }
.home-figure { padding: 34px 16px; text-align: center; border-left: 1px solid var(--page-line); }
.home-figure:first-child { border-left: 0; }
.home-figure b { display: block; font-family: 'Inter', sans-serif; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.1; color: var(--page-teal); font-variant-numeric: tabular-nums; }
.home-figure b small { font-size: .5em; font-weight: 700; color: var(--rv-orange-400); margin-right: 2px; }
.home-figure span { display: block; margin-top: 8px; font-size: .98rem; color: var(--page-muted); }

/* Journey */
.home-journey { background: #fff; }
.home-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1100px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.home-step { position: relative; padding: 28px 24px 26px; border-radius: 16px; background: var(--page-mint); counter-increment: step; }
.home-step::before { content: '0' counter(step); position: absolute; top: 22px; right: 24px; font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--rv-green-700); opacity: .55; }
.home-step i { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--rv-green-700); font-size: 1.5rem; margin-bottom: 18px; }
.home-step h3 { font-size: 1.35rem; font-weight: 800; margin: 0 0 8px; }
.home-step p { font-size: 1rem; color: #4a5752; margin: 0; line-height: 1.75; }
.home-step:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: -14px; width: 8px; height: 8px; border-top: 2.5px solid var(--color-primary); border-right: 2.5px solid var(--color-primary); transform: translateY(-50%) rotate(45deg); z-index: 1; }

.feature-showcase .section-title .rv-display { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }

/* Industries */
.home-industries { background: linear-gradient(180deg, #fff 0%, var(--page-mint) 100%); }
.home-industry-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; }
.home-industry { display: flex; flex-direction: column; padding: 26px 22px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--page-line); color: inherit; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.home-industry:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0, 50, 35, .12); border-color: var(--color-primary); color: inherit; }
.home-industry:focus-visible { outline: 3px solid var(--rv-orange-400); outline-offset: 2px; }
.home-industry > i { font-size: 1.9rem; color: var(--color-primary); margin-bottom: 14px; }
.home-industry h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 8px; }
.home-industry p { font-size: .93rem; color: var(--page-muted); margin: 0 0 18px; line-height: 1.7; flex: 1; }
.home-industry span { font-size: .93rem; font-weight: 700; color: var(--rv-green-700); }

/* Widget band */
.home-widget { background: var(--page-teal); color: #fff; }
.home-widget .rv-display, .home-widget .rv-eyebrow { color: #fff; }
.home-widget .rv-eyebrow { opacity: .75; }
.home-widget .rv-section-head p { color: rgba(255, 255, 255, .78); }
.home-widget-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; max-width: 1100px; margin: 0 auto; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; overflow: hidden; }
.home-widget-item { padding: 30px 28px; background: var(--page-teal); }
.home-widget-item i { font-size: 1.6rem; color: #7fe0b9; }
.home-widget-item h3 { font-size: 1.12rem; font-weight: 700; margin: 14px 0 6px; color: #fff; }
.home-widget-item p { font-size: .95rem; margin: 0; color: rgba(255, 255, 255, .72); line-height: 1.7; }
.home-widget .rv-more a { color: #7fe0b9; }

/* Pricing */
.home-pricing { background: #fff; padding-bottom: 40px; }
.home-pricing .rv-display em { font-style: normal; color: #e7526c; font-size: 1.25em; font-family: 'Inter', sans-serif; }
.home-pricing-reasons { max-width: 620px; margin: 0 auto; text-align: center; color: #4a5752; font-size: 1.05rem; line-height: 1.9; }
.home-plan-note { text-align: center; color: var(--page-muted); font-size: .92rem; margin: 22px 0 0; }

/* Local support */
.home-support { background: var(--page-mint); }
.home-support-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; max-width: 1100px; margin: 0 auto; }
.home-support .rv-display { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 16px; }
.home-support-copy p { font-size: 1.08rem; color: #4a5752; line-height: 1.85; margin: 0 0 26px; }
.home-chat { display: flex; flex-direction: column; gap: 12px; }
.home-chat p { margin: 0; max-width: 88%; padding: 14px 22px 16px; border-radius: 22px; font-size: 1.05rem; line-height: 1.6; box-shadow: 0 8px 22px rgba(0, 50, 35, .08); }
.home-chat .q { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; }
.home-chat .a { align-self: flex-end; background: var(--color-primary); color: #fff; font-weight: 700; border-bottom-right-radius: 6px; }

/* Final CTA */
.card-tilted-left { transform: rotate(-3deg); }
.card-tilted-right { transform: rotate(3deg); }
.tilted-card { width: 280px; border-radius: 1rem; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); }
.tilted-card li { margin-bottom: .5rem; }
.tilted-card li i { color: var(--color-primary); margin-right: 8px; }
.start-to-use-reservalue { background: linear-gradient(355deg, #c2f3ee 0%, rgba(255, 255, 255, 0) 70%); text-align: center; }
.handwritten-slogan { font-family: 'Caveat', cursive; font-size: 3rem; font-weight: 600; line-height: 1.2; margin: 3rem auto 0; letter-spacing: 0.01em; }
.handwritten-slogan .slogan-smart { color: #00758a; }

@media (max-width: 991px) {
    .home-hero { padding: 108px 20px 56px; }
    .home-hero-grid, .home-support-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .home-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-step:not(:last-child)::after { display: none; }
    .home-industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-widget-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .home-figures-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-figure { padding: 24px 8px; }
    .home-figure:nth-child(3) { border-left: 0; }
    .home-figure:nth-child(n+3) { border-top: 1px solid var(--page-line); }
    .promo-video::before { inset: 14px -8px -10px 14px; }
    .card-tilted-left, .card-tilted-right { transform: none; margin-bottom: 1rem; }
    .handwritten-slogan { font-size: 2.4rem; }
}
@media (max-width: 575px) {
    .home-steps, .home-industry-grid, .home-widget-grid { grid-template-columns: minmax(0, 1fr); }
}
