:root {
    --night: #111110;
    --night-2: #1b1a18;
    --night-3: #262522;
    --paper: #ffffff;
    --paper-2: #f4f2ed;
    --paper-3: #eae7df;
    --ink: #141412;
    --muted: #6c6a64;
    --muted-dark: #9a978f;
    --rule: #e4e1d9;
    --rule-dark: #2e2d2a;
    --lime: #c8dc9b;
    --lime-ink: #2f3a14;
    --lime-deep: #8fae4a;
    --radius: 28px;
    --wrap: 1240px;
    --display: "Inter Tight", Inter, "Helvetica Neue", Arial, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--night);
    color: var(--ink);
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 0;
}

p {
    margin: 0;
}

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

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
}

.eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

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

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform .2s ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn--lime {
    background: var(--lime);
    color: var(--lime-ink);
}

.btn--lime:hover {
    background: #d6e7ae;
}

.btn--dark {
    background: var(--night);
    color: #fff;
}

.btn--dark:hover {
    background: #2a2926;
}

.btn--white {
    background: #fff;
    color: var(--ink);
}

.btn--ghost {
    border: 1px solid var(--rule);
    color: var(--ink);
    height: 40px;
    padding: 0 18px;
    font-size: 13px;
}

.btn--ghost:hover {
    border-color: var(--ink);
}

.btn--sm {
    height: 38px;
    padding: 0 18px;
    font-size: 13px;
}

/* ---------- nav ---------- */

.nav {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 28px;
    color: #fff;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.01em;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: block;
}

.logo-mark {
    width: 28px;
    height: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
}

.logo-mark i {
    border-radius: 50%;
    background: currentColor;
}

.logo-mark i:nth-child(2),
.logo-mark i:nth-child(3) {
    background: var(--lime);
}

.nav-links {
    display: flex;
    gap: 34px;
    font-size: 14px;
    color: rgba(255, 255, 255, .72);
}

.nav-links a:hover {
    color: #fff;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
}

.nav-cta .mail {
    color: rgba(255, 255, 255, .72);
}

.nav-cta .mail:hover {
    color: #fff;
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    color: #fff;
    padding-bottom: 150px;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60% 70% at 78% 40%, rgba(200, 220, 155, .16), transparent 70%),
        radial-gradient(50% 60% at 10% 100%, rgba(214, 170, 120, .10), transparent 70%),
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px;
    mask-image: linear-gradient(#000 60%, transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    padding-top: clamp(56px, 9vw, 110px);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 8px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    font-size: 13px;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 28px;
}

.hero-tag b {
    background: var(--lime);
    color: var(--lime-ink);
    font-weight: 600;
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 999px;
    letter-spacing: .02em;
}

.hero h1 {
    font-size: clamp(40px, 5.6vw, 76px);
    font-weight: 600;
    text-wrap: balance;
}

.hero h1 em {
    font-style: normal;
    color: var(--lime);
}

.hero .lead {
    max-width: 500px;
    margin-top: 26px;
    font-size: 17px;
    color: rgba(255, 255, 255, .68);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 26px;
    margin-top: 36px;
}

.hero-actions .link {
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    padding-bottom: 2px;
}

.hero-actions .link:hover {
    color: #fff;
    border-color: #fff;
}

.stats {
    display: flex;
    gap: clamp(24px, 4vw, 48px);
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.stats strong {
    display: block;
    font-family: var(--display);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.stats span {
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

/* hero visual: layered product mockups */

.stage {
    position: relative;
    height: 520px;
}

.win {
    position: absolute;
    background: #fff;
    color: var(--ink);
    border-radius: 16px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06);
    overflow: hidden;
}

.win-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    background: var(--paper-2);
    border-bottom: 1px solid var(--rule);
}

.win-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d8d4ca;
}

.win-bar .url {
    margin-left: 14px;
    flex: 1;
    height: 18px;
    border-radius: 6px;
    background: #fff;
    font: 500 10px/18px var(--mono);
    color: var(--muted);
    padding: 0 10px;
    overflow: hidden;
    white-space: nowrap;
}

.win--app {
    top: 10px;
    right: 0;
    width: 92%;
    height: 380px;
    animation: float 9s ease-in-out infinite;
}

.app {
    display: grid;
    grid-template-columns: 110px 1fr;
    height: calc(100% - 34px);
}

.app-side {
    background: var(--night);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-side .logo-mark {
    width: 18px;
    height: 18px;
    gap: 2px;
    color: #fff;
    margin-bottom: 12px;
}

.app-side span {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .14);
}

.app-side span.on {
    background: var(--lime);
    width: 80%;
}

.app-main {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.app-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-head h4 {
    font-size: 15px;
}

.app-head small {
    font-size: 10px;
    color: var(--muted);
}

.pill {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--lime);
    color: var(--lime-ink);
}

.kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.kpi {
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 10px 12px;
}

.kpi small {
    display: block;
    font-size: 9px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.kpi b {
    font-family: var(--display);
    font-size: 18px;
    letter-spacing: -0.02em;
}

.kpi em {
    font-style: normal;
    font-size: 9px;
    color: var(--lime-deep);
    margin-left: 4px;
    font-weight: 600;
}

.chart {
    flex: 1;
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    position: relative;
}

.chart i {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: var(--paper-3);
    transform-origin: bottom;
    animation: grow 1.4s cubic-bezier(.2, .8, .2, 1) both;
}

.chart i.hi {
    background: var(--night);
}

.chart i.lime {
    background: var(--lime);
}

.win--code {
    left: 0;
    bottom: 0;
    width: 66%;
    background: #1d1c1a;
    color: #e8e6e0;
    animation: float 9s ease-in-out -4s infinite;
}

.win--code .win-bar {
    background: #262522;
    border-color: #33322e;
}

.win--code .win-bar i {
    background: #45433e;
}

.win--code .win-bar .url {
    background: transparent;
    color: #8f8c84;
    margin-left: 8px;
}

.code {
    margin: 0;
    padding: 16px 18px 18px;
    font: 400 11.5px/1.75 var(--mono);
    white-space: pre;
    overflow: hidden;
}

.code .k {
    color: #c8dc9b;
}

.code .s {
    color: #e7b98a;
}

.code .f {
    color: #9fc3e8;
}

.code .c {
    color: #6e6b64;
}

.caret {
    display: inline-block;
    width: 7px;
    height: 13px;
    background: var(--lime);
    vertical-align: -2px;
    animation: blink 1s steps(1) infinite;
}

.badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    background: rgba(30, 29, 27, .82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    color: #fff;
    font-size: 12px;
    line-height: 1.35;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5);
}

.badge small {
    display: block;
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
}

.badge--score {
    right: 4%;
    bottom: 36px;
    animation: float 7s ease-in-out -2s infinite;
}

.ring {
    --p: 100;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(var(--lime) calc(var(--p) * 1%), rgba(255, 255, 255, .1) 0);
    position: relative;
    font: 600 12px var(--display);
}

.ring::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #1e1d1b;
}

.ring b {
    position: relative;
}

.badge--deploy {
    left: 6%;
    top: -6px;
    animation: float 8s ease-in-out -6s infinite;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 4px rgba(200, 220, 155, .2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes float {

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

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

@keyframes grow {
    from {
        transform: scaleY(0)
    }
}

@keyframes blink {
    50% {
        opacity: 0
    }
}

@keyframes pulse {
    50% {
        box-shadow: 0 0 0 8px rgba(200, 220, 155, 0)
    }
}

/* ---------- sheet (white overlapping card) ---------- */

.sheet {
    position: relative;
    z-index: 2;
    margin-top: -96px;
}

.sheet-card {
    background: var(--paper);
    border-radius: var(--radius);
    padding: clamp(28px, 4vw, 48px);
    box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .5);
}

.services {
    display: grid;
    grid-template-columns: 0.8fr 1fr 1.35fr;
    gap: clamp(24px, 3.5vw, 48px);
    align-items: stretch;
}

.svc-list .eyebrow {
    margin-bottom: 18px;
}

.svc-list li {
    border-bottom: 1px solid var(--rule);
}

.svc-list button {
    all: unset;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    font-size: 15px;
    color: var(--muted);
    cursor: pointer;
    transition: color .2s ease, padding .2s ease;
}

.svc-list button::after {
    content: "→";
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .2s ease, transform .2s ease;
}

.svc-list button:hover,
.svc-list button[aria-selected="true"] {
    color: var(--ink);
}

.svc-list button[aria-selected="true"] {
    font-weight: 600;
    padding-left: 6px;
}

.svc-list button[aria-selected="true"]::after,
.svc-list button:hover::after {
    opacity: 1;
    transform: none;
}

.svc-list button:focus-visible {
    outline: 2px solid var(--lime-deep);
    outline-offset: 2px;
    border-radius: 4px;
}

.svc-detail {
    display: flex;
    flex-direction: column;
}

.svc-detail .kicker {
    font-size: 12px;
    font-weight: 600;
    color: var(--lime-deep);
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 34px 0 12px;
}

.svc-detail h2 {
    font-size: clamp(28px, 2.8vw, 36px);
}

.svc-detail p {
    margin-top: 16px;
    color: var(--muted);
}

.svc-detail ul {
    margin: 20px 0 28px;
    display: grid;
    gap: 8px;
    font-size: 14px;
}

.svc-detail li {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.svc-detail li::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lime-deep);
    transform: translateY(-2px);
}

.svc-detail .btn {
    margin-top: auto;
    align-self: flex-start;
}

.svc-detail .swap {
    transition: opacity .25s ease;
}

.svc-detail.fading .swap {
    opacity: 0;
}

.cta-card {
    position: relative;
    overflow: hidden;
    background: var(--night);
    color: #fff;
    border-radius: 22px;
    padding: clamp(26px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    min-height: 360px;
    isolation: isolate;
}

.cta-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -80px;
    top: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 220, 155, .28), transparent 65%);
}

.cta-card h2 {
    font-size: clamp(30px, 3.2vw, 42px);
    max-width: 12ch;
}

.cta-card p {
    margin-top: 18px;
    color: rgba(255, 255, 255, .62);
    max-width: 40ch;
    font-size: 14px;
}

.cta-foot {
    margin-top: auto;
    padding-top: 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-card .sig {
    width: 150px;
    height: auto;
    color: rgba(255, 255, 255, .7);
}

.cta-term {
    position: absolute;
    right: 22px;
    top: 22px;
    z-index: -1;
    font: 400 10.5px/1.7 var(--mono);
    color: rgba(255, 255, 255, .16);
    white-space: pre;
    text-align: right;
}

/* ---------- projects ---------- */

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin: clamp(48px, 6vw, 72px) 0 28px;
    padding-top: clamp(40px, 5vw, 56px);
    border-top: 1px solid var(--rule);
}

.section-head .title {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.section-head h2 {
    font-size: clamp(30px, 3.4vw, 44px);
}

.tag {
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 999px;
    background: #eef4df;
    color: var(--lime-ink);
    border: 1px solid #d9e6bd;
}

.projects {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.proj {
    display: flex;
    flex-direction: column;
}

.shot {
    position: relative;
    aspect-ratio: 4 / 3.3;
    border-radius: 16px;
    overflow: hidden;
    background: var(--paper-2);
    padding: 14px;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.proj:hover .shot {
    transform: translateY(-4px);
}

.shot>.ui {
    height: 100%;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-size: 8px;
    line-height: 1.3;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.proj:hover .shot>.ui {
    transform: scale(1.03);
}

.shot.dark {
    background: var(--night-2);
}

.shot.lime {
    background: #dfe9c4;
}

.shot.warm {
    background: #ece2d3;
}

.ui-top {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    border-bottom: 1px solid var(--rule);
}

.ui-top i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d8d4ca;
}

.ui-top b {
    margin-left: auto;
    font-weight: 600;
    font-size: 7px;
    color: var(--muted);
}

.ui-body {
    flex: 1;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
}

.bar {
    height: 5px;
    border-radius: 3px;
    background: var(--paper-3);
}

/* booking */
.cal {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    flex: 1;
}

.cal i {
    border-radius: 3px;
    background: var(--paper-2);
}

.cal i.on {
    background: var(--night);
}

.cal i.lime {
    background: var(--lime);
}

.ui-btn {
    align-self: flex-start;
    background: var(--night);
    color: #fff;
    font-weight: 600;
    font-size: 7px;
    padding: 4px 8px;
    border-radius: 99px;
}

/* store */
.prods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    flex: 1;
}

.prods div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.prods span {
    flex: 1;
    border-radius: 4px;
    background: linear-gradient(135deg, #e9dfcf, #d8ccb6);
}

.prods div:nth-child(2) span {
    background: linear-gradient(135deg, #dfe9c4, #c3d697);
}

.prods div:nth-child(3) span {
    background: linear-gradient(135deg, #3a3833, #1e1d1a);
}

.prods div:nth-child(4) span {
    background: linear-gradient(135deg, #cfd8e3, #b5c3d4);
}

.prods div:nth-child(5) span {
    background: linear-gradient(135deg, #f1d9c8, #e1b99b);
}

.prods div:nth-child(6) span {
    background: linear-gradient(135deg, #e7e4dc, #d3cfc4);
}

.prods em {
    height: 3px;
    width: 70%;
    background: var(--paper-3);
    border-radius: 2px;
}

/* editor */
.editor {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 34%;
    gap: 6px;
    min-height: 0;
}

.photo {
    border-radius: 5px;
    background:
        radial-gradient(circle at 70% 30%, #f6e2b8 0 9%, transparent 10%),
        linear-gradient(to top, #3d4a2a 0 26%, transparent 26%),
        linear-gradient(170deg, transparent 52%, #6b7d45 52% 74%, transparent 74%),
        linear-gradient(195deg, transparent 46%, #8a9b5c 46%),
        linear-gradient(#f0c99a, #e79f78);
    position: relative;
}

.photo::after {
    content: "";
    position: absolute;
    inset: 0;
    left: 50%;
    border-left: 1.5px solid #fff;
    backdrop-filter: grayscale(1) brightness(1.1);
    -webkit-backdrop-filter: grayscale(1) brightness(1.1);
}

.sliders {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
}

.sliders div {
    position: relative;
    height: 3px;
    border-radius: 2px;
    background: var(--paper-3);
}

.sliders div::after {
    content: "";
    position: absolute;
    top: -3px;
    left: var(--v);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--night);
    transform: translateX(-50%);
}

/* analytics */
.spark {
    flex: 1;
    width: 100%;
    min-height: 0;
}

.mini-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
}

.mini-kpis div {
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 4px 5px;
    font-size: 6.5px;
    color: var(--muted);
}

.mini-kpis b {
    display: block;
    font: 600 10px var(--display);
    color: var(--ink);
}

/* ai chat */
.chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 5px;
}

.msg {
    max-width: 80%;
    padding: 5px 7px;
    border-radius: 8px;
    background: var(--paper-2);
    font-size: 7px;
    color: var(--ink);
}

.msg.me {
    align-self: flex-end;
    background: var(--night);
    color: #fff;
}

.msg.ai {
    border: 1px solid #d9e6bd;
    background: #f3f7e9;
}

.typing {
    display: flex;
    gap: 3px;
    padding: 6px 8px;
    align-self: flex-start;
    background: var(--paper-2);
    border-radius: 8px;
}

.typing i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--muted);
    animation: blink 1.2s infinite;
}

.typing i:nth-child(2) {
    animation-delay: .2s;
}

.typing i:nth-child(3) {
    animation-delay: .4s;
}

.proj h3 {
    font-size: 17px;
    margin-top: 18px;
    line-height: 1.2;
}

.proj p {
    margin-top: 8px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
}

.proj .meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--muted);
}

.proj .meta i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--paper-2);
    display: grid;
    place-items: center;
    font-style: normal;
}

.proj .meta svg {
    width: 11px;
    height: 11px;
}

/* ---------- process ---------- */

.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.step {
    background: var(--paper-2);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 220px;
    transition: background .25s ease, color .25s ease;
}

.step:hover {
    background: var(--night);
    color: #fff;
}

.step:hover p {
    color: rgba(255, 255, 255, .62);
}

.step .n {
    font: 500 12px var(--mono);
    color: var(--lime-deep);
}

.step h3 {
    font-size: 22px;
    margin-top: auto;
}

.step p {
    font-size: 13.5px;
    color: var(--muted);
    transition: color .25s ease;
}

.step .when {
    font-size: 12px;
    font-weight: 500;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
}

.step:hover .when {
    background: var(--lime);
    color: var(--lime-ink);
}

/* ---------- partners ---------- */

.partners {
    margin-top: clamp(48px, 6vw, 72px);
    padding-top: 36px;
    border-top: 1px solid var(--rule);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: center;
}

.partners p {
    font-size: 14px;
    color: var(--muted);
}

.partners p b {
    display: block;
    color: var(--ink);
    font-family: var(--display);
    font-size: 18px;
    letter-spacing: -0.01em;
}

.marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

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

.marquee ul {
    display: flex;
    gap: 14px;
    padding-right: 14px;
}

.marquee li {
    white-space: nowrap;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--rule);
    font-family: var(--display);
    font-weight: 500;
    font-size: 15px;
}

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

/* ---------- footer ---------- */

.foot {
    color: #fff;
    padding: clamp(56px, 7vw, 88px) 0 32px;
}

.foot-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 40px;
}

.foot .logo {
    margin-bottom: 16px;
}

.foot-brand p {
    color: var(--muted-dark);
    font-size: 14px;
    max-width: 30ch;
}

.reg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 8px 14px 8px 10px;
    border: 1px solid var(--rule-dark);
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.35;
    color: var(--muted-dark);
}

.reg svg {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--lime);
}

.reg b {
    display: block;
    color: #fff;
    font: 500 13px var(--mono);
    letter-spacing: .02em;
}

.foot h4 {
    font-size: 15px;
    margin-bottom: 18px;
}

.foot-col ul {
    display: grid;
    gap: 10px;
    font-size: 14px;
    color: var(--muted-dark);
}

.foot-col a:hover {
    color: #fff;
}

.foot-big {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.foot-big a.mail {
    font-family: var(--display);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 600;
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--rule-dark);
    padding-bottom: 12px;
    transition: border-color .2s ease, color .2s ease;
    overflow-wrap: anywhere;
}

.foot-big a.mail:hover {
    color: var(--lime);
    border-color: var(--lime);
}

.foot-big p {
    font-size: 14px;
    color: var(--muted-dark);
}

.avail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, .8);
}

.foot-bottom {
    margin-top: clamp(48px, 6vw, 72px);
    padding-top: 24px;
    border-top: 1px solid var(--rule-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted-dark);
}

.to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.to-top:hover {
    color: #fff;
}

/* ---------- reveal ---------- */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

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

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
    .projects {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .cta-card {
        grid-column: 1 / -1;
        min-height: 300px;
    }

    .foot-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

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

    .stage {
        height: 460px;
        max-width: 620px;
    }

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

@media (max-width: 640px) {
    .nav-cta .mail {
        display: none;
    }

    .hero {
        padding-bottom: 120px;
    }

    .stats strong {
        font-size: 24px;
    }

    .stage {
        height: 360px;
    }

    .win--app {
        width: 100%;
        height: 280px;
    }

    .app {
        grid-template-columns: 56px 1fr;
    }

    .kpi:nth-child(3) {
        display: none;
    }

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

    .win--code {
        width: 82%;
    }

    .code {
        font-size: 10px;
    }

    .badge--score {
        display: none;
    }

    .services,
    .process {
        grid-template-columns: minmax(0, 1fr);
    }

    .svc-detail .kicker {
        margin-top: 0;
    }

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

    .proj:last-child {
        display: none;
    }

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

    .foot-top {
        grid-template-columns: minmax(0, 1fr);
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

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

/* ---------- footer legal links ---------- */

.foot-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.foot-legal a:hover,
.foot-legal a[aria-current="page"] {
    color: #fff;
}

/* ---------- legal pages ---------- */

.hero--page {
    padding-bottom: 150px;
}

.page-head {
    padding-top: clamp(48px, 7vw, 88px);
    max-width: 760px;
}

.page-head .eyebrow {
    color: var(--lime);
}

.page-head h1 {
    margin-top: 14px;
    font-size: clamp(40px, 5.6vw, 68px);
}

.page-head .lead {
    margin-top: 20px;
    font-size: 17px;
    color: rgba(255, 255, 255, .68);
    max-width: 60ch;
}

.page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 28px;
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

.page-meta b {
    color: #fff;
    font-weight: 500;
}

.legal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 28px;
    margin-bottom: clamp(28px, 4vw, 44px);
    border-bottom: 1px solid var(--rule);
}

.legal-tabs a {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--rule);
    color: var(--muted);
    transition: border-color .2s ease, color .2s ease;
}

.legal-tabs a:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.legal-tabs a[aria-current="page"] {
    background: var(--night);
    border-color: var(--night);
    color: #fff;
}

.legal {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 24px;
}

.legal-toc .eyebrow {
    margin-bottom: 14px;
}

.legal-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: toc;
    border-left: 1px solid var(--rule);
}

.legal-toc li {
    counter-increment: toc;
}

.legal-toc a {
    display: flex;
    gap: 10px;
    padding: 6px 0 6px 16px;
    margin-left: -1px;
    border-left: 2px solid transparent;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--muted);
    transition: color .2s ease, border-color .2s ease;
}

.legal-toc a::before {
    content: counter(toc, decimal-leading-zero);
    font: 500 11px/1.6 var(--mono);
    color: var(--lime-deep);
}

.legal-toc a:hover,
.legal-toc a[aria-current="true"] {
    color: var(--ink);
}

.legal-toc a[aria-current="true"] {
    border-left-color: var(--lime-deep);
}

.prose {
    max-width: 72ch;
    font-size: 15.5px;
    line-height: 1.75;
    color: #3d3b36;
}

.prose section {
    scroll-margin-top: 24px;
}

.prose section + section {
    margin-top: 44px;
    padding-top: 40px;
    border-top: 1px solid var(--rule);
}

.prose h2 {
    font-size: clamp(22px, 2.2vw, 28px);
    color: var(--ink);
    margin-bottom: 16px;
}

.prose h2 .n {
    font: 500 13px var(--mono);
    color: var(--lime-deep);
    letter-spacing: 0;
    margin-right: 10px;
    vertical-align: middle;
}

.prose h3 {
    font-size: 17px;
    color: var(--ink);
    margin: 26px 0 8px;
    letter-spacing: -0.01em;
}

.prose p + p,
.prose p + ul,
.prose ul + p,
.prose table + p {
    margin-top: 14px;
}

.prose ul {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.prose ul li {
    position: relative;
    padding-left: 18px;
}

.prose ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .7em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lime-deep);
}

.prose strong {
    color: var(--ink);
    font-weight: 600;
}

.prose a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--lime-deep);
    text-underline-offset: 3px;
}

.prose a:hover {
    text-decoration-thickness: 2px;
}

.summary {
    background: #eef4df;
    border: 1px solid #d9e6bd;
    border-radius: 18px;
    padding: 22px 24px;
    margin-bottom: 40px;
    color: var(--lime-ink);
}

.summary .eyebrow {
    color: var(--lime-ink);
    margin-bottom: 10px;
}

.summary ul li::before {
    background: var(--lime-ink);
}

.table-wrap {
    overflow-x: auto;
    margin-top: 16px;
    border: 1px solid var(--rule);
    border-radius: 14px;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.55;
}

.prose th,
.prose td {
    text-align: left;
    vertical-align: top;
    padding: 12px 16px;
    border-bottom: 1px solid var(--rule);
}

.prose th {
    background: var(--paper-2);
    font-weight: 600;
    color: var(--ink);
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.prose tr:last-child td {
    border-bottom: 0;
}

.contact-card {
    margin-top: 18px;
    background: var(--night);
    color: rgba(255, 255, 255, .7);
    border-radius: 18px;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    font-size: 14px;
}

.contact-card small {
    display: block;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted-dark);
    margin-bottom: 4px;
}

.contact-card b,
.contact-card a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--lime);
}

@media (max-width: 860px) {
    .legal {
        grid-template-columns: minmax(0, 1fr);
    }

    .legal-toc {
        position: static;
    }

    .legal-toc ol {
        columns: 2;
        column-gap: 16px;
    }
}

@media (max-width: 520px) {
    .legal-toc ol {
        columns: 1;
    }

    .contact-card {
        grid-template-columns: minmax(0, 1fr);
    }
}
