/* LockStep Tools — shared theme
   Navy, lime, cream. Crop marks. Figtree + Newsreader. */

:root {
    --navy: #19123D;
    --navy-2: #241b52;
    --lime: #B2F332;
    --cream: #F3EEE8;
    --steel: #6787AF;
    --mint: #BADDCF;
    --pale: #E8F3DA;
    --paper: #FAF6F0;
    --muted: #4A5670;
    --border: #D9D1C6;
    --font-sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
    --font-display: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
    --shadow: 0 0 0 1px rgb(25 18 61 / 0.06), 0 1px 2px -1px rgb(25 18 61 / 0.06), 0 2px 4px rgb(25 18 61 / 0.04);
    --shadow-hover: 0 0 0 1px rgb(25 18 61 / 0.1), 0 8px 24px -8px rgb(25 18 61 / 0.16);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--navy);
    font-family: var(--font-sans);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    text-wrap: balance;
    font-weight: 500;
    letter-spacing: -0.02em;
}

p, li { text-wrap: pretty; }

a { color: inherit; }

img { max-width: 100%; height: auto; display: block; }

button, summary { font-family: inherit; cursor: pointer; }

:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 3px;
}

.skip {
    position: absolute;
    left: -999px;
    top: 0;
}

.skip:focus {
    left: 1rem;
    top: 1rem;
    z-index: 80;
    background: var(--lime);
    color: var(--navy);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
}

.wrap {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--navy);
    color: var(--cream);
    border-bottom: 3px solid var(--lime);
}

.site-header .inner {
    max-width: 1152px;
    margin: 0 auto;
    height: 64px;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--lime);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.brand svg { display: block; flex: 0 0 auto; }

.nav-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a {
    color: rgba(243, 238, 232, 0.92);
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--lime); }

.menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 2px solid rgba(178, 243, 50, 0.5);
    background: transparent;
    color: var(--cream);
    align-items: center;
    justify-content: center;
}

.drawer { display: none; position: fixed; inset: 0; z-index: 50; }
.drawer.open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: rgba(25, 18, 61, 0.7); }

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(20rem, 88vw);
    background: var(--navy);
    color: var(--cream);
    padding: 1.5rem;
}

.drawer-panel h2 { color: var(--lime); margin: 0 0 1.5rem; }

.drawer-panel nav { display: flex; flex-direction: column; gap: 0.25rem; }

.drawer-panel a {
    color: var(--cream);
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 8px;
}

.drawer-panel a:hover,
.drawer-panel a[aria-current="page"] {
    background: rgba(243, 238, 232, 0.08);
    color: var(--lime);
}

/* Buttons and badges */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 44px;
    padding: 0 1.15rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.15s var(--ease);
}

.btn:active { transform: scale(0.96); }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { filter: brightness(0.96); }
.btn-navy { background: var(--navy); color: var(--cream); border-color: rgba(178, 243, 50, 0.4); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { background: #E7E0D6; }
.btn-inverse { background: transparent; color: var(--cream); border-color: rgba(178, 243, 50, 0.5); }
.btn-inverse:hover { background: var(--lime); color: var(--navy); }
.btn-lg { height: 48px; padding: 0 1.5rem; font-size: 1rem; }
.btn-sm { height: 36px; padding: 0 0.9rem; font-size: 0.85rem; }

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.15rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--mint);
    color: var(--navy);
    white-space: nowrap;
}

.badge-navy { background: var(--navy); color: var(--lime); }
.badge-outline { background: transparent; border: 1px solid var(--border); color: var(--muted); }
.badge-lime { background: var(--lime); color: var(--navy); }

/* Hero */

.hero { background: var(--navy); color: var(--cream); }

.crop-frame {
    padding: 4.5rem 1.5rem 5rem;
    background-image:
        linear-gradient(var(--lime), var(--lime)), linear-gradient(var(--lime), var(--lime)),
        linear-gradient(var(--lime), var(--lime)), linear-gradient(var(--lime), var(--lime)),
        linear-gradient(var(--lime), var(--lime)), linear-gradient(var(--lime), var(--lime)),
        linear-gradient(var(--lime), var(--lime)), linear-gradient(var(--lime), var(--lime));
    background-repeat: no-repeat;
    background-size: 22px 1.5px, 1.5px 22px, 22px 1.5px, 1.5px 22px, 22px 1.5px, 1.5px 22px, 22px 1.5px, 1.5px 22px;
    background-position:
        left 16px top 16px, left 16px top 16px,
        right 16px top 16px, right 16px top 16px,
        left 16px bottom 16px, left 16px bottom 16px,
        right 16px bottom 16px, right 16px bottom 16px;
}

.hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.hero-inner.left { text-align: left; margin: 0; max-width: 40rem; }

.brand-lockup {
    display: flex;
    justify-content: center;
    margin: 0 auto 1.75rem;
}

.brand-lockup img {
    width: 260px;
    max-width: min(260px, 78vw);
    height: auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 40px -18px rgb(0 0 0 / 0.55);
}

.hook {
    display: inline-block;
    background: var(--lime);
    color: var(--navy);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(243, 238, 232, 0.7);
    margin: 0 0 0.75rem;
}

.hero h1 {
    font-size: clamp(2.15rem, 5vw, 3.7rem);
    line-height: 1.08;
    margin: 0.85rem 0 0;
    color: var(--cream);
}

.lede {
    font-size: 1.125rem;
    color: rgba(243, 238, 232, 0.82);
    max-width: 40rem;
    margin: 1.15rem auto 0;
}

.hero-inner.left .lede { margin-left: 0; }

.cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-inner.left .cta-row { justify-content: flex-start; }

.meta-line {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: rgba(243, 238, 232, 0.7);
}

.meta-line a { color: var(--lime); font-weight: 600; text-decoration: none; }
.meta-line a:hover { text-decoration: underline; }

/* Sections */

.section { padding: 4.5rem 0; }
.section-tight { padding-top: 0; }

.kicker {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--steel);
    margin: 0 0 0.5rem;
}

h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); margin: 0; }

.sub { color: var(--muted); max-width: 40rem; margin-top: 0.75rem; }

.reading { background: var(--paper); }
.reading-wrap { max-width: 44rem; }
.reading h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.reading h3 {
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    margin: 2.6rem 0 0;
}
.reading p { font-size: 1.05rem; margin: 0.85rem 0 0; }
.reading .sub { font-size: 1.08rem; max-width: none; color: var(--muted); }
.reading a { color: var(--navy); font-weight: 650; }

.grid-2 {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr 1fr;
    margin-top: 2.5rem;
}

.grid-3 {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2.5rem;
}

.card {
    background: var(--paper);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

.card h3 { margin: 0.85rem 0 0; font-size: 1.35rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card p:last-child { margin-bottom: 0; }

.row-between {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    flex: 0 0 auto;
}

.icon-box svg { width: 20px; height: 20px; }

/* Company page */

.suite {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.ticket {
    background: var(--paper);
    border-radius: 16px;
    padding: 1.75rem 1.75rem 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
}

.ticket::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    top: 0;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: var(--lime);
}

.ticket.secondary::before { background: var(--steel); }
.ticket.pending::before { background: var(--border); }

.dev-note {
    margin: 1rem 0 0;
    padding: 0.85rem 1rem;
    background: var(--pale);
    border-left: 4px solid var(--navy);
    border-radius: 8px;
    color: var(--navy);
    font-size: 0.95rem;
}

.dev-note strong { font-weight: 700; }

.ticket h3 { margin: 0.75rem 0 0; font-size: 1.85rem; }

.ticket .role {
    margin: 0.35rem 0 0;
    color: var(--steel);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

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

.ticket ul {
    margin: 0.25rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ticket li {
    background: var(--pale);
    color: var(--navy);
    border-radius: 999px;
    padding: 0.15rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 650;
}

.ticket .cta-row { margin-top: auto; padding-top: 1.25rem; justify-content: flex-start; }

.flow {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    counter-reset: step;
}

.flow li {
    background: var(--paper);
    border-radius: 16px;
    padding: 1.25rem 1.25rem 1.35rem;
    box-shadow: var(--shadow);
}

.flow li::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--steel);
    margin-bottom: 0.35rem;
}

.flow h3 { margin: 0; font-size: 1.2rem; }
.flow p { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.92rem; }

.principles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 2rem;
    margin-top: 2rem;
}

.principles h3 { margin: 0; font-size: 1.25rem; }
.principles p { margin: 0.35rem 0 0; color: var(--muted); }

.band {
    background: var(--navy);
    color: var(--cream);
}

.band h2 { color: var(--cream); }
.band .kicker { color: var(--lime); }
.band .sub { color: rgba(243, 238, 232, 0.75); }

.band-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: end;
}

/* ROI, shots, FAQ, forms — product pages */

.roi {
    background: var(--pale);
    border-left: 4px solid var(--steel);
    border-radius: 16px;
    padding: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stats dt { font-family: var(--font-display); font-size: 1.25rem; }
.stats dd { margin: 0.25rem 0 0; font-size: 0.9rem; color: var(--muted); }

.shots { background: var(--navy); color: var(--cream); padding: 4.5rem 0; }
.shots h2 { color: var(--lime); text-align: center; }
.shots .sub { margin: 0.75rem auto 0; text-align: center; color: rgba(243, 238, 232, 0.75); }
.shots figure { margin: 2.5rem 0 0; }
.shots img {
    width: 100%;
    border-radius: 10px;
    outline: 1px solid rgba(243, 238, 232, 0.15);
    outline-offset: -1px;
}
.shots figcaption {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: rgba(243, 238, 232, 0.7);
}

.faq-list {
    margin-top: 2rem;
    border-top: 1px solid var(--border);
}

details { border-bottom: 1px solid var(--border); padding: 1rem 0; }

summary {
    list-style: none;
    font-family: var(--font-display);
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--steel); font-size: 1.25rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); font-size: 0.95rem; margin: 0.75rem 0 0; }

.cta-box {
    background: var(--paper);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.cta-box .sub { margin-left: auto; margin-right: auto; }
.cta-box .cta-row { justify-content: center; }

.dl-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.dl-form input[type="email"] {
    height: 48px;
    min-width: min(100%, 280px);
    flex: 1 1 220px;
    max-width: 360px;
    border-radius: 8px;
    border: 2px solid rgba(243, 238, 232, 0.35);
    background: rgba(243, 238, 232, 0.08);
    color: var(--cream);
    padding: 0 0.9rem;
    font: inherit;
}

.dl-form input[type="email"]::placeholder { color: rgba(243, 238, 232, 0.55); }
.dl-form.on-light { justify-content: center; }
.dl-form.on-light input[type="email"] { background: #fff; color: var(--navy); border-color: var(--border); }
.dl-form.on-light input[type="email"]::placeholder { color: var(--muted); }
.dl-form button:disabled { opacity: 0.7; cursor: wait; }

.dl-note {
    font-size: 0.88rem;
    margin: 0.35rem 0 0;
    width: 100%;
    color: var(--steel);
}

.text-link { color: var(--navy); font-weight: 650; }

/* Footer and modal */

footer { border-top: 1px solid var(--border); }

.foot-top {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem 0;
}

.foot-nav {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.foot-nav a,
.foot-nav button {
    color: var(--steel);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    font-size: 0.9rem;
}

.foot-nav a:hover,
.foot-nav button:hover { color: var(--navy); }

.foot-copy {
    border-top: 1px solid var(--border);
    padding: 1rem 0 1.25rem;
    font-size: 0.75rem;
    color: var(--steel);
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(25, 18, 61, 0.75);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.open { display: flex; }

.modal-content {
    background: var(--cream);
    width: min(720px, 100%);
    max-height: 85vh;
    overflow: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.modal-header {
    background: var(--navy);
    color: var(--cream);
    padding: 0.9rem 3rem 0.9rem 1.25rem;
}

.modal-header h3 { margin: 0; font-size: 1.15rem; color: var(--cream); }

.close {
    position: absolute;
    top: 0.55rem;
    right: 0.7rem;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 1.6rem;
    line-height: 1;
    width: 44px;
    height: 44px;
}

.close:hover { color: var(--lime); }

.modal-tabs { display: flex; background: #E7E0D6; border-bottom: 1px solid var(--border); }

.tab-btn {
    padding: 0.75rem 1.25rem;
    border: none;
    background: none;
    font-weight: 600;
    color: var(--muted);
}

.tab-btn.active { background: var(--cream); color: var(--navy); border-bottom: 3px solid var(--lime); }

.tab-panel { display: none; padding: 1.5rem; overflow-y: auto; background: var(--paper); font-size: 0.95rem; }
.tab-panel.active { display: block; }
.tab-panel a { color: var(--navy); font-weight: 650; }

@media (max-width: 980px) {
    .nav-links, .desk-download { display: none; }
    .menu-btn { display: inline-flex; }
    .suite, .band-grid, .grid-2 { grid-template-columns: 1fr; }
    .grid-3, .flow { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    .grid-3, .flow, .principles, .stats { grid-template-columns: 1fr; }
    .foot-top { flex-direction: column; }
    .crop-frame { padding: 3.25rem 1rem 3.5rem; }
    .cta-row .btn { width: 100%; }
    .hero-inner.left .cta-row { justify-content: stretch; }
    .section { padding: 3.25rem 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
}
