/* The base stylesheet of the public site.
   Businesslike light with blue-grey; overviews and management information lead.
   Dark surfaces use a light brand tint for text, never #cd445a. */

:root {
    --site-ink: #101b28;
    --site-navy: #1b2b3d;
    --site-body: #4d5b6b;
    --site-line: #dde4ec;
    --site-bg: #f4f7fa;
    --site-fill: #cd445a;
    --site-text-accent: #b83d4f;
    --site-tint-on-dark: #f08ea0;
}

* {
    box-sizing: border-box;
}

body.site {
    margin: 0;
    background: #fff;
    color: var(--site-body);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

.site-wrap {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 28px;
}

h1, h2, h3 {
    color: var(--site-ink);
    letter-spacing: -0.02em;
}

a {
    color: var(--site-text-accent);
}

/* Navigation */
.site-nav {
    background: var(--site-navy);
}

.site-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

.site-logo {
    display: block;
    height: 32px;
    width: auto;
}

.site-logo--light {
    height: 28px;
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 15px;
}

.site-nav__links a {
    color: #c2cddb;
    text-decoration: none;
}

.site-nav__links a:hover {
    color: #fff;
}

.site-nav__cta {
    padding: 9px 16px;
    border-radius: 6px;
    background: var(--site-fill);
    color: #fff !important;
    font-weight: 600;
}

/* Hero */
.site-hero {
    padding: 68px 0 72px;
    background: var(--site-navy);
    color: #b9c6d4;
}

/* The film takes the larger share. The text column stays wide enough for the
   longest word of the heading at its full size. */
.site-hero__inner {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 44px;
    align-items: center;
}

.site-kicker {
    margin: 0 0 14px;
    color: var(--site-tint-on-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-hero h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 48px;
    line-height: 1.1;
}

.site-lead {
    margin: 0 0 28px;
    font-size: 19px;
}

.site-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-btn {
    display: inline-block;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 7px;
    /* A button element takes the browser's own font unless it is told not to,
       so without this a button and a link in the same style set differ. */
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.site-btn--primary {
    background: var(--site-fill);
    color: #fff;
}

.site-btn--primary:hover {
    background: #b83d4f;
}

.site-btn--ghost {
    border-color: #3c4f65;
    color: #dbe3ec;
}

/* A link drawn as a block button centres its label the way a button element
   already does. */
.site-btn--block {
    width: 100%;
    text-align: center;
}

.site-hero__shot {
    margin: 0;
}

.site-hero__shot img,
.site-hero__shot video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* Trust strip */
.site-strip {
    background: var(--site-bg);
    border-bottom: 1px solid var(--site-line);
}

.site-strip__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    color: #51616f;
    font-size: 14px;
    font-weight: 600;
}

/* Roles */
.site-roles {
    padding: 76px 0;
}

.site-roles h2 {
    margin: 0 0 10px;
    font-size: 36px;
}

.site-sub {
    margin: 0 0 36px;
    font-size: 18px;
}

.site-roles__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.site-role {
    padding: 26px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    background: #fff;
}

.site-role--primary {
    background: var(--site-bg);
    border-color: #c8d5e2;
}

.site-role h3 {
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--site-line);
    font-size: 19px;
}

.site-role ul {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.site-role li {
    position: relative;
    padding: 4px 0 4px 20px;
    font-size: 15px;
}

.site-role li::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9bb0c4;
}

.site-role__note {
    margin: 0;
    color: var(--site-ink);
    font-size: 14px;
    font-weight: 600;
}

.site-callout {
    margin: 28px 0 0;
    padding: 18px 22px;
    border-left: 4px solid var(--site-fill);
    border-radius: 0 10px 10px 0;
    background: var(--site-bg);
    color: var(--site-ink);
    font-size: 18px;
    font-weight: 600;
}

/* Panels */
.site-panels {
    padding: 0 0 40px;
}

.site-panel {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: center;
    padding: 40px 0;
}

.site-panel--flip .site-panel__text {
    order: 2;
}

.site-panel h3 {
    margin: 0 0 12px;
    font-size: 27px;
}

.site-panel p {
    margin: 0;
}

.site-panel__shot {
    margin: 0;
}

.site-panel__shot img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(16, 27, 40, 0.1);
}

.site-videoslot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 320px;
    padding: 30px;
    border: 2px dashed #b8c8d8;
    border-radius: 12px;
    background: repeating-linear-gradient(135deg, #fbfcfe, #fbfcfe 14px, #eef3f8 14px, #eef3f8 28px);
    text-align: center;
}

.site-videoslot__badge {
    padding: 6px 15px;
    border-radius: 20px;
    background: var(--site-navy);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.site-videoslot p {
    margin: 0;
    max-width: 36ch;
    color: #6b7c8d;
    font-size: 15px;
}

/* Work */
.site-work {
    padding: 60px 0 72px;
    background: var(--site-bg);
    border-top: 1px solid var(--site-line);
    border-bottom: 1px solid var(--site-line);
}

.site-work h2 {
    margin: 0 0 28px;
    font-size: 32px;
}

.site-work__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.site-work h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

.site-work p {
    margin: 0;
    font-size: 16px;
}

/* Benefits */
.site-benefits {
    padding: 70px 0;
}

.site-benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.site-benefits h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.site-benefits p {
    margin: 0;
    font-size: 16px;
}

/* Segments */
.site-segments {
    padding: 0 0 70px;
}

.site-segments__grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 24px;
}

.site-segment {
    padding: 30px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
}

.site-segment--primary {
    background: var(--site-navy);
    border-color: var(--site-navy);
    color: #b9c6d4;
}

.site-segment--primary h3 {
    color: #fff;
}

.site-segment h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.site-segment p {
    margin: 0;
    font-size: 16px;
}

/* Price */
.site-price {
    padding: 70px 0;
    background: var(--site-bg);
    border-top: 1px solid var(--site-line);
}

.site-price h2 {
    margin: 0 0 26px;
    font-size: 32px;
}

.site-price__grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 22px;
}

.site-tier {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--site-line);
    border-radius: 12px;
}

.site-tier--primary {
    border-color: var(--site-fill);
    box-shadow: 0 12px 30px rgba(205, 68, 90, 0.12);
}

.site-tier h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.site-tier__amount {
    margin: 0 0 10px;
    color: var(--site-ink);
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.site-tier__amount span {
    display: block;
    color: #7b8b9b;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
}

.site-tier p {
    margin: 0;
    font-size: 15px;
}

.site-price__trial {
    margin: 22px 0 0;
    color: var(--site-ink);
    font-weight: 600;
}

/* Quote */
.site-quote {
    padding: 70px 0;
    text-align: center;
}

.site-badge {
    display: inline-block;
    margin: 0 0 18px;
    padding: 4px 10px;
    border-radius: 5px;
    background: #f6e6c8;
    color: #7a5a17;
    font-size: 12px;
    font-weight: 600;
}

.site-quote blockquote {
    max-width: 42rem;
    margin: 0 auto 14px;
    color: var(--site-ink);
    font-size: 28px;
    line-height: 1.35;
}

.site-quote__by {
    margin: 0;
    color: #7b8b9b;
    font-size: 15px;
}

/* FAQ */
.site-faq {
    padding: 0 0 74px;
}

.site-faq h2 {
    margin: 0 0 24px;
    font-size: 30px;
}

.site-faq__list {
    border-top: 1px solid var(--site-line);
}

.site-faq__item {
    border-bottom: 1px solid var(--site-line);
}

.site-faq__item button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 20px 0;
    border: none;
    background: none;
    color: var(--site-ink);
    font-family: inherit;
    font-size: 19px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

/* Two bars instead of the characters + and –, which differ in width and height:
   the horizontal bar stays exactly in place and the vertical one fades when the
   item opens or closes. */
.site-faq__item button {
    position: relative;
}

.site-faq__item button::after {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    color: var(--site-fill);
    background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}

.site-faq__item button::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 6px;
    width: 2px;
    height: 14px;
    margin-top: -7px;
    background: var(--site-fill);
    transition: opacity 0.2s ease;
}

.site-faq__item.is-open button::before {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .site-faq__item button::before {
        transition: none;
    }
}

/* The answer folds open instead of appearing at once: its single grid row grows
   from nothing to the height of the text. A closed answer turns invisible once
   it has folded shut, so a screen reader does not read it. */
.site-faq__body {
    display: grid;
    grid-template-rows: 0fr;
    max-width: 62ch;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        padding-bottom 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.25s ease,
        visibility 0s linear 0.35s;
}

.site-faq__item.is-open .site-faq__body {
    grid-template-rows: 1fr;
    padding-bottom: 22px;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.site-faq__body p {
    min-height: 0;
    margin: 0;
    overflow: hidden;
}

/* Demo */
.site-demo {
    padding: 74px 0;
    background: var(--site-navy);
    color: #b9c6d4;
}

.site-demo__inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 52px;
    align-items: start;
}

.site-demo h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 34px;
    line-height: 1.15;
}

.site-demo p:not(.land-section-kicker) {
    margin: 0 0 16px;
    font-size: 18px;
}

.site-demo__alt {
    font-size: 16px !important;
}

.site-demo a {
    color: var(--site-tint-on-dark);
}

.site-form {
    padding: 26px;
    background: #fff;
    border-radius: 12px;
}

.site-badge--form {
    display: block;
    text-align: center;
}

.site-form label {
    display: block;
    margin-bottom: 14px;
    color: var(--site-ink);
    font-size: 14px;
    font-weight: 600;
}

.site-form input,
.site-form select {
    display: block;
    width: 100%;
    margin-top: 5px;
    padding: 11px 12px;
    border: 1px solid #ccd7e2;
    border-radius: 7px;
    /* A select takes the browser's own grey unless it is told otherwise; an
       input is white by itself. */
    background-color: #fff;
    color: var(--site-ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
}

/* Footer */
.site-foot {
    padding: 40px 0;
    background: var(--site-ink);
    color: #8b9aa9;
    font-size: 15px;
}

.site-foot__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-foot p {
    margin: 8px 0 0;
}

.site-foot__links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.site-foot__links a {
    color: #c6d2de;
    text-decoration: none;
}

@media (max-width: 1040px) {
    .site-roles__grid,
    .site-work__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .site-hero__inner,
    .site-panel,
    .site-segments__grid,
    .site-price__grid,
    .site-demo__inner {
        grid-template-columns: 1fr;
    }

    .site-panel--flip .site-panel__text {
        order: 0;
    }

    .site-hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 560px) {
    .site-nav__inner {
        flex-wrap: wrap;
        height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
        gap: 10px;
    }

    .site-nav__links {
        width: 100%;
        flex-wrap: wrap;
        gap: 14px;
        font-size: 14px;
    }
}

/* ---------------------------------------------------------------
   Typeface and motion
   Manrope throughout: a business sans with a wide lower case, easy to
   read in tables and figures. Motion is brisk and to the point, the way
   a management view should feel.
   --------------------------------------------------------------- */

/* The scrollbar keeps its room even on a page too short to scroll, so the
   layout does not shift when an expanding item makes the page scroll. */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
    scrollbar-gutter: stable;
}

body.site {
    font-family: "Manrope", system-ui, -apple-system, sans-serif;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-nav.is-scrolled {
    background: rgba(27, 43, 61, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 26px rgba(16, 27, 40, 0.25);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* The three roles arrive from their own side, so the split reads before
   you have read a word. */
.site-roles__grid > *:nth-child(1) { transform: translateX(-22px); }
.site-roles__grid > *:nth-child(3) { transform: translateX(22px); }

.site-roles__grid > * {
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-roles__grid.is-visible > * {
    opacity: 1;
    transform: none;
}

.site-roles__grid.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.site-roles__grid.is-visible > *:nth-child(3) { transition-delay: 0.16s; }

/* Role bullets tick in one by one. */
.site-role li {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.site-roles__grid.is-visible .site-role li { opacity: 1; transform: none; }
.site-roles__grid.is-visible .site-role li:nth-child(2) { transition-delay: 0.20s; }
.site-roles__grid.is-visible .site-role li:nth-child(3) { transition-delay: 0.28s; }
.site-roles__grid.is-visible .site-role li:nth-child(4) { transition-delay: 0.36s; }
.site-roles__grid.is-visible .site-role li:nth-child(5) { transition-delay: 0.44s; }

.site-work__grid > *,
.site-benefits__grid > *,
.site-segments__grid > *,
.site-price__grid > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-work__grid.is-visible > *,
.site-benefits__grid.is-visible > *,
.site-segments__grid.is-visible > *,
.site-price__grid.is-visible > * {
    opacity: 1;
    transform: none;
}

.site-work__grid.is-visible > *:nth-child(2),
.site-benefits__grid.is-visible > *:nth-child(2),
.site-price__grid.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.site-work__grid.is-visible > *:nth-child(3),
.site-benefits__grid.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.site-benefits__grid.is-visible > *:nth-child(4) { transition-delay: 0.24s; }

/* Screens rise a little further than the text next to them. */
.site-panel__shot[data-reveal] { transform: translateY(26px); }

/* Hover and focus finish */
.site-btn {
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease,
                border-color 0.2s ease;
}

.site-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(205, 68, 90, 0.3);
}

.site-btn:active { transform: translateY(0); }
.site-btn--ghost:hover { border-color: #7d8fa3; color: #fff; }

/* The price cards stay where they are under the pointer; they are read, not
   clicked. */
.site-role,
.site-segment {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-role:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(16, 27, 40, 0.1);
}

.site-panel__shot img,
.site-hero__shot img {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.site-panel__shot:hover img {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(16, 27, 40, 0.16);
}

.site-faq__item button { transition: color 0.2s ease; }
.site-faq__item button:hover { color: var(--site-text-accent); }

.site-form input:focus,
.site-form select:focus {
    outline: none;
    border-color: var(--site-fill);
    box-shadow: 0 0 0 3px rgba(205, 68, 90, 0.14);
}

/* Price detail */
.site-tier__who {
    margin: 0 0 14px;
    color: #7b8b9b;
    font-size: 14px;
}

.site-price__includes {
    margin-top: 24px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid var(--site-line);
    border-radius: 12px;
}

.site-price__includes h3 { margin: 0 0 12px; font-size: 16px; }

.site-price__includes ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-price__includes li {
    position: relative;
    padding-left: 26px;
    font-size: 15px;
}

.site-price__includes li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 2px;
    width: 11px;
    height: 6px;
    border-left: 2px solid var(--site-fill);
    border-bottom: 2px solid var(--site-fill);
    transform: rotate(-45deg);
}

@media (max-width: 720px) {
    .site-price__includes ul { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal],
    [data-reveal].is-visible,
    .site-roles__grid > *,
    .site-role li,
    .site-work__grid > *,
    .site-benefits__grid > *,
    .site-segments__grid > *,
    .site-price__grid > *,
    .site-panel__shot[data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .site-faq__body {
        transition: none;
    }
}


/* ---------------------------------------------------------------
   Sub pages
   The site: home, prices, questions and a demo
   request. These are the shared page frames those pages need.
   --------------------------------------------------------------- */

.site-nav__links a.is-current {
    color: var(--site-text-accent);
    font-weight: 600;
}

/* Every page opens on the same navy hero, the page head included:
   the gradient of the home hero and of the other page heads. */
.site-pagehead {
    padding: 64px 0 44px;
    background:
        radial-gradient(circle at 84% 10%, rgba(94, 128, 162, 0.2), transparent 34%),
        linear-gradient(132deg, var(--site-navy) 0%, #142235 100%);
    color: #b9c6d4;
}

.site-pagehead__kicker {
    margin: 0 0 12px;
    color: var(--site-tint-on-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-pagehead h1 {
    max-width: 24ch;
    margin: 0 0 14px;
    color: #fff;
    font-size: 42px;
    line-height: 1.12;
}

.site-pagehead__lead {
    max-width: 62ch;
    margin: 0;
    font-size: 19px;
}

.site-teaser {
    padding: 48px 0;
    background: var(--site-bg);
    border-top: 1px solid var(--site-line);
    border-bottom: 1px solid var(--site-line);
}

.site-teaser__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.site-teaser h2 {
    margin: 0 0 6px;
    font-size: 30px;
}

.site-teaser p {
    margin: 0;
}

.site-closing {
    padding: 76px 0;
    text-align: center;
}

.site-closing h2 {
    margin: 0 0 10px;
    font-size: 34px;
}

.site-closing p {
    margin: 0 0 24px;
}

.site-closing__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* A footnote under the button, not a statement next to it: it should be
   readable when looked for and out of the way when not. Scoped to the form so
   it outweighs the large paragraphs of the demo band around it. */
.site-form .site-form__note {
    margin: 14px 0 0;
    color: #9aa4ad;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 720px) {
    .site-pagehead h1 {
        font-size: 30px;
    }
}

.site-list {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.site-list li {
    position: relative;
    padding: 6px 0 6px 26px;
    font-size: 16px;
}

.site-list li::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--site-fill);
}
