:root {
    color-scheme: light;
    --ink: #17211d;
    --night: #101714;
    --paper: #f4f6f5;
    --brand-green: #0bc07e;
    --brand-blue: #1977b3;
    --brand-gray: #6d6d6d;
    --green-hover: #47d6a1;
    --line: #cfd9d4;
    --dark-line: #344542;
    --light-muted: #becbc7;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, ul, ol { margin: 0; }
body { line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
section[id], article[id], .anchor { scroll-margin-block-start: 1.5rem; }
.anchor { display: block; }

:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 5px;
}

.button-primary:focus-visible, .skip-link:focus-visible { outline-color: var(--brand-green); }
.button-dark:focus-visible { outline-color: var(--night); }
.site-header, .hero, .site-footer { color: var(--paper); background: var(--night); }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100% - 5rem, 80rem); margin-inline: auto; }

.skip-link {
    position: absolute;
    z-index: 1;
    inset: 0.75rem auto auto 0.75rem;
    padding: 0.5rem 1rem;
    color: var(--night);
    background: var(--brand-green);
    transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.header-inner {
    min-height: 5.25rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid var(--dark-line);
}

.header-inner > .button { justify-self: end; }

.brand {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.85rem;
    line-height: 1;
    font-weight: 750;
    letter-spacing: -0.07em;
    text-decoration: none;
}

.brand-mark { width: 2.375rem; height: auto; flex-shrink: 0; }

.site-nav, .footer-links {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.75rem);
    font-size: 0.94rem;
}

.site-nav a, .footer-links a { color: var(--light-muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"], .footer-links a:hover { color: var(--brand-green); text-decoration: underline; text-underline-offset: 0.3em; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.25rem;
    min-height: 3.125rem;
    border: 1px solid transparent;
    border-radius: 0.4rem;
    font-weight: 680;
    line-height: 1.3;
    text-decoration: none;
}

.button-outline { border-color: #6b7974; color: var(--paper); font-size: 0.94rem; }
.button-outline:hover { color: var(--brand-green); border-color: var(--brand-green); }
.button-primary { background: var(--brand-green); color: var(--night); }
.button-primary:hover { background: var(--green-hover); }
.button-dark { background: var(--night); color: var(--paper); }
.button-dark:hover { background: var(--dark-line); }
.text-link { font-weight: 630; text-underline-offset: 0.33em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 3.7vw, 3.5rem);
    padding-block: clamp(4.5rem, 8.7vw, 8rem);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.25rem;
    font-family: var(--mono);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    flex-shrink: 0;
    border: 1px solid currentColor;
    transform: rotate(45deg);
}

.hero .eyebrow, .hero h1 span { color: var(--brand-green); }

h1, h2, h3 {
    font-weight: 680;
    line-height: 1.04;
    letter-spacing: -0.055em;
}

h1 { font-size: clamp(3.35rem, 5.48vw, 5.4rem); }
.hero h1 span { display: block; }

.hero-lead {
    max-width: 30rem;
    margin-top: 1.65rem;
    color: var(--light-muted);
    font-size: clamp(1.075rem, 1.4vw, 1.25rem);
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
    margin-top: 2rem;
}

.hero-actions .text-link:hover { color: var(--brand-green); }

.hero-visual {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding: clamp(0.9rem, 1.7vw, 1.5rem);
    border: 1px solid var(--dark-line);
    border-radius: 0.6rem;
    color: var(--light-muted);
    background:
        radial-gradient(ellipse at 63% 46%, #1a3842 0, transparent 70%),
        #131e1c;
}

.hero-visual img { width: 100%; height: auto; }

.visual-header, .visual-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font: 0.8125rem/1.35 var(--mono);
    letter-spacing: 0.1em;
}

.visual-header svg { width: 2.25rem; height: 1rem; color: var(--brand-green); }
.visual-footer { padding-top: 0.75rem; border-top: 1px solid var(--dark-line); }

.visual-scale {
    width: 4.5rem;
    height: 0.55rem;
    background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 5px);
    mask-image: linear-gradient(90deg, transparent, black);
}

.hero-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.35rem 1.5rem;
    flex-wrap: wrap;
    padding-block: 1.02rem;
    border-top: 1px solid var(--dark-line);
    color: var(--light-muted);
    font-size: 0.875rem;
}

.hero-foot p:first-child { color: var(--paper); font-weight: 600; }
.section { padding-block: clamp(4rem, 7.8vw, 7rem); }
h2 { font-size: clamp(2.45rem, 4.6vw, 4.25rem); }
h3 { font-size: clamp(1.4rem, 2.25vw, 1.8rem); letter-spacing: -0.04em; }

.section-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: end;
    gap: 1.15rem 2.25rem;
    margin-bottom: clamp(1.9rem, 3.5vw, 3.25rem);
}

.section-intro > p, .example-copy > p:last-child, .contact-inner > div > p:not(.eyebrow) {
    max-width: 34ch;
    color: var(--brand-gray);
    font-size: clamp(1.075rem, 1.65vw, 1.25rem);
}

.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }

.service {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 0.65rem;
    background: #fafcfa;
}

.service-featured { border-color: #b8d7ca; background: #e5f6ef; }

.icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.service-icon { width: 2rem; height: 2rem; margin-bottom: clamp(1.65rem, 3.3vw, 3rem); color: var(--brand-blue); }
.service-featured .service-icon { color: #08724d; }
.service > p, .process p { margin-top: 0.7rem; color: var(--brand-gray); }
.service > p { margin-bottom: 1.2rem; }
.service .text-link { margin-top: auto; }

.page-links {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    padding: 0;
    margin-top: 1.75rem;
    list-style: none;
}

.page-links a {
    display: block;
    padding: 0.5rem 0.75rem;
    border: 1px solid #6b7974;
    border-radius: 0.3rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.page-links a:hover { color: var(--brand-green); border-color: var(--brand-green); }

.example { background: #eaf1f6; }

.example-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 6.5rem);
}

.example-copy h2 { max-width: 14ch; }
.example-copy > p:last-child { margin-top: 1.3rem; }

.assistant-preview {
    border: 1px solid var(--dark-line);
    border-radius: 0.65rem;
    color: var(--paper);
    background: #152228;
    box-shadow: 0 1.5rem 3.75rem -2rem #13212875;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    flex-wrap: wrap;
    padding: 1rem clamp(1rem, 3vw, 1.65rem);
    border-bottom: 1px solid var(--dark-line);
}

.preview-title, .preview-source { display: flex; align-items: center; gap: 0.55rem; }
.preview-title { font-weight: 650; }
.preview-title svg { width: 1.15rem; height: 1.15rem; color: var(--brand-green); }
.preview-label { color: var(--light-muted); font: 0.875rem/1.45 var(--mono); }
.preview-content { display: grid; gap: 1rem; padding: clamp(1rem, 3vw, 1.65rem); }

.preview-question, .preview-answer {
    padding: 1rem clamp(0.8rem, 2.5vw, 1.15rem);
    border-radius: 0.35rem;
    background: #24363d;
}

.preview-question { justify-self: end; }
.preview-answer { border-left: 2px solid var(--brand-green); }
.preview-answer .preview-label { color: var(--brand-green); }
.preview-label + p { margin-top: 0.3rem; }
.preview-source { margin-top: 0.9rem; color: var(--light-muted); font-size: 0.875rem; }
.preview-source svg { width: 1rem; height: 1rem; }

.process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem clamp(1.5rem, 4vw, 3rem);
    padding: 0 0 0 1.7rem;
}

.process li { padding-top: 1.2rem; border-top: 1px solid #aebeb6; }
.process li::marker { font: 600 0.95rem var(--mono); color: var(--brand-blue); }

.about { background: #e8efeb; }
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.2rem, 5vw, 4.5rem);
}

.body-copy { max-width: 62ch; }
.body-copy p + p { margin-top: 1rem; }
.body-copy .text-link { color: #155e8c; }
.body-copy .text-link:hover { color: var(--ink); }

.erp-feature { border-top: 1px solid var(--line); background: #e8efeb; }
.erp-feature-inner { align-items: center; }
.erp-feature h2 { max-width: 16ch; margin-bottom: 1.15rem; }
.erp-feature .button { margin-top: 1.4rem; }
.erp-overview {
    width: min(100%, 37.5rem);
    height: auto;
    border: 1px solid #39605a;
    border-radius: 0.75rem;
    background: #101b1c;
    box-shadow: 0 1.5rem 3.75rem -2rem #13212875;
}

.page-hero { padding-block: clamp(3rem, 7vw, 6rem); }
.page-hero .hero-lead { max-width: 55ch; }
.page-hero h1 { max-width: 19ch; }
.detail + .detail { border-top: 1px solid var(--line); }
.detail h2 { margin-bottom: 1.1rem; }
.detail .body-copy .text-link { display: inline-block; margin-top: 1.15rem; }
.detail-aside {
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 0.65rem;
    background: #fafcfa;
}

.detail-featured .detail-aside { border-color: #b8d7ca; background: #e5f6ef; }
.detail-aside ul { display: grid; gap: 0.65rem; margin-top: 1rem; padding-left: 1.2rem; }
.detail-aside li::marker { color: var(--brand-blue); }

.contact { background: var(--brand-green); }

.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: end;
    gap: 1.4rem 2.5rem;
    padding-block: clamp(3rem, 6.5vw, 6rem);
}

.contact-inner > div > p:not(.eyebrow) { color: #193729; }
.contact .button { margin: 1.35rem 0.75rem 0.6rem 0; }
.contact-phone { display: inline-block; }
.visit { margin-top: 0.65rem; font-style: normal; }

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem clamp(1.75rem, 5vw, 4rem);
    padding-block: 2.5rem;
}

.footer-inner address { color: var(--light-muted); font-size: 0.94rem; font-style: normal; }
.footer-inner strong { color: var(--paper); }

@media (max-width: 64rem) {
    .wrap { width: min(100% - 3.5rem, 80rem); }
    .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
    h1 { font-size: clamp(2.8rem, 5.85vw, 4.25rem); }
}

@media (max-width: 70rem) {
    .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 49rem) {
    .header-inner { grid-template-columns: auto 1fr; gap: 0.5rem 0.6rem; padding-top: 0.85rem; }
    .site-nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; gap: 0.25rem 1.4rem; }
    .site-nav a { padding-block: 0.55rem 0.75rem; }
    .hero-inner, .section-intro, .example-inner, .split, .contact-inner { grid-template-columns: minmax(0, 1fr); }
    .hero-inner { gap: 2.5rem; padding-block: 3.75rem 2.5rem; }
    h1 { font-size: clamp(2.7rem, 8.75vw, 4.45rem); }
    .hero-visual { width: min(100%, 37rem); }
    .section-intro > p, .example-copy > p:last-child, .contact-inner > div > p:not(.eyebrow) { max-width: 44ch; }
    .contact-break { display: none; }
}

@media (max-width: 41rem) {
    .wrap { width: calc(100% - 2.25rem); }
    .button-outline { min-height: 2.65rem; padding-inline: 0.7rem; }
    .services, .process { grid-template-columns: 1fr; }
    .service-icon { margin-bottom: 1.45rem; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-links { flex-wrap: wrap; }
}

@media (max-width: 24rem) {
    .hero-inner { gap: 2rem; }
    h1 { font-size: clamp(2.1rem, 10.1vw, 2.7rem); }
    .site-nav { column-gap: 0.75rem; font-size: 0.875rem; }
    .visual-header, .visual-footer { font-size: 0.75rem; }
}
