:root {
    --bg: #F3F8FA;
    --bg-2: #FFF0EA;
    --ink: #24323D;
    --white: #FFFFFF;

    --peri: #3B9CCB;
    --peri-2: #247BA5;
    --peri-pale: #DDF1FA;

    --mint: #52C7A5;
    --mint-2: #35A887;

    --peach: #FF8B72;
    --peach-2: #F2684F;

    --yellow: #F6C85F;
    --muted: rgba(36, 50, 61, .6);

    --clay-raise: 10px 10px 26px rgba(59, 156, 203, .20), -8px -8px 20px rgba(255, 255, 255, .85);
    --clay-raise-sm: 6px 6px 16px rgba(59, 156, 203, .18), -5px -5px 12px rgba(255, 255, 255, .85);
    --clay-press: inset 7px 7px 16px rgba(36, 50, 61, .14), inset -6px -6px 14px rgba(255, 255, 255, .7);
    --clay-glow: 0 18px 40px rgba(59, 156, 203, .35);

    --r-sm: 20px;
    --r-md: 28px;
    --r-lg: 36px;
    --r-xl: 46px;
    --r-pill: 999px;

    --disp: 'Baloo 2', sans-serif;
    --sans: 'Mulish', sans-serif;
    --mono: 'Chivo Mono', monospace;
    --ease: cubic-bezier(.34, 1.56, .64, 1);
    --ease-soft: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--disp);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    font-family: inherit;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: var(--peri);
    border-radius: 4px;
}

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

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

.eyebrow {
    font-family: var(--mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--peri-2);
    background: var(--peri-pale);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--r-pill);
    margin-bottom: 20px;
}

.section-h {
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.3px;
    margin-bottom: 16px;
}

.section-h .sw {
    color: var(--peri);
}

.section-p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--muted);
    max-width: 500px;
    font-weight: 500;
}

.sect {
    padding: 110px 0;
    position: relative;
}

.sect-head {
    margin-bottom: 54px;
}

.sect-head.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.sect-head.center .section-p {
    margin: 0 auto;
}

.sect-head.center .eyebrow {
    margin-left: auto;
    margin-right: auto;
}

.pop {
    opacity: 0;
    transform: scale(.92) translateY(16px);
    transition: opacity .6s var(--ease-soft), transform .6s var(--ease);
}

.pop.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.wave {
    display: block;
    width: 100%;
    line-height: 0;
}

.wave svg {
    width: 100%;
    height: 70px;
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: .9rem;
    padding: 16px 30px;
    border-radius: var(--r-pill);
    border: none;
    cursor: pointer;
    transition: all .25s var(--ease-soft);
}

.btn-peri {
    background: linear-gradient(135deg, var(--peri), var(--peri-2));
    color: #fff;
    box-shadow: var(--clay-glow);
}

.btn-peri:hover {
    transform: translateY(-3px);
}

.btn-peri:active {
    transform: translateY(1px);
    box-shadow: 0 8px 20px rgba(139, 127, 232, .3);
}

.btn-white {
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--clay-raise-sm);
}

.btn-white:hover {
    transform: translateY(-3px);
}

.btn-white:active {
    box-shadow: var(--clay-press);
    transform: translateY(0);
}

.btn-mint {
    background: linear-gradient(135deg, var(--mint), var(--mint-2));
    color: #fff;
    box-shadow: 0 14px 30px rgba(63, 190, 146, .32);
}

.btn-mint:hover {
    transform: translateY(-3px);
}

.btn i {
    font-size: .78rem;
    transition: transform .3s ease;
}

.btn:hover i {
    transform: translate(3px, -2px);
}

/* ═══════ NAV ═══════ */
#topnav {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: rgba(245, 242, 252, .9);
    backdrop-filter: blur(10px);
    padding: 18px 0;
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--peri), var(--mint));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--disp);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: var(--clay-raise-sm);
    transition: transform .4s var(--ease);
}

.brand:hover .brand-mark {
    transform: rotate(-8deg) scale(1.05);
}

.brand-word {
    font-family: var(--disp);
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
    background: var(--white);
    padding: 7px;
    border-radius: var(--r-pill);
    box-shadow: var(--clay-raise-sm);
    flex: 0 1 auto;
    justify-content: center;
}

.nav-links li {
    flex-shrink: 0;
}

.nav-links a {
    display: inline-block;
    font-size: .85rem;
    font-weight: 700;
    color: var(--muted);
    padding: 10px 20px;
    border-radius: var(--r-pill);
    transition: all .25s var(--ease-soft);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--peri-2);
}

.nav-links a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--peri), var(--peri-2));
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    border: none;
    background: var(--white);
    color: var(--peri);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: var(--clay-raise-sm);
}

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

    .nav-toggle {
        display: flex;
    }

    .nav-cta .btn {
        display: none;
    }
}

#mobileMenu {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 1400;
    display: flex;
    flex-direction: column;
    padding: 110px 40px 40px;
    transform: translateY(-100%);
    transition: transform .5s var(--ease-soft);
}

#mobileMenu.open {
    transform: translateY(0);
}

.mm-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 18px;
    border: none;
    background: var(--white);
    color: var(--peri);
    cursor: pointer;
    box-shadow: var(--clay-raise-sm);
}

.mm-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mm-links a {
    font-family: var(--disp);
    font-size: 1.7rem;
    color: var(--ink);
    padding: 14px 22px;
    border-radius: var(--r-lg);
    background: var(--white);
    box-shadow: var(--clay-raise-sm);
}

/* ═══════ HERO — Dashboard + Mobile Animation ═══════ */
#hero {
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
}

.blob-field {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: .5;
    animation: blobDrift 9s ease-in-out infinite;
}

@keyframes blobDrift {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-18px) scale(1.05);
    }
}

.blob.b1 {
    width: 240px;
    height: 240px;
    background: var(--peri);
    top: 40px;
    left: 4%;
    animation-duration: 10s;
}

.blob.b2 {
    width: 170px;
    height: 170px;
    background: var(--mint);
    top: 200px;
    right: 6%;
    animation-duration: 8s;
    animation-delay: 1s;
}

.blob.b3 {
    width: 140px;
    height: 140px;
    background: var(--peach);
    bottom: 40px;
    left: 14%;
    animation-duration: 11s;
    animation-delay: 2s;
}

.blob.b4 {
    width: 110px;
    height: 110px;
    background: var(--yellow);
    top: 60px;
    right: 28%;
    animation-duration: 9s;
    animation-delay: 1.5s;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 70px;
}

.hero-left {
    text-align: left;
}

.hero-eyebrow {
    font-family: var(--mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--peri-2);
    background: var(--peri-pale);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--r-pill);
    margin-bottom: 22px;
}

.hero-h {
    font-size: clamp(2.1rem, 4.6vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-h .sw {
    color: var(--peri);
}

.hero-sub {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 30px;
    font-weight: 600;
}

.hero-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Dashboard mock */
.dash {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 24px;
    box-shadow: var(--clay-raise);
    position: relative;
}

.dash-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px dashed rgba(139, 127, 232, .18);
}

.dash-top .ttl {
    font-family: var(--disp);
    font-weight: 700;
    font-size: 1.02rem;
}

.dash-top .ttl small {
    display: block;
    font-family: var(--mono);
    font-size: .65rem;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 2px;
}

.dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 4px rgba(95, 217, 174, .25);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(95, 217, 174, .25);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(95, 217, 174, .08);
    }
}

.dash-balance {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.dash-balance .v {
    font-family: var(--disp);
    font-weight: 800;
    font-size: 2.1rem;
    color: var(--ink);
    letter-spacing: -1px;
}

.dash-balance .ch {
    font-family: var(--mono);
    font-size: .82rem;
    font-weight: 600;
    color: var(--mint-2);
    background: rgba(95, 217, 174, .18);
    padding: 4px 10px;
    border-radius: var(--r-pill);
}

.dash-balance .ch.down {
    color: var(--peach-2);
    background: rgba(255, 127, 92, .15);
}

.dash-label {
    font-family: var(--mono);
    font-size: .68rem;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: .5px;
    margin-bottom: 20px;
}

.dash-mini-chart {
    height: 60px;
    margin-bottom: 18px;
    position: relative;
}

.dash-mini-chart svg {
    width: 100%;
    height: 100%;
}

.dash-mini-chart .area {
    fill: url(#dashGrad);
    opacity: .35;
}

.dash-mini-chart .line {
    fill: none;
    stroke: var(--peri);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dash-rows {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.dash-row {
    background: var(--bg);
    border-radius: var(--r-sm);
    padding: 12px;
    box-shadow: var(--clay-press);
}

.dash-row .ic {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .72rem;
    margin-bottom: 8px;
}

.dash-row .l {
    font-family: var(--mono);
    font-size: .58rem;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: .5px;
    margin-bottom: 2px;
}

.dash-row .v {
    font-family: var(--disp);
    font-weight: 700;
    font-size: .95rem;
}

.dash-tx {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4px;
    border-top: 2px dashed rgba(139, 127, 232, .12);
}

.dash-tx:first-of-type {
    border-top: none;
}

.dash-tx .lt {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-tx .ic {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--peri-pale);
    color: var(--peri-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
}

.dash-tx .n {
    font-size: .78rem;
    font-weight: 700;
}

.dash-tx .d {
    font-size: .66rem;
    color: var(--muted);
    font-family: var(--mono);
}

.dash-tx .amt {
    font-family: var(--disp);
    font-weight: 700;
    font-size: .82rem;
}

.dash-tx .amt.up {
    color: var(--mint-2);
}

.dash-tx .amt.down {
    color: var(--peach-2);
}

/* Right side - Phone with stock animation */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone {
    width: 280px;
    height: 560px;
    background: linear-gradient(160deg, #2B2540, #1a1530);
    border-radius: 44px;
    padding: 12px;
    box-shadow: var(--clay-glow), 0 30px 60px rgba(43, 37, 64, .35);
    position: relative;
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-14px) rotate(-2deg);
    }
}

.phone::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #1a1530;
    border-radius: var(--r-pill);
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(170deg, #FBF1EC, #F5F2FC);
    border-radius: 34px;
    overflow: hidden;
    padding: 50px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ps-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ps-header .t {
    font-family: var(--disp);
    font-weight: 700;
    font-size: .9rem;
}

.ps-header .bell {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--peri-2);
    font-size: .7rem;
    box-shadow: var(--clay-raise-sm);
}

.ps-stock {
    background: var(--white);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--clay-raise-sm);
}

.ps-stock .sym {
    font-family: var(--mono);
    font-size: .72rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.ps-stock .price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.ps-stock .price .v {
    font-family: var(--disp);
    font-weight: 800;
    font-size: 1.5rem;
    transition: color .4s ease;
}

.ps-stock .price .v.up {
    color: var(--mint-2);
}

.ps-stock .price .v.down {
    color: var(--peach-2);
}

.ps-stock .chg {
    font-family: var(--mono);
    font-size: .68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--r-pill);
    transition: all .4s ease;
}

.ps-stock .chg.up {
    background: rgba(95, 217, 174, .2);
    color: var(--mint-2);
}

.ps-stock .chg.down {
    background: rgba(255, 127, 92, .18);
    color: var(--peach-2);
}

.ps-chart {
    height: 80px;
    position: relative;
}

.ps-chart svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ps-chart .grid line {
    stroke: rgba(139, 127, 232, .1);
    stroke-width: 1;
}

.ps-chart .area {
    transition: fill .4s ease;
}

.ps-chart .area.up {
    fill: url(#upGrad);
}

.ps-chart .area.down {
    fill: url(#downGrad);
}

.ps-chart .line {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .4s ease;
}

.ps-chart .line.up {
    stroke: var(--mint-2);
}

.ps-chart .line.down {
    stroke: var(--peach-2);
}

.ps-watchlist {
    background: var(--white);
    border-radius: 20px;
    padding: 14px;
    box-shadow: var(--clay-raise-sm);
    flex: 1;
}

.ps-watchlist .ttl {
    font-family: var(--mono);
    font-size: .62rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: .5px;
    margin-bottom: 10px;
}

.ps-wl-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 1px dashed rgba(139, 127, 232, .15);
}

.ps-wl-item:first-of-type {
    border-top: none;
}

.ps-wl-item .lt {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ps-wl-item .sym-dot {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--disp);
    font-weight: 700;
    font-size: .62rem;
}

.ps-wl-item .nm {
    font-size: .74rem;
    font-weight: 700;
}

.ps-wl-item .nm small {
    display: block;
    font-family: var(--mono);
    font-size: .58rem;
    color: var(--muted);
    font-weight: 500;
}

.ps-wl-item .rt {
    text-align: right;
}

.ps-wl-item .px {
    font-family: var(--disp);
    font-weight: 700;
    font-size: .76rem;
}

.ps-wl-item .pc {
    font-family: var(--mono);
    font-size: .6rem;
    font-weight: 600;
}

.ps-wl-item .pc.up {
    color: var(--mint-2);
}

.ps-wl-item .pc.down {
    color: var(--peach-2);
}

.ps-nav {
    display: flex;
    justify-content: space-around;
    background: var(--white);
    border-radius: var(--r-pill);
    padding: 8px;
    box-shadow: var(--clay-raise-sm);
}

.ps-nav .it {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: .72rem;
}

.ps-nav .it.active {
    background: linear-gradient(135deg, var(--peri), var(--peri-2));
    color: #fff;
}

/* Floating mini badges around phone */
.float-badge {
    position: absolute;
    background: var(--white);
    border-radius: var(--r-md);
    padding: 12px 16px;
    box-shadow: var(--clay-raise);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: badgeFloat 5s ease-in-out infinite;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-badge .ic {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .72rem;
}

.float-badge .n {
    font-family: var(--disp);
    font-weight: 700;
    font-size: .82rem;
}

.float-badge .l {
    font-family: var(--mono);
    font-size: .58rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.fb-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.fb-2 {
    bottom: 25%;
    right: -8%;
    animation-delay: 1s;
}

.fb-3 {
    bottom: 8%;
    left: -5%;
    animation-delay: 2s;
}

/* Stats divider */
.stats-divider {
    position: relative;
    z-index: 1;
    padding-top: 50px;
    border-top: 2px dashed rgba(139, 127, 232, .25);
    margin-top: 30px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 26px 24px;
    box-shadow: var(--clay-raise);
    transition: transform .35s var(--ease);
    animation: stickerFloat 6s ease-in-out infinite;
}

.stat-card:nth-child(2) {
    animation-delay: .5s;
}

.stat-card:nth-child(3) {
    animation-delay: 1s;
}

.stat-card:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes stickerFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.04) !important;
}

.stat-card .ic {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 14px;
    font-size: 1rem;
}

.stat-card .n {
    font-family: var(--disp);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-card .l {
    font-size: .76rem;
    color: var(--muted);
    font-weight: 700;
}

@media(max-width:980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .float-badge {
        display: none;
    }
}

@media(max-width:560px) {
    .stats-row {
        grid-template-columns: 1fr;
    }

    .phone {
        width: 240px;
        height: 480px;
    }

    .dash-rows {
        grid-template-columns: 1fr 1fr;
    }
}

/* ═══════ ABOUT ═══════ */
#about {
    background: var(--bg-2);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.about-symbols {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 32px;
    box-shadow: var(--clay-raise);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    position: relative;
}

.sym-card {
    background: var(--bg);
    border-radius: var(--r-md);
    padding: 22px 16px;
    text-align: center;
    box-shadow: var(--clay-press);
    transition: transform .3s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 130px;
}

.sym-card:hover {
    transform: translateY(-4px);
}

.sym-card .ic {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.sym-card .nm {
    font-family: var(--disp);
    font-weight: 700;
    font-size: .82rem;
    margin-bottom: 2px;
}

.sym-card .vl {
    font-family: var(--mono);
    font-size: .68rem;
    color: var(--muted);
    font-weight: 600;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-list {
    list-style: none;
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .92rem;
    font-weight: 700;
}

.about-list li .ic {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--peri-pale);
    color: var(--peri-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    flex-shrink: 0;
    box-shadow: var(--clay-raise-sm);
}

@media(max-width:900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-symbols {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:560px) {
    .about-symbols {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════ SERVICES ═══════ */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.svc-clay {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 26px;
    box-shadow: var(--clay-raise);
    cursor: pointer;
    transition: all .3s var(--ease-soft);
    min-height: 170px;
}

.svc-clay:hover {
    transform: translateY(-6px);
}

.svc-clay.open {
    box-shadow: var(--clay-press);
    background: var(--peri-pale);
}

.svc-clay .ic {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.svc-clay h4 {
    font-size: 1.08rem;
    margin-bottom: 6px;
}

.svc-clay .hint {
    font-size: .74rem;
    color: var(--muted);
    font-weight: 600;
}

.svc-detail-wrap {
    grid-column: 1/-1;
    max-height: 0;
    overflow: hidden;
    transition: max-height .6s var(--ease-soft);
}

.svc-detail-wrap.open {
    max-height: 1200px;
}

.svc-detail-inner {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 36px;
    margin-top: 20px;
    box-shadow: var(--clay-raise);
}

.svc-detail-inner h3 {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.svc-detail-inner .tag {
    color: var(--muted);
    font-size: .86rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.svc-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.svc-item {
    background: var(--bg);
    border-radius: var(--r-md);
    padding: 20px;
    box-shadow: var(--clay-press);
}

.svc-item h5 {
    font-family: var(--disp);
    font-size: .98rem;
    margin-bottom: 10px;
    color: var(--peri-2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.svc-item h5 .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--peri);
    flex-shrink: 0;
}

.svc-item p {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 500;
}

@media(max-width:991px) {
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:560px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════ PROCESS ═══════ */
#process {
    background: var(--bg-2);
}

.stepper {
    position: relative;
    padding-top: 20px;
}

.stepper svg {
    position: absolute;
    top: 44px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 0;
}

.step-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-cell {
    text-align: center;
}

.step-badge {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--clay-raise);
    font-family: var(--disp);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--peri-2);
}

.step-cell h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.step-cell p {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.65;
    font-weight: 600;
}

@media(max-width:768px) {
    .step-row {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }

    .stepper svg {
        display: none;
    }
}

@media(max-width:520px) {
    .step-row {
        grid-template-columns: 1fr;
    }
}

/* ═══════ CALCULATOR ═══════ */
.calc-clay {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 48px;
    box-shadow: var(--clay-raise);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.calc-toggle {
    display: inline-flex;
    background: var(--bg);
    border-radius: var(--r-pill);
    padding: 6px;
    margin-bottom: 30px;
    box-shadow: var(--clay-press);
}

.calc-toggle button {
    background: transparent;
    border: none;
    padding: 12px 22px;
    border-radius: var(--r-pill);
    font-size: .82rem;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: all .3s var(--ease-soft);
}

.calc-toggle button.active {
    background: linear-gradient(135deg, var(--peri), var(--peri-2));
    color: #fff;
    box-shadow: 0 8px 18px rgba(139, 127, 232, .35);
}

.calc-field {
    margin-bottom: 26px;
}

.calc-field label {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: .72rem;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.calc-field label b {
    color: var(--ink);
    font-size: .92rem;
    font-family: var(--sans);
}

.calc-field input[type=range] {
    width: 100%;
    -webkit-appearance: none;
    height: 8px;
    border-radius: 4px;
    background: var(--bg);
    box-shadow: var(--clay-press);
    outline: none;
}

.calc-field input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--peri), var(--peri-2));
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(139, 127, 232, .45);
    border: 3px solid #fff;
}

.calc-field input[type=range]::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--peri);
    cursor: pointer;
    border: 3px solid #fff;
}

.calc-bubble {
    background: linear-gradient(135deg, var(--peri-pale), var(--bg));
    border-radius: var(--r-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--clay-press);
}

.calc-bubble .v {
    font-family: var(--disp);
    font-size: 2.2rem;
    color: var(--peri-2);
}

.calc-bubble .l {
    font-family: var(--mono);
    font-size: .68rem;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 2px;
}

.calc-out-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 4px;
    font-size: .86rem;
    color: var(--muted);
    font-weight: 700;
    border-top: 2px dashed rgba(139, 127, 232, .2);
}

.calc-out-row span:last-child {
    font-family: var(--mono);
    color: var(--ink);
}

.calc-note {
    font-size: .75rem;
    color: var(--muted);
    margin-top: 18px;
    line-height: 1.6;
    font-weight: 500;
}

@media(max-width:900px) {
    .calc-clay {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
}

/* ═══════ COMPARE ═══════ */
#compare {
    background: var(--bg-2);
}

.cmp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.cmp-clay {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 40px;
    box-shadow: var(--clay-raise);
}

.cmp-clay.hi {
    background: linear-gradient(160deg, var(--peri), var(--peri-2));
    color: #fff;
    box-shadow: var(--clay-glow);
}

.cmp-tag {
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--r-pill);
    background: var(--peri-pale);
    color: var(--peri-2);
    display: inline-block;
    margin-bottom: 18px;
}

.cmp-clay.hi .cmp-tag {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.cmp-clay h3 {
    font-size: 1.35rem;
    margin-bottom: 24px;
}

.cmp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cmp-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.5;
}

.cmp-circ {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    margin-top: 1px;
}

.cmp-clay:not(.hi) .cmp-circ.no {
    background: #FFE3DC;
    color: var(--peach-2);
}

.cmp-clay:not(.hi) li.faded {
    color: var(--muted);
}

.cmp-clay.hi .cmp-circ.yes {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

@media(max-width:800px) {
    .cmp-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════ TESTIMONIALS ═══════ */
.bubble-wrap {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.bubble {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 40px;
    box-shadow: var(--clay-raise);
    position: relative;
    min-height: 200px;
}

.bubble::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--white);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.bubble-slide {
    display: none;
    animation: bubbleIn .5s var(--ease);
}

.bubble-slide.active {
    display: block;
}

@keyframes bubbleIn {
    from {
        opacity: 0;
        transform: scale(.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.bubble-quote {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 20px;
}

.bubble-stars {
    color: var(--yellow);
    font-size: .85rem;
    margin-bottom: 16px;
}

.avatar-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 44px;
}

.tavatar {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    cursor: pointer;
    box-shadow: var(--clay-raise-sm);
    opacity: .55;
    transition: all .3s var(--ease-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--disp);
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
    overflow: hidden;
}

.tavatar.active {
    opacity: 1;
    transform: translateY(-6px) scale(1.05);
}

.t-name {
    font-family: var(--disp);
    font-size: .98rem;
    margin-top: 2px;
}

.t-role {
    font-size: .76rem;
    color: var(--peri-2);
    font-weight: 700;
    margin-top: 2px;
}

/* ═══════ FAQ ═══════ */
#faq {
    background: var(--bg-2);
}

.faq-single {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--r-lg);
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: var(--clay-raise-sm);
    transition: box-shadow .3s ease;
}

.faq-item.open {
    box-shadow: var(--clay-press);
    background: var(--peri-pale);
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: .98rem;
    gap: 16px;
}

.faq-q .ic {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--peri), var(--peri-2));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .3s var(--ease);
    font-size: .78rem;
}

.faq-item.open .faq-q .ic {
    transform: rotate(135deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s var(--ease-soft);
}

.faq-item.open .faq-a {
    max-height: 600px;
}

.faq-a p {
    padding: 0 26px 24px;
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.85;
    font-weight: 500;
}

/* ═══════ CONTACT ═══════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-copy .cd {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.cd-i {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--clay-raise-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--peri-2);
    flex-shrink: 0;
}

.cd-t {
    font-family: var(--mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--muted);
    margin-bottom: 3px;
}

.cd-v {
    font-size: .92rem;
    font-weight: 700;
}

.contact-form {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 42px;
    box-shadow: var(--clay-raise);
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 18px;
    background: var(--bg);
    border: none;
    border-radius: var(--r-sm);
    font-family: var(--sans);
    font-weight: 600;
    font-size: .88rem;
    color: var(--ink);
    outline: none;
    box-shadow: var(--clay-press);
    transition: box-shadow .25s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    box-shadow: inset 0 0 0 2px var(--peri);
}

.form-field.err input,
.form-field.err select,
.form-field.err textarea {
    box-shadow: inset 0 0 0 2px var(--peach-2);
}

.form-field .err-msg {
    display: none;
    font-size: .72rem;
    color: var(--peach-2);
    margin-top: 6px;
    font-weight: 700;
}

.form-field.err .err-msg {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    padding: 14px;
    background: var(--bg);
    border-radius: var(--r-sm);
    box-shadow: var(--clay-press);
}

.form-check input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--peri);
    flex-shrink: 0;
    cursor: pointer;
}

.form-check label {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.55;
    font-weight: 600;
    cursor: pointer;
    margin: 0;
}

.form-check.err {
    box-shadow: inset 0 0 0 2px var(--peach-2);
}

.form-check .err-msg {
    display: none;
    font-size: .72rem;
    color: var(--peach-2);
    margin-top: 6px;
    font-weight: 700;
}

.form-check.err .err-msg {
    display: block;
}

@media(max-width:900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════ NEWSLETTER ═══════ */
#newsletter {
    padding: 100px 0;
}

.nl-clay {
    background: linear-gradient(135deg, var(--peri), var(--mint-2));
    border-radius: var(--r-xl);
    padding: 56px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--clay-glow);
}

.nl-clay .eyebrow {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.nl-clay .section-h {
    color: #fff;
}

.nl-clay .section-p {
    color: rgba(255, 255, 255, .75);
    margin: 0 auto 30px;
}

.nl-form-box {
    background: rgba(255, 255, 255, .12);
    border-radius: var(--r-xl);
    padding: 36px;
    max-width: 560px;
    margin: 0 auto;
    backdrop-filter: blur(8px);
}

.nl-form-box .form-field {
    margin-bottom: 16px;
    text-align: left;
}

.nl-form-box .form-field label {
    font-size: .76rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 8px;
}

.nl-form-box .form-field input {
    width: 100%;
    padding: 13px 18px;
    background: rgba(255, 255, 255, .15);
    border: none;
    border-radius: var(--r-sm);
    font-family: var(--sans);
    font-weight: 600;
    font-size: .88rem;
    color: #fff;
    outline: none;
    box-shadow: inset 0 0 0 2px transparent;
    transition: box-shadow .25s ease;
}

.nl-form-box .form-field input::placeholder {
    color: rgba(255, 255, 255, .6);
}

.nl-form-box .form-field input:focus {
    box-shadow: inset 0 0 0 2px #fff;
}

.nl-form-box .form-field.err input {
    box-shadow: inset 0 0 0 2px #FFD4D4;
}

.nl-form-box .form-field .err-msg {
    display: none;
    font-size: .72rem;
    color: #FFE4E4;
    margin-top: 6px;
    font-weight: 700;
}

.nl-form-box .form-field.err .err-msg {
    display: block;
}

.nl-form-box .form-row {
    gap: 14px;
}

.nl-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0;
    padding: 14px;
    background: rgba(255, 255, 255, .1);
    border-radius: var(--r-sm);
    text-align: left;
}

.nl-check.err {
    box-shadow: inset 0 0 0 2px #FFD4D4;
}

.nl-check input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--yellow);
    flex-shrink: 0;
    cursor: pointer;
}

.nl-check label {
    font-size: .8rem;
    color: rgba(255, 255, 255, .9);
    line-height: 1.55;
    font-weight: 600;
    cursor: pointer;
}

.nl-check label a {
    color: #fff;
    font-weight: 800;
    text-decoration: underline;
}

.nl-check .err-msg {
    display: none;
    font-size: .72rem;
    color: #FFE4E4;
    margin-top: 6px;
    font-weight: 700;
}

.nl-check.err .err-msg {
    display: block;
}

.nl-btn {
    width: 100%;
    justify-content: center;
    background: #fff;
    color: var(--peri-2);
    box-shadow: var(--clay-raise-sm);
}

.nl-btn:hover {
    transform: translateY(-2px);
}

.nl-switch {
    margin-top: 22px;
    font-size: .82rem;
    color: rgba(255, 255, 255, .8);
    font-weight: 600;
}

.nl-switch button {
    background: none;
    border: none;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
}

/* ═══════ FOOTER ═══════ */
#footer {
    background: var(--bg-2);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col-title {
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--peri-2);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--muted);
    font-size: .87rem;
    font-weight: 700;
    transition: all .25s ease;
}

.footer-links a:hover {
    color: var(--peri-2);
    padding-left: 4px;
}

.footer-addr {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.9;
    font-style: normal;
    font-weight: 600;
}

.footer-soc {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.fsoc {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--clay-raise-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    transition: all .3s var(--ease-soft);
}

.fsoc:hover {
    color: var(--peri-2);
    transform: translateY(-3px);
}

.footer-tag {
    font-size: .86rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 280px;
    font-weight: 600;
}

.footer-bottom {
    border-top: 2px dashed rgba(139, 127, 232, .25);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-copy {
    font-size: .76rem;
    color: var(--muted);
    font-weight: 600;
}

@media(max-width:900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ═══════ MODAL / TOAST ═══════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(43, 37, 64, .5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.show {
    display: flex;
}

.modal-box {
    background: var(--white);
    max-width: 720px;
    width: 100%;
    max-height: 82vh;
    overflow-y: auto;
    border-radius: var(--r-xl);
    box-shadow: var(--clay-raise);
}

.modal-box.wide {
    max-width: 820px;
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    position: sticky;
    top: 0;
    background: var(--white);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    z-index: 2;
}

.modal-head h3 {
    font-size: 1.35rem;
}

.modal-close {
    background: var(--bg);
    border: none;
    border-radius: 14px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    color: var(--ink);
    box-shadow: var(--clay-raise-sm);
}

.modal-body {
    padding: 10px 30px 28px;
}

.modal-body .ph {
    font-family: var(--disp);
    font-size: .98rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
    margin-top: 18px;
    padding-left: 14px;
    border-left: 3px solid var(--peri);
}

.modal-body .ph:first-child {
    margin-top: 0;
}

.modal-body .pp {
    font-size: .86rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 8px;
    font-weight: 500;
}

.modal-foot {
    padding: 20px 30px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 3000;
    background: var(--white);
    color: var(--ink);
    padding: 16px 24px;
    border-radius: var(--r-lg);
    font-size: .86rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--clay-raise);
    transform: translateY(130%) scale(.9);
    opacity: 0;
    transition: all .5s var(--ease);
}

.toast.show {
    transform: none;
    opacity: 1;
}

.toast i {
    color: var(--mint-2);
}

/* ═══════ INNER PAGE HERO (About / Contact / Newsletter / Unsubscribe / Terms / Privacy) ═══════ */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 60px;
}

.page-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-hero .hero-eyebrow {
    margin-left: auto;
    margin-right: auto;
}

.page-hero .section-h {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero .section-p {
    max-width: 640px;
    margin: 0 auto;
}

/* ═══════ LEGAL / ARTICLE PAGES (Terms & Privacy) ═══════ */
.legal-article {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 48px;
    box-shadow: var(--clay-raise);
    max-width: 920px;
    margin: 0 auto;
}

.legal-article .ph {
    font-family: var(--disp);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    margin-top: 26px;
    padding-left: 16px;
    border-left: 4px solid var(--peri);
}

.legal-article .ph:first-of-type {
    margin-top: 0;
}

.legal-article .pp {
    font-size: .92rem;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 8px;
    font-weight: 500;
}

.legal-article .lead {
    font-size: .98rem;
    color: var(--ink);
    line-height: 1.8;
    font-weight: 600;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 2px dashed rgba(139, 127, 232, .2);
}

@media(max-width:768px) {
    .legal-article {
        padding: 30px 22px;
    }
    .page-hero {
        padding: 70px 0 40px;
    }
}

/* ═══════ CENTERED FORM PANEL (Newsletter / Unsubscribe standalone) ═══════ */
.center-panel {
    max-width: 640px;
    margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════════
   ACCESSIBILITY
   ════════════════════════════════════════════════════════════════ */

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

/* Skip-to-content link — visible only when focused */
.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 5000;
    background: var(--peri-2);
    color: #fff;
    padding: 12px 22px;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: .85rem;
    box-shadow: var(--clay-glow);
    transition: top .25s var(--ease-soft);
}

.skip-link:focus {
    top: 16px;
}

/* Stronger focus-visible across the site */
:focus-visible {
    outline: 3px solid var(--peri);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Remove focus outline for mouse users only */
:focus:not(:focus-visible) {
    outline: none;
}

/* Honor reduced motion globally */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* High-contrast mode support */
@media (forced-colors: active) {
    .btn,
    .svc-clay,
    .stat-card,
    .cmp-clay,
    .faq-item,
    .modal-box,
    .dash,
    .nl-clay,
    .contact-form,
    .legal-article,
    .about-symbols,
    .sym-card,
    .ps-stock,
    .ps-watchlist {
        border: 1px solid CanvasText;
    }
}

/* ════════════════════════════════════════════════════════════════
   SELECTION & SCROLLBAR
   ════════════════════════════════════════════════════════════════ */

::selection {
    background: var(--peri);
    color: #fff;
}

::-moz-selection {
    background: var(--peri);
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--peri);
    border-radius: 6px;
    border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--peri-2);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--peri) var(--bg);
}

/* ════════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ════════════════════════════════════════════════════════════════ */

/* Text alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Font weights */
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* Text colors */
.text-peri  { color: var(--peri); }
.text-peri2 { color: var(--peri-2); }
.text-mint  { color: var(--mint-2); }
.text-peach { color: var(--peach-2); }
.text-muted { color: var(--muted); }
.text-ink   { color: var(--ink); }
.text-white { color: #fff; }

/* Display */
.d-block        { display: block; }
.d-inline-block { display: inline-block; }
.d-flex         { display: flex; }
.d-inline-flex  { display: inline-flex; }
.d-grid         { display: grid; }
.d-none         { display: none; }

/* Flex helpers */
.flex-col        { flex-direction: column; }
.flex-wrap       { flex-wrap: wrap; }
.flex-1          { flex: 1; }
.flex-shrink-0   { flex-shrink: 0; }
.align-center    { align-items: center; }
.align-start     { align-items: flex-start; }
.align-end       { align-items: flex-end; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* Spacing utilities */
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Width helpers */
.w-100 { width: 100%; }
.w-auto { width: auto; }
.maxw-560 { max-width: 560px; }
.maxw-640 { max-width: 640px; }
.maxw-720 { max-width: 720px; }
.maxw-820 { max-width: 820px; }
.maxw-920 { max-width: 920px; }

/* Hidden helpers */
.hidden { display: none !important; }

/* Responsive show/hide */
@media (max-width: 980px) {
    .hide-mobile { display: none !important; }
}
@media (min-width: 981px) {
    .hide-desktop { display: none !important; }
}

/* Gradient backgrounds (used widely inline — now available as classes) */
.bg-grad-peri  { background: linear-gradient(135deg, var(--peri),  var(--peri-2)); }
.bg-grad-mint  { background: linear-gradient(135deg, var(--mint),  var(--mint-2)); }
.bg-grad-peach { background: linear-gradient(135deg, var(--peach), var(--peach-2)); }
.bg-grad-yellow{ background: linear-gradient(135deg, var(--yellow), #F5A623); }
.bg-grad-peri-mint { background: linear-gradient(135deg, var(--peri), var(--mint)); }

/* Section background helpers */
.bg-base  { background: var(--bg); }
.bg-soft  { background: var(--bg-2); }
.bg-white { background: var(--white); }

/* Rounded helpers */
.r-sm   { border-radius: var(--r-sm); }
.r-md   { border-radius: var(--r-md); }
.r-lg   { border-radius: var(--r-lg); }
.r-xl   { border-radius: var(--r-xl); }
.r-pill { border-radius: var(--r-pill); }
.r-full { border-radius: 50%; }

/* Shadow helpers */
.shadow-raise    { box-shadow: var(--clay-raise); }
.shadow-raise-sm { box-shadow: var(--clay-raise-sm); }
.shadow-press    { box-shadow: var(--clay-press); }
.shadow-glow     { box-shadow: var(--clay-glow); }

/* ════════════════════════════════════════════════════════════════
   ENHANCED TYPOGRAPHY
   ════════════════════════════════════════════════════════════════ */

.lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--muted);
    font-weight: 600;
}

.text-sm { font-size: .82rem; }
.text-xs { font-size: .72rem; }
.text-lg { font-size: 1.1rem; }
.text-xl { font-size: 1.3rem; }

.mono { font-family: var(--mono); }
.disp { font-family: var(--disp); }

.uppercase { text-transform: uppercase; letter-spacing: .5px; }

/* Blockquote */
blockquote {
    border-left: 4px solid var(--peri);
    padding: 14px 22px;
    margin: 22px 0;
    background: var(--peri-pale);
    border-radius: var(--r-sm);
    font-style: italic;
    color: var(--ink);
    font-weight: 600;
}

blockquote cite {
    display: block;
    margin-top: 8px;
    font-size: .82rem;
    color: var(--muted);
    font-style: normal;
    font-weight: 700;
}

/* Inline code */
code,
kbd {
    font-family: var(--mono);
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: .85em;
    color: var(--peri-2);
    box-shadow: var(--clay-press);
}

kbd {
    background: var(--ink);
    color: #fff;
}

/* Mark / highlight */
mark {
    background: rgba(246, 200, 95, .4);
    color: var(--ink);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

/* Horizontal rule */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(139, 127, 232, .25), transparent);
    margin: 40px 0;
}

hr.dashed {
    background: none;
    border-top: 2px dashed rgba(139, 127, 232, .25);
    height: 0;
}

/* Definition lists (legal pages) */
dl {
    margin: 18px 0;
}

dt {
    font-family: var(--disp);
    font-weight: 700;
    color: var(--ink);
    margin-top: 14px;
}

dd {
    margin-left: 0;
    padding-left: 16px;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 500;
}

/* Abbreviations */
abbr[title] {
    text-decoration: underline dotted;
    cursor: help;
    border-bottom: none;
}

/* ════════════════════════════════════════════════════════════════
   TABLE STYLES (for legal / data pages)
   ════════════════════════════════════════════════════════════════ */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
    font-size: .9rem;
    background: var(--white);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--clay-raise-sm);
}

thead {
    background: linear-gradient(135deg, var(--peri), var(--peri-2));
    color: #fff;
}

th {
    padding: 14px 18px;
    text-align: left;
    font-family: var(--disp);
    font-weight: 700;
    font-size: .85rem;
}

td {
    padding: 13px 18px;
    border-top: 1px dashed rgba(139, 127, 232, .15);
    color: var(--ink);
    font-weight: 500;
}

tbody tr:nth-child(even) {
    background: var(--bg);
}

tbody tr:hover {
    background: var(--peri-pale);
}

/* ════════════════════════════════════════════════════════════════
   FIGURE / IMAGE
   ════════════════════════════════════════════════════════════════ */

figure {
    margin: 28px 0;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--clay-raise-sm);
    background: var(--white);
}

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

figcaption {
    padding: 14px 20px;
    font-size: .82rem;
    color: var(--muted);
    font-weight: 600;
    text-align: center;
    background: var(--bg);
}

/* ════════════════════════════════════════════════════════════════
   BADGE / TAG / PILL UTILITY
   ════════════════════════════════════════════════════════════════ */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 5px 12px;
    border-radius: var(--r-pill);
    background: var(--peri-pale);
    color: var(--peri-2);
}

.badge-mint  { background: rgba(95, 217, 174, .2);  color: var(--mint-2); }
.badge-peach { background: rgba(255, 127, 92, .18); color: var(--peach-2); }
.badge-yellow{ background: rgba(246, 200, 95, .25); color: #B8860B; }
.badge-ink   { background: var(--ink); color: #fff; }

/* ════════════════════════════════════════════════════════════════
   FORM ENHANCEMENTS
   ════════════════════════════════════════════════════════════════ */

/* Better placeholder */
.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(36, 50, 61, .4);
    font-weight: 500;
}

/* Input success state */
.form-field.ok input,
.form-field.ok select,
.form-field.ok textarea {
    box-shadow: inset 0 0 0 2px var(--mint-2);
}

/* Disabled inputs */
.form-field input:disabled,
.form-field select:disabled,
.form-field textarea:disabled {
    opacity: .55;
    cursor: not-allowed;
}

/* Required asterisk */
.form-field label .req,
.form-field label .ast {
    color: var(--peach-2);
    margin-left: 2px;
}

/* Submit button loading state */
.btn.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2.5px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btnSpin .7s linear infinite;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

/* File input reset */
input[type="file"] {
    font-size: .85rem;
    padding: 10px;
    background: var(--bg);
    border-radius: var(--r-sm);
    box-shadow: var(--clay-press);
    width: 100%;
}

/* Date input styling */
input[type="date"] {
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(.4);
}

/* Checkbox / radio list (vertical) */
.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}

.check-list input[type="checkbox"],
.check-list input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--peri);
    cursor: pointer;
}

/* ════════════════════════════════════════════════════════════════
   ALERT / CALLOUT BOXES
   ════════════════════════════════════════════════════════════════ */

.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--r-md);
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.6;
    margin: 18px 0;
    box-shadow: var(--clay-raise-sm);
}

.alert .alert-ic {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: #fff;
}

.alert-info {
    background: var(--peri-pale);
    color: var(--peri-2);
}
.alert-info .alert-ic { background: var(--peri); }

.alert-success {
    background: rgba(95, 217, 174, .15);
    color: var(--mint-2);
}
.alert-success .alert-ic { background: var(--mint-2); }

.alert-warning {
    background: rgba(246, 200, 95, .2);
    color: #B8860B;
}
.alert-warning .alert-ic { background: var(--yellow); }

.alert-error {
    background: rgba(255, 127, 92, .12);
    color: var(--peach-2);
}
.alert-error .alert-ic { background: var(--peach-2); }

/* ════════════════════════════════════════════════════════════════
   SCROLL-TO-TOP BUTTON
   ════════════════════════════════════════════════════════════════ */

.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--peri), var(--peri-2));
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: var(--clay-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .35s var(--ease);
    z-index: 1100;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-3px);
}

/* Offset so it doesn't overlap the toast */
body.has-toast .scroll-top {
    bottom: 90px;
}

/* ════════════════════════════════════════════════════════════════
   LOADING SKELETON (shimmer placeholder)
   ════════════════════════════════════════════════════════════════ */

.skeleton {
    background: linear-gradient(90deg,
        var(--bg) 0%,
        rgba(255, 255, 255, .6) 50%,
        var(--bg) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease-in-out infinite;
    border-radius: var(--r-sm);
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    border-radius: 6px;
}

.skeleton-text:last-child {
    width: 60%;
}

/* ════════════════════════════════════════════════════════════════
   PRINT STYLES
   ════════════════════════════════════════════════════════════════ */

@media print {
    /* Reset colors for print */
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        animation: none !important;
        transition: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 11pt;
        line-height: 1.5;
    }

    /* Hide non-essential UI */
    #topnav,
    #mobileMenu,
    #footer,
    .nav-toggle,
    .btn,
    .toast,
    .modal-overlay,
    .scroll-top,
    .blob-field,
    .float-badge,
    .wave,
    .skip-link {
        display: none !important;
    }

    /* Expand container */
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    /* Remove section padding for print */
    .sect,
    #hero,
    .page-hero {
        padding: 14px 0 !important;
    }

    /* Keep headings visible */
    h1, h2, h3, h4 {
        color: #000 !important;
        page-break-after: avoid;
    }

    /* Legal article — clean print layout */
    .legal-article {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        padding: 20px !important;
        max-width: 100% !important;
    }

    .legal-article .ph {
        color: #000 !important;
        border-left-color: #000 !important;
        page-break-after: avoid;
    }

    .legal-article .pp {
        color: #333 !important;
    }

    /* Avoid breaking inside cards */
    .svc-item,
    .faq-item,
    .stat-card,
    .cmp-clay,
    tr {
        page-break-inside: avoid;
    }

    /* Links show URL in print */
    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: .8em;
        color: #555;
    }

    a[href^="#"]::after,
    a[href^="mailto"]::after,
    a[href^="tel"]::after {
        content: "";
    }

    /* Force background colors on important elements */
    .nl-clay,
    .cmp-clay.hi {
        background: #f5f5f5 !important;
        color: #000 !important;
        border: 1px solid #999 !important;
    }
}

/* ════════════════════════════════════════════════════════════════
   ENHANCED RESPONSIVE — INNER PAGES
   ════════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 980px) {
    .sect {
        padding: 80px 0;
    }

    .page-hero {
        padding: 70px 0 40px;
    }

    .page-hero .section-h {
        font-size: clamp(1.7rem, 5vw, 2.4rem);
    }

    /* Stack contact form vertically with more breathing room */
    .contact-form {
        padding: 32px 26px;
    }

    /* Newsletter panel padding */
    .nl-clay {
        padding: 40px 26px;
    }

    .nl-form-box {
        padding: 26px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 22px;
    }

    .sect {
        padding: 64px 0;
    }

    .section-h {
        font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    }

    .sect-head {
        margin-bottom: 36px;
    }

    /* Mobile menu — slightly smaller text on small phones */
    .mm-links a {
        font-size: 1.4rem;
        padding: 12px 18px;
    }

    /* Modal responsive */
    .modal-head,
    .modal-body,
    .modal-foot {
        padding-left: 20px;
        padding-right: 20px;
    }

    .modal-head h3 {
        font-size: 1.1rem;
    }

    /* Legal article typography on mobile */
    .legal-article {
        padding: 26px 20px;
    }

    .legal-article .ph {
        font-size: 1rem;
    }

    .legal-article .pp {
        font-size: .88rem;
    }

    /* Stats: 2-col on tablet, already handled but reinforce */
    .stats-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Toast full-width on mobile */
    .toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
        justify-content: flex-start;
    }

    /* Scroll-top repositioned on mobile */
    .scroll-top {
        bottom: 80px;
        right: 16px;
    }
}

@media (max-width: 560px) {
    .container {
        padding: 0 16px;
    }

    .sect {
        padding: 50px 0;
    }

    .section-h {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 12px;
    }

    .eyebrow,
    .hero-eyebrow {
        font-size: .65rem;
        padding: 6px 14px;
    }

    /* Buttons full-width on tiny screens inside forms */
    .contact-form .btn,
    .nl-form-box .btn {
        width: 100%;
        justify-content: center;
    }

    /* Form rows stack */
    .form-row {
        grid-template-columns: 1fr !important;
    }

    /* Footer stacks to 1 col */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    /* nl-clay tighter */
    .nl-clay {
        padding: 32px 18px;
    }

    .nl-form-box {
        padding: 20px 16px;
    }

    /* Legal article minimal padding */
    .legal-article {
        padding: 20px 14px;
    }

    /* Page hero smaller */
    .page-hero {
        padding: 50px 0 30px;
    }

    /* Compare cards stack tighter */
    .cmp-clay {
        padding: 26px 20px;
    }

    /* Calc clay minimal */
    .calc-clay {
        padding: 22px 16px;
    }

    /* About symbols 2-col */
    .about-symbols {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 20px !important;
    }
}

@media (max-width: 380px) {
    .brand-word {
        font-size: 1rem;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        font-size: .95rem;
    }

    .nav-cta .btn {
        font-size: .78rem;
        padding: 10px 16px;
    }
}

/* ════════════════════════════════════════════════════════════════
   ANIMATION UTILITIES
   ════════════════════════════════════════════════════════════════ */

.fade-in {
    animation: fadeIn .6s var(--ease-soft) both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in-delay-1 { animation-delay: .1s; }
.fade-in-delay-2 { animation-delay: .2s; }
.fade-in-delay-3 { animation-delay: .3s; }
.fade-in-delay-4 { animation-delay: .4s; }

.scale-in {
    animation: scaleIn .5s var(--ease) both;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(.9); }
    to   { opacity: 1; transform: scale(1); }
}

/* Pulse animation (for live indicators) */
.pulse-anim {
    animation: pulseAnim 2s ease-in-out infinite;
}

@keyframes pulseAnim {
    0%, 100% { opacity: 1; }
    50%      { opacity: .55; }
}

/* ════════════════════════════════════════════════════════════════
   PRINT-FRIENDLY LEGAL PAGE BREAKS
   ════════════════════════════════════════════════════════════════ */

.legal-article .ph {
    page-break-after: avoid;
}

.legal-article .pp {
    page-break-inside: avoid;
}

/* ════════════════════════════════════════════════════════════════
   SAFE-AREA INSETS (notched phones)
   ════════════════════════════════════════════════════════════════ */

@supports (padding: max(0px)) {
    #topnav {
        padding-left: max(18px, env(safe-area-inset-left));
        padding-right: max(18px, env(safe-area-inset-right));
    }

    #mobileMenu {
        padding-top: max(110px, calc(env(safe-area-inset-top) + 110px));
        padding-left: max(40px, env(safe-area-inset-left));
        padding-right: max(40px, env(safe-area-inset-right));
    }

    .toast,
    .scroll-top {
        bottom: max(28px, env(safe-area-inset-bottom));
    }

    .toast {
        right: max(28px, env(safe-area-inset-right));
    }

    .scroll-top {
        right: max(28px, env(safe-area-inset-right));
    }
}

/* ════════════════════════════════════════════════════════════════
   DARK MODE (respects OS preference)
   ════════════════════════════════════════════════════════════════ */

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0F1620;
        --bg-2: #1A2330;
        --ink: #E8EEF5;
        --white: #1F2A38;
        --peri-pale: #1E3A4C;
        --muted: rgba(232, 238, 245, .65);
        --clay-raise: 10px 10px 26px rgba(0, 0, 0, .35), -8px -8px 20px rgba(60, 80, 100, .15);
        --clay-raise-sm: 6px 6px 16px rgba(0, 0, 0, .3), -5px -5px 12px rgba(60, 80, 100, .12);
        --clay-press: inset 7px 7px 16px rgba(0, 0, 0, .4), inset -6px -6px 14px rgba(60, 80, 100, .15);
    }

    body {
        background: var(--bg);
        color: var(--ink);
    }

    #topnav {
        background: rgba(15, 22, 32, .9);
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        background: var(--bg);
        color: var(--ink);
    }

    .form-field input::placeholder,
    .form-field textarea::placeholder {
        color: rgba(232, 238, 245, .35);
    }

    .phone-screen {
        background: linear-gradient(170deg, #1A2330, #0F1620);
    }

    .dash-row,
    .svc-item,
    .sym-card {
        background: var(--bg-2);
    }

    .nl-form-box .form-field input {
        background: rgba(255, 255, 255, .08);
        color: #fff;
    }
}

/* ════════════════════════════════════════════════════════════════
   CONTAINER QUERIES (modern browsers) — for cards in narrow grids
   ════════════════════════════════════════════════════════════════ */

@supports (container-type: inline-size) {
    .svc-item,
    .sym-card,
    .stat-card {
        container-type: inline-size;
    }
}

/* ════════════════════════════════════════════════════════════════
   FINAL — base element resets that were missing
   ════════════════════════════════════════════════════════════════ */

/* Address reset */
address {
    font-style: normal;
}

/* Fieldset reset */
fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

legend {
    font-family: var(--disp);
    font-weight: 700;
    padding: 0;
    margin-bottom: 12px;
}

/* Optgroup */
optgroup {
    font-family: var(--sans);
    font-weight: 700;
    color: var(--ink);
}

/* Detail / summary (collapsible) */
details {
    background: var(--white);
    border-radius: var(--r-md);
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: var(--clay-raise-sm);
}

summary {
    cursor: pointer;
    font-weight: 700;
    font-family: var(--disp);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--peri-2);
    transition: transform .3s var(--ease);
}

details[open] summary::after {
    content: '−';
}

/* Progress bar */
progress {
    width: 100%;
    height: 8px;
    border: none;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg);
    box-shadow: var(--clay-press);
}

progress::-webkit-progress-bar {
    background: var(--bg);
    border-radius: 4px;
}

progress::-webkit-progress-value {
    background: linear-gradient(90deg, var(--peri), var(--mint));
    border-radius: 4px;
    transition: width .4s var(--ease-soft);
}

progress::-moz-progress-bar {
    background: linear-gradient(90deg, var(--peri), var(--mint));
    border-radius: 4px;
}

/* Better default for images inside cards */
.sym-card img,
.stat-card img,
.svc-clay img {
    width: 100%;
    height: auto;
}
