:root {
    --twp-navy-950: #071426;
    --twp-navy-900: #0b1f38;
    --twp-navy-800: #123456;
    --twp-blue-600: #1769e0;
    --twp-blue-500: #2d7ff9;
    --twp-cyan-500: #12a8c7;
    --twp-violet-500: #6f5bd3;
    --twp-ink: #182230;
    --twp-muted: #5f6d7d;
    --twp-border: #dbe2ea;
    --twp-surface: #f5f7fa;
    --twp-white: #ffffff;

    --twp-container: 1240px;
    --twp-radius-sm: 4px;
    --twp-radius-md: 10px;
    --twp-radius-lg: 18px;
    --twp-shadow: 0 12px 35px rgba(7, 20, 38, .08);

    --twp-space-1: 8px;
    --twp-space-2: 16px;
    --twp-space-3: 24px;
    --twp-space-4: 32px;
    --twp-space-5: 48px;
    --twp-space-6: 64px;
    --twp-space-7: 96px;
    --twp-space-8: 128px;

    --twp-font-sans: Inter, "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--twp-ink);
    background: var(--twp-white);
    font-family: var(--twp-font-sans);
    line-height: 1.65;
    font-size: 16px;
}

img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button,
input,
textarea,
select { font: inherit; }

.twp-container {
    width: min(calc(100% - 48px), var(--twp-container));
    margin-inline: auto;
}

.twp-skip-link {
    position: fixed;
    left: 16px;
    top: -100px;
    z-index: 9999;
    padding: 10px 14px;
    background: var(--twp-navy-950);
    color: var(--twp-white);
}
.twp-skip-link:focus { top: 16px; }

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.twp-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--twp-border);
    backdrop-filter: blur(14px);
}

.twp-header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.twp-brand { flex: 0 0 auto; }

.twp-brand-text {
    display: inline-flex;
    flex-direction: column;
    gap: 1px;
}

.twp-brand-name {
    color: var(--twp-navy-950);
    font-size: 21px;
    font-weight: 750;
    letter-spacing: -.03em;
}

.twp-brand-tagline {
    color: var(--twp-muted);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.twp-primary-nav { margin-left: auto; }

.twp-primary-nav ul {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.twp-primary-nav a {
    color: var(--twp-ink);
    font-size: 14px;
    font-weight: 600;
}

.twp-primary-nav a:hover { color: var(--twp-blue-600); }

.twp-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.twp-header-link {
    font-size: 14px;
    font-weight: 600;
}

.twp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--twp-radius-sm);
    font-weight: 700;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.twp-button:hover { transform: translateY(-1px); }

.twp-button-primary {
    color: var(--twp-white);
    background: var(--twp-blue-600);
}

.twp-button-primary:hover { background: var(--twp-navy-900); }

.twp-button-secondary {
    color: var(--twp-navy-900);
    background: var(--twp-white);
    border-color: var(--twp-border);
}

.twp-button-small { min-height: 42px; padding: 9px 17px; font-size: 13px; }

.twp-menu-toggle { display: none; }

.twp-content { padding-block: var(--twp-space-7); }

.twp-page-title {
    margin: 0 0 24px;
    color: var(--twp-navy-950);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.twp-archive-header { margin-bottom: 50px; }

.twp-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.twp-post-card {
    overflow: hidden;
    border: 1px solid var(--twp-border);
    border-radius: var(--twp-radius-md);
    background: var(--twp-white);
}

.twp-post-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.twp-post-card-body { padding: 26px; }

.twp-post-meta,
.twp-eyebrow {
    margin: 0 0 10px;
    color: var(--twp-blue-600);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.twp-post-title {
    margin: 0 0 12px;
    color: var(--twp-navy-950);
    font-size: 25px;
    line-height: 1.2;
}

.twp-post-excerpt { color: var(--twp-muted); }

.twp-text-link {
    display: inline-flex;
    gap: 8px;
    margin-top: 18px;
    color: var(--twp-blue-600);
    font-weight: 700;
}

.twp-404 {
    min-height: 60vh;
    display: grid;
    align-content: center;
    justify-items: start;
}
/* =========================================================
   TWP CORPORATE — HOMEPAGE HERO
   ========================================================= */

.twp-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 32%, rgba(45, 127, 249, .10), transparent 28%),
        radial-gradient(circle at 65% 75%, rgba(111, 91, 211, .07), transparent 25%),
        #ffffff;
}

/* ---------------------------------------------------------
   HERO MAIN
   --------------------------------------------------------- */

.twp-hero__container {
    width: min(calc(100% - 48px), 1240px);
    min-height: 720px;
    margin: 0 auto;
    padding: 90px 0 76px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(520px, .95fr);
    align-items: center;
    gap: 55px;
}

/* ---------------------------------------------------------
   LEFT CONTENT
   --------------------------------------------------------- */

.twp-hero__content {
    position: relative;
    z-index: 5;
}

.twp-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 22px;

    color: #1769e0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.twp-hero__eyebrow span {
    width: 28px;
    height: 2px;
    display: inline-block;
    background: #1769e0;
    border-radius: 20px;
}

.twp-hero__title {
    max-width: 680px;
    margin: 0;

    color: #071426;
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1.03;
    letter-spacing: -.055em;
    font-weight: 650;
}

.twp-hero__title strong {
    display: block;
    color: #1769e0;
    font-weight: 750;
}

.twp-hero__description {
    max-width: 650px;
    margin: 28px 0 0;

    color: #5f6d7d;
    font-size: 17px;
    line-height: 1.75;
}

/* ---------------------------------------------------------
   BUTTONS
   --------------------------------------------------------- */

.twp-hero__buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.twp-hero__button {
    min-height: 52px;
    padding: 14px 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 750;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.twp-hero__button:hover {
    transform: translateY(-2px);
}

.twp-hero__button--primary {
    color: #ffffff;
    background: #1769e0;
    box-shadow: 0 12px 28px rgba(23, 105, 224, .22);
}

.twp-hero__button--primary:hover {
    background: #0b1f38;
    box-shadow: 0 15px 32px rgba(7, 20, 38, .20);
}

.twp-hero__button--secondary {
    color: #071426;
    background: #ffffff;
    border: 1px solid #dbe2ea;
}

.twp-hero__button--secondary:hover {
    border-color: #1769e0;
    color: #1769e0;
}

.twp-hero__button .arrow {
    font-size: 18px;
    line-height: 1;
}

/* ---------------------------------------------------------
   STATS
   --------------------------------------------------------- */

.twp-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 620px;

    margin-top: 48px;
    padding-top: 30px;

    border-top: 1px solid #e5eaf0;

    gap: 25px 38px;
}

.twp-stat {
    display: flex;
    align-items: center;
    gap: 13px;
}

.twp-stat__icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #1769e0;
    background: #edf4ff;

    font-size: 16px;
    font-weight: 700;
}

.twp-stat strong {
    display: block;

    color: #071426;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 800;
}

.twp-stat span {
    display: block;
    margin-top: 3px;

    color: #718094;
    font-size: 12px;
    line-height: 1.4;
}

/* ---------------------------------------------------------
   RIGHT ECOSYSTEM
   --------------------------------------------------------- */

.twp-hero__visual {
    position: relative;

    min-height: 570px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.twp-ecosystem {
    position: relative;

    width: 570px;
    height: 570px;

    max-width: 100%;
}

/* ---------------------------------------------------------
   BACKGROUND GLOW
   --------------------------------------------------------- */

.twp-ecosystem::before {
    content: "";
    position: absolute;

    width: 330px;
    height: 330px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: rgba(45, 127, 249, .055);
    filter: blur(10px);
}

/* ---------------------------------------------------------
   RINGS
   --------------------------------------------------------- */

.twp-ring {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(23, 105, 224, .14);
    border-radius: 50%;
}

.twp-ring--one {
    width: 245px;
    height: 245px;
}

.twp-ring--two {
    width: 365px;
    height: 365px;
    border-color: rgba(23, 105, 224, .10);
}

.twp-ring--three {
    width: 485px;
    height: 485px;
    border-color: rgba(23, 105, 224, .07);
}

/* ---------------------------------------------------------
   CONNECTION LINES
   --------------------------------------------------------- */

.twp-line {
    position: absolute;

    left: 50%;
    top: 50%;

    height: 1px;

    transform-origin: left center;

    background: linear-gradient(
        90deg,
        rgba(23, 105, 224, .22),
        rgba(23, 105, 224, .03)
    );
}

.twp-line--top {
    width: 220px;
    transform: rotate(-90deg);
}

.twp-line--right-top {
    width: 205px;
    transform: rotate(-45deg);
}

.twp-line--right {
    width: 225px;
    transform: rotate(0deg);
}

.twp-line--bottom-right {
    width: 205px;
    transform: rotate(45deg);
}

.twp-line--bottom {
    width: 220px;
    transform: rotate(90deg);
}

.twp-line--bottom-left {
    width: 205px;
    transform: rotate(135deg);
}

.twp-line--left {
    width: 225px;
    transform: rotate(180deg);
}

.twp-line--left-top {
    width: 205px;
    transform: rotate(225deg);
}

/* ---------------------------------------------------------
   CENTRAL HUB
   --------------------------------------------------------- */

.twp-ecosystem__core {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 176px;
    height: 176px;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(145deg, #1769e0, #0b1f38);

    box-shadow:
        0 25px 55px rgba(7, 20, 38, .22),
        0 0 0 12px rgba(23, 105, 224, .07);

    z-index: 10;
}

.twp-core__inner {
    width: 132px;
    height: 132px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;

    text-align: center;
}

.twp-core__inner span {
    color: rgba(255,255,255,.72);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
}

.twp-core__inner strong {
    margin-top: 5px;

    color: #ffffff;

    font-size: 16px;
    letter-spacing: .04em;
}

/* ---------------------------------------------------------
   ECOSYSTEM CARDS
   --------------------------------------------------------- */

.twp-ecosystem-card {
    position: absolute;

    width: 148px;
    min-height: 72px;

    padding: 12px 15px;

    display: flex;
    align-items: center;
    gap: 12px;

    background: rgba(255,255,255,.96);

    border: 1px solid #dce5ef;
    border-radius: 12px;

    box-shadow:
        0 12px 30px rgba(7,20,38,.08);

    z-index: 8;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.twp-ecosystem-card:hover {
    border-color: rgba(23,105,224,.35);

    box-shadow:
        0 18px 38px rgba(7,20,38,.13);
}

/* icon */

.twp-card-icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #1769e0;
    background: #edf4ff;

    font-size: 16px;
    font-weight: 800;
}

/* title */

.twp-ecosystem-card strong {
    color: #071426;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .035em;
}

/* ---------------------------------------------------------
   CARD POSITIONS
   --------------------------------------------------------- */

.twp-card--erp {
    left: 50%;
    top: 2%;

    transform: translateX(-50%);
}

.twp-card--crm {
    right: 4%;
    top: 20%;
}

.twp-card--sales {
    right: 0;
    top: 50%;

    transform: translateY(-50%);
}

.twp-card--finance {
    right: 7%;
    bottom: 16%;
}

.twp-card--service {
    left: 50%;
    bottom: 2%;

    transform: translateX(-50%);
}

.twp-card--analytics {
    left: 7%;
    bottom: 16%;
}

.twp-card--hr {
    left: 0;
    top: 50%;

    transform: translateY(-50%);
}

.twp-card--inventory {
    left: 4%;
    top: 20%;
}

/* ---------------------------------------------------------
   TRUST STRIP
   --------------------------------------------------------- */

.twp-hero__trust {
    width: min(calc(100% - 48px), 1240px);

    margin: 0 auto;

    padding: 30px 0 38px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    border-top: 1px solid #e3e8ee;

    gap: 0;
}

.twp-trust__item {
    min-height: 62px;

    padding: 0 28px;

    display: flex;
    align-items: center;
    gap: 14px;

    border-right: 1px solid #e3e8ee;
}

.twp-trust__item:first-child {
    padding-left: 0;
}

.twp-trust__item:last-child {
    border-right: 0;
}

.twp-trust__icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #1769e0;
    background: #edf4ff;

    font-size: 15px;
}

.twp-trust__item strong {
    display: block;

    color: #071426;

    font-size: 13px;
    font-weight: 800;
}

.twp-trust__item span:not(.twp-trust__icon) {
    display: block;

    margin-top: 3px;

    color: #718094;

    font-size: 11px;
    line-height: 1.4;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .twp-hero__container {
        grid-template-columns: 1fr;
        gap: 40px;

        padding-top: 70px;
    }

    .twp-hero__content {
        max-width: 850px;
        margin-inline: auto;
        text-align: center;
    }

    .twp-hero__eyebrow {
        justify-content: center;
    }

    .twp-hero__description {
        margin-inline: auto;
    }

    .twp-hero__buttons {
        justify-content: center;
    }

    .twp-hero__stats {
        margin-inline: auto;
        text-align: left;
    }

    .twp-hero__visual {
        min-height: 570px;
    }

    .twp-hero__trust {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 0;
    }

    .twp-trust__item:nth-child(2) {
        border-right: 0;
    }

    .twp-trust__item:nth-child(3),
    .twp-trust__item:nth-child(4) {
        border-top: 1px solid #e3e8ee;
        padding-top: 25px;
    }
}

@media (max-width: 700px) {

    .twp-hero__container {
        width: min(calc(100% - 32px), 1240px);
        padding: 55px 0 45px;
    }

    .twp-hero__title {
        font-size: clamp(40px, 11vw, 56px);
    }

    .twp-hero__description {
        font-size: 15px;
    }

    .twp-hero__stats {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .twp-hero__visual {
        min-height: 440px;
    }

    .twp-ecosystem {
        width: 440px;
        height: 440px;
    }

    .twp-ring--one {
        width: 190px;
        height: 190px;
    }

    .twp-ring--two {
        width: 280px;
        height: 280px;
    }

    .twp-ring--three {
        width: 370px;
        height: 370px;
    }

    .twp-ecosystem__core {
        width: 135px;
        height: 135px;
    }

    .twp-core__inner {
        width: 103px;
        height: 103px;
    }

    .twp-core__inner strong {
        font-size: 13px;
    }

    .twp-ecosystem-card {
        width: 120px;
        min-height: 60px;
        padding: 9px;
        gap: 8px;
    }

    .twp-card-icon {
        width: 31px;
        height: 31px;
        flex-basis: 31px;
        font-size: 13px;
    }

    .twp-ecosystem-card strong {
        font-size: 10px;
    }

    .twp-card--erp {
        top: 0;
    }

    .twp-card--service {
        bottom: 0;
    }

    .twp-hero__trust {
        width: min(calc(100% - 32px), 1240px);

        grid-template-columns: 1fr;

        gap: 0;
    }

    .twp-trust__item,
    .twp-trust__item:first-child {
        padding: 18px 0;

        border-right: 0;
        border-bottom: 1px solid #e3e8ee;
    }

    .twp-trust__item:last-child {
        border-bottom: 0;
    }

    .twp-trust__item:nth-child(3),
    .twp-trust__item:nth-child(4) {
        border-top: 0;
        padding-top: 18px;
    }
}

@media (max-width: 480px) {

    .twp-hero__buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .twp-hero__button {
        width: 100%;
    }

    .twp-hero__visual {
        min-height: 350px;
    }

    .twp-ecosystem {
        width: 350px;
        height: 350px;
    }

    .twp-ring--one {
        width: 145px;
        height: 145px;
    }

    .twp-ring--two {
        width: 220px;
        height: 220px;
    }

    .twp-ring--three {
        width: 300px;
        height: 300px;
    }

    .twp-ecosystem__core {
        width: 105px;
        height: 105px;
    }

    .twp-core__inner {
        width: 79px;
        height: 79px;
    }

    .twp-core__inner span {
        font-size: 7px;
    }

    .twp-core__inner strong {
        font-size: 10px;
    }

    .twp-ecosystem-card {
        width: 95px;
        min-height: 48px;
        padding: 6px;
        gap: 6px;
    }

    .twp-card-icon {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
        font-size: 11px;
        border-radius: 7px;
    }

    .twp-ecosystem-card strong {
        font-size: 8px;
    }

    .twp-card--erp {
        top: 1%;
    }

    .twp-card--crm {
        right: 1%;
    }

    .twp-card--sales {
        right: -1%;
    }

    .twp-card--finance {
        right: 3%;
    }

    .twp-card--analytics {
        left: 3%;
    }

    .twp-card--hr {
        left: -1%;
    }

    .twp-card--inventory {
        left: 1%;
    }
}
