/*
Theme Name: iTexClouds Website
Theme URI: https://example.com
Author: Converted for iTexClouds
Author URI: https://example.com
Description: WordPress theme converted from the iTexClouds "Pre-Post Cost Management" static HTML/CSS/JS site.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: itex-website
*/

/* =========================
   TOKENS
========================= */

:root {
    --navy: #05053b;        /* headings, top bar, footer */
    --blue: #005a8c;        /* section nav, accents */
    --blue-mid: #1a7aab;
    --cyan: #3fc5eb;        /* buttons, active tab */
    --cyan-soft: #e3f5fb;
    --lime: #b9e12d;        /* active section nav link */
    --hero-bg: #e9f6fa;
    --sky-bg: #dcedf9;
    --soft-bg: #f6fafc;
    --text: #3a404c;
    --muted: #5c6470;
    --line: #dde3e8;
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #ffffff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

section[id] {
    scroll-margin-top: 48px;
}


/* =========================
   HEADER
========================= */

.header {
    background: #ffffff;
    border-bottom: 1px solid #e3e8ec;
}

.top-bar {
    background: var(--navy);
    color: #ffffff;
    font-size: 11px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 32px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aeb4c8;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb .current {
    color: #ffffff;
    font-weight: 700;
}

.top-bar-right {
    display: flex;
    gap: 12px;
    font-weight: 700;
}

.navbar {
    position: relative;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-mark {
    width: 29px;
    height: 29px;
    border-radius: 4px;
    background: var(--navy);
    color: var(--cyan);
    font-size: 14px;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--navy);
}

.logo-text small {
    font-size: 7px;
    letter-spacing: 1.6px;
    color: var(--muted);
    margin-top: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 11.5px;
    color: #1c1f2a;
}

.nav-links a:not(.nav-button):hover {
    color: var(--blue);
}

.nav-button {
    background: var(--cyan);
    color: var(--navy);
    font-size: 13px;
    padding: 11px 22px;
    border-radius: 6px;
    transition: background .2s;
}

.nav-button:hover {
    background: #2db6de;
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    font-size: 24px;
    color: var(--navy);
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    background: var(--hero-bg);
    padding: 46px 0 46px;
}

.hero-eyebrow {
    font-size: 12px;
    color: #2f3440;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--navy);
    max-width: 560px;
    margin-bottom: 22px;
}

.hero-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #3f4552;
    max-width: 545px;
    margin-bottom: 22px;
}

.outline-btn {
    display: inline-flex;
    justify-content: center;
    min-width: 192px;
    padding: 11px 24px;
    background: #ffffff;
    border: 1px solid var(--cyan);
    border-radius: 6px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    transition: background .2s;
}

.outline-btn:hover {
    background: var(--cyan);
}

.hero-note {
    display: block;
    margin-top: 10px;
    font-size: 10.5px;
    font-style: italic;
    color: #333844;
}


/* =========================
   SECTION NAV
========================= */

.section-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--blue);
}

.section-nav-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 38px;
    height: 48px;
}

.section-nav a {
    font-size: 10.5px;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: #ffffff;
    white-space: nowrap;
    transition: color .2s;
}

.section-nav a:hover {
    color: #8fe2fa;
}

.section-nav a.active {
    color: var(--lime);
}


/* =========================
   SHARED HEADINGS
========================= */

.section-heading {
    text-align: center;
    margin: 0 auto 30px;
}

.section-heading h2 {
    font-size: 34px;
    line-height: 1.25;
    color: var(--navy);
    margin: 0 auto 12px;
}

.section-heading p {
    font-size: 14px;
    line-height: 1.55;
    color: #3f4552;
    margin: 0 auto;
}

.eyebrow-strong,
.section-heading .eyebrow-strong {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
}

.eyebrow-plain,
.section-heading .eyebrow-plain {
    font-size: 12px;
    color: #2f3440;
    margin-bottom: 6px;
}


/* =========================
   MARGIN GAP
========================= */

.margin-section {
    background: var(--soft-bg);
    padding: 44px 0 28px;
}

.margin-section .section-heading h2 {
    font-size: 36px;
    max-width: 560px;
}

.margin-section .section-heading p {
    max-width: 580px;
}

.gap-flow {
    display: grid;
    grid-template-columns: minmax(0, 2.33fr) 36px minmax(0, 1.22fr) 36px minmax(0, 1fr);
    align-items: stretch;
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8fd6ec;
}

.flow-card {
    min-height: 288px;
    background: #ffffff;
    border: 1px solid #d9e0e6;
    border-radius: 8px;
    padding: 18px 17px;
    box-shadow: 0 2px 6px rgba(9, 30, 66, .05);
}

.conditions-card h3 {
    font-size: 13.5px;
    color: var(--navy);
    margin-bottom: 12px;
}

.conditions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.condition-item {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 53px;
    padding: 0 10px;
    background: #f8fafb;
    border: 1px solid #e1e6ea;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #1d2230;
}

.icon-circle {
    flex-shrink: 0;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: var(--cyan-soft);
    color: var(--blue);
    display: grid;
    place-items: center;
}

.icon-circle svg {
    width: 14px;
    height: 14px;
}

/* comparison card */

.comparison-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-kicker {
    font-size: 9px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.comparison-card h3 {
    font-size: 15px;
    color: var(--navy);
    margin-bottom: 18px;
}

.bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 9.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.bar-track {
    height: 8px;
    background: #e7ebef;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 18px;
}

.bar-fill {
    height: 100%;
    border-radius: 8px;
}

.bar-fill.estimate {
    width: 78%;
    background: #9aa3ac;
}

.bar-fill.actual {
    width: 94%;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.comparison-note {
    border-left: 3px solid var(--cyan);
    background: var(--cyan-soft);
    font-size: 9.5px;
    color: var(--text);
    padding: 8px 10px;
}

/* result card */

.result-gap-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #e8f6fb;
    border-color: #b9e3f1;
    padding: 20px 16px;
}

.result-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--blue);
    color: #ffffff;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
}

.result-icon svg {
    width: 16px;
    height: 16px;
}

.result-gap-card h3 {
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 4px;
}

.result-text,
.result-foot {
    font-size: 10.5px;
    line-height: 1.45;
    color: var(--text);
}

.percentage {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--blue);
    margin-top: 16px;
}

.percentage-label {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #4b5260;
    margin-top: 2px;
}

.result-foot {
    margin-top: 14px;
}


/* =========================
   TEXTILE COSTING
========================= */

.costing-section {
    background: var(--sky-bg);
    padding: 50px 0 62px;
}

.costing-section .section-heading h2 {
    font-size: 32px;
}

.costing-section .section-heading p {
    max-width: 650px;
}

.capability-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.slider-btn {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: #c9cfd6;
    color: #4a505a;
    font-size: 15px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.slider-btn:hover:not(:disabled) {
    background: var(--blue);
    color: #ffffff;
}

.slider-btn:disabled {
    background: #e6ebf0;
    color: #b0b7bf;
    cursor: default;
}

.capability-viewport {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 836px;
    padding: 8px 4px 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.capability-viewport::-webkit-scrollbar {
    display: none;
}

.capability-card {
    flex: 0 0 128px;
    height: 114px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 8px;
    background: #ffffff;
    border: 1px solid #e3e8ed;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .14);
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.capability-card svg {
    width: 26px;
    height: 26px;
    stroke: #2a2f3a;
}

.capability-card span {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    color: #1f2430;
    text-align: center;
}

.capability-card:hover,
.capability-card.active {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .14);
}

.capability-card.active {
    border-color: var(--cyan);
}

.capability-detail {
    max-width: 600px;
    margin: 12px auto 0;
    padding: 14px 18px;
    background: #ffffff;
    border-left: 3px solid var(--cyan);
    border-radius: 4px;
    font-size: 13px;
    color: var(--text);
    animation: fadeIn .3s ease;
}

.capability-detail strong {
    display: block;
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 4px;
}

.slider-help {
    text-align: center;
    margin-top: 26px;
    font-size: 10px;
    font-style: italic;
    font-weight: 700;
    color: var(--text);
}


/* =========================
   WHAT CHANGES
========================= */

.changes-section {
    background: #ffffff;
    padding: 60px 0 56px;
}

.changes-title {
    font-size: 34px;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 30px;
}

.change-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-bottom: 1px solid #c9cfd6;
    margin-bottom: 36px;
}

.change-tab {
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    padding: 14px 8px 13px;
    font-size: 12px;
    color: #4b5260;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s, border-color .2s;
}

.change-tab:hover {
    color: var(--navy);
}

.change-tab.active {
    color: var(--navy);
    font-weight: 700;
    border-bottom-color: var(--cyan);
}

.change-panel {
    display: none;
    grid-template-columns: 1fr 426px;
    gap: 50px;
    align-items: center;
}

.change-panel.active {
    display: grid;
    animation: fadeIn .35s ease;
}

.change-kicker {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 10px;
}

.change-text h3 {
    font-size: 28px;
    line-height: 1.3;
    color: var(--navy);
    max-width: 430px;
}

.dash-card {
    background: #f3f5f7;
    border: 1px solid #d6dce2;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
    padding: 12px 14px;
}

.dash-head {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: var(--muted);
    margin-bottom: 12px;
}

.dash-head span:first-child {
    font-weight: 700;
    color: var(--text);
}

.dash-body {
    display: grid;
    grid-template-columns: 1fr 136px;
    gap: 9px;
}

.dash-main {
    display: flex;
    flex-direction: column;
    min-height: 220px;
    padding: 14px 13px;
    background: #ffffff;
    border: 1px solid var(--line);
}

.dash-main small {
    font-size: 10px;
    color: #4b5260;
}

.dash-main strong {
    font-size: 16px;
    color: var(--navy);
    margin-top: 6px;
}

.dash-chart {
    width: 100%;
    height: 60px;
    margin-top: 44px;
    overflow: visible;
}

.dash-chart .grid {
    stroke: #eceff2;
    stroke-width: 1;
    fill: none;
}

.dash-chart .line {
    fill: none;
    stroke: var(--cyan);
    stroke-width: 2;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.dash-chart .line.muted {
    stroke: #aab2ba;
    stroke-dasharray: 4 4;
}

.dash-side {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
}

.dash-stat {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--line);
}

.dash-stat small {
    font-size: 9.5px;
    color: #4b5260;
}

.dash-stat strong {
    font-size: 12px;
    color: var(--navy);
    margin-top: 6px;
}


/* =========================
   SEE IT USING YOUR OWN SKU
========================= */

.sku-section {
    background: var(--sky-bg);
    padding: 50px 0 44px;
}

.sku-section .section-heading {
    margin-bottom: 26px;
}

.sku-section .section-heading h2 {
    font-size: 30px;
    margin-bottom: 8px;
}

.sku-section .section-heading p {
    font-size: 12.5px;
}

.sku-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 70px;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.sku-list {
    list-style: none;
    display: grid;
    gap: 8px;
}

.sku-item {
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    background: #ffffff;
    border: 1px solid #d5dde4;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(9, 30, 66, .06);
    font-size: 11.5px;
    color: #1f2430;
    text-align: left;
    cursor: pointer;
    transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
}

.sku-item:hover {
    transform: scale(1.005) translateX(2px);
    border-color: #9aa5b0;
    box-shadow: 0 3px 8px rgba(9, 30, 66, .1);
}

.sku-check {
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    border: 1px solid #c3cad1;
    display: grid;
    place-items: center;
    font-size: 10px;
    color: #9aa3ac;
    transition: .2s;
}

.sku-item.active {
    background: #d6f1f9;
    border-color: #b6e3f1;
}

.sku-item.active .sku-check {
    background: #1f9d1f;
    border-color: #1f9d1f;
    color: #ffffff;
    font-weight: 700;
}

.sku-cta {
    text-align: center;
    margin-top: 16px;
}

.sku-cta .solid-btn {
    font-size: 11.5px;
    padding: 10px 20px;
}

/* cost wheel */

.sku-right {
    display: flex;
    justify-content: center;
}

.cost-wheel {
    position: relative;
    width: 288px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #eaf4fa;
}

.wheel-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.wheel-ring-outer {
    width: 91.5%;
    height: 91.5%;
    border: 1px dotted #7fd0ea;
}

.wheel-ring-mid {
    width: 67.4%;
    height: 67.4%;
    border: 1px dashed #f1caa2;
}

.wheel-ring-inner {
    width: 45%;
    height: 45%;
    background: #eef4f8;
    border: 1px solid #dde6ec;
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 29%;
    height: 29%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(9, 30, 66, .12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    padding: 6px;
}

.wheel-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--cyan);
    font-size: 11px;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.wheel-center-text {
    font-size: 7.5px;
    line-height: 1.3;
    color: #6b7380;
    max-width: 70px;
}

.wheel-node {
    position: absolute;
    z-index: 3;
    width: 58px;
    padding: 6px 4px;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border: 1px solid #dfe5ea;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(9, 30, 66, .1);
    font-size: 7.5px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy);
    text-align: center;
    transition: background .25s, border-color .25s, transform .25s;
}

.wheel-node.active {
    background: #dff5fc;
    border: 1.5px solid var(--cyan);
    transform: translate(-50%, -50%) scale(1.08);
}

.n0 { left: 50%;   top: 16.3%; }
.n1 { left: 73.8%; top: 26.2%; }
.n2 { left: 83.7%; top: 50%; }
.n3 { left: 73.8%; top: 73.8%; }
.n4 { left: 50%;   top: 83.7%; }
.n5 { left: 26.2%; top: 73.8%; }
.n6 { left: 16.3%; top: 50%; }
.n7 { left: 26.2%; top: 26.2%; }

.wheel-label {
    position: absolute;
    left: 50%;
    top: 92.5%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #6b7a88;
}


/* =========================
   MANUFACTURING LESSON
========================= */

.lesson-section {
    background: #f5f6f8;
    padding: 64px 0 62px;
}

.lesson-section .section-heading {
    margin-bottom: 28px;
}

.lesson-section .section-heading h2 {
    font-size: 34px;
    margin-bottom: 0;
}

.lesson-card {
    max-width: 690px;
    margin: 0 auto;
    padding: 32px 44px 34px;
    background: #ffffff;
    border: 1px solid #d9dee3;
    text-align: center;
}

.lesson-story {
    font-size: 14.5px;
    line-height: 1.65;
    color: #33373f;
}

.lesson-author {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 20px;
}

.lesson-author strong {
    font-size: 11px;
    color: var(--navy);
}

.lesson-author span {
    font-size: 10.5px;
    font-weight: 600;
    color: #6b7380;
}


/* =========================
   RESULTS
========================= */

.results-section {
    background: var(--hero-bg);
    padding: 40px 0 62px;
}

.results-section .section-heading {
    margin-bottom: 26px;
}

.results-section .section-heading p {
    font-size: 12.5px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.outcome-card {
    display: flex;
    flex-direction: column;
    min-height: 224px;
    background: #ffffff;
    border: 1px solid #cfd6dd;
}

.outcome-top {
    height: 87px;
    display: flex;
    align-items: flex-end;
    padding: 0 14px 16px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.tone-1 { background: var(--blue); }
.tone-2 { background: var(--blue-mid); }
.tone-3 { background: var(--navy); }

.outcome-body {
    padding: 18px 16px;
}

.outcome-body h3 {
    font-size: 14px;
    line-height: 1.55;
    color: var(--navy);
}


/* =========================
   FINAL CTA
========================= */

.final-cta {
    background: var(--sky-bg);
    padding: 62px 0 56px;
    text-align: center;
}

.final-cta h2 {
    font-size: 34px;
    line-height: 1.3;
    color: var(--navy);
    max-width: 610px;
    margin: 0 auto 14px;
}

.cta-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    max-width: 540px;
    margin: 0 auto 22px;
}

.solid-btn {
    display: inline-block;
    background: var(--cyan);
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: 6px;
    transition: background .2s;
}

.solid-btn:hover {
    background: #2db6de;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: var(--navy);
    color: #ffffff;
    padding-top: 46px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 287px 217px 216px 1fr;
    padding-bottom: 34px;
}

.footer .logo-mark {
    background: rgba(255, 255, 255, .04);
}

.footer .logo-text {
    color: #ffffff;
}

.footer .logo-text small {
    color: #aab0c4;
}

.footer-brand p {
    font-size: 11px;
    line-height: 1.6;
    color: #d8dcea;
    max-width: 240px;
    margin-top: 10px;
}

.footer h4 {
    font-size: 11px;
    margin-bottom: 14px;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 11px;
    color: #d8dcea;
    margin-bottom: 8px;
}

.footer-col a:hover {
    color: #ffffff;
}

.contact-group {
    margin-bottom: 12px;
}

.contact-group p,
.contact-group a {
    margin-bottom: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-size: 10px;
    color: #d8dcea;
}

.footer-bottom a:hover {
    color: #ffffff;
}


/* =========================
   MOTION
========================= */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 200;
        width: 240px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 20px 22px;
        background: #ffffff;
        border-radius: 6px;
        box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
        font-size: 14px;
    }

    .nav-links.open {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .gap-flow {
        grid-template-columns: 1fr;
    }

    .flow-card {
        min-height: auto;
    }

    .flow-arrow {
        height: 36px;
    }

    .flow-arrow svg {
        transform: rotate(90deg);
    }

    .change-panel {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sku-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 480px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 700px) {

    .breadcrumb {
        display: none;
    }

    .top-bar-content {
        justify-content: flex-end;
    }

    .section-nav-inner {
        justify-content: flex-start;
        gap: 26px;
        padding: 0 5%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .section-nav-inner::-webkit-scrollbar {
        display: none;
    }

    .section-heading h2,
    .margin-section .section-heading h2,
    .costing-section .section-heading h2,
    .changes-title,
    .final-cta h2 {
        font-size: 27px;
    }

    .conditions-grid {
        grid-template-columns: 1fr;
    }

    .change-tabs {
        display: flex;
        overflow-x: auto;
    }

    .change-tab {
        flex: 0 0 auto;
        padding: 14px 16px;
    }

    .change-text h3 {
        font-size: 23px;
    }

    .dash-body {
        grid-template-columns: 1fr;
    }

    .dash-side {
        grid-template-rows: none;
        grid-template-columns: repeat(3, 1fr);
    }

    .lesson-card {
        padding: 24px 20px;
    }

    .lesson-story {
        font-size: 13.5px;
    }

    .cost-wheel {
        width: min(288px, 100%);
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}