/* ============================================================
   Public site
   ------------------------------------------------------------
   The marketing pages. Uses the same tokens as the dashboard, so
   a visitor who signs up lands somewhere that looks like the page
   that sold it to them.
   ============================================================ */

body.site { background: var(--paper); color: var(--ink); }

.site-wrap {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Nav ---------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--rail);
    border-bottom: 1px solid var(--rail-rule);
}
.site-nav-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 66px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    color: var(--rail-ink);
    text-decoration: none;
    flex: none;
}
.site-logo-dim { color: var(--rail-ink-2); font-weight: 400; }
.site-mark {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--brand), #FFB870);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    flex: none;
}

.site-links {
    display: flex;
    gap: 22px;
    margin-inline-end: auto;
}
.site-links a {
    color: var(--rail-ink-2);
    text-decoration: none;
    font-size: 14.5px;
    transition: color .12s;
}
.site-links a:hover { color: var(--rail-ink); }

.site-nav-actions { display: flex; gap: 10px; align-items: center; }

.btn-ghost-light {
    background: transparent;
    border-color: transparent;
    color: var(--rail-ink-2);
}
.btn-ghost-light:hover { background: var(--rail-2); color: var(--rail-ink); border-color: transparent; }

.site-burger {
    display: none;
    background: none;
    border: 0;
    color: var(--rail-ink);
    font-size: 19px;
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 900px) {
    .site-links, .site-nav-actions { display: none; }
    .site-burger { display: block; margin-inline-start: auto; }

    body.nav-open .site-links,
    body.nav-open .site-nav-actions {
        display: flex;
        position: absolute;
        top: 66px;
        inset-inline: 0;
        background: var(--rail);
        border-bottom: 1px solid var(--rail-rule);
        flex-direction: column;
        padding: 16px 24px;
        gap: 14px;
    }
    body.nav-open .site-nav-actions { top: auto; margin-top: 0; }
}

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(90% 120% at 85% -10%, rgba(253, 141, 50, 0.16), transparent 62%),
        var(--rail);
    color: var(--rail-ink);
    padding: 76px 0 84px;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: center;
}
@media (max-width: 940px) {
    .hero-inner { grid-template-columns: 1fr; gap: 36px; }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--brand);
    background: rgba(253, 141, 50, 0.13);
    border: 1px solid rgba(253, 141, 50, 0.28);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.6vw, 3.1rem);
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -0.01em;
    margin: 0 0 18px;
    color: #fff;
}
.hero h1 .accent { color: var(--brand); }

.hero p.lede {
    font-size: 16.5px;
    line-height: 1.9;
    color: var(--rail-ink-2);
    margin: 0 0 28px;
    max-width: 52ch;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-actions .btn { padding: 11px 24px; font-size: 15px; }

.hero-reassure {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--rail-ink-2);
}
.hero-reassure span { display: flex; align-items: center; gap: 7px; }
.hero-reassure i { color: var(--ok); }

/* The embed snippet beside the headline. Showing the actual artefact a
   customer copies out of the dashboard says more than invented numbers,
   and it cannot go stale the way a fabricated stat readout does. */
.hero-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 10px;
    overflow: hidden;
}
.hero-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 12.5px;
    color: var(--rail-ink-2);
}
.hero-panel-dots { display: flex; gap: 6px; }
.hero-panel-dots i {
    width: 9px; height: 9px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.hero-code {
    margin: 0;
    padding: 18px 16px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    line-height: 1.9;
    color: #cfe0f2;
    direction: ltr;
    text-align: left;
    overflow-x: auto;
    white-space: pre;
}

.hero-panel-list {
    list-style: none;
    margin: 0;
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    display: grid;
    gap: 9px;
}
.hero-panel-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--rail-ink-2);
}
.hero-panel-list i { color: var(--ok); font-size: 11px; }

.hero-fineprint {
    font-size: 13px;
    color: var(--rail-ink-2);
    margin: 0;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.tint { background: var(--surface-2); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head.start { text-align: start; max-width: 720px; margin-inline: 0; }
.section-eyebrow {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--brand);
    margin-bottom: 10px;
}
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 12px;
    color: var(--ink);
}
.section-head p { color: var(--ink-2); font-size: 15px; line-height: 1.9; margin: 0; }

/* ---------- Feature grid ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.feature {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    padding: 26px 24px;
    transition: border-color .14s, transform .14s, box-shadow .14s;
}
.feature:hover {
    border-color: var(--brand-line);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-size: 17px;
    margin-bottom: 16px;
}
.feature h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--ink);
}
.feature p { font-size: 14px; line-height: 1.85; color: var(--ink-2); margin: 0; }

/* ---------- Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 26px;
    counter-reset: step;
}
.step { position: relative; padding-top: 8px; }
.step::before {
    counter-increment: step;
    content: counter(step);
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--brand-on);
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}
.step h3 { font-size: 15.5px; font-weight: 600; margin: 0 0 7px; color: var(--ink); }
.step p { font-size: 14px; line-height: 1.85; color: var(--ink-2); margin: 0; }

/* ---------- Pricing ---------- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.price-card {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    padding: 24px;
    text-align: center;
}
.price-card.is-featured {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}
.price-label { font-size: 13.5px; color: var(--ink-2); margin-bottom: 10px; }
.price-value {
    font-family: var(--font-mono);
    font-size: 30px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.1;
}
.price-unit { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.price-compare {
    font-size: 12px;
    color: var(--ok);
    margin-top: 10px;
    font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r);
    margin-bottom: 10px;
    overflow: hidden;
}
.faq summary {
    padding: 16px 18px;
    font-weight: 500;
    font-size: 14.5px;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    color: var(--ink-3);
    transition: transform .18s;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details[open] summary { border-bottom: 1px solid var(--rule); }
.faq .faq-body {
    padding: 15px 18px 18px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--ink-2);
}

/* ---------- Closing CTA ---------- */
.cta {
    background:
        radial-gradient(80% 130% at 20% 0%, rgba(253, 141, 50, 0.18), transparent 60%),
        var(--rail);
    color: var(--rail-ink);
    padding: 66px 0;
    text-align: center;
}
.cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.45;
}
.cta p { color: var(--rail-ink-2); font-size: 15px; margin: 0 0 26px; }

/* ---------- Footer ---------- */
.site-foot {
    background: var(--rail);
    color: var(--rail-ink-2);
    padding: 52px 0 0;
    border-top: 1px solid var(--rail-rule);
}
.site-foot-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
    gap: 34px;
    padding-bottom: 40px;
}
@media (max-width: 700px) {
    .site-foot-inner { grid-template-columns: 1fr 1fr; }
    .site-foot-inner > div:first-child { grid-column: 1 / -1; }
}
.site-foot-note { font-size: 13.5px; line-height: 1.9; margin: 14px 0 0; }
.site-foot-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--rail-ink);
    margin: 0 0 14px;
}
.site-foot-col a {
    display: block;
    color: var(--rail-ink-2);
    text-decoration: none;
    font-size: 13.5px;
    padding: 5px 0;
    transition: color .12s;
}
.site-foot-col a:hover { color: var(--rail-ink); }

.site-foot-bottom {
    border-top: 1px solid var(--rail-rule);
    padding: 20px 24px;
    font-size: 12.5px;
    text-align: center;
}


/* ---------- Split section ---------- */
/* Prose on one side, hard numbers or contact details on the other. Breaks
   the rhythm of full-width centred bands. */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 52px;
    align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 34px; } }

.split-main h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.8vw, 1.95rem);
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 18px;
    color: var(--ink);
}
.split-main p {
    font-size: 15px;
    line-height: 2;
    color: var(--ink-2);
    margin: 0 0 16px;
    max-width: 60ch;
}
.split-main p:last-child { margin-bottom: 0; }

.fact {
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
}
.fact:last-child { border-bottom: 0; }
.fact-value {
    font-family: var(--font-mono);
    font-size: 30px;
    font-weight: 600;
    color: var(--brand);
    line-height: 1.1;
}
.fact-value span { font-size: 15px; color: var(--ink-3); }
.fact-label { font-size: 13px; color: var(--ink-2); margin-top: 6px; }

/* ---------- Numbered layers ---------- */
/* Three items with room to be specific, rather than six identical cards. */
.layers { display: grid; gap: 8px; }

.layer {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 20px;
    padding: 26px 0;
    border-top: 1px solid var(--rule);
}
.layer:last-child { border-bottom: 1px solid var(--rule); }
@media (max-width: 620px) {
    .layer { grid-template-columns: 1fr; gap: 10px; }
}

.layer-num {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 600;
    color: var(--brand);
    opacity: 0.55;
    line-height: 1;
}
.layer h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 9px;
    color: var(--ink);
}
.layer p {
    font-size: 14.5px;
    line-height: 2;
    color: var(--ink-2);
    margin: 0;
    max-width: 68ch;
}

/* ---------- Offers ---------- */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.offer {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    padding: 28px 26px;
}
.offer h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--ink);
}
.offer p { font-size: 14px; line-height: 1.95; color: var(--ink-2); margin: 0 0 16px; }
.offer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.offer li {
    position: relative;
    padding-inline-start: 20px;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--ink-2);
}
.offer li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 9px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand);
}

.price-foot { margin-top: 22px; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--ink-2);
}
.contact-list i { color: var(--brand); width: 18px; text-align: center; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--brand); }

.site-foot-plain { display: block; font-size: 13.5px; padding: 5px 0; }
.site-foot-sep { opacity: 0.4; margin: 0 6px; }


/* ============================================================
   Reference layout patterns
   ------------------------------------------------------------
   Structure follows the reference homepage: a dark hero with the
   claim and a product artefact, a split card grid around a centre
   panel, numeric strips, a short mid-page CTA band, and a support
   block with response figures.

   The copy, the artwork and the numbers are ours — the numbers in
   particular, because the reference's ("119 edge locations",
   "100k+ customers") are theirs and printing invented equivalents
   on a live commercial page would be a lie a customer can check.
   ============================================================ */

/* ---------- Trust strip under the hero ---------- */
.trust-strip {
    background: var(--rail-2);
    border-top: 1px solid var(--rail-rule);
    border-bottom: 1px solid var(--rail-rule);
    padding: 18px 0;
}
.trust-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 34px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--rail-ink-2);
}
.trust-item i { color: var(--brand); font-size: 13px; }
.trust-item b { color: var(--rail-ink); font-weight: 500; }

/* ---------- Split product grid ---------- */
/* Cards down both sides of a centre panel. The reference puts its
   mascot in the middle; ours holds the player, which is the thing
   being sold. */
.product-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}
@media (max-width: 1020px) {
    .product-split { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .product-centre { grid-row: 1; grid-column: 1 / -1; max-width: 340px; margin: 0 auto 8px; }
}

.product-col { display: grid; gap: 16px; }

.product-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    padding: 18px 20px;
    transition: border-color .14s, box-shadow .14s, transform .14s;
}
.product-card:hover {
    border-color: var(--brand-line);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.product-card-icon {
    width: 38px; height: 38px;
    border-radius: 9px;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-size: 15px;
    flex: none;
}
.product-card h3 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 5px;
    color: var(--ink);
}
.product-card p {
    font-size: 13px;
    line-height: 1.75;
    color: var(--ink-2);
    margin: 0;
}

/* The centre panel: a phone-shaped player mock. */
.product-centre {
    background: var(--rail);
    border-radius: 18px;
    padding: 14px;
    box-shadow: var(--shadow-lg);
}
.player-mock {
    background: #000;
    border-radius: 10px;
    aspect-ratio: 9 / 14;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(160deg, #123E63 0%, #05192E 55%, #000 100%);
}
.player-mock-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}
.player-mock-play span {
    width: 54px; height: 54px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 17px;
    padding-inline-start: 3px;
}
.player-mock-wm {
    position: absolute;
    top: 24%;
    inset-inline-start: 16%;
    font-family: var(--font-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}
.player-mock-bar {
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    margin-bottom: 9px;
}
.player-mock-bar i {
    display: block;
    height: 100%;
    width: 42%;
    border-radius: 999px;
    background: var(--brand);
}
.player-mock-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- Numeric strip ---------- */
/* Used twice, as in the reference. Every figure here is a product
   fact we can stand behind, not a scale claim. */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 46px;
    padding-top: 38px;
    border-top: 1px solid var(--rule);
    text-align: center;
}
.stat-strip.on-dark { border-top-color: var(--rail-rule); }

.stat-strip-item .num {
    font-family: var(--font-mono);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 600;
    color: var(--brand);
    line-height: 1.15;
}
.stat-strip-item .cap {
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--ink-3);
    margin-top: 7px;
}
.stat-strip.on-dark .cap { color: var(--rail-ink-2); }

/* ---------- Mid-page CTA band ---------- */
.band {
    background: var(--rail);
    color: var(--rail-ink);
    padding: 54px 0;
}
.band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.band h2 {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.5;
}
.band-side { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.band-fineprint { font-size: 12.5px; color: var(--rail-ink-2); margin: 0; }

/* ---------- Support ---------- */
.support-block { max-width: 760px; }
.support-block p {
    font-size: 15px;
    line-height: 2;
    color: var(--ink-2);
    margin: 0 0 16px;
}
