/* =========================================================
   HOME — Hero
   ========================================================= */
.hero {
    position: relative;
    padding: 148px 0 70px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 64px;
    align-items: center;
}

.hero-eyebrow {
    margin-bottom: 30px;
}

.hero h1 {
    margin-bottom: 26px;
}

.hero h1 em {
    color: var(--leaf);
    font-style: italic;
}

.hero-sub {
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.5;
    color: var(--ink-2);
    max-width: 520px;
    margin-bottom: 38px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.hero-foot {
    font-family: var(--font-m);
    font-size: 12px;
    color: var(--ink-3);
    letter-spacing: .04em;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-foot span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.hero-foot .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--leaf);
}

/* =========================================================
   HOME — Sync engine diagram
   ========================================================= */
.diagram-wrap {
    position: relative;
}

.diagram-wrap svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.diagram-caption {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.diagram-caption .hint {
    font-size: 13.5px;
    color: var(--ink-2);
    max-width: 340px;
    line-height: 1.5;
}

.diagram-caption .hint b {
    color: var(--ink);
    font-weight: 500;
}

.diagram-caption .tag {
    font-family: var(--font-m);
    font-size: 11px;
    color: var(--ink-3);
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* SVG diagram elements */
.node {
    cursor: pointer;
}

.node-rect {
    fill: var(--card);
    stroke: var(--line);
    transition: fill .25s, stroke .25s;
}

.node-text {
    fill: var(--ink);
    transition: fill .25s;
    font-family: var(--font-m);
    font-size: 12.5px;
    letter-spacing: .04em;
    font-weight: 500;
}

.node-dot {
    fill: var(--leaf);
}

.node:hover .node-rect,
.node:focus-visible .node-rect {
    fill: var(--pine);
    stroke: var(--pine);
}

.node:hover .node-text,
.node:focus-visible .node-text {
    fill: var(--paper);
}

.line {
    stroke: var(--line-2);
    stroke-width: 1;
    transition: stroke .25s, stroke-width .25s;
}

.line.hot {
    stroke: var(--leaf);
    stroke-width: 1.4;
}

.ring {
    fill: none;
    stroke: var(--line);
    stroke-width: 1;
    stroke-dasharray: 2 7;
}

.pulse {
    fill: var(--leaf);
}

.core {
    fill: var(--pine);
    animation: breathe 3.6s ease-in-out infinite;
}

.core-leaf {
    fill: var(--leaf-2);
}

@keyframes nfloat {

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

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

.node-inner {
    transform-box: fill-box;
    transform-origin: center;
    animation: nfloat 6s ease-in-out infinite;
}

/* =========================================================
   HOME — Stats strip
   ========================================================= */
.stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 38px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat .num {
    font-family: var(--font-d);
    font-size: clamp(40px, 4.4vw, 56px);
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1;
    color: var(--ink);
}

.stat .num .suf {
    color: var(--leaf);
}

.stat .lab {
    font-family: var(--font-m);
    font-size: 11.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-top: 12px;
    max-width: 200px;
    line-height: 1.5;
}

/* =========================================================
   HOME — Marquee
   ========================================================= */
.marquee {
    background: var(--pine);
    color: var(--paper);
    padding: 20px 0;
    overflow: hidden;
    border-block: 1px solid var(--line-inv);
}

.mq-track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: mq 38s linear infinite;
}

.marquee:hover .mq-track {
    animation-play-state: paused;
}

.mq-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 28px;
    font-family: var(--font-m);
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(244, 241, 234, .78);
    white-space: nowrap;
}

.mq-item::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--leaf-2);
    margin-left: 16px;
}

@keyframes mq {
    to {
        transform: translateX(-50%);
    }
}

/* =========================================================
   HOME — Section header
   ========================================================= */
.shead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 54px;
}

.shead h2 {
    max-width: 680px;
    margin-top: 18px;
}

.shead h2 em {
    color: var(--leaf);
}

.shead .sintro {
    max-width: 340px;
    color: var(--ink-2);
    font-size: 15px;
}

/* =========================================================
   HOME — Product index (inverted hover rows)
   ========================================================= */
.p-index {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.p-row {
    display: grid;
    grid-template-columns: 96px 1fr 44px;
    gap: 32px;
    align-items: center;
    padding: 36px 12px;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    transition: background .35s, color .35s;
    margin-inline: -12px;
    position: relative;
}

.p-row:hover {
    background: var(--pine);
    color: var(--paper);
}

.p-row .pnum {
    font-family: var(--font-m);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-3);
    letter-spacing: .1em;
    transition: color .3s;
}

.p-row:hover .pnum {
    color: var(--leaf-2);
}

.p-row .ptitle {
    font-family: var(--font-d);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.1;
    color: var(--ink);
    transition: color .3s;
}

.p-row:hover .ptitle {
    color: var(--paper);
}

.p-row .pdesc {
    margin-top: 8px;
    font-size: 15.5px;
    color: var(--ink-2);
    max-width: 640px;
    line-height: 1.5;
    transition: color .3s;
}

.p-row:hover .pdesc {
    color: rgba(244, 241, 234, .74);
}

.p-tags {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.ptag {
    font-family: var(--font-m);
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 30px;
    color: var(--ink-3);
    transition: color .3s, border-color .3s;
}

.p-row:hover .ptag {
    border-color: rgba(76, 201, 139, .4);
    color: var(--leaf-2);
}

.p-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    display: grid;
    place-items: center;
    transition: all .3s;
    color: var(--ink);
}

.p-row:hover .p-arrow {
    background: var(--leaf);
    border-color: var(--leaf);
    color: var(--paper);
}

.p-arrow .ic {
    width: 18px;
    height: 18px;
    transition: transform .3s;
}

.p-row:hover .p-arrow .ic {
    transform: translate(3px, -3px);
}

/* =========================================================
   HOME — Why section (dark)
   ========================================================= */
.why {
    background: var(--pine);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}

.why::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    aspect-ratio: 1;
    border: 1px solid var(--line-inv);
    border-radius: 50%;
    pointer-events: none;
}

.why::after {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    aspect-ratio: 1;
    border: 1px solid var(--line-inv);
    border-radius: 50%;
    transform: scale(.7);
    pointer-events: none;
}

.why-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.why-eyebrow {
    color: var(--leaf-2);
    margin-bottom: 24px;
}

.why-eyebrow::before {
    background: var(--leaf-2);
}

.why .sticky {
    position: sticky;
    top: 120px;
}

.why h2 {
    color: var(--paper);
}

.why h2 em {
    color: var(--leaf-2);
}

.why .why-lead {
    color: rgba(244, 241, 234, .7);
    margin-top: 24px;
    font-size: 16px;
    max-width: 340px;
}

.why-list {
    display: flex;
    flex-direction: column;
}

.why-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;
    padding: 34px 0;
    border-top: 1px solid var(--line-inv);
    align-items: start;
}

.why-row:last-child {
    border-bottom: 1px solid var(--line-inv);
}

.why-num {
    font-family: var(--font-m);
    font-size: 13px;
    color: var(--leaf-2);
    letter-spacing: .12em;
    padding-top: 4px;
}

.why-title {
    font-family: var(--font-d);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -.015em;
    color: var(--paper);
    margin-bottom: 8px;
}

.why-desc {
    color: rgba(244, 241, 234, .7);
    font-size: 15px;
    line-height: 1.55;
    max-width: 540px;
}

/* =========================================================
   HOME — CTA band
   ========================================================= */
.cta-band {
    background: var(--pine-2);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 60px;
    align-items: center;
    padding: 96px 0;
}

.cta-band h2 {
    color: var(--paper);
}

.cta-band h2 em {
    color: var(--leaf-2);
}

.cta-band .cta-sub {
    color: rgba(244, 241, 234, .7);
    margin-top: 24px;
    font-size: 16px;
    max-width: 380px;
}

.cta-side {
    border-left: 1px solid var(--line-inv);
    padding-left: 40px;
}

.cta-side .lbl {
    font-family: var(--font-m);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--leaf-2);
    margin-bottom: 14px;
}

.cta-side a.email {
    font-family: var(--font-d);
    font-size: 26px;
    color: var(--paper);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    letter-spacing: -.01em;
}

.cta-side a.email .ic {
    width: 18px;
    height: 18px;
    color: var(--leaf-2);
}

.cta-side .resp {
    color: rgba(244, 241, 234, .6);
    font-size: 13.5px;
    margin-top: 10px;
}

.cta-actions {
    margin-top: 30px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* =========================================================
   Coming soon (temporary stubs for unbuilt pages)
   ========================================================= */
.coming-soon {
    padding: 160px 0;
    text-align: center;
}

.coming-soon h2 {
    margin: 24px 0 16px;
}

.coming-soon .btn {
    margin-top: 30px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .diagram-wrap {
        max-width: 560px;
        margin: 0 auto;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .why .sticky {
        position: static;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-side {
        border-left: none;
        border-top: 1px solid var(--line-inv);
        padding: 30px 0 0;
    }
}

@media (max-width: 820px) {
    .hero {
        padding: 120px 0 50px;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .shead {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .p-row {
        grid-template-columns: 60px 1fr 36px;
        gap: 18px;
        padding: 26px 8px;
    }

    .p-row .pdesc {
        font-size: 14px;
    }
}

@media (max-width: 520px) {
    .hero h1 {
        font-size: 42px;
    }
}

/* =========================================================
   HOME — Clients grid
   ========================================================= */
.clients {
    border-bottom: 1px solid var(--line);
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.client {
    padding: 30px 26px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background .25s;
    display: flex;
    flex-direction: column;
}

.client:hover {
    background: var(--paper-2);
}

.client-name {
    font-family: var(--font-d);
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -.01em;
    line-height: 1.2;
}

.client-loc {
    font-family: var(--font-m);
    font-size: 11px;
    color: var(--ink-3);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-top: 8px;
}

.client-product {
    margin-top: auto;
    padding-top: 16px;
    font-family: var(--font-m);
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--leaf);
}

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

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

/* =========================================================
   PRODUCT PAGE — Hero
   ========================================================= */
.p-hero {
    padding: 140px 0 60px;
    border-bottom: 1px solid var(--line);
}

.p-bread {
    font-family: var(--font-m);
    font-size: 12px;
    color: var(--ink-3);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 30px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.p-bread a:hover {
    color: var(--ink);
}

.p-bread .sep {
    opacity: .5;
}

.p-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
}

.p-hero-eyebrow {
    margin-bottom: 20px;
}

.p-hero h1 {
    font-size: clamp(54px, 7vw, 92px);
}

.p-hero h1 em {
    color: var(--leaf);
}

.p-tagline {
    font-family: var(--font-d);
    font-style: italic;
    font-size: clamp(20px, 2.2vw, 26px);
    color: var(--ink-2);
    margin-top: 18px;
    margin-bottom: 22px;
    font-weight: 400;
}

.p-desc {
    font-size: 17px;
    color: var(--ink-2);
    line-height: 1.55;
    max-width: 560px;
    margin-bottom: 32px;
}

.p-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.p-chip {
    font-family: var(--font-m);
    font-size: 12px;
    letter-spacing: .08em;
    padding: 8px 14px;
    border: 1px solid var(--line-2);
    border-radius: 30px;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.p-chip .ic {
    width: 14px;
    height: 14px;
    color: var(--leaf);
}

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

.p-visual {
    display: grid;
    place-items: center;
    position: relative;
}

/* =========================================================
   PRODUCT PAGE — Phone mockup (EduSync)
   ========================================================= */
.phone-wrap {
    position: relative;
    width: 300px;
}

.phone {
    width: 300px;
    height: 608px;
    background: var(--ink);
    border-radius: 42px;
    padding: 11px;
    box-shadow: 0 40px 80px -28px rgba(13, 33, 26, .32), 0 0 0 1px rgba(13, 33, 26, .08);
    position: relative;
}

.phone::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 24px;
    background: var(--ink);
    border-radius: 14px;
    z-index: 5;
}

.screen {
    width: 100%;
    height: 100%;
    background: var(--card);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.p-status {
    display: flex;
    justify-content: space-between;
    padding: 14px 22px 6px;
    font-family: var(--font-m);
    font-size: 11px;
    color: var(--ink);
    font-weight: 500;
}

.p-status-right {
    display: flex;
    gap: 6px;
    align-items: center;
}

.p-status-right .ic {
    width: 12px;
    height: 12px;
}

.p-app-head {
    padding: 12px 22px 16px;
}

.p-greet {
    font-size: 13px;
    color: var(--ink-3);
}

.p-name {
    font-family: var(--font-d);
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -.01em;
}

.p-cls {
    margin-top: 6px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-family: var(--font-m);
    font-size: 10.5px;
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--ink-2);
    letter-spacing: .06em;
}

.p-cls .ic {
    width: 12px;
    height: 12px;
}

.p-attendance {
    margin: 0 18px 14px;
    background: var(--pine);
    color: var(--paper);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.p-att-lbl {
    font-family: var(--font-m);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(244, 241, 234, .6);
    margin-bottom: 4px;
}

.p-att-val {
    font-family: var(--font-d);
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
}

.p-att-meta {
    font-size: 11px;
    color: rgba(244, 241, 234, .6);
    margin-top: 4px;
}

.p-att-ring {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid var(--leaf-2);
    display: grid;
    place-items: center;
    color: var(--leaf-2);
}

.p-att-ring .ic {
    width: 24px;
    height: 24px;
}

.p-tt {
    padding: 0 18px;
}

.p-tt-head {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-m);
    font-size: 10px;
    color: var(--ink-3);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.p-tt-row {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.p-tt-row:last-child {
    border-bottom: none;
}

.p-tt-time {
    font-family: var(--font-m);
    font-size: 11px;
    color: var(--ink-2);
}

.p-tt-sub {
    font-size: 13px;
    color: var(--ink);
    font-weight: 500;
}

.p-tt-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--leaf);
}

.p-tt-dot.now {
    box-shadow: 0 0 0 3px rgba(30, 158, 100, .22);
}

.p-fee {
    margin: 14px 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 16px;
    border: 1px solid var(--line-2);
    border-radius: 14px;
}

.p-fee-lab {
    font-size: 12.5px;
    color: var(--ink-2);
}

.p-fee-amt {
    font-family: var(--font-d);
    font-size: 18px;
    color: var(--ink);
    font-weight: 500;
}

#pPayBtn {
    font-family: var(--font-m);
    font-size: 11px;
    letter-spacing: .05em;
    padding: 7px 12px;
    background: var(--leaf);
    color: var(--paper);
    border-radius: 8px;
}

.p-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-around;
    padding: 12px 14px;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.p-nav {
    position: relative;
    color: var(--ink-3);
}

.p-nav .ic {
    width: 20px;
    height: 20px;
}

.p-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    width: 14px;
    height: 14px;
    background: var(--leaf);
    color: var(--paper);
    border-radius: 50%;
    font-family: var(--font-m);
    font-size: 9px;
    display: grid;
    place-items: center;
    font-weight: 500;
}

.pnote {
    position: absolute;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 14px;
    font-family: var(--font-m);
    font-size: 11px;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 14px 30px -14px rgba(13, 33, 26, .25);
    animation: nfloat 5s ease-in-out infinite;
}

.pnote .ic {
    width: 14px;
    height: 14px;
    color: var(--leaf);
}

.pnote-1 {
    top: -18px;
    left: -60px;
}

.pnote-2 {
    bottom: 60px;
    right: -70px;
    animation-delay: 1.5s;
}

/* =========================================================
   PRODUCT PAGE — Feature ledger
   ========================================================= */
.features {
    padding: 90px 0;
    border-bottom: 1px solid var(--line);
}

.features-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 80px;
    align-items: start;
}

.features-left {
    position: sticky;
    top: 120px;
}

.features-left h2 {
    margin-top: 18px;
}

.features-left h2 em {
    color: var(--leaf);
}

.features-left .lead {
    margin-top: 22px;
}

.features-badges {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.f-badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-family: var(--font-m);
    font-size: 11.5px;
    letter-spacing: .06em;
    color: var(--ink-2);
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 30px;
    width: fit-content;
}

.f-badge.leaf {
    border-color: rgba(30, 158, 100, .35);
    color: var(--leaf);
    background: rgba(30, 158, 100, .06);
}

.f-badge .ic {
    width: 13px;
    height: 13px;
}

.f-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.f-row {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 28px;
    padding: 30px 6px;
    border-bottom: 1px solid var(--line);
    transition: transform .3s;
}

.f-row:hover {
    transform: translateX(6px);
}

.f-num {
    font-family: var(--font-m);
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: .08em;
    padding-top: 6px;
    transition: color .3s;
}

.f-row:hover .f-num {
    color: var(--leaf);
}

.f-title {
    font-family: var(--font-d);
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -.012em;
    color: var(--ink);
    line-height: 1.15;
}

.f-desc {
    margin-top: 10px;
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.55;
    max-width: 540px;
}

.f-tags {
    margin-top: 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.f-tag {
    font-family: var(--font-m);
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 30px;
    color: var(--ink-3);
}

/* =========================================================
   PRODUCT PAGE — Steps strip
   ========================================================= */
.steps {
    padding: 80px 0;
    border-bottom: 1px solid var(--line);
}

.steps-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 30px;
}

.steps-head h3 {
    font-family: var(--font-d);
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 500;
    letter-spacing: -.012em;
}

.steps-head .lead {
    max-width: 360px;
    color: var(--ink-2);
    font-size: 14.5px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.step {
    padding: 28px 24px;
    border-left: 1px solid var(--line);
}

.step:first-child {
    border-left: none;
}

.sn {
    font-family: var(--font-m);
    font-size: 12px;
    color: var(--leaf);
    letter-spacing: .1em;
    margin-bottom: 14px;
}

.stitle {
    font-family: var(--font-d);
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -.01em;
    margin-bottom: 8px;
}

.sdesc {
    color: var(--ink-2);
    font-size: 13.5px;
    line-height: 1.5;
}

.sdur {
    margin-top: 14px;
    font-family: var(--font-m);
    font-size: 10.5px;
    color: var(--ink-3);
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* =========================================================
   PRODUCT PAGE — Responsive
   ========================================================= */
@media (max-width: 1080px) {
    .p-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .p-visual {
        order: -1;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .features-left {
        position: static;
    }
}

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

    .step:nth-child(2) {
        border-left: 1px solid var(--line);
    }

    .step:nth-child(odd) {
        border-left: none;
    }

    .step:nth-child(3),
    .step:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .pnote-1 {
        left: -10px;
        top: -30px;
    }

    .pnote-2 {
        right: -10px;
    }
}

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

    .step {
        border-left: none !important;
    }

    .step:nth-child(n+2) {
        border-top: 1px solid var(--line);
    }

    .phone-wrap {
        transform: scale(.9);
    }
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-hero {
    padding: 160px 0 60px;
    border-bottom: 1px solid var(--line);
}

.about-hero h1 {
    max-width: 880px;
}

.about-hero h1 em {
    color: var(--leaf);
}

.about-lead {
    margin-top: 30px;
    max-width: 680px;
    font-size: clamp(18px, 1.8vw, 22px);
    color: var(--ink-2);
    line-height: 1.5;
}

.about-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 80px 0;
    border-bottom: 1px solid var(--line);
}

.about-body p {
    font-size: 16px;
    color: var(--ink-2);
    line-height: 1.65;
    margin-bottom: 20px;
}

.about-body p:last-child {
    margin-bottom: 0;
}

.about-body p em {
    color: var(--ink);
    font-style: normal;
    font-weight: 500;
    font-family: var(--font-d);
    font-size: 18px;
}

/* Principles */
.principles {
    padding: 90px 0;
    border-bottom: 1px solid var(--line);
}

.principles-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 80px;
}

.principles-left h2 {
    margin-top: 18px;
}

.principles-left .lead {
    margin-top: 22px;
    color: var(--ink-2);
}

.p-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.p-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}

.pn {
    font-family: var(--font-m);
    font-size: 13px;
    color: var(--leaf);
    letter-spacing: .1em;
    padding-top: 4px;
}

.p-item h3 {
    font-family: var(--font-d);
    font-size: 24px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -.012em;
}

.p-item p {
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.55;
    max-width: 560px;
}

/* Stack */
.stack {
    padding: 80px 0;
    border-bottom: 1px solid var(--line);
}

.stack-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 30px;
}

.stack-head h3 {
    font-family: var(--font-d);
    font-size: 28px;
    font-weight: 500;
}

.stack-head .lead {
    max-width: 360px;
    color: var(--ink-2);
    font-size: 14.5px;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
}

.stack-cell {
    padding: 24px 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stack-cell:nth-child(6n) {
    border-right: none;
}

.stack-cell:nth-last-child(-n+6) {
    border-bottom: none;
}

.stack-cell .nm {
    font-family: var(--font-m);
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--ink);
    font-weight: 500;
}

.stack-cell .ds {
    font-size: 12px;
    color: var(--ink-3);
    margin-top: 6px;
    line-height: 1.4;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-hero {
    padding: 160px 0 60px;
    border-bottom: 1px solid var(--line);
}

.contact-hero h1 {
    max-width: 780px;
}

.contact-hero h1 em {
    color: var(--leaf);
}

.contact-hero .lead {
    margin-top: 24px;
    max-width: 560px;
    color: var(--ink-2);
    font-size: 17px;
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    padding: 80px 0;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 120px;
}

.ci-lbl {
    font-family: var(--font-m);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 14px;
}

.ci-email {
    font-family: var(--font-d);
    font-size: 30px;
    color: var(--ink);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -.01em;
    margin-bottom: 30px;
}

.ci-email .ic {
    width: 18px;
    height: 18px;
    color: var(--leaf);
}

.ci-email:hover {
    color: var(--leaf);
}

.ci-row {
    padding: 18px 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 14px;
    align-items: start;
}

.ci-row:last-child {
    border-bottom: 1px solid var(--line);
}

.ci-row .ic {
    width: 18px;
    height: 18px;
    color: var(--leaf);
    margin-top: 3px;
}

.ci-ttl {
    font-family: var(--font-m);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 4px;
}

.ci-vl {
    font-size: 14.5px;
    color: var(--ink);
}

/* Form */
.contact-form {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 36px;
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-family: var(--font-m);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-3);
    display: flex;
    justify-content: space-between;
}

.field label .req {
    color: var(--leaf);
}

.field input,
.field select,
.field textarea {
    background: var(--paper);
    border: 1px solid var(--line-2);
    border-radius: 9px;
    padding: 13px 14px;
    font-size: 14.5px;
    color: var(--ink);
    transition: border-color .2s, background .2s;
    font-family: var(--font-b);
    width: 100%;
}

.field textarea {
    min-height: 120px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--leaf);
    background: var(--card);
}

.field.err input,
.field.err select,
.field.err textarea {
    border-color: var(--err);
}

.f-err {
    font-family: var(--font-m);
    font-size: 11px;
    color: var(--err);
    min-height: 14px;
}

.form-actions {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.form-note {
    font-family: var(--font-m);
    font-size: 11px;
    color: var(--ink-3);
    letter-spacing: .02em;
}

/* Success panel */
.form-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.form-success.show {
    display: block;
}

.fs-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(30, 158, 100, .1);
    color: var(--leaf);
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
}

.fs-icon .ic {
    width: 30px;
    height: 30px;
}

.fs-title {
    font-family: var(--font-d);
    font-size: 28px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -.01em;
    margin-bottom: 10px;
}

.fs-desc {
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.5;
    max-width: 380px;
    margin: 0 auto 24px;
}

.fs-mailto {
    font-family: var(--font-m);
    font-size: 12px;
    color: var(--ink-3);
}

.fs-mailto a {
    color: var(--leaf);
    text-decoration: underline;
}

/* =========================================================
   Icon sizing fix (lucide renders <svg> without .ic class)
   ========================================================= */
.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.nav-link svg {
    width: 15px;
    height: 15px;
}

.p-chip svg {
    width: 14px;
    height: 14px;
    color: var(--leaf);
}

.p-arrow svg {
    width: 18px;
    height: 18px;
}

.dd-glyph svg {
    width: 18px;
    height: 18px;
}

.ci-email svg {
    width: 18px;
    height: 18px;
    color: var(--leaf);
}

.ci-row svg {
    width: 18px;
    height: 18px;
    color: var(--leaf);
}

.p-cls svg {
    width: 12px;
    height: 12px;
}

.p-status-right svg {
    width: 12px;
    height: 12px;
}

.p-att-ring svg {
    width: 24px;
    height: 24px;
}

.p-nav svg {
    width: 20px;
    height: 20px;
}

.pnote svg {
    width: 14px;
    height: 14px;
    color: var(--leaf);
}

.cta-side .email svg {
    width: 18px;
    height: 18px;
    color: var(--leaf-2);
}

.to-top svg {
    width: 14px;
    height: 14px;
}

.footer .ic {
    width: auto;
}

/* =========================================================
   About + Contact responsive
   ========================================================= */
@media (max-width: 1080px) {
    .about-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .principles-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info {
        position: static;
    }

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

    .stack-cell:nth-child(6n) {
        border-right: 1px solid var(--line);
    }

    .stack-cell:nth-child(3n) {
        border-right: none;
    }

    .stack-cell:nth-last-child(-n+6) {
        border-bottom: 1px solid var(--line);
    }

    .stack-cell:nth-last-child(-n+3) {
        border-bottom: none;
    }
}

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

    .stack-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stack-cell {
        border-right: 1px solid var(--line) !important;
        border-bottom: 1px solid var(--line) !important;
    }

    .stack-cell:nth-child(2n) {
        border-right: none !important;
    }

    .stack-cell:nth-last-child(-n+2) {
        border-bottom: none !important;
    }
}

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

    .stack-cell {
        border-right: none !important;
    }

    .stack-cell:nth-last-child(-n+1) {
        border-bottom: none !important;
    }

    .contact-form {
        padding: 24px;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Reference number in success panel */
.fs-ref {
    font-family: var(--font-m);
    font-size: 13px;
    color: var(--leaf);
    margin-bottom: 20px;
    letter-spacing: .04em;
}