:root {
    --ink: #16191f;
    --ink-soft: #3d4451;
    --muted: #667084;
    --paper: #f4f0e8;
    --white: #fffcf8;
    --line: rgba(22, 25, 31, 0.12);
    --orange: #e4570e;
    --orange-deep: #c2410c;
    --navy: #121a27;
    --shadow: 0 22px 50px rgba(18, 26, 39, 0.12);
    --serif: "Fraunces", Georgia, serif;
    --sans: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-size: 16.5px;
}

img { max-width: 100%; display: block; }

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

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 560;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin: 0;
}

p { margin: 0; }

.wrap {
    width: min(1140px, calc(100% - 40px));
    margin-inline: auto;
}

.skip {
    position: absolute;
    left: 12px;
    top: -40px;
    background: #fff;
    padding: 8px 12px;
    z-index: 80;
}

.skip:focus { top: 12px; }

.topbar {
    background: var(--navy);
    color: rgba(255, 252, 248, 0.82);
    font-size: 13px;
}

.topbar .wrap,
.topbar-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    min-height: 36px;
}

.topbar a:hover { color: #fff; }

.topbar-links { display: flex; gap: 16px; flex-wrap: wrap; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 252, 248, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}

.site-header.is-stuck { border-bottom-color: var(--line); }

.header-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 20px;
}

.brand img { height: 52px; width: auto; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links > li > a,
.sub-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 650;
    background: none;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
}

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

.has-sub { position: relative; display: flex; align-items: center; }

.sub {
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    width: 280px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: grid;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.has-sub:hover .sub,
.has-sub:focus-within .sub {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.sub a {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 650;
}

.sub a:hover { background: var(--paper); }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-weight: 750;
    font-size: 15px;
    cursor: pointer;
}

.btn-solid { background: var(--orange); color: #fff; }
.btn-solid:hover { background: var(--orange-deep); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(22, 25, 31, 0.22); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-line { background: #fff; border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); }

.nav-links > li > a.nav-cta {
    margin-left: 8px;
    padding: 0 18px;
    background: var(--orange);
    color: #fff;
    flex-shrink: 0;
}

.nav-links > li > a.nav-cta:hover {
    background: var(--orange-deep);
    color: #fff;
}

@media (min-width: 1101px) {
    .sub-toggle { display: none; }
}

.hero { padding: 42px 0 20px; }

.hero-grid,
.detail-grid,
.split,
.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); }

h1 em, h2 em {
    font-style: italic;
    font-weight: 520;
    color: var(--orange);
}

.lede {
    margin-top: 18px;
    font-size: 1.12rem;
    color: var(--ink-soft);
    max-width: 42rem;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    color: var(--ink-soft);
    font-size: 14.5px;
    font-weight: 650;
}

.hero-points li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-right: 8px; }

.hero-photo, .frame {
    position: relative;
}

.hero-photo img, .frame img, .sol-card img, .mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photo img, .frame img {
    aspect-ratio: 4 / 3.15;
    border-radius: 28px;
}

.float-card {
    position: absolute;
    left: -18px;
    bottom: 22px;
    background: #fff;
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: var(--shadow);
    width: min(220px, 70%);
}

.float-card strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.8rem;
    letter-spacing: -0.03em;
}

.float-card span { color: var(--muted); font-size: 14px; }

.section { padding: 72px 0; }

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

.section-head h2, .block-title {
    font-size: clamp(2rem, 4vw, 3.3rem);
    max-width: 16ch;
}

.section-head p { max-width: 36ch; color: var(--ink-soft); }

.sol-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.sol-card {
    background: var(--white);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.18s ease;
}

.sol-card:hover { transform: translateY(-3px); }

.sol-card .media { aspect-ratio: 16 / 10; overflow: hidden; }

.sol-card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.sol-card h3 { font-size: 1.55rem; }

.sol-card p { color: var(--ink-soft); font-size: 15px; }

.pname {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    font-weight: 700;
}

.more {
    margin-top: auto;
    padding-top: 8px;
    color: var(--orange);
    font-weight: 800;
    font-size: 14px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.step {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--line);
}

.step b {
    display: block;
    font-family: var(--serif);
    font-size: 1.7rem;
    color: var(--orange);
    margin-bottom: 10px;
}

.step h3 { font-size: 1.3rem; margin-bottom: 8px; }

.step p { color: var(--ink-soft); font-size: 15px; }

.split { align-items: center; }

.founder {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 28px;
    align-items: center;
    background: var(--navy);
    color: #fff;
    border-radius: 28px;
    padding: 28px;
}

.founder img {
    width: 180px;
    height: 220px;
    object-fit: cover;
    object-position: center top;
    border-radius: 18px;
}

.founder p { color: rgba(255, 255, 255, 0.82); margin-top: 12px; }

.founder cite { display: block; margin-top: 14px; font-style: normal; font-weight: 800; }

.cta {
    background: var(--navy);
    color: #fff;
    border-radius: 28px;
    padding: 42px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.cta h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 16ch; }

.cta p { color: rgba(255,255,255,0.75); margin-top: 10px; max-width: 42ch; }

.cta .btn-ghost { border-color: rgba(255,255,255,0.35); color: #fff; }

.page-hero { padding: 48px 0 10px; }

.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 16ch; }

.crumbs { color: var(--muted); font-size: 14px; font-weight: 700; margin-bottom: 12px; }

.crumbs a:hover { color: var(--orange); }

.band {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
    margin-bottom: 10px;
}

.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 18, 28, 0.86), rgba(12, 18, 28, 0.2));
}

.band .wrap { position: relative; z-index: 1; padding: 70px 0 36px; }

.band h1, .band .crumbs, .band .lede { color: #fff; }

.band .lede { color: rgba(255,255,255,0.84); }

.catalog-block { padding: 56px 0; border-top: 1px solid var(--line); }

.catalog-intro {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 22px;
}

.catalog-intro img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: 22px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }

.chips li, .chip {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 750;
}

.product-list, .stack { display: grid; gap: 12px; }

.product, .product-row {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
}

.product {
    display: grid;
    grid-template-columns: 1.1fr 1fr auto;
    gap: 18px;
    align-items: start;
}

.product h3, .product-row h3 { font-size: 1.35rem; margin-bottom: 6px; }

.product p, .product-row p { color: var(--ink-soft); }

.ticks { list-style: none; margin: 0; padding: 0; }

.ticks li {
    position: relative;
    padding-left: 16px;
    margin: 6px 0;
    color: var(--ink-soft);
    font-size: 15px;
}

.ticks li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    position: absolute;
    left: 0;
    top: 0.55em;
}

.product-actions { display: flex; flex-direction: column; gap: 8px; min-width: 160px; }

.product-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.product-row a.quiet { font-weight: 800; color: var(--orange); white-space: nowrap; }

.mission {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.mission article, .plain-card, .demo-card, .package {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px;
}

.mission h3, .package h3 { font-size: 1.45rem; margin-bottom: 8px; }

.mission p, .plain-card p { color: var(--ink-soft); }

.industry-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mini-card { display: block; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }

.mini-card .media { aspect-ratio: 16 / 10; }

.mini-card span { display: block; padding: 12px 14px 14px; font-weight: 800; }

.contact-grid { align-items: start; }

.address { margin-top: 18px; }

.address h3 { font-size: 1.15rem; margin-bottom: 4px; }

.address p, .address a { color: var(--ink-soft); }

.address a:hover { color: var(--orange); }

.form-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--line);
    padding: 22px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 14px; font-weight: 750; }

.field input, .field select, .field textarea {
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 12px;
    padding: 12px 12px;
    font-weight: 550;
}

.field textarea { min-height: 120px; resize: vertical; }

.field input:focus, .field select:focus, .field textarea:focus {
    outline: 2px solid rgba(228, 87, 14, 0.28);
    border-color: var(--orange);
    background: #fff;
}

.span-2 { grid-column: 1 / -1; }

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.notice {
    background: #e8f6ee;
    color: #14532d;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-weight: 700;
}

.notice.bad { background: #fdecec; color: #7f1d1d; }

.map { height: 360px; border: 0; width: 100%; display: block; filter: grayscale(0.25); }

.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }

.package.featured { background: var(--navy); color: #fff; }

.package .was { color: var(--muted); text-decoration: line-through; margin-right: 8px; }

.package.featured .was { color: rgba(255,255,255,0.55); }

.package .now {
    font-family: var(--serif);
    font-size: 2.4rem;
    letter-spacing: -0.03em;
}

.package .ticks { margin: 14px 0 18px; }

.package.featured .ticks li { color: rgba(255,255,255,0.82); }

.demo-list { display: grid; gap: 12px; }

.demo-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

.demo-card p { color: var(--ink-soft); margin-top: 4px; }

.kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }

.site-footer { background: var(--navy); color: rgba(255,252,248,0.78); padding-top: 48px; margin-top: 20px; }

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 28px;
}

.foot-logo {
    background: #fff;
    border-radius: 12px;
    padding: 8px 10px;
    width: fit-content;
    margin-bottom: 14px;
}

.foot-logo img { height: 42px; width: auto; }

.site-footer h3 {
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #fff;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li { margin: 7px 0; }

.site-footer a:hover { color: #fff; }

.socials { display: flex; gap: 8px; margin-top: 14px; }

.socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: grid;
    place-items: center;
}

.legal {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 28px;
    padding: 14px 0 18px;
    font-size: 13px;
}

.legal a { text-decoration: underline; }

.wa {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 40;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #1fa855;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 28px rgba(18, 26, 39, 0.22);
}

.wa svg { width: 28px; height: 28px; fill: currentColor; }

.other-sols { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 1100px) {
    .nav-toggle { display: inline-block; }
    .nav-links {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 16px 16px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .nav-links.is-open { display: flex; }
    .sub {
        position: static;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        display: none;
        width: auto;
        box-shadow: none;
        border: 0;
        padding: 0 0 8px 12px;
        background: transparent;
    }
    .has-sub { display: block; position: relative; }
    .sub-toggle { position: absolute; right: 0; top: 2px; }
    .has-sub.is-open .sub { display: grid; }
    .nav-cta { margin: 8px 12px 4px; }
    .hero-grid, .detail-grid, .split, .contact-grid, .catalog-intro, .product, .founder, .cta, .demo-card {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .hero-photo, .frame { width: 100%; }
    .sol-grid, .steps, .mission, .industry-links, .packages, .foot-grid { grid-template-columns: 1fr 1fr; }
    .float-card { left: 12px; }
    .product-actions { flex-direction: row; flex-wrap: wrap; }
    .cta, .founder { padding: 22px; }
}

@media (max-width: 700px) {
    .wrap { width: min(1140px, calc(100% - 28px)); }
    .topbar { display: none; }
    .sol-grid, .steps, .mission, .industry-links, .packages, .foot-grid, .form-grid { grid-template-columns: 1fr; }
    .section-head, .product-row, .cta { flex-direction: column; align-items: flex-start; }
    .section { padding: 48px 0; }
    .hero { padding-top: 24px; }
    .founder img { width: 100%; height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sol-card, .sub { transition: none; }
}
