/*
 * Public presentation page of RavenStock (site/index). Everything is scoped under body.landing so none of it leaks into
 * the dashboard theme. No inline styles anywhere in the view: every visual rule lives here.
 */

body.landing {
    --lp-primary: #0f7a6b;
    --lp-primary-dark: #0a5a50;
    --lp-primary-deep: #073b35;
    --lp-primary-soft: #e6f4f1;
    --lp-primary-softer: #f3faf8;
    --lp-accent: #f59e0b;
    --lp-accent-soft: #fff4dc;
    --lp-danger: #e5484d;
    --lp-danger-soft: #fdeceb;
    --lp-info: #2f6fed;
    --lp-info-soft: #e8efff;
    --lp-ink: #0f2a27;
    --lp-text: #35504c;
    --lp-muted: #6b807c;
    --lp-line: #dbe8e5;
    --lp-white: #ffffff;
    --lp-radius: 20px;
    --lp-radius-sm: 12px;
    --lp-shadow: 0 18px 50px -20px rgba(7, 59, 53, 0.35);
    --lp-shadow-sm: 0 8px 24px -12px rgba(7, 59, 53, 0.3);
    --lp-container: 1160px;

    margin: 0;
    background: var(--lp-white);
    color: var(--lp-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

/* Zero-specificity resets (:where): any single-class component rule below overrides them without needing !important. */
:where(body.landing) :where(a) {
    color: inherit;
    text-decoration: none;
}

:where(body.landing) :where(h1, h2, h3, h4) {
    margin: 0;
    color: var(--lp-ink);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

:where(body.landing) :where(p) {
    margin: 0;
}

:where(body.landing) :where(ul, ol) {
    margin: 0;
    padding: 0;
    list-style: none;
}

:where(body.landing) :where(img, svg) {
    max-width: 100%;
}

body.lp-menu-open {
    overflow: hidden;
}

.lp-container {
    width: 100%;
    max-width: var(--lp-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ------------------------------------------------------------------ buttons / badges */

.lp-btn {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.lp-btn:hover {
    transform: translateY(-2px);
}

.lp-btn--primary {
    background: var(--lp-primary);
    color: var(--lp-white);
    box-shadow: 0 10px 24px -10px rgba(15, 122, 107, 0.8);
}

.lp-btn--primary:hover {
    background: var(--lp-primary-dark);
    color: var(--lp-white);
}

.lp-btn--ghost {
    background: transparent;
    border-color: var(--lp-line);
    color: var(--lp-ink);
}

.lp-btn--ghost:hover {
    border-color: var(--lp-primary);
    color: var(--lp-primary);
}

.lp-btn--light {
    background: var(--lp-white);
    color: var(--lp-primary-dark);
}

.lp-btn--light:hover {
    color: var(--lp-primary-deep);
}

.lp-btn--outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--lp-white);
}

.lp-btn--outline-light:hover {
    border-color: var(--lp-white);
    background: rgba(255, 255, 255, 0.1);
    color: var(--lp-white);
}

.lp-btn--sm {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.lp-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 22px 10px 18px;
    border-radius: 14px;
    background: var(--lp-ink);
    color: var(--lp-white);
    transition: transform 0.15s ease, background 0.15s ease;
}

.lp-store:hover {
    transform: translateY(-2px);
    background: #000;
    color: var(--lp-white);
}

.lp-store i {
    font-size: 1.9rem;
    line-height: 1;
}

.lp-store small {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.75;
    line-height: 1.1;
}

.lp-store strong {
    display: block;
    font-size: 1.1rem;
    line-height: 1.15;
}

.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--lp-primary-soft);
    color: var(--lp-primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ------------------------------------------------------------------ header */

.lp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* The blur lives on a pseudo-element: backdrop-filter on the header itself would make it the containing block of the
   position:fixed mobile menu, collapsing the menu to the header's height. */
.lp-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
}

.lp-header.is-scrolled {
    border-bottom-color: var(--lp-line);
    box-shadow: 0 8px 24px -18px rgba(7, 59, 53, 0.4);
}

.lp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}

.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--lp-ink);
}

.lp-brand__logo {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    object-fit: cover;
}

.lp-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-dark));
    color: var(--lp-white);
    font-size: 1.2rem;
}

.lp-brand span span {
    color: var(--lp-primary);
}

.lp-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lp-nav__links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lp-nav__links a {
    position: relative;
    white-space: nowrap;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--lp-text);
    transition: color 0.15s ease;
}

.lp-nav__links a:hover,
.lp-nav__links a.is-active {
    color: var(--lp-primary);
}

.lp-nav__links a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 3px;
    border-radius: 3px;
    background: var(--lp-primary);
}

.lp-nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--lp-line);
    border-radius: 12px;
    background: var(--lp-white);
    color: var(--lp-ink);
    font-size: 1.4rem;
    cursor: pointer;
}

/* ------------------------------------------------------------------ hero */

.lp-hero {
    position: relative;
    padding: 72px 0 96px;
    background:
        radial-gradient(900px 480px at 85% -10%, rgba(15, 122, 107, 0.16), transparent 60%),
        radial-gradient(700px 420px at 0% 10%, rgba(245, 158, 11, 0.1), transparent 60%),
        linear-gradient(180deg, var(--lp-primary-softer), var(--lp-white));
    overflow: hidden;
}

.lp-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
}

.lp-hero__title {
    margin-top: 18px;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
}

.lp-hero__title em {
    font-style: normal;
    background: linear-gradient(90deg, var(--lp-primary), #19a98f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-hero__lead {
    margin-top: 22px;
    max-width: 560px;
    font-size: 1.2rem;
    color: var(--lp-text);
}

.lp-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.lp-hero__stores {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.lp-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 34px;
    color: var(--lp-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.lp-hero__proof li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lp-hero__proof i {
    color: var(--lp-primary);
    font-size: 1.1rem;
}

.lp-hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 600px;
}

.lp-glow {
    position: absolute;
    inset: 8% 6% 4% 6%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 122, 107, 0.28), transparent 68%);
    filter: blur(8px);
}

/* ------------------------------------------------------------------ phone mockup */

.lp-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--lp-primary-soft);
    color: var(--lp-primary-dark);
    font-size: 0.68rem;
    font-weight: 800;
}

.lp-pill--warn {
    background: var(--lp-accent-soft);
    color: #9a5a00;
}

.lp-pill--danger {
    background: var(--lp-danger-soft);
    color: #b02a30;
}

/* floating cards around the hero phone */

.lp-float {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 16px;
    background: var(--lp-white);
    box-shadow: var(--lp-shadow-sm);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--lp-ink);
    animation: lp-bob 6s ease-in-out infinite;
}

.lp-float i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--lp-primary-soft);
    color: var(--lp-primary);
    font-size: 1.2rem;
}

.lp-float small {
    display: block;
    font-weight: 500;
    color: var(--lp-muted);
    font-size: 0.74rem;
}

.lp-float--a {
    top: 4%;
    left: -16%;
}

.lp-float--b {
    top: 56%;
    right: -14%;
    animation-delay: 1.2s;
}

.lp-float--b i {
    background: var(--lp-accent-soft);
    color: #b86e00;
}

.lp-float--c {
    bottom: 2%;
    left: -10%;
    animation-delay: 2.4s;
}

.lp-float--c i {
    background: var(--lp-info-soft);
    color: var(--lp-info);
}

@keyframes lp-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* ------------------------------------------------------------------ sections */

.lp-section {
    padding: 96px 0;
}

.lp-section--soft {
    background: var(--lp-primary-softer);
}

.lp-section--dark {
    background: linear-gradient(160deg, var(--lp-primary-deep), #0b3f38 60%, #0e5a4f);
    color: rgba(255, 255, 255, 0.82);
}

.lp-section--dark h2,
.lp-section--dark h3,
.lp-section--dark h4 {
    color: var(--lp-white);
}

.lp-head {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.lp-head--left {
    margin-left: 0;
    text-align: left;
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--lp-primary);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lp-section--dark .lp-eyebrow {
    color: #6ee7cf;
}

.lp-title {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    font-weight: 800;
}

.lp-lead {
    margin-top: 16px;
    font-size: 1.15rem;
    color: var(--lp-muted);
}

.lp-section--dark .lp-lead {
    color: rgba(255, 255, 255, 0.72);
}

/* ------------------------------------------------------------------ audience strip */

.lp-strip {
    padding: 34px 0;
    border-block: 1px solid var(--lp-line);
    background: var(--lp-white);
}

.lp-strip__label {
    margin-bottom: 18px;
    text-align: center;
    color: var(--lp-muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lp-strip__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 14px;
}

.lp-strip__list li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    background: var(--lp-primary-softer);
    color: var(--lp-ink);
    font-weight: 700;
    font-size: 0.95rem;
}

.lp-strip__list i {
    color: var(--lp-primary);
}

/* ------------------------------------------------------------------ cards */

.lp-grid {
    display: grid;
    gap: 24px;
}

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

.lp-card {
    position: relative;
    padding: 30px 28px;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    background: var(--lp-white);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--lp-shadow-sm);
    border-color: transparent;
}

.lp-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: var(--lp-primary-soft);
    color: var(--lp-primary);
    font-size: 1.55rem;
}

.lp-card__icon--warn { background: var(--lp-accent-soft); color: #b86e00; }
.lp-card__icon--info { background: var(--lp-info-soft); color: var(--lp-info); }
.lp-card__icon--danger { background: var(--lp-danger-soft); color: #c0353b; }

.lp-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.lp-card p {
    color: var(--lp-muted);
    font-size: 1rem;
}

.lp-card .lp-badge {
    position: absolute;
    top: 22px;
    right: 22px;
}

.lp-card--problem {
    border-style: dashed;
    background: transparent;
}

.lp-checks {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.lp-checks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.98rem;
}

.lp-checks i {
    margin-top: 3px;
    color: var(--lp-primary);
}

.lp-section--dark .lp-checks i {
    color: #6ee7cf;
}

/* ------------------------------------------------------------------ showcase rows */

.lp-show {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 72px;
    padding: 44px 0;
}

.lp-show--reverse .lp-show__text {
    order: 2;
}

.lp-show__text h3 {
    margin-top: 6px;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
}

.lp-show__text > p {
    margin-top: 16px;
    color: var(--lp-muted);
    font-size: 1.1rem;
}

.lp-show__visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 28px 0;
}

.lp-show__visual::before {
    content: "";
    position: absolute;
    inset: 8% 8%;
    z-index: 0;
    border-radius: 36px;
    background: linear-gradient(135deg, var(--lp-primary-soft), var(--lp-primary-softer));
}

.lp-show__visual > * {
    position: relative;
    z-index: 1;
}

/* ------------------------------------------------------------------ browser / dashboard mockup */

.lp-browser {
    width: 100%;
    max-width: 560px;
    border-radius: 18px;
    background: var(--lp-white);
    box-shadow: var(--lp-shadow);
    overflow: hidden;
}

.lp-browser__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    background: #eef3f2;
}

.lp-browser__bar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #c7d6d3;
}

.lp-browser__bar em {
    flex: 1;
    margin-left: 12px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--lp-white);
    color: var(--lp-muted);
    font-size: 0.78rem;
    font-style: normal;
}

/* ------------------------------------------------------------------ payments */

.lp-pay {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lp-pay__item {
    padding: 26px 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--lp-radius);
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, transform 0.2s ease;
}

.lp-pay__item:hover {
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-4px);
}

.lp-pay__item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: rgba(110, 231, 207, 0.15);
    color: #6ee7cf;
    font-size: 1.4rem;
}

.lp-pay__item h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.lp-pay__item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ------------------------------------------------------------------ offline timeline */

.lp-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: lp-flow;
}

.lp-flow li {
    position: relative;
    padding: 56px 22px 24px;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    background: var(--lp-white);
    counter-increment: lp-flow;
}

.lp-flow li::before {
    content: counter(lp-flow);
    position: absolute;
    top: 18px;
    left: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--lp-primary);
    color: var(--lp-white);
    font-weight: 800;
    font-size: 0.9rem;
}

.lp-flow strong {
    display: block;
    margin-bottom: 6px;
    color: var(--lp-ink);
    font-size: 1.05rem;
}

.lp-flow span {
    color: var(--lp-muted);
    font-size: 0.97rem;
}

/* ------------------------------------------------------------------ invoicing */

.lp-invoice {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
}

.lp-doc {
    padding: 28px;
    border-radius: 22px;
    background: var(--lp-white);
    color: var(--lp-ink);
    box-shadow: var(--lp-shadow);
}

.lp-doc__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--lp-line);
    font-weight: 800;
}

.lp-doc__row {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--lp-primary-soft);
    font-size: 0.92rem;
}

.lp-doc__total {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 1.15rem;
    font-weight: 800;
}

.lp-doc__stamp {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--lp-primary-soft);
    color: var(--lp-primary-dark);
    font-weight: 700;
    font-size: 0.88rem;
}

/* ------------------------------------------------------------------ steps */

.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    counter-reset: lp-step;
}

.lp-step {
    position: relative;
    padding: 34px 28px;
    border-radius: var(--lp-radius);
    background: var(--lp-white);
    border: 1px solid var(--lp-line);
    counter-increment: lp-step;
}

.lp-step::before {
    content: counter(lp-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-dark));
    color: var(--lp-white);
    font-size: 1.3rem;
    font-weight: 800;
}

.lp-step h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.lp-step p {
    color: var(--lp-muted);
}

/* ------------------------------------------------------------------ plans */

.lp-plan {
    display: flex;
    flex-direction: column;
    padding: 36px 32px;
    border: 1px solid var(--lp-line);
    border-radius: 24px;
    background: var(--lp-white);
}

.lp-plan--featured {
    position: relative;
    border: 2px solid var(--lp-primary);
    box-shadow: var(--lp-shadow);
}

.lp-plan--featured > .lp-badge {
    position: absolute;
    top: -14px;
    left: 32px;
    background: var(--lp-primary);
    color: var(--lp-white);
}

.lp-plan h3 {
    font-size: 1.5rem;
}

.lp-plan > p {
    margin-top: 8px;
    color: var(--lp-muted);
}

.lp-plan .lp-checks {
    margin: 24px 0 32px;
}

.lp-plan .lp-btn {
    margin-top: auto;
}

.lp-note {
    margin-top: 28px;
    text-align: center;
    color: var(--lp-muted);
    font-size: 0.95rem;
}

/* ------------------------------------------------------------------ faq */

/* ------------------------------------------------------------------ call to action / contact */

.lp-cta {
    position: relative;
    padding: 72px 48px;
    border-radius: 32px;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-deep));
    color: var(--lp-white);
    text-align: center;
    overflow: hidden;
}

.lp-cta::before,
.lp-cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
}

.lp-cta::before {
    top: -120px;
    left: -80px;
    width: 320px;
    height: 320px;
}

.lp-cta::after {
    right: -90px;
    bottom: -140px;
    width: 380px;
    height: 380px;
}

.lp-cta > * {
    position: relative;
    z-index: 1;
}

.lp-cta h2 {
    color: var(--lp-white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

.lp-cta p {
    max-width: 640px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
}

.lp-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.lp-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 44px;
}

.lp-contact a,
.lp-contact div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border: 1px solid var(--lp-line);
    border-radius: 18px;
    background: var(--lp-white);
    color: var(--lp-ink);
    font-weight: 700;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lp-contact a:hover {
    transform: translateY(-3px);
    box-shadow: var(--lp-shadow-sm);
}

.lp-contact i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--lp-primary-soft);
    color: var(--lp-primary);
    font-size: 1.3rem;
}

.lp-contact small {
    display: block;
    color: var(--lp-muted);
    font-weight: 500;
    font-size: 0.85rem;
}

/* ------------------------------------------------------------------ footer */

.lp-footer {
    padding: 64px 0 32px;
    background: var(--lp-primary-deep);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.97rem;
}

.lp-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}

.lp-footer .lp-brand {
    color: var(--lp-white);
}

.lp-footer .lp-brand span span {
    color: #6ee7cf;
}

.lp-footer h4 {
    margin-bottom: 16px;
    color: var(--lp-white);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lp-footer li + li {
    margin-top: 10px;
}

.lp-footer a:hover {
    color: var(--lp-white);
}

.lp-footer__about {
    margin-top: 16px;
    max-width: 340px;
}

.lp-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.88rem;
}

/* ------------------------------------------------------------------ reveal on scroll */

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

[data-reveal="2"] { transition-delay: 0.1s; }
[data-reveal="3"] { transition-delay: 0.2s; }
[data-reveal="4"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .lp-float { animation: none; }
}

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
    .lp-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .lp-pay { grid-template-columns: repeat(2, 1fr); }
    .lp-flow { grid-template-columns: repeat(2, 1fr); }
    .lp-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
    .lp-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

    .lp-nav {
        position: fixed;
        top: 72px;
        right: 0;
        bottom: 0;
        left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        padding: 28px 24px;
        background: var(--lp-white);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.25s ease, visibility 0.25s;
        overflow-y: auto;
    }

    .lp-nav.is-open {
        transform: none;
        visibility: visible;
    }

    .lp-nav__links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .lp-nav__links a {
        padding: 16px 4px;
        border-bottom: 1px solid var(--lp-line);
        font-size: 1.1rem;
    }

    .lp-nav__links a.is-active::after { display: none; }
    .lp-nav__actions { flex-direction: column; align-items: stretch; }

    .lp-hero { padding: 40px 0 64px; }
    .lp-hero__grid,
    .lp-show,
    .lp-invoice { grid-template-columns: 1fr; gap: 40px; }
    .lp-show--reverse .lp-show__text { order: 0; }
    .lp-hero__visual { min-height: 0; padding-top: 24px; }
    .lp-float--a { left: 0; }
    .lp-float--b { right: 0; }
    .lp-grid--3,
    .lp-steps,
    .lp-contact { grid-template-columns: 1fr; }
    .lp-section { padding: 72px 0; }
}

@media (max-width: 640px) {
    body.landing { font-size: 1rem; }
    .lp-container { padding: 0 18px; }
    .lp-grid--2,
    .lp-grid--4,
    .lp-pay,
    .lp-flow,
    .lp-footer__grid { grid-template-columns: 1fr; }
    .lp-hero__lead { font-size: 1.08rem; }
    .lp-hero__cta .lp-btn { width: 100%; }
    .lp-float { display: none; }
    .lp-cta { padding: 52px 24px; border-radius: 24px; }
    .lp-cta__buttons .lp-btn { width: 100%; }
}

/* ------------------------------------------------------------------ small additions used by the view */

.lp-flow {
    list-style: none;
}

.lp-head--solution {
    margin-top: 80px;
    margin-bottom: 0;
}

.lp-grid--spaced {
    margin-top: 32px;
}

.lp-checks--wide {
    max-width: 820px;
    margin: 40px auto 0;
}

.lp-note--left {
    margin-top: 22px;
    text-align: left;
}

.lp-link {
    color: var(--lp-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lp-link:hover {
    color: var(--lp-primary-dark);
}

.lp-section--dark .lp-grid--3 .lp-pay__item {
    height: 100%;
}

/* ------------------------------------------------------------------ hero on the brand gradient (same layout idea as the other Ravensoft sites) */

.lp-hero {
    color: var(--lp-white);
    background:
        radial-gradient(900px 520px at 88% -8%, rgba(255, 255, 255, 0.16), transparent 62%),
        radial-gradient(520px 520px at -6% 108%, rgba(255, 255, 255, 0.08), transparent 62%),
        linear-gradient(135deg, #063a34 0%, #0f7a6b 58%, #19a98f 100%);
}

.lp-hero .lp-badge {
    background: rgba(255, 255, 255, 0.16);
    color: var(--lp-white);
}

.lp-hero__title {
    color: var(--lp-white);
}

.lp-hero__title em {
    background: none;
    color: #fcd34d;
}

.lp-hero__lead {
    color: rgba(255, 255, 255, 0.92);
}

.lp-hero__lead strong {
    color: var(--lp-white);
}

.lp-hero .lp-store {
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.lp-hero__proof {
    color: rgba(255, 255, 255, 0.88);
}

.lp-hero__proof i {
    color: #8ee8d3;
}

.lp-hero .lp-glow {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 66%);
}

.lp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 24px;
    margin: 36px 0 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.lp-stats dt {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.lp-stats dd {
    margin: 2px 0 0;
    font-size: 0.82rem;
    line-height: 1.35;
    opacity: 0.85;
}

/* ------------------------------------------------------------------ real screenshots: phone and browser frames */

.lp-device {
    position: relative;
    width: 272px;
    margin: 0;
    padding: 9px;
    border-radius: 40px;
    background: #10211f;
    box-shadow: var(--lp-shadow), inset 0 0 0 2px #2b4541;
}

.lp-device img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 32px;
}

.lp-device--tilt-left {
    transform: rotate(-3deg);
}

.lp-device--tilt-right {
    transform: rotate(3deg);
}

.lp-duo {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.lp-duo .lp-device--left {
    z-index: 1;
    width: 228px;
    margin-top: 70px;
    margin-right: -64px;
    transform: rotate(-5deg);
}

.lp-duo .lp-device--right {
    z-index: 2;
    transform: rotate(4deg);
}

.lp-duo--show .lp-device {
    width: 244px;
}

.lp-duo--show .lp-device--left {
    margin-top: 44px;
    margin-right: -34px;
}

.lp-browser--shot {
    max-width: none;
    border: 1px solid var(--lp-line);
}

.lp-browser--shot img {
    display: block;
    width: 100%;
    height: auto;
}

.lp-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
    margin-top: 56px;
}

.lp-gallery__item {
    margin: 0;
}

.lp-gallery__item figcaption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 16px;
    padding: 0 6px;
}

.lp-gallery__item figcaption strong {
    color: var(--lp-ink);
    font-size: 1.05rem;
}

.lp-gallery__item figcaption span {
    color: var(--lp-muted);
    font-size: 0.95rem;
}

/* ------------------------------------------------------------------ before/after and benefits */

.lp-pairs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 36px;
}

.lp-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 15px 18px;
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    background: var(--lp-white);
    font-size: 0.97rem;
    font-weight: 600;
    text-align: center;
}

.lp-pair s {
    color: var(--lp-muted);
}

.lp-pair b {
    color: var(--lp-primary-dark);
}

.lp-pair__arrow {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lp-primary-soft);
    color: var(--lp-primary);
}

.lp-head--solution + .lp-grid {
    margin-top: 44px;
}

.lp-benefit {
    padding: 26px;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    background: var(--lp-primary-softer);
}

.lp-benefit h3 {
    margin-top: 16px;
    font-size: 1.12rem;
}

.lp-benefit p {
    margin-top: 8px;
    color: var(--lp-muted);
    font-size: 0.98rem;
}

@media (max-width: 920px) {
    .lp-hero .lp-device--right { width: 240px; }
    .lp-duo .lp-device--left { width: 210px; }
}

@media (max-width: 640px) {
    .lp-pairs,
    .lp-gallery { grid-template-columns: 1fr; }
    .lp-device { width: 220px; }
    .lp-duo .lp-device--left,
    .lp-duo--show .lp-device { width: 190px; }
    .lp-duo .lp-device--left { margin-right: -44px; margin-top: 48px; }
    .lp-device--tilt-left,
    .lp-device--tilt-right { transform: none; }
}

/* ------------------------------------------------------------------ mobile menu */

.lp-nav__title,
.lp-nav__extra,
.lp-nav__links .bi:not(.lp-nav__go),
.lp-nav__go {
    display: none;
}

@media (max-width: 920px) {
    .lp-nav {
        justify-content: flex-start;
        gap: 18px;
        padding: 22px 20px 28px;
        background:
            radial-gradient(420px 260px at 100% 0%, rgba(25, 169, 143, 0.16), transparent 70%),
            linear-gradient(180deg, var(--lp-white), var(--lp-primary-softer));
    }

    .lp-nav__title {
        display: block;
        padding: 0 6px;
        color: var(--lp-muted);
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .lp-nav__links {
        gap: 8px;
    }

    .lp-nav__links a {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
        border: 1px solid var(--lp-line);
        border-radius: 16px;
        background: var(--lp-white);
        box-shadow: 0 6px 16px -12px rgba(7, 59, 53, 0.4);
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--lp-ink);
        opacity: 0;
        transform: translateY(10px);
    }

    .lp-nav__links a > span {
        flex: 1;
    }

    .lp-nav__links .bi:not(.lp-nav__go) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 12px;
        background: var(--lp-primary-soft);
        color: var(--lp-primary);
        font-size: 1.15rem;
    }

    .lp-nav__links .lp-nav__go {
        display: inline-flex;
        color: var(--lp-muted);
        font-size: 0.9rem;
    }

    .lp-nav__links a.is-active {
        border-color: var(--lp-primary);
        background: var(--lp-primary-softer);
        color: var(--lp-primary-dark);
    }

    .lp-nav.is-open .lp-nav__links a {
        opacity: 1;
        transform: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .lp-nav.is-open .lp-nav__links a:nth-child(1) { transition-delay: 0.05s; }
    .lp-nav.is-open .lp-nav__links a:nth-child(2) { transition-delay: 0.09s; }
    .lp-nav.is-open .lp-nav__links a:nth-child(3) { transition-delay: 0.13s; }
    .lp-nav.is-open .lp-nav__links a:nth-child(4) { transition-delay: 0.17s; }
    .lp-nav.is-open .lp-nav__links a:nth-child(5) { transition-delay: 0.21s; }
    .lp-nav.is-open .lp-nav__links a:nth-child(6) { transition-delay: 0.25s; }

    .lp-nav__actions .lp-btn {
        justify-content: center;
        padding: 15px 20px;
        font-size: 1.05rem;
    }

    .lp-nav__extra {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: auto;
        padding-top: 18px;
        border-top: 1px solid var(--lp-line);
    }

    .lp-nav__extra a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px;
        border-radius: 14px;
        background: var(--lp-ink);
        color: var(--lp-white);
        font-size: 0.92rem;
        font-weight: 700;
    }

    .lp-nav__extra a:last-child {
        grid-column: 1 / -1;
        background: #1fa855;
    }
}
