/* Company page — follows the home page's soft SaaS visual system. */
.about-page {
    overflow: hidden;
}

.about-gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.about-hero {
    min-height: 700px;
    padding-top: clamp(118px, 12vw, 164px);
    padding-bottom: clamp(92px, 10vw, 132px);
}

.about-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    align-items: center;
    gap: clamp(48px, 7vw, 88px);
}

.about-hero__content {
    max-width: 610px;
}

.about-hero__content > .eyebrow {
    margin-bottom: var(--gap-lg);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
}

.about-hero__content h1 {
    max-width: 10ch;
    margin-bottom: var(--gap-lg);
    font-size: clamp(44px, 5.4vw, 68px);
}

.about-hero__content .lead {
    max-width: 55ch;
    margin-bottom: 32px;
}

.about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-hero__actions svg {
    width: 17px;
    height: 17px;
}

.about-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 28px;
    list-style: none;
}

.about-hero__trust li {
    position: relative;
    padding-left: 15px;
    color: var(--fg-tertiary);
    font-size: 13px;
}

.about-hero__trust li::before {
    content: '';
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateY(-50%);
}

.about-hero__visual {
    position: relative;
}

.about-hero__visual::before,
.about-hero__visual::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

.about-hero__visual::before {
    top: -56px;
    right: -62px;
    width: 180px;
    height: 180px;
    background: rgba(37, 99, 235, 0.08);
}

.about-hero__visual::after {
    bottom: -38px;
    left: -44px;
    width: 126px;
    height: 126px;
    background: rgba(8, 145, 178, 0.08);
}

.about-system-card {
    position: relative;
    z-index: 1;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, 0.85);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.about-system-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.about-system-card__header,
.about-system-card__footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--fg-tertiary);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.about-system-card__header {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.about-system-card__status,
.about-system-card__footer span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.about-system-card__status span,
.about-system-card__footer i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.about-system-card__brand {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 22px 4px 18px;
}

.about-system-card__logo {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}

.about-system-card__logo img {
    width: 29px;
    height: 29px;
    object-fit: contain;
}

.about-system-card__brand strong,
.about-system-card__brand small,
.about-system-card__node b,
.about-system-card__node small {
    display: block;
}

.about-system-card__brand strong {
    margin-bottom: 2px;
    font-size: 15px;
}

.about-system-card__brand small {
    color: var(--fg-tertiary);
    font-size: 11px;
}

.about-system-card__flow {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 4px;
}

.about-system-card__node {
    position: relative;
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
}

.about-system-card__node.is-active {
    border-color: rgba(37, 99, 235, 0.35);
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.82), rgba(236, 254, 255, 0.76));
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.1);
}

.about-system-card__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    background: var(--surface);
    color: var(--fg-secondary);
}

.about-system-card__node.is-active .about-system-card__icon {
    background: var(--primary);
    color: #fff;
}

.about-system-card__icon svg {
    width: 20px;
    height: 20px;
}

.about-system-card__node b {
    margin-bottom: 2px;
    color: var(--fg);
    font-size: 13px;
    font-weight: 600;
}

.about-system-card__node small {
    color: var(--fg-tertiary);
    font-size: 10px;
}

.about-system-card__node em {
    color: var(--fg-tertiary);
    font-family: var(--font-mono);
    font-size: 11px;
    font-style: normal;
}

.about-system-card__connector {
    position: relative;
    z-index: 2;
    width: 1px;
    height: 18px;
    margin: -1px 0 -1px 32px;
    background: var(--border-strong);
}

.about-system-card__connector span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
    transform: translate(-50%, -50%);
}

.about-system-card__footer {
    margin-top: 16px;
    padding: 15px 4px 2px;
    border-top: 1px solid var(--border);
}

.about-system-card__footer i {
    width: 6px;
    height: 6px;
    box-shadow: none;
}

/* ─── Numbers ────────────────────────────────────────────────── */
.about-numbers {
    position: relative;
    z-index: 2;
    margin-top: -42px;
}

.about-numbers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-lg);
}

.about-number {
    position: relative;
    padding: 27px 24px;
    text-align: center;
}

.about-number + .about-number::before {
    content: '';
    position: absolute;
    top: 24%;
    bottom: 24%;
    left: 0;
    width: 1px;
    background: var(--border);
}

.about-number strong,
.about-number span {
    display: block;
}

.about-number strong {
    margin-bottom: 4px;
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.about-number span {
    color: var(--fg-secondary);
    font-size: 13px;
}

/* ─── Story ──────────────────────────────────────────────────── */
.about-story {
    padding-top: clamp(104px, 12vw, 150px);
}

.about-story__layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.35fr);
    gap: clamp(52px, 8vw, 104px);
    align-items: start;
}

.about-story__heading {
    position: sticky;
    top: 110px;
}

.about-story__heading .section-header {
    max-width: 37ch;
}

.about-facts {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-subtle);
}

.about-facts div {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 18px;
    padding: 14px 18px;
}

.about-facts div + div {
    border-top: 1px solid var(--border);
}

.about-facts dt {
    color: var(--fg-tertiary);
    font-size: 12px;
}

.about-facts dd {
    color: var(--fg);
    font-size: 13px;
    font-weight: 500;
}

.about-story__content {
    position: relative;
    padding: clamp(30px, 5vw, 54px);
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--bg);
    box-shadow: var(--shadow-md);
}

.about-story__index {
    display: inline-block;
    margin-bottom: 34px;
    color: var(--primary-light);
    font-family: var(--font-mono);
    font-size: 64px;
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.08em;
}

.about-story__content h3 {
    margin-bottom: 22px;
    font-size: 24px;
}

.about-story__content > p {
    color: var(--fg-secondary);
    font-size: 16px;
    line-height: 1.95;
}

.about-story__content > p + p {
    margin-top: 18px;
}

.about-story__content > p strong {
    color: var(--fg);
    font-weight: 600;
}

.about-story__content blockquote {
    position: relative;
    margin-top: 34px;
    padding: 26px 28px 24px;
    overflow: hidden;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary-light), #ecfeff);
}

.about-story__content blockquote::before {
    content: '“';
    position: absolute;
    top: -23px;
    right: 18px;
    color: rgba(37, 99, 235, 0.12);
    font-family: Georgia, serif;
    font-size: 110px;
    line-height: 1;
}

.about-story__content blockquote p {
    position: relative;
    color: var(--fg);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
}

.about-story__content blockquote cite {
    position: relative;
    display: block;
    margin-top: 12px;
    color: var(--primary);
    font-size: 12px;
    font-style: normal;
}

/* ─── Timeline ───────────────────────────────────────────────── */
.about-timeline-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-subtle);
}

.about-timeline-section .section-header {
    margin-bottom: 58px;
}

.about-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    list-style: none;
}

.about-timeline::before {
    content: '';
    position: absolute;
    top: 7px;
    right: 6%;
    left: 6%;
    height: 1px;
    background: var(--border-strong);
}

.about-timeline__item {
    position: relative;
    min-width: 0;
    padding: 28px 15px 0;
    text-align: center;
}

.about-timeline__dot {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 50%;
    width: 15px;
    height: 15px;
    border: 4px solid var(--bg-subtle);
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
    transform: translateX(-50%);
}

.about-timeline time {
    display: block;
    margin-bottom: 9px;
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
}

.about-timeline p {
    color: var(--fg-secondary);
    font-size: 12px;
    line-height: 1.65;
}

/* ─── Business ───────────────────────────────────────────────── */
.about-business .section-header {
    max-width: 50ch;
}

.about-business__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap-md);
    margin-top: var(--gap-xl);
}

.about-business-card {
    position: relative;
    min-height: 285px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-business-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.about-business-card.is-primary {
    border-color: rgba(37, 99, 235, 0.25);
    background: linear-gradient(145deg, rgba(219, 234, 254, 0.72), rgba(236, 254, 255, 0.55));
}

.about-business-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
}

.about-business-card__number {
    color: var(--fg-quaternary);
    font-family: var(--font-mono);
    font-size: 13px;
}

.about-business-card__icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
}

.about-business-card__icon svg {
    width: 22px;
    height: 22px;
}

.about-business-card h3 {
    margin-bottom: 10px;
    font-size: 19px;
}

.about-business-card > p {
    max-width: 48ch;
    color: var(--fg-secondary);
    font-size: 14px;
    line-height: 1.75;
}

.about-business-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 24px;
}

.about-business-card__tags span {
    padding: 5px 9px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.76);
    color: var(--fg-secondary);
    font-size: 11px;
}

/* ─── Commitment ─────────────────────────────────────────────── */
.about-commitment {
    padding-top: 0;
}

.about-commitment__panel {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(44px, 7vw, 88px);
    padding: clamp(34px, 6vw, 64px);
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--fg);
    box-shadow: var(--shadow-lg);
}

.about-commitment__intro h2 {
    color: #fff;
}

.about-commitment__intro .eyebrow {
    color: #93c5fd;
}

.about-commitment__items {
    display: grid;
    gap: 0;
}

.about-commitment__items > div {
    position: relative;
    display: grid;
    grid-template-columns: 44px 115px 1fr;
    align-items: start;
    gap: 16px;
    padding: 20px 0;
}

.about-commitment__items > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-commitment__items span {
    color: #60a5fa;
    font-family: var(--font-mono);
    font-size: 12px;
}

.about-commitment__items h3 {
    color: #fff;
    font-size: 15px;
}

.about-commitment__items p {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.7;
}

.about-page .cta-content > .eyebrow {
    margin-bottom: var(--gap-md);
}

.about-page .cta-title {
    margin-bottom: var(--gap-md);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1040px) {
    .about-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
        gap: 40px;
    }

    .about-timeline {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px 0;
    }

    .about-timeline::before {
        display: none;
    }

    .about-timeline__item {
        padding-top: 24px;
    }
}

@media (max-width: 840px) {
    .about-hero {
        min-height: auto;
    }

    .about-hero__inner,
    .about-story__layout,
    .about-commitment__panel {
        grid-template-columns: 1fr;
    }

    .about-hero__content {
        max-width: 680px;
        margin-inline: auto;
        text-align: center;
    }

    .about-hero__content h1 {
        max-width: none;
    }

    .about-hero__content .lead {
        margin-inline: auto;
    }

    .about-hero__actions,
    .about-hero__trust {
        justify-content: center;
    }

    .about-hero__visual {
        width: min(100%, 530px);
        margin-inline: auto;
    }

    .about-story__heading {
        position: static;
    }

    .about-story__heading .section-header {
        max-width: 52ch;
    }

    .about-commitment__panel {
        gap: 28px;
    }
}

@media (max-width: 720px) {
    .about-hero {
        padding-top: 104px;
    }

    .about-numbers {
        margin-top: -28px;
    }

    .about-numbers__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-number:nth-child(3)::before {
        display: none;
    }

    .about-number:nth-child(n + 3) {
        border-top: 1px solid var(--border);
    }

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

    .about-business__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .about-hero__content h1 {
        font-size: clamp(39px, 12vw, 50px);
    }

    .about-hero__content > .eyebrow {
        font-size: 11px;
    }

    .about-hero__actions .btn {
        width: 100%;
    }

    .about-hero__trust {
        display: grid;
        justify-content: start;
        width: max-content;
        max-width: 100%;
        margin-inline: auto;
        text-align: left;
    }

    .about-system-card {
        padding: 14px;
        border-radius: 17px;
    }

    .about-system-card__header > span:last-child,
    .about-system-card__footer > span:last-child {
        display: none;
    }

    .about-system-card__node {
        grid-template-columns: 36px 1fr;
        gap: 10px;
        padding-inline: 11px;
    }

    .about-system-card__node em {
        display: none;
    }

    .about-system-card__connector {
        margin-left: 29px;
    }

    .about-number {
        padding: 22px 10px;
    }

    .about-story__content {
        padding: 27px 22px;
    }

    .about-story__index {
        margin-bottom: 28px;
        font-size: 52px;
    }

    .about-story__content > p {
        font-size: 15px;
        line-height: 1.85;
    }

    .about-story__content blockquote {
        padding: 22px;
    }

    .about-timeline {
        display: block;
        margin-left: 8px;
        border-left: 1px solid var(--border-strong);
    }

    .about-timeline__item {
        padding: 0 0 28px 28px;
        text-align: left;
    }

    .about-timeline__item:last-child {
        padding-bottom: 0;
    }

    .about-timeline__dot {
        top: 4px;
        left: -1px;
        transform: translateX(-50%);
    }

    .about-business-card {
        min-height: 0;
        padding: 25px 22px;
    }

    .about-commitment__panel {
        padding: 30px 22px;
    }

    .about-commitment__items > div {
        grid-template-columns: 34px 1fr;
        gap: 12px;
    }

    .about-commitment__items p {
        grid-column: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-business-card {
        transition: none;
    }
}
