:root {
    --color-bg: #0d1118;
    --color-bg-2: #151b24;
    --color-charcoal: #303237;
    --color-slate: #202938;
    --color-light: #f5f2ea;
    --color-white: #ffffff;
    --color-muted: rgba(255, 255, 255, 0.72);
    --color-dark-muted: #4f5968;
    --color-gold: #deb11f;
    --color-gold-soft: #f1d875;
    --color-red: #c50b0b;
    --shadow-soft: 0 22px 55px rgba(0, 0, 0, 0.22);
    --header-height: 76px;
    --content-width: 1180px;
    --radius-lg: 28px;
    --radius-md: 18px;
    --font-body: Roboto, Arial, sans-serif;
    --font-display: "EB Garamond", Georgia, serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-white);
    background: var(--color-bg);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.55;
}

body::selection {
    color: #111;
    background: var(--color-gold);
}

a {
    color: inherit;
}

img, video {
    display: block;
    max-width: 100%;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 1000;
    transform: translateY(-140%);
    padding: 0.75rem 1rem;
    color: #111;
    background: var(--color-gold);
    border-radius: 999px;
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    min-height: var(--header-height);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.2rem;
    padding: 0.75rem clamp(1rem, 3vw, 2.5rem);
    background: linear-gradient(180deg, rgba(10, 13, 19, 0.88), rgba(10, 13, 19, 0.38));
    backdrop-filter: blur(14px);
    transition: background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
    background: rgba(10, 13, 19, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.brand img {
    width: min(245px, 42vw);
    height: auto;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.45rem, 1.2vw, 1.2rem);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.055em;
}

.top-nav a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 180ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.top-nav a.is-active {
    color: var(--color-gold);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.25rem;
    color: #10131a;
    background: var(--color-gold);
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(222, 177, 31, 0.24);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    background: var(--color-gold-soft);
    box-shadow: 0 16px 34px rgba(222, 177, 31, 0.32);
}

.button-small {
    min-height: 42px;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.button-secondary {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    color: #111;
    background: rgba(255, 255, 255, 0.9);
}

.button-block {
    width: 100%;
}

.slide-dots {
    position: fixed;
    z-index: 95;
    right: clamp(0.9rem, 2vw, 1.6rem);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.slide-dot:hover,
.slide-dot:focus-visible,
.slide-dot.is-active {
    transform: scale(1.3);
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.brochure-slide {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 2rem) clamp(1.1rem, 4vw, 4.5rem) 3.25rem;
    overflow: hidden;
    scroll-margin-top: 0;
}

.slide-content {
    width: min(var(--content-width), 100%);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
    gap: clamp(2rem, 6vw, 5.5rem);
}

.align-center {
    align-items: center;
}

.copy-panel {
    max-width: 670px;
}

.center {
    text-align: center;
}

.section-heading {
    max-width: 880px;
    margin: 0 auto clamp(1.8rem, 4vw, 3.2rem);
}

.eyebrow {
    margin: 0 0 0.9rem;
    color: var(--color-gold);
    font-size: 0.83rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1, h2, h3 {
    margin: 0;
    line-height: 1.02;
}

h1, h2 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.025em;
}

h1 {
    max-width: 960px;
    font-size: clamp(2.9rem, 6vw, 7.0rem);
}

h2 {
    font-size: clamp(2.25rem, 5.5vw, 5.5rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.lead {
    max-width: 760px;
    margin: 1.35rem 0 0;
    color: var(--color-muted);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.lead.small {
    max-width: 580px;
    font-size: 1.05rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.button-row.center {
    justify-content: center;
}

.text-link {
    display: inline-flex;
    margin-top: 1.25rem;
    color: var(--color-gold);
    font-weight: 900;
    text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
    text-decoration: underline;
}

.hero-slide {
    align-items: end;
    padding-bottom: clamp(5rem, 10vh, 8rem);
    background: #0b0f16;
}

.hero-video,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    object-fit: cover;
    opacity: 0.86;
    filter: saturate(1.08) contrast(1.04);
    background: url('../wp-content/uploads/2021/08/instep-main-bg-img-768x432.png') center / cover no-repeat;
}

.hero-overlay {
    z-index: 1;
    background: radial-gradient(circle at 72% 35%, rgba(222, 177, 31, 0.16), transparent 30%), 
        linear-gradient(90deg, rgba(8, 11, 17, 0.68) 0%, rgba(8, 11, 17, 0.38) 48%, rgba(8, 11, 17, 0.04) 100%), 
        linear-gradient(0deg, rgba(8, 11, 17, 0.44), rgba(8, 11, 17, 0.04));
}

.hero-content {
    max-width: 980px;
    transform: translateY(-3vh);
    transform: translate(-5vh,-14vh);
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.62);
}

    .hero-content .lead {
        max-width: 680px;
    }
.scroll-cue {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 1.4rem;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-decoration: none;
    text-transform: uppercase;
}

.scroll-arrow {
    font-size: 1.5rem;
    line-height: 1;
    animation: cue-bounce 1.6s ease-in-out infinite;
}

.theme-gold {
    color: #111720;
    background: linear-gradient(135deg, #f4d668 0%, #dca718 52%, #aa7c0d 100%);
}

.theme-gold .eyebrow,
.theme-light .eyebrow {
    color: #7a120f;
}

.theme-gold .lead,
.theme-gold .staged-list,
.theme-light .lead {
    color: rgba(17, 23, 32, 0.78);
}

.theme-charcoal {
    background:
        radial-gradient(circle at 15% 25%, rgba(222, 177, 31, 0.20), transparent 28%),
        linear-gradient(135deg, #23252b 0%, #414349 100%);
}

.theme-slate {
    background:
        radial-gradient(circle at 80% 70%, rgba(197, 11, 11, 0.18), transparent 28%),
        linear-gradient(135deg, #111827 0%, #263448 100%);
}

.theme-light {
    color: #141923;
    background: linear-gradient(135deg, #ffffff 0%, #f0ece1 100%);
}

.theme-pricing {
    color: #141923;
    background: linear-gradient(135deg, #fff8d8 0%, #f2efe7 52%, #ffffff 100%);
}

.theme-final {
    text-align: center;
    background:
        radial-gradient(circle at 50% 10%, rgba(222, 177, 31, 0.24), transparent 32%),
        linear-gradient(135deg, #10141c 0%, #2f3339 100%);
}

.staged-list {
    display: grid;
    gap: 1rem;
    margin: 1.6rem 0 0;
    padding: 0;
    list-style: none;
    font-weight: 600;
}

.staged-list li {
    position: relative;
    padding-left: 2rem;
}

.staged-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18);
}

.media-frame {
    margin: 0;
    padding: clamp(0.55rem, 1vw, 0.9rem);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.theme-light .media-frame,
.theme-pricing .media-frame,
.theme-gold .media-frame {
    background: rgba(255, 255, 255, 0.48);
    border-color: rgba(0, 0, 0, 0.08);
}

.media-frame img {
    width: 100%;
    border-radius: calc(var(--radius-lg) - 10px);
}

.card-grid {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.pricing-card {
    min-width: 0;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.feature-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.18);
}

.feature-card h3,
.feature-card p {
    padding-inline: 1.15rem;
}

.feature-card h3 {
    margin-top: 1.15rem;
    color: var(--color-gold);
}

.feature-card p {
    margin: 0.45rem 0 1.25rem;
    color: var(--color-muted);
    font-size: 0.96rem;
}

.workflow-list {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.workflow-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
}

.workflow-list span {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #111;
    background: var(--color-gold);
    border-radius: 50%;
    font-weight: 900;
}

.workflow-list small {
    color: var(--color-muted);
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.8rem;
}

.pill-list span {
    display: inline-flex;
    padding: 0.65rem 0.9rem;
    color: #111;
    background: rgba(222, 177, 31, 0.22);
    border: 1px solid rgba(222, 177, 31, 0.45);
    border-radius: 999px;
    font-weight: 800;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: clamp(1.15rem, 2vw, 1.65rem);
    color: #111720;
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    background: #161b24;
    color: var(--color-white);
    border-color: rgba(222, 177, 31, 0.65);
    transform: translateY(-0.85rem);
}

.pricing-card p {
    margin: 0;
    color: var(--color-dark-muted);
}

.pricing-card.featured p {
    color: var(--color-muted);
}

.pricing-card .price {
    color: inherit;
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    font-weight: 900;
    line-height: 1;
}

.pricing-card .button {
    margin-top: auto;
}

.badge {
    align-self: flex-start;
    padding: 0.35rem 0.65rem;
    color: #111 !important;
    background: var(--color-gold);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fine-print {
    margin: 1.2rem auto 0;
    color: var(--color-dark-muted);
    text-align: center;
    font-size: 0.9rem;
}

.format-groups {
    display: grid;
    gap: 1rem;
    margin-top: 1.6rem;
}

.format-groups div {
    padding-left: 1rem;
    border-left: 4px solid var(--color-gold);
}

.format-groups h3 {
    color: var(--color-gold);
}

.format-groups p {
    margin: 0.3rem 0 0;
    color: var(--color-muted);
}

.final-panel {
    max-width: 920px;
}

.site-footer {
    position: absolute;
    z-index: 2;
    left: clamp(1rem, 4vw, 4.5rem);
    right: clamp(1rem, 4vw, 4.5rem);
    bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.85rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--color-gold);
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 700ms ease, transform 700ms ease;
    transition-delay: var(--delay, 0ms);
}

.is-visible .reveal,
.no-js .reveal {
    opacity: 1;
    transform: none;
}

@keyframes cue-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@media (min-width: 980px) and (min-height: 650px) {
    html {
        scroll-snap-type: y mandatory;
    }

    .brochure-slide {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

@media (max-width: 1140px) {
    .top-nav {
        display: none;
    }

    .site-header {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .slide-dots {
        display: none;
    }
}

@media (max-width: 900px) {
    body {
        font-size: 16px;
    }

    .brochure-slide {
        min-height: auto;
        padding-top: calc(var(--header-height) + 2rem);
        padding-bottom: 3.5rem;
        overflow: visible;
    }

    .hero-slide {
        min-height: 100svh;
    }

    .two-column,
    .pricing-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .reverse-on-mobile .media-frame {
        order: -1;
    }

    .pricing-card.featured {
        transform: none;
    }

    .media-frame {
        max-width: 680px;
        margin-inline: auto;
    }
}

@media (max-width: 620px) {
    :root {
        --header-height: 70px;
    }

    .site-header {
        padding-inline: 0.85rem;
    }

    .brand img {
        width: min(215px, 52vw);
    }

    .button-small {
        min-height: 38px;
        padding: 0.55rem 0.72rem;
        font-size: 0.76rem;
    }

    .brochure-slide {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(8, 11, 17, 0.94) 0%, rgba(8, 11, 17, 0.75) 100%),
            linear-gradient(0deg, rgba(8, 11, 17, 0.86), rgba(8, 11, 17, 0.18));
    }

    .button-row,
    .button-row.center {
        flex-direction: column;
        align-items: stretch;
    }

    .button-row .button {
        width: 100%;
    }

    .workflow-list li {
        grid-template-columns: 1fr;
    }

    .workflow-list span {
        margin-bottom: 0.65rem;
    }

    .site-footer {
        position: static;
        margin-top: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
        scroll-snap-type: none;
    }

    *, *::before, *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .scroll-arrow {
        animation: none;
    }
}
