html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Zoho Puvi', sans-serif;
    color: #1a1a1a;
}

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

/* Header (aligned with Pi-CADS product pages) */

.header {
    background-color: #ffffff;
    color: #777777;
    position: sticky;
    top: 0;
    z-index: 999;
}

.pilabzLogo {
    width: 98px;
    padding: 20px;
    padding-left: 30px;
    display: inline-block;
    z-index: 1000;
    order: 1;
    cursor: pointer;
}

.piForgeLogo {
    display: inline-flex;
    align-items: center;
    margin-left: 3vw;
    padding: 12px 0;
    cursor: pointer;
    order: 1;
}

.piForgeLogo-svg {
    height: 31px;
    width: auto;
    display: block;
}

.dummyNavDiv {
    width: 98px;
    padding: 20px;
    display: inline-block;
    z-index: 1000;
    order: 3;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    width: 100%;
    z-index: 2000;
}

.nav2 {
    width: 95%;
    justify-self: center;
}

nav ul {
    display: flex;
    justify-content: space-around;
    width: 50%;
    margin: 0;
    list-style: none;
    order: 3;
    padding: 0;
}

.nav2 ul {
    width: initial;
}

nav a {
    color: #777777;
}

.checkbtn {
    cursor: pointer;
    height: 10px;
    display: none;
    z-index: 3000;
    order: 2;
}

#check,
#check1 {
    display: none;
}

header nav:first-of-type {
    transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
    overflow: hidden;
    max-height: 100px;
    border-bottom: #b5b5b5 1px solid;
}

header nav:first-of-type.hiddenNav {
    opacity: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
    border-bottom: none;
}

.auth-buttons {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    order: 3;
}

.auth-buttons li {
    display: flex;
}

.auth-buttons button {
    margin-left: 1.5vw;
    padding: 1vh 2vw;
    border: none;
    cursor: pointer;
    font-family: 'Zoho Puvi', sans-serif;
    transition: background-color 0.3s ease;
    border-radius: 4.5vh !important;
    width: 126px;
    height: 46px;
    font-size: 0.8rem;
}

.btn-signin {
    background: transparent;
    font-weight: 500;
    color: #0069bd;
    border: 1.4px solid #0069bd !important;
}

.btn-signup {
    background: #0069bd;
    font-weight: 500;
    color: white;
    margin-right: 1vw;
}

.btn-signup:hover,
.btn-signup:active {
    background-color: #035ea6 !important;
}

.btn-signin:hover,
.btn-signin:active {
    background-color: #eaf6ff !important;
    color: #0069bd !important;
}

/* Page content — scoped so header controls stay intact */

.forge-page {
    overflow-x: clip;
    background: #fff;
    color: #3d3d3d;
}

.forge-caps,
.forge-apps,
.forge-tools,
.forge-why,
.forge-who,
.forge-plans,
.forge-close,
.forge-connect,
.forge-statement {
    scroll-margin-top: 84px;
}

.forge-page h1,
.forge-page h2,
.forge-page h3,
.forge-page p {
    margin: 0;
}

.forge-page h1,
.forge-page h2 {
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: #1c1c1c;
}

.forge-page h2 {
    font-size: clamp(32px, 4vw, 48px);
}

.forge-page h3 {
    font-size: 20px;
    letter-spacing: -0.02em;
    color: #1c1c1c;
}

.forge-wrap {
    width: min(100%, 1280px);
    margin-inline: auto;
    padding-inline: clamp(20px, 6vw, 80px);
}

.forge-wrap-s {
    width: min(100%, 1160px);
    margin-inline: auto;
    padding-inline: clamp(20px, 6vw, 80px);
}

.forge-kicker {
    margin: 0 0 14px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9ca3af;
    font-weight: 500;
}

.forge-kicker-light {
    color: rgba(255, 255, 255, 0.78);
}

.forge-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 12px 22px;
    border-radius: 999px;
    font-family: 'Zoho Puvi', sans-serif;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.2;
    transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

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

.forge-pill-blue {
    background: #008cff;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 105, 189, 0.28);
}

.forge-pill-blue:hover {
    background: #0070d2;
}

.forge-pill-white {
    background: #fff;
    color: #1c1c1c;
    border: 1px solid #eeeeee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.forge-pill-dark {
    background: #1c1c1c;
    color: #fff;
}

.forge-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 560ms ease, transform 560ms ease;
}

.forge-in.is-shown {
    opacity: 1;
    transform: none;
}

/* Hero */

.forge-hero {
    position: relative;
    z-index: 2;
    min-height: 760px;
    overflow: visible;
    background-color: #f4f2ee;
    background-image: url(/assets/images/pilabz-forge-header-bg.svg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.forge-hero-veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.5) 82%, #fff 100%);
}

.forge-hero-frame {
    position: relative;
    z-index: 2;
    width: min(100%, 1200px);
    min-height: 760px;
    margin-inline: auto;
    padding: 96px 80px 120px;
    box-sizing: border-box;
}

.forge-hero-copy {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    width: min(100%, 520px);
}

.forge-hero-copy h1 {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 600;
    max-width: 14ch;
}

.forge-hero-copy > p {
    font-size: 18px;
    line-height: 1.45;
    color: #605f5f;
    max-width: 46ch;
}

.forge-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.forge-chips {
    display: flex;
    width: 102px;
    height: 42px;
    position: relative;
    flex: none;
}

.forge-chips span {
    position: absolute;
    top: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #0079d1;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: grid;
    place-items: center;
    box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.12);
}

.forge-chips span:nth-child(1) { left: 0; z-index: 3; background: #0069bd; }
.forge-chips span:nth-child(2) { left: 28px; z-index: 2; background: #008cff; }
.forge-chips span:nth-child(3) { left: 56px; z-index: 1; background: #3d3d3d; }

.forge-hero-meta p {
    font-size: 14px;
    color: #605f5f;
    line-height: 1.35;
    max-width: 22ch;
}

.forge-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.forge-hero-shot {
    position: absolute;
    top: 180px;
    right: 24px;
    width: min(52%, 620px);
    z-index: 4;
    pointer-events: none;
    filter: drop-shadow(-16px 18px 18px rgba(0, 0, 0, 0.22));
    animation: forgeLift 900ms cubic-bezier(0.22, 1.15, 0.36, 1) both;
}

.forge-hero-shot img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes forgeLift {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Statement */

.forge-statement {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin-inline: auto;
    padding: 120px clamp(20px, 7vw, 100px) 80px;
    background: #fff;
}

.forge-statement-text {
    font-size: clamp(24px, 3.1vw, 40px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.03em;
    text-align: center;
    color: #afb0b0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.forge-statement-text .forge-word {
    display: inline-flex;
    white-space: pre;
}

.forge-statement-text .forge-ch {
    color: #afb0b0;
    transition: color 110ms linear;
}

.forge-statement-text .forge-ch.is-on {
    color: #0079d1;
}

.forge-statement-text .forge-ch.is-half {
    color: #6d91c5;
}

/* Capabilities — left stays pinned while the right panels scroll */

.forge-caps {
    padding: 80px 0 48px;
    background: #fff;
}

.forge-caps-grid {
    display: grid;
    grid-template-columns: minmax(240px, 38%) minmax(0, 1fr);
    align-items: start;
    column-gap: 56px;
}

.forge-caps-pin {
    position: sticky;
    top: 96px;
    align-self: start;
    width: min(100%, 420px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.forge-caps-title {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28em;
    font-size: clamp(34px, 4vw, 46px);
    max-width: 10ch;
}

.forge-caps-title span {
    opacity: 0;
    transform: translateY(8px);
    display: inline-block;
    transition: opacity 400ms ease, transform 400ms ease;
}

.forge-caps-title.is-ready span {
    opacity: 1;
    transform: none;
}

.forge-caps-title.is-ready span:nth-child(1) { transition-delay: 0ms; }
.forge-caps-title.is-ready span:nth-child(2) { transition-delay: 80ms; }
.forge-caps-title.is-ready span:nth-child(3) { transition-delay: 160ms; }
.forge-caps-title.is-ready span:nth-child(4) { transition-delay: 240ms; }
.forge-caps-title.is-ready span:nth-child(5) { transition-delay: 320ms; }

.forge-mark {
    position: relative;
    z-index: 0;
}

.forge-caps-title.is-ready .forge-mark::after {
    content: "";
    position: absolute;
    left: -4%;
    right: -4%;
    bottom: 8%;
    height: 36%;
    background: rgba(125, 196, 255, 0.55);
    border-radius: 6px;
    z-index: -1;
    transform: rotate(-1.4deg);
}

.forge-caps-lead {
    color: #6d6d6d;
    font-size: 16px;
    line-height: 1.55;
    max-width: 36ch;
}

.forge-caps-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.forge-caps-nav button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid transparent;
    background: #f5f5f5;
    color: #1c1c1c;
    font-family: 'Zoho Puvi', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.forge-caps-nav button.is-on,
.forge-caps-nav button:hover {
    background: #fff;
    border-color: #ececec;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.forge-caps-ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid #ececec;
    flex: none;
}

.forge-caps-ico svg {
    width: 16px;
    height: 16px;
}

.forge-caps-stack {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 96px;
    padding-bottom: 80px;
}

.forge-caps-block {
    scroll-margin-top: 110px;
    min-height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
}

.forge-caps-block h3 {
    font-size: clamp(24px, 2.6vw, 30px);
    font-weight: 600;
}

.forge-caps-block > p {
    margin-top: 12px;
    margin-bottom: 22px;
    color: #6d6d6d;
    font-size: 16px;
    line-height: 1.55;
    max-width: 54ch;
}

.forge-media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #f3f5f8;
    border: 1px solid #eef1f5;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.08);
    min-height: 320px;
    flex: 1;
}

.forge-ui {
    min-height: 320px;
    height: 100%;
    padding: 22px;
    box-sizing: border-box;
}

.forge-ui-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}

.forge-ui-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d5dbe3;
}

.forge-ui-cols {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr 0.8fr;
    gap: 12px;
    height: 200px;
}

.forge-ui-cols div {
    border-radius: 12px;
    background: linear-gradient(180deg, #fff, #e7eef6);
}

.forge-ui-host {
    background:
        linear-gradient(180deg, #dceaf7 0%, #f7fbff 55%),
        radial-gradient(circle at 80% 20%, rgba(0, 140, 255, 0.25), transparent 40%);
}

.forge-prompt {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: min(92%, 440px);
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
    white-space: nowrap;
    overflow: hidden;
}

.forge-caret {
    width: 2px;
    height: 1.05em;
    background: #38bdf8;
    margin-left: 6px;
    flex: none;
    animation: forgeBlink 0.85s step-end infinite;
}

@keyframes forgeBlink {
    50% { opacity: 0; }
}

.forge-ui-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-content: center;
    background: linear-gradient(160deg, #f4f9fd, #e4eef8);
}

.forge-ui-flow span {
    display: grid;
    place-items: center;
    min-height: 88px;
    border-radius: 16px;
    background: #fff;
    color: #1c1c1c;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(0, 40, 90, 0.08);
}

.forge-ui-roles {
    display: grid;
    gap: 12px;
    align-content: center;
    background: linear-gradient(180deg, #eef4fb, #f8fbff);
}

.forge-ui-roles div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e8eef5;
}

.forge-ui-roles small {
    color: #6d6d6d;
}

/* Integrations */

.forge-connect {
    padding: 100px 0 0;
    text-align: center;
    overflow: hidden;
}

.forge-connect h2 {
    max-width: 16ch;
    margin-inline: auto;
}

.forge-arc {
    --arc: min(780px, 88vw);
    --lift: 48px;
    position: relative;
    height: calc(var(--lift) + var(--arc) / 2);
    margin-top: 36px;
    overflow: hidden;
}

.forge-arc-wash {
    position: absolute;
    width: var(--arc);
    aspect-ratio: 1;
    left: 50%;
    top: var(--lift);
    transform: translateX(-50%);
    border-radius: 50%;
    background: linear-gradient(#0079d14d 0%, #fff0 42%);
}

.forge-arc-spin {
    position: absolute;
    left: 50%;
    top: calc(var(--lift) + var(--arc) / 2);
    width: 0;
    height: 0;
    animation: forgeOrbit 24s linear infinite;
}

.forge-arc-mark {
    --turn: calc(var(--i) * 72deg);
    position: absolute;
    top: 0;
    left: 0;
    width: 78px;
    height: 78px;
    margin: -39px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(15, 40, 80, 0.12);
    transform: rotate(var(--turn)) translateY(calc(var(--arc) / -2)) rotate(calc(var(--turn) * -1));
    animation: forgeOrbitFix 24s linear infinite;
}

.forge-arc-mark img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

@keyframes forgeOrbit {
    to { transform: rotate(1turn); }
}

@keyframes forgeOrbitFix {
    to {
        transform:
            rotate(var(--turn))
            translateY(calc(var(--arc) / -2))
            rotate(calc(var(--turn) * -1 - 1turn));
    }
}

/* Blue product band */

.forge-blueband {
    background:
        radial-gradient(120% 80% at 50% -10%, rgba(255, 255, 255, 0.18), transparent 50%),
        linear-gradient(180deg, #0069bd 0%, #0079d1 48%, #3d9ee6 100%);
    padding: 72px 0 88px;
}

.forge-apps h2,
.forge-tools h2 {
    color: #fff;
    text-align: center;
    max-width: 22ch;
    margin: 0 auto 40px;
}

.forge-kicker-light + h2,
.forge-blueband .forge-kicker {
    text-align: center;
}

.forge-app-grid,
.forge-tool-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.forge-app-card,
.forge-tool-card {
    background: #fff;
    border-radius: 20px;
    padding: 22px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 270px;
    box-shadow: 0 14px 36px rgba(0, 40, 90, 0.14);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.forge-app-card:hover,
.forge-tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(0, 40, 90, 0.2);
}

.forge-app-card h3,
.forge-tool-card h3 {
    font-size: 17px;
    font-weight: 600;
}

.forge-tool-card h3 {
    font-size: 22px;
}

.forge-app-card p,
.forge-tool-card p {
    color: #6d6d6d;
    font-size: 13px;
    line-height: 1.45;
}

.forge-tool-card p {
    font-size: 14px;
}

.forge-app-art,
.forge-tool-art {
    flex: 1;
    min-height: 120px;
    border-radius: 14px;
    background: linear-gradient(160deg, #f7fbff, #e8f1f8);
    position: relative;
    overflow: hidden;
}

.forge-app-art::after,
.forge-tool-art::after {
    content: "";
    position: absolute;
    inset: 18%;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 10px 20px rgba(0, 40, 90, 0.08);
}

.forge-tool-card {
    min-height: 340px;
    padding: 24px 20px 16px;
}

.forge-tool-art {
    min-height: 160px;
    margin-top: auto;
}

.forge-art-mech { background: radial-gradient(circle at 30% 30%, #c9e4ff, #eef5fb 55%); }
.forge-art-motor { background: conic-gradient(from 210deg, #d7ecff, #9fd0ff, #eef6fc); }
.forge-art-flow { background: linear-gradient(120deg, #cce8ff, #8ec8f5 40%, #eaf5ff); }
.forge-art-thermal { background: linear-gradient(160deg, #ffd7c2, #ffb38a 40%, #fff1ea); }
.forge-art-struct { background: linear-gradient(180deg, #d9e3ee, #f4f7fb); }
.forge-art-elec { background: linear-gradient(135deg, #d5f0d8, #eef8ef); }
.forge-art-multi { background: linear-gradient(135deg, #d7e8ff, #f3e5ff); }
.forge-art-civil { background: linear-gradient(160deg, #efe6d6, #f7f3ea); }
.forge-art-cad { background: linear-gradient(160deg, #e8f3ff, #c5ddf5); }
.forge-art-mesh { background:
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(0, 121, 209, 0.08) 18px 19px),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(0, 121, 209, 0.08) 18px 19px),
    #f4f9fd; }
.forge-art-post { background: linear-gradient(90deg, #2a6fb3, #7ec8ff 55%, #f4fbff); }
.forge-art-click { background: radial-gradient(circle at 50% 60%, #ffffff, #d6ebff 70%); }

.forge-tools {
    padding-top: 56px;
}

/* Why */

.forge-why {
    padding: 96px 0;
    background: #fff;
}

.forge-why-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 820px;
    margin: 0 auto 36px;
}

.forge-why-lead {
    margin-top: 16px;
    max-width: 720px;
    color: #6d6d6d;
    font-size: 17px;
    line-height: 1.55;
}

.forge-why-tabs {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 920px;
    margin: 0 auto 36px;
    padding: 8px;
    background: #e8f2fc;
    border: 1px solid #d7e8f8;
    border-radius: 999px;
    overflow-x: auto;
    scrollbar-width: none;
}

.forge-why-tabs::-webkit-scrollbar {
    display: none;
}

.forge-why-tabs button {
    flex: 1 1 0;
    min-width: max-content;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #1c1c1c;
    font-family: 'Zoho Puvi', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.forge-why-tabs button.is-on {
    background: #008cff;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 140, 255, 0.28);
}

.forge-why-pane {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}

.forge-why-pane[hidden] {
    display: none !important;
}

.forge-why-visual {
    border-radius: 28px;
    min-height: 420px;
    background: #1a1a1a;
}

.forge-scene-design {
    background:
        linear-gradient(160deg, #2b2b2b, #111),
        repeating-linear-gradient(90deg, transparent 0 40px, rgba(0, 140, 255, 0.08) 40px 41px);
    background-blend-mode: screen;
}

.forge-scene-simulate {
    background: radial-gradient(circle at 30% 40%, #ff7a3c, transparent 42%),
        radial-gradient(circle at 70% 60%, #3aa0ff, #121212 55%);
}

.forge-scene-analyse {
    background: linear-gradient(180deg, #0f1720 0%, #1c2b3d 100%);
    background-image:
        linear-gradient(#3aa0ff 0 0),
        linear-gradient(#6ec3ff 0 0),
        linear-gradient(#9fd6ff 0 0);
    background-size: 18% 42%, 18% 64%, 18% 80%;
    background-repeat: no-repeat;
    background-position: 22% 78%, 50% 78%, 78% 78%;
}

.forge-scene-integrate {
    background:
        radial-gradient(circle at 28% 48%, #008cff 0 12%, transparent 13%),
        radial-gradient(circle at 72% 48%, #7ec8ff 0 12%, transparent 13%),
        linear-gradient(#1a1a1a, #222);
}

.forge-scene-optimise {
    background: conic-gradient(from 120deg at 50% 50%, #0d1b2a, #0079d1, #0d1b2a);
}

.forge-why-copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.forge-badge {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    background: #008cff;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.forge-why-copy ul {
    display: grid;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.forge-why-copy h3 {
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 500;
    margin-bottom: 8px;
}

.forge-why-copy p {
    color: #6d6d6d;
    font-size: 16px;
    line-height: 1.55;
    max-width: 42ch;
}

/* Audience */

.forge-who {
    padding: 96px 0 56px;
    text-align: center;
    overflow: hidden;
}

.forge-who-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2em;
    max-width: 16ch;
    margin: 8px auto 18px;
    font-size: clamp(36px, 5vw, 50px);
    font-weight: 500;
}

.forge-who-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 480ms ease, transform 480ms ease;
}

.forge-who-title.is-ready span {
    opacity: 1;
    transform: none;
}

.forge-who-title.is-ready span:nth-child(1) { transition-delay: 0ms; }
.forge-who-title.is-ready span:nth-child(2) { transition-delay: 70ms; }
.forge-who-title.is-ready span:nth-child(3) { transition-delay: 140ms; }
.forge-who-title.is-ready span:nth-child(4) { transition-delay: 210ms; }
.forge-who-title.is-ready span:nth-child(5) { transition-delay: 280ms; }
.forge-who-title.is-ready span:nth-child(6) { transition-delay: 350ms; }

.forge-who-link {
    display: inline-flex;
    color: #008cff;
    font-weight: 500;
    margin-bottom: 40px;
}

.forge-ticker {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.forge-ticker-row {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: forgeSlide 28s linear infinite;
    font-size: clamp(26px, 4vw, 32px);
    letter-spacing: -0.03em;
    color: #1c1c1c;
}

.forge-ticker-row span {
    white-space: nowrap;
}

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

/* Plans */

.forge-plans {
    padding: 88px 0 72px;
}

.forge-plans > .forge-wrap > .forge-kicker,
.forge-plans > .forge-wrap > h2 {
    text-align: center;
}

.forge-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 20px;
    margin-top: 40px;
    align-items: stretch;
}

.forge-plan-grid > .forge-plan {
    grid-row: 2;
}

.forge-plan {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 32px;
    padding: 28px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    height: 100%;
    box-sizing: border-box;
}

.forge-plan h3 {
    font-size: 26px;
    font-weight: 500;
}

.forge-plan-price {
    font-size: 36px;
    letter-spacing: -0.04em;
    color: #1c1c1c;
    font-weight: 600;
}

.forge-plan-note {
    color: #6d6d6d;
    font-size: 15px;
    line-height: 1.45;
    min-height: 3em;
}

.forge-plan .forge-pill {
    width: 100%;
    max-width: 100%;
    flex: none;
    margin-top: 4px;
}

.forge-plan ul {
    display: grid;
    gap: 10px;
    margin: 0;
    margin-top: auto;
    padding: 18px 0 0;
    list-style: none;
    border-top: 1px solid #ececec;
    color: #6a6a6a;
    font-size: 14px;
}

.forge-plan li {
    padding-left: 26px;
    position: relative;
}

.forge-plan li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 14px;
    height: 14px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b0b0b0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

.forge-plan-wrap {
    grid-row: 1 / 3;
    display: grid;
    grid-template-rows: subgrid;
    background: linear-gradient(125deg, #4686fe 0%, #659bff 66%);
    border-radius: 36px;
    padding: 0 4px 4px;
    box-shadow: 0 16px 40px rgba(70, 134, 254, 0.28);
    box-sizing: border-box;
}

.forge-plan-wrap > p {
    grid-row: 1;
    margin: 0;
    padding: 14px 12px 12px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.forge-plan-core {
    grid-row: 2;
    border: 0;
    box-shadow: none;
    height: auto;
}

/* Close CTA */

.forge-close {
    background: #0079d1;
    padding: 28px clamp(20px, 6vw, 80px) 40px;
}

.forge-close-card {
    overflow: hidden;
    background:
        radial-gradient(circle at 1px 1px, rgba(0, 121, 209, 0.18) 1.1px, transparent 0) 0 62% / 16px 16px,
        linear-gradient(180deg, #fff 0%, #fff 48%, #e8f4ff 100%);
    border-radius: 40px;
    padding: 64px 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 50, 110, 0.18);
}

.forge-close-card h2 {
    max-width: 18ch;
}

.forge-close-card p {
    margin: 16px 0 24px;
    max-width: 46ch;
    color: #6d6d6d;
    font-size: 17px;
}

.forge-close-shot {
    margin-top: 36px;
    width: min(100%, 760px);
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    transform: perspective(1200px) rotateX(8deg);
    box-shadow: 0 20px 40px rgba(0, 40, 90, 0.18);
}

.forge-close-shot img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 280px;
    object-fit: cover;
    object-position: center top;
}

/* Footer */

.forge-end {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: clamp(24px, 3.12vw, 80px);
    background-color: #0079d1;
    color: #fff;
    font-size: clamp(12px, 1.04vw, 18px);
    font-weight: 500;
}

.forge-end-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
}

.forge-end-mark {
    display: inline-flex;
    align-items: center;
}

.forge-end-mark .piForgeLogo-svg {
    height: clamp(24px, 2.2vw, 31px);
}

.forge-end-mark .piForgeLogo-svg path {
    fill: #ffffff;
}

.forge-end-contact {
    line-height: 1.7;
}

.forge-end-right div {
    border-left: 1px solid #fff;
    padding: 10px 0 10px 15px;
}

.forge-end-right div:first-child {
    padding-top: 0;
}

.forge-end-right div:last-child {
    padding-bottom: 0;
}

@media (max-width: 991px) {
    .pilabzLogo {
        width: 68px;
        padding: 15px;
        padding-left: 22.5px;
    }

    nav {
        font-size: 13px;
    }

    .forge-hero-frame {
        padding: 72px 32px 80px;
    }

    .forge-hero-shot {
        width: min(48%, 420px);
        top: 220px;
        right: 16px;
    }

    .forge-app-grid,
    .forge-tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .forge-why-pane {
        display: grid;
        grid-template-columns: 1fr;
    }

    .forge-plan-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        row-gap: 20px;
    }

    .forge-plan-grid > .forge-plan,
    .forge-plan-wrap,
    .forge-plan-core {
        grid-row: auto;
    }

    .forge-plan-wrap {
        display: block;
        padding: 12px 4px 4px;
    }

    .forge-plan-wrap > p {
        padding: 0 12px 12px;
    }

    .forge-caps-grid {
        column-gap: 28px;
    }

    .forge-caps-pin {
        top: 80px;
        width: 100%;
    }

    .forge-why-visual {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .pilabzLogo {
        width: 78px;
        padding: 10px;
        padding-left: 15px;
    }

    .dummyNavDiv {
        display: none;
    }

    nav {
        flex-wrap: wrap;
        font-size: 12px;
    }

    header nav:first-of-type {
        display: none !important;
    }

    nav ul,
    .auth-buttons {
        display: none;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        margin: 0;
        margin-bottom: 10px;
        padding: 10px;
        order: 3;
        width: 100%;
        z-index: 3000;
    }

    .nav2 ul {
        margin: auto;
    }

    nav ul li {
        display: block;
        padding: 5px;
    }

    .checkbtn {
        display: block;
        margin-right: 10px;
        z-index: 1000;
        order: 2;
    }

    #check:checked nav,
    #check1:checked nav {
        display: flex;
        flex-direction: column;
        height: fit-content;
    }

    #check:checked ~ ul,
    #check1:checked ~ ul,
    #check1:checked ~ .auth-buttons {
        display: flex;
    }

    .auth-buttons button {
        width: auto;
        min-width: 110px;
        height: 40px;
        font-size: 0.75rem;
    }

    .piForgeLogo {
        margin-left: 15px;
        padding: 10px 0;
    }

    .piForgeLogo-svg {
        height: 26px;
    }

    .forge-hero {
        min-height: 0;
    }

    .forge-hero-frame {
        min-height: 0;
        padding: 56px 20px 40px;
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .forge-hero-copy {
        width: 100%;
    }

    .forge-hero-copy h1 {
        max-width: none;
    }

    .forge-hero-shot {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        animation: none;
    }

    .forge-statement {
        padding: 64px 20px;
    }

    .forge-caps-grid {
        grid-template-columns: 1fr;
    }

    .forge-caps-pin {
        position: relative;
        top: auto;
    }

    .forge-caps-stack {
        gap: 48px;
        padding-bottom: 24px;
    }

    .forge-caps-block {
        min-height: 0;
    }

    .forge-app-grid,
    .forge-tool-grid,
    .forge-end {
        display: grid;
        grid-template-columns: 1fr;
    }

    .forge-end-right div {
        border-left: 0;
        padding-left: 0;
    }

    .forge-close-card {
        padding: 40px 18px 0;
    }

    .forge-why-tabs button {
        padding: 10px 14px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .forge-in,
    .forge-hero-shot,
    .forge-caps-title span,
    .forge-who-title span,
    .forge-ticker-row,
    .forge-caret {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }

    .forge-arc-spin,
    .forge-arc-mark {
        animation: none;
    }
}
