/* ---------------------------------------------------------------------------
   The public page.

   Polar light: a snow-pale ground, whole bands of glacier blue rather than a
   small accent pop, and polar night for the hero and the close. No gradients
   anywhere - a blue gradient is the one thing this palette would collapse into.

   Self-contained. It does not depend on the admin stylesheet, and nothing in
   here leaks into the application chrome.
   --------------------------------------------------------------------------- */

:root {
    --snow:        #F4F7F8;
    --snow-2:      #FFFFFF;
    --glacier:     #DCE9EE;
    --glacier-2:   #C9DCE4;
    --deep:        #0B1219;
    --deep-2:      #121C26;

    --ink:         #0E1620;
    --ink-soft:    #4A5763;
    --ink-faint:   #7B8794;
    --on-deep:     #E7EEF2;
    --on-deep-soft:#9DB0BE;

    --accent:      #0F6C7E;
    --accent-deep: #0A505E;
    --accent-lift: #58C5D6;

    --rule:        #CBD8DE;
    --rule-soft:   #E1EAEE;

    --font-head: "Newsreader", Georgia, "Times New Roman", serif;
    --font-body: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

    --pad: clamp(1.25rem, 5vw, 4rem);
}

* { box-sizing: border-box; }

body.landing {
    margin: 0;
    background: var(--snow);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

.landing :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

.lp-wrap {
    max-width: 72rem;
    margin: 0 auto;
    padding-inline: var(--pad);
}

/* ------------------------------------------------------------ typography -- */

.lp-h1, .lp-h2, .lp-h3 {
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.015em;
    margin: 0;
    text-wrap: balance;
}

.lp-h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
.lp-h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.lp-h3 { font-size: 1.2rem; line-height: 1.25; }

.lp-eyebrow {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 1rem;
}

.lp-lede {
    font-size: clamp(1.08rem, 1.9vw, 1.28rem);
    color: var(--ink-soft);
    max-width: 58ch;
}

.landing p { margin: 0 0 1.05rem; max-width: 64ch; }
.landing a { color: var(--accent); }

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

.lp-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(244, 247, 248, .88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule);
}

.lp-header__inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: .75rem var(--pad);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    color: var(--ink);
    margin-right: auto;
    min-width: 0;
}

.lp-brand img { height: 30px; width: auto; }

.lp-brand__mark {
    width: 30px; height: 30px;
    flex: none;
    border-radius: 6px;
    background: var(--deep);
    color: var(--accent-lift);
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
}

.lp-brand__name {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.12rem;
    letter-spacing: -.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-nav {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.lp-nav a.lp-navlink {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: .93rem;
    padding: .45rem .7rem;
    border-radius: 5px;
}
.lp-nav a.lp-navlink:hover { color: var(--ink); background: var(--rule-soft); }

@media (max-width: 46rem) {
    .lp-navlink--wide { display: none; }
}

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

.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .62rem 1.15rem;
    border-radius: 5px;
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.lp-btn--primary { background: var(--accent); color: #fff; }
.lp-btn--primary:hover { background: var(--accent-deep); color: #fff; }

.lp-btn--ghost { border-color: var(--rule); color: var(--ink); background: transparent; }
.lp-btn--ghost:hover { background: var(--snow-2); border-color: var(--ink-faint); }

.lp-btn--onDeep { background: var(--accent-lift); color: var(--deep); }
.lp-btn--onDeep:hover { background: #7CD6E3; color: var(--deep); }

.lp-btn--outlineDeep { border-color: rgba(231,238,242,.35); color: var(--on-deep); }
.lp-btn--outlineDeep:hover { border-color: var(--on-deep); background: rgba(255,255,255,.06); color: var(--on-deep); }

.lp-btn--wa { background: #25D366; color: #06301A; }
.lp-btn--wa:hover { background: #1FB855; color: #06301A; }

.lp-btn--lg { padding: .8rem 1.5rem; font-size: 1rem; }

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

.lp-hero {
    background: var(--deep);
    color: var(--on-deep);
    padding-block: clamp(3.5rem, 9vw, 6.5rem);
}

.lp-hero .lp-h1 { color: var(--snow-2); }
.lp-hero .lp-eyebrow { color: var(--accent-lift); }
.lp-hero p { color: var(--on-deep-soft); }

.lp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

@media (max-width: 60rem) {
    .lp-hero__grid { grid-template-columns: minmax(0, 1fr); }
}

.lp-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 2rem;
}

/* A plain window standing in for the product, drawn rather than screenshotted
   so it never goes stale against the real interface. */
.lp-shot {
    background: var(--deep-2);
    border: 1px solid rgba(231,238,242,.14);
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0,0,0,.35);
}

.lp-shot__bar {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .6rem .8rem;
    border-bottom: 1px solid rgba(231,238,242,.12);
}
.lp-shot__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(231,238,242,.22); }
.lp-shot__title {
    margin-left: .5rem;
    font-family: var(--font-mono);
    font-size: .68rem;
    color: var(--on-deep-soft);
    letter-spacing: .08em;
}

.lp-shot__body { padding: 1rem 1.1rem 1.2rem; }

.lp-shot__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: .5rem 0;
    border-bottom: 1px solid rgba(231,238,242,.09);
    font-size: .88rem;
    color: var(--on-deep-soft);
}
.lp-shot__row:last-child { border-bottom: 0; }
.lp-shot__row b { color: var(--on-deep); font-weight: 500; }
.lp-shot__num { font-family: var(--font-mono); color: var(--accent-lift); font-variant-numeric: tabular-nums; }

.lp-shot__total {
    margin-top: .6rem;
    padding-top: .7rem;
    border-top: 1px solid rgba(231,238,242,.2);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.lp-shot__total span { color: var(--on-deep-soft); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-mono); }
.lp-shot__total b { font-family: var(--font-mono); font-size: 1.5rem; color: var(--snow-2); }

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

.lp-section { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.lp-section--glacier { background: var(--glacier); }
.lp-section--deep { background: var(--deep); color: var(--on-deep); }
.lp-section--deep .lp-h2 { color: var(--snow-2); }
.lp-section--deep p { color: var(--on-deep-soft); }
.lp-section--deep .lp-eyebrow { color: var(--accent-lift); }

.lp-section + .lp-section:not(.lp-section--glacier):not(.lp-section--deep) {
    border-top: 1px solid var(--rule);
}

.lp-head { max-width: 46rem; margin-bottom: 2.5rem; }

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

.lp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.25rem;
}

.lp-card {
    background: var(--snow-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 1.5rem;
}

.lp-section--glacier .lp-card { border-color: var(--glacier-2); }

.lp-card__mark {
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: .8rem;
}

.lp-card p { font-size: .94rem; color: var(--ink-soft); margin-bottom: 0; max-width: none; }
.lp-card .lp-h3 { margin-bottom: .5rem; }

/* ----------------------------------------------------------------- lists -- */

.lp-checks { list-style: none; margin: 1.2rem 0 0; padding: 0; }

.lp-checks li {
    position: relative;
    padding: .6rem 0 .6rem 1.9rem;
    border-bottom: 1px solid var(--rule-soft);
    max-width: 62ch;
}
.lp-checks li:last-child { border-bottom: 0; }

.lp-checks li::before {
    content: "";
    position: absolute;
    left: .15rem;
    top: 1.12rem;
    width: .7rem;
    height: .7rem;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

.lp-section--deep .lp-checks li { border-bottom-color: rgba(231,238,242,.12); color: var(--on-deep-soft); }
.lp-section--deep .lp-checks li::before { border-color: var(--accent-lift); }
.lp-section--deep .lp-checks b { color: var(--on-deep); }

.lp-nots { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.lp-nots li {
    position: relative;
    padding: .5rem 0 .5rem 1.9rem;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--rule-soft);
    max-width: 62ch;
}
.lp-nots li:last-child { border-bottom: 0; }
.lp-nots li::before {
    content: "";
    position: absolute;
    left: .25rem;
    top: 1.28rem;
    width: .85rem;
    height: 2px;
    background: var(--ink-faint);
}

/* ------------------------------------------------------------------ demo -- */

.lp-demo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}
@media (max-width: 56rem) { .lp-demo { grid-template-columns: minmax(0, 1fr); } }

.lp-creds {
    background: var(--deep-2);
    border: 1px solid rgba(231,238,242,.16);
    border-radius: 8px;
    padding: 1.4rem;
}
.lp-creds dt {
    font-family: var(--font-mono);
    font-size: .66rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent-lift);
    margin-bottom: .2rem;
}
.lp-creds dd {
    font-family: var(--font-mono);
    font-size: .95rem;
    color: var(--snow-2);
    margin: 0 0 1rem;
    word-break: break-all;
}
.lp-creds dd:last-of-type { margin-bottom: 1.2rem; }

/* ---------------------------------------------------------------- figures -- */

.lp-figures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 1.5rem 2rem;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(231,238,242,.18);
}
.lp-figures div { font-size: .82rem; color: var(--on-deep-soft); line-height: 1.35; }
.lp-figures b {
    display: block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.9rem;
    color: var(--snow-2);
    line-height: 1;
    margin-bottom: .3rem;
}

/* ------------------------------------------------------------------ form -- */

.lp-form {
    background: var(--snow-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.lp-field { margin-bottom: 1rem; }

.lp-field label {
    display: block;
    font-size: .82rem;
    font-weight: 500;
    color: var(--ink-soft);
    margin-bottom: .3rem;
}

.lp-field input,
.lp-field select,
.lp-field textarea {
    width: 100%;
    padding: .6rem .75rem;
    border: 1px solid var(--rule);
    border-radius: 5px;
    background: var(--snow-2);
    color: var(--ink);
    font-family: inherit;
    font-size: .95rem;
}

.lp-field textarea { resize: vertical; min-height: 7rem; }

.lp-field input:focus,
.lp-field select:focus,
.lp-field textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(15,108,126,.14);
}

.lp-field__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 40rem) { .lp-field__row { grid-template-columns: 1fr; } }

/* The honeypot. Off-screen rather than display:none, because some bots skip
   anything hidden outright but still fill what they can reach. */
.lp-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lp-note { font-size: .84rem; color: var(--ink-faint); }

.lp-alert {
    padding: .85rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.25rem;
    font-size: .93rem;
    border: 1px solid transparent;
}
.lp-alert--ok { background: #E4F3EC; border-color: #B9DECB; color: #14532D; }
.lp-alert--bad { background: #FBE9E9; border-color: #EDC4C4; color: #7F1D1D; }
.lp-alert ul { margin: .4rem 0 0; padding-left: 1.1rem; }

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

.lp-footer {
    background: var(--deep);
    color: var(--on-deep-soft);
    padding-block: clamp(2.5rem, 5vw, 3.5rem);
    border-top: 1px solid rgba(231,238,242,.12);
}

.lp-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 2rem;
}

.lp-footer h4 {
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent-lift);
    margin: 0 0 .8rem;
    font-weight: 500;
}

.lp-footer a { color: var(--on-deep); text-decoration: none; }
.lp-footer a:hover { text-decoration: underline; }
.lp-footer ul { list-style: none; margin: 0; padding: 0; }
.lp-footer li { margin-bottom: .45rem; font-size: .92rem; }

.lp-footer__base {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(231,238,242,.12);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    font-size: .85rem;
}

/* A floating WhatsApp button, the way a small trader actually gets in touch. */
.lp-wa-float {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 50;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: #25D366;
    color: #06301A;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 22px rgba(0,0,0,.22);
    text-decoration: none;
}
.lp-wa-float:hover { background: #1FB855; color: #06301A; }

@media print {
    .lp-header, .lp-wa-float, .lp-cta-row { display: none; }
    body.landing { background: #fff; }
    .lp-hero, .lp-section--deep, .lp-footer { background: #fff !important; color: #000 !important; }
    .lp-hero .lp-h1, .lp-section--deep .lp-h2 { color: #000 !important; }
}
