@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
    --ink: #101c2c;
    --muted: #5c6470;
    --paper: #f7f5ef;
    --white: #fffdfa;
    --orange: #ff5c27;
    --blue: #2d68ef;
    --mint: #dff4e7;
    --line: rgba(16, 28, 44, 0.14);
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "DM Sans", sans-serif;
    line-height: 1.55;
}

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

.site-header,
main {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
}

.site-header {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
}

.brand-mark {
    color: var(--orange);
    font-size: 1.3rem;
    letter-spacing: -0.07em;
}

.brand-name {
    font-size: 1rem;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.9rem;
    font-weight: 600;
}

nav a[aria-current="page"] {
    color: var(--blue);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 8px;
    background: var(--orange);
    color: var(--ink);
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(255, 92, 39, 0.2);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(255, 92, 39, 0.28);
}

.button-small {
    min-height: 42px;
    padding: 0 18px;
}

.hero {
    min-height: 690px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: center;
    gap: clamp(50px, 8vw, 112px);
    padding: 84px 0;
}

.eyebrow,
.section-number {
    margin: 0 0 22px;
    color: var(--blue);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    letter-spacing: -0.055em;
}

h1 {
    max-width: 780px;
    font-size: clamp(3rem, 6.25vw, 5.9rem);
    line-height: 0.96;
}

h1 em {
    color: var(--orange);
    font-style: normal;
}

.hero-lede {
    max-width: 650px;
    margin: 30px 0 34px;
    color: var(--muted);
    font-size: clamp(1.06rem, 2vw, 1.26rem);
}

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

.text-link {
    padding: 12px 0;
    border-bottom: 1px solid var(--ink);
    font-weight: 700;
}

.workflow-card {
    position: relative;
    min-height: 475px;
    overflow: hidden;
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 15%, rgba(45, 104, 239, 0.46), transparent 34%),
        linear-gradient(145deg, #14233b, #0c1626);
    box-shadow: 0 34px 70px rgba(16, 28, 44, 0.2);
}

.workflow-card::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -130px;
    bottom: -130px;
    border-radius: 50%;
    border: 42px solid rgba(255, 92, 39, 0.82);
}

.workflow-label {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.workflow-mess {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.workflow-mess span {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
}

.workflow-mess span:nth-child(2),
.workflow-mess span:nth-child(4) {
    transform: translateY(9px) rotate(2deg);
}

.workflow-line {
    width: 2px;
    height: 82px;
    margin: 18px 0 18px 25px;
    background: linear-gradient(var(--orange), var(--blue));
}

.workflow-result {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    color: var(--ink);
    background: var(--white);
}

.workflow-result strong,
.workflow-result small {
    display: block;
}

.workflow-result small {
    margin-top: 2px;
    color: var(--muted);
}

.status-dot {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #15a05b;
    box-shadow: 0 0 0 7px rgba(21, 160, 91, 0.12);
}

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

.proof-strip p {
    margin: 0;
    padding: 24px 20px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
}

.proof-strip p + p {
    border-left: 1px solid var(--line);
}

.intro {
    max-width: 980px;
    padding: 120px 0;
}

.intro h2,
.process-preview h2 {
    font-size: clamp(2.1rem, 3.6vw, 3.75rem);
    line-height: 1.02;
}

.intro h2 {
    max-width: 880px;
}

.intro > p:last-child {
    max-width: 690px;
    margin: 30px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.ai-advantage {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: clamp(50px, 9vw, 130px);
    padding: 40px 0 130px;
}

.ai-advantage-heading {
    position: sticky;
    top: 36px;
    align-self: start;
}

.ai-advantage-heading h2 {
    max-width: 500px;
    font-size: clamp(2.1rem, 3.6vw, 3.6rem);
    line-height: 1.02;
}

.ai-advantage-list {
    border-top: 1px solid var(--line);
}

.ai-advantage-list article {
    display: grid;
    grid-template-columns: 18px minmax(150px, 0.75fr) minmax(180px, 1fr);
    gap: 24px;
    align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.ai-advantage-list article::before {
    content: "";
    width: 6px;
    height: 44px;
    border-radius: 999px;
    background: var(--blue);
}

.ai-advantage-list article:nth-child(2)::before,
.ai-advantage-list article:nth-child(4)::before {
    background: var(--orange);
}

.ai-advantage-list article:nth-child(3)::before {
    background: #15a05b;
}

.ai-advantage-list h3,
.ai-advantage-list p {
    margin: 0;
}

.ai-advantage-list h3 {
    font-family: "Manrope", sans-serif;
    font-size: 1.12rem;
    letter-spacing: -0.025em;
}

.ai-advantage-list p {
    color: var(--muted);
}

.section-number.light {
    color: #8dadff;
}

.engagement {
    padding: 130px 0;
}

.engagement-heading {
    max-width: 900px;
    margin-bottom: 62px;
}

.engagement-heading h2 {
    max-width: 760px;
    font-size: clamp(2.35rem, 4.3vw, 4.5rem);
    line-height: 0.98;
}

.engagement-heading > p:last-child {
    max-width: 690px;
    margin: 30px 0 0;
    color: var(--muted);
    font-size: 1.04rem;
}

.engagement-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.step {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-radius: 18px;
}

.step-lab {
    background: var(--mint);
}

.step-discovery {
    background: #ffe8d8;
}

.step-delivery {
    background: #dce8fc;
}

.step-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.step h3 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 1.65rem;
    letter-spacing: -0.04em;
}

.step-duration {
    margin: 8px 0 30px;
    font-weight: 700;
}

.step > p:not(.step-duration) {
    margin: 0 0 24px;
    color: rgba(16, 28, 44, 0.68);
}

.step strong {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(16, 28, 44, 0.15);
    font-size: 0.87rem;
}

.cycle {
    margin-inline: calc(50% - 50vw);
    padding: 120px max(20px, calc((100vw - var(--max)) / 2));
    background: var(--white);
}

.cycle-heading {
    max-width: 900px;
}

.cycle-heading h2 {
    max-width: 760px;
    font-size: clamp(2.4rem, 4.3vw, 4.5rem);
    line-height: 0.98;
}

.cycle-heading > p:last-child {
    max-width: 690px;
    margin: 30px 0 0;
    color: var(--muted);
}

.cycle-track {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin: 74px 0 0;
    padding: 0;
    list-style: none;
}

.cycle-track li {
    position: relative;
    min-height: 164px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 40px 28px 22px;
    background: #dce8fc;
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%);
    filter: drop-shadow(0 10px 16px rgba(16, 28, 44, 0.08));
}

.cycle-track li:nth-child(2),
.cycle-track li:nth-child(5) {
    background: #ffe8d8;
}

.cycle-track li:nth-child(3),
.cycle-track li:nth-child(6) {
    background: var(--mint);
}

.cycle-track strong,
.cycle-track small {
    display: block;
}

.cycle-track strong {
    font-family: "Manrope", sans-serif;
    font-size: 1.08rem;
    letter-spacing: -0.025em;
}

.cycle-track small {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.35;
}

.cycle-note {
    width: fit-content;
    margin: 32px auto 0;
    padding: 12px 18px;
    border-radius: 999px;
    color: #fff;
    background: var(--ink);
    font-size: 0.85rem;
    font-weight: 700;
}

.final-cta {
    position: relative;
    overflow: hidden;
    margin: 110px 0;
    padding: clamp(52px, 9vw, 110px);
    border-radius: 28px;
    color: #fff;
    background: var(--blue);
}

.final-cta::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    right: -155px;
    bottom: -190px;
    border: 54px solid rgba(255, 92, 39, 0.95);
    border-radius: 50%;
}

.final-cta h2 {
    position: relative;
    z-index: 1;
    max-width: 880px;
    font-size: clamp(2.5rem, 5.1vw, 5.3rem);
    line-height: 0.98;
}

.final-cta > p:not(.section-number) {
    position: relative;
    z-index: 1;
    max-width: 670px;
    margin: 30px 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.12rem;
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
}

.button-light {
    color: var(--ink);
    background: #fff;
    box-shadow: 0 16px 35px rgba(11, 31, 78, 0.18);
}

.phone-link {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    font-weight: 700;
}

.site-footer {
    border-top: 1px solid var(--line);
}

.footer-inner {
    width: min(calc(100% - 40px), var(--max));
    min-height: 130px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 30px;
    margin: 0 auto;
}

.footer-inner p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.legal {
    text-align: right;
}

.about-hero {
    padding: clamp(84px, 10vw, 140px) 0;
    border-bottom: 1px solid var(--line);
}

.about-hero h1 {
    max-width: 860px;
    font-size: clamp(2.3rem, 4.2vw, 4.35rem);
    line-height: 0.99;
}

.about-statement {
    max-width: 980px;
    margin: 42px 0 0;
    color: var(--muted);
    font-size: clamp(1.1rem, 1.9vw, 1.55rem);
    line-height: 1.5;
}

.team {
    padding: 88px 0 130px;
}

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

.person-card {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    min-height: 320px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
}

.person-card img {
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 18px 36px rgba(16, 28, 44, 0.13);
}

.person-copy {
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.person-copy h3 {
    margin: 2px 0 18px;
    font-family: "Manrope", sans-serif;
    font-size: 1.65rem;
    letter-spacing: -0.04em;
}

.person-copy p {
    margin: 0 0 24px;
    color: var(--muted);
}

.person-copy a {
    width: fit-content;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--ink);
    font-weight: 700;
}

.person-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: auto;
}

.about-cta {
    margin-top: 0;
}

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

@media (max-width: 900px) {
    nav {
        gap: 18px;
    }

    nav > a:not(.button):not(.nav-about) {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 68px 0;
    }

    .workflow-card {
        min-height: 410px;
    }

    .ai-advantage {
        grid-template-columns: 1fr;
    }

    .ai-advantage-heading {
        position: static;
    }

    .engagement-steps {
        grid-template-columns: 1fr;
    }

    .step {
        min-height: 340px;
    }

    .cycle-track {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        padding: 32px 0;
    }

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

    .legal {
        text-align: left;
    }
}

@media (max-width: 620px) {
    .site-header,
    main {
        width: min(calc(100% - 28px), var(--max));
    }

    .site-header {
        min-height: 76px;
    }

    .button-small {
        min-height: 40px;
        padding: 0 13px;
        font-size: 0.78rem;
    }

    .brand-name {
        display: none;
    }

    .hero {
        min-height: auto;
        gap: 48px;
        padding: 56px 0;
    }

    h1 {
        font-size: clamp(2.75rem, 13.5vw, 4rem);
    }

    .workflow-card {
        min-height: 380px;
        padding: 28px;
    }

    .proof-strip {
        grid-template-columns: 1fr;
    }

    .proof-strip p + p {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .intro,
    .engagement,
    .cycle {
        padding: 80px 0;
    }

    .about-hero {
        padding: 72px 0 80px;
    }

    .about-hero h1 {
        font-size: clamp(2.1rem, 9.5vw, 3.2rem);
    }

    .team {
        padding: 80px 0 90px;
    }

    .person-card {
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 24px;
        min-height: 0;
        padding: 24px;
    }

    .person-card img {
        width: 150px;
        height: 150px;
    }

    .person-copy {
        min-height: 0;
    }

    .person-copy a {
        margin-top: 0;
    }

    .ai-advantage {
        gap: 44px;
        padding: 20px 0 90px;
    }

    .ai-advantage-list article {
        grid-template-columns: 18px 1fr;
        gap: 10px 16px;
    }

    .ai-advantage-list article p {
        grid-column: 2;
    }

    .engagement-steps {
        gap: 12px;
    }

    .step {
        min-height: 360px;
        padding: 26px;
    }

    .cycle {
        margin-inline: calc(50% - 50vw);
        padding-inline: 20px;
    }

    .cycle-track {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cycle-track li {
        min-height: 112px;
        padding: 22px 48px 22px 24px;
    }

    .cycle-note {
        border-radius: 12px;
        text-align: center;
    }

    .final-cta {
        margin: 74px 0;
        padding: 52px 28px 90px;
        border-radius: 20px;
    }

    .footer-inner {
        width: min(calc(100% - 28px), var(--max));
    }
}

@media (max-width: 480px) {
    .person-card {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button {
        transition: none;
    }
}
