:root {
    --cream: #ffffff;
    --warm-white: #ffffff;
    --parchment: #f7f7f4;
    --terracotta: #0f766e;
    --terracotta-light: #14b8a6;
    --terracotta-dark: #0f4f4a;
    --forest: #111111;
    --ink: #111111;
    --ink-light: #262626;
    --ink-muted: #555555;
    --stone: #737373;
    --sand: #a3a3a3;
    --mist: #deded8;
    --cloud: #eeeeea;
    --white: #ffffff;
    --font-display: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --hairline: 1px solid var(--cloud);
    --rule: 1px solid var(--cloud);
    --rule-dark: 1px solid var(--ink);
    --max-w: 1180px;
    --max-w-narrow: 820px;
}

html {
    scroll-padding-top: 80px;
}

body {
    background:
        radial-gradient(circle at 50% 0, rgba(15, 118, 110, 0.08), transparent 34rem),
        #ffffff;
    color: var(--ink);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-style: normal;
    letter-spacing: 0;
}

p {
    color: var(--ink-muted);
    font-weight: 400;
    line-height: 1.7;
}

.main-nav {
    height: 64px;
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    backdrop-filter: blur(18px);
}

.nav-container {
    max-width: var(--max-w);
}

.logo img,
.footer-logo img {
    height: 24px;
}

.logo-brand,
.footer-logo-text {
    font-style: normal;
    letter-spacing: 0;
}

.nav-links {
    gap: 4px;
}

.nav-links a {
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    color: #555;
    font-size: 0.84rem;
    letter-spacing: 0;
    text-transform: none;
}

.nav-links a:hover,
.nav-links a.active {
    background: #f5f5f2;
    color: #111;
}

.nav-links a.active::after {
    content: none;
}

main {
    margin-top: 64px;
}

.btn,
.btn-cta-primary,
.btn-cta-secondary {
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid #111;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    justify-content: center;
}

.btn-fill,
.btn-primary,
.btn-cta-primary {
    background: #111;
    border-color: #111;
    color: #fff;
}

.btn:hover,
.btn-fill:hover,
.btn-primary:hover,
.btn-cta-primary:hover,
.btn-cta-secondary:hover {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    border-color: #d8d8d2;
    color: #111;
}

.ai-page {
    background: transparent;
}

.ai-section {
    padding: 86px 0;
    border-bottom: 1px solid #eeeeea;
}

.ai-container {
    width: min(calc(100% - 40px), var(--max-w));
    margin: 0 auto;
}

.ai-narrow {
    width: min(calc(100% - 40px), var(--max-w-narrow));
    margin: 0 auto;
}

.ai-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ai-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0f766e;
}

.ai-hero {
    min-height: calc(100vh - 64px);
    display: grid;
    align-items: center;
    padding: 80px 0 56px;
}

.ai-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 56px;
    align-items: center;
}

.ai-hero h1,
.ai-page-hero h1 {
    max-width: 860px;
    margin: 18px 0;
    font-size: clamp(3rem, 8vw, 6.8rem);
    font-weight: 600;
    line-height: 0.96;
}

.ai-hero p,
.ai-page-hero p {
    max-width: 660px;
    font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.ai-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.ai-hero-visual {
    display: grid;
    gap: 44px;
    align-content: center;
}

.ai-service-orders {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 38px 42px;
    border: 1px solid #eeeeea;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 28px 70px rgba(17, 17, 17, 0.06);
}

.ai-service-orders span {
    color: #555;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.4;
}

.ai-service-orders strong {
    margin-top: 10px;
    color: #111;
    font-size: clamp(3rem, 6vw, 5.8rem);
    font-weight: 650;
    line-height: 0.98;
    letter-spacing: 0;
}

.ai-service-orders small {
    margin-top: 14px;
    color: #737373;
    font-size: 0.9rem;
}

.ai-command {
    border: 1px solid #e2e2dc;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 30px 80px rgba(17, 17, 17, 0.08);
    overflow: hidden;
}

.ai-command-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid #eeeeea;
}

.ai-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c9c9c2;
}

.ai-command-body {
    padding: 22px;
}

.ai-prompt {
    min-height: 110px;
    border: 1px solid #eeeeea;
    border-radius: 18px;
    padding: 18px;
    color: #111;
    background: #fbfbf8;
}

.ai-prompt span {
    color: #737373;
}

.ai-output {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.ai-output div {
    min-height: 88px;
    border: 1px solid #eeeeea;
    border-radius: 18px;
    padding: 14px;
    background: #fff;
    color: #555;
    font-size: 0.9rem;
}

.ai-output strong {
    display: block;
    margin-bottom: 14px;
    color: #111;
    font-size: 1.28rem;
    font-weight: 600;
}

.ai-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.ai-section-head h2 {
    max-width: 760px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
    font-weight: 600;
}

.ai-section-head p {
    max-width: 420px;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #eeeeea;
    border-left: 1px solid #eeeeea;
}

.ai-card {
    min-height: 230px;
    padding: 24px;
    border-right: 1px solid #eeeeea;
    border-bottom: 1px solid #eeeeea;
    background: rgba(255, 255, 255, 0.74);
}

.ai-card h3 {
    margin: 18px 0 10px;
    font-size: 1.35rem;
    font-weight: 600;
}

.ai-card p {
    font-size: 0.98rem;
}

.ai-num {
    color: #0f766e;
    font-size: 0.9rem;
    font-weight: 600;
}

.ai-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #eeeeea;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
}

.ai-stat {
    padding: 26px;
    border-right: 1px solid #eeeeea;
}

.ai-stat:last-child {
    border-right: 0;
}

.ai-stat strong {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 600;
}

.ai-stat span {
    color: #666;
}

.ai-list {
    border-top: 1px solid #eeeeea;
}

.ai-row {
    display: grid;
    grid-template-columns: 180px 1fr 220px;
    gap: 24px;
    align-items: start;
    padding: 26px 0;
    border-bottom: 1px solid #eeeeea;
}

.ai-row h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.ai-row span {
    color: #737373;
}

.ai-page-hero {
    padding: 96px 0 64px;
    border-bottom: 1px solid #eeeeea;
}

.ai-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
}

.ai-panel {
    border: 1px solid #eeeeea;
    border-radius: 28px;
    padding: 28px;
    background: #fff;
}

.ai-panel h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.ai-checks {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.ai-checks li {
    display: flex;
    gap: 12px;
    color: #333;
}

.ai-checks li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 10px;
    border-radius: 50%;
    background: #0f766e;
    flex: 0 0 auto;
}

.ai-faq {
    border-top: 1px solid #eeeeea;
}

.ai-faq details {
    padding: 22px 0;
    border-bottom: 1px solid #eeeeea;
}

.ai-faq summary {
    cursor: pointer;
    color: #111;
    font-size: 1.1rem;
    font-weight: 600;
}

.ai-faq p {
    margin-top: 12px;
    max-width: 760px;
}

.ai-final {
    padding: 84px 0;
    background: #111;
    color: #fff;
}

.ai-final h2 {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    font-weight: 600;
}

.ai-final p {
    color: rgba(255, 255, 255, 0.68);
}

.ai-final .btn {
    border-color: #fff;
    color: #111;
    background: #fff;
}

footer {
    background: #111;
    color: #fff;
}

.footer-main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand,
.footer-group {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-description,
.footer-links-list li a,
.footer-contact-item,
.footer-copyright p {
    color: rgba(255, 255, 255, 0.58);
}

.footer-social-link:hover {
    background: #0f766e;
    border-color: #0f766e;
}

@media (max-width: 920px) {
    .ai-hero-grid,
    .ai-split {
        grid-template-columns: 1fr;
    }

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

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

    .ai-stat:nth-child(2) {
        border-right: 0;
    }

    .ai-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        height: 60px;
    }

    main {
        margin-top: 60px;
    }

    .nav-links {
        top: 60px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.96);
    }

    .nav-links a {
        width: 100%;
        justify-content: flex-start;
        border-radius: 14px;
    }

    .ai-hero,
    .ai-page-hero {
        padding-top: 56px;
    }

    .ai-hero-visual {
        gap: 24px;
    }

    .ai-service-orders {
        min-height: 150px;
        padding: 28px;
    }

    .ai-section {
        padding: 58px 0;
    }

    .ai-section-head {
        display: block;
    }

    .ai-section-head p {
        margin-top: 14px;
    }

    .ai-grid,
    .ai-strip,
    .ai-output {
        grid-template-columns: 1fr;
    }

    .ai-stat,
    .ai-stat:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid #eeeeea;
    }

    .ai-stat:last-child {
        border-bottom: 0;
    }
}
