/* Vertical AI Tech — follows the approved brand board: navy + bright blue,
   soft blue-tinted panels, icon tiles, tracked capital subtitles. */

:root {
    --navy: #0f2747;
    --navy-2: #163a66;
    --blue: #1d6fe0;
    --blue-2: #4f9bf5;
    --sky: #eaf2fc;
    --sky-2: #f5f9fe;
    --tile: #dceafb;
    --mint: #e2f3ea;
    --ribbon-dark: #263238;
    --gold: #e9ac23;
    --gold-ink: #7f5a00;
    --gold-tint: #fbf0d8;
    --ink: #0f1f33;
    --muted: #4a5a70;
    --line: #d8e4f2;
    --white: #ffffff;

    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --page: min(1180px, 100% - 3rem);
    --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--white); }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--ink);
    background: linear-gradient(180deg, var(--sky) 0, var(--white) 680px) no-repeat;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 10;
    background: var(--navy); color: var(--white); padding: 0.5rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.wrap { width: var(--page); margin-inline: auto; }

h1, h2, h3 { color: var(--navy); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.75rem; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; max-width: 64ch; }

/* Tracked capital subtitles, as on the brand board. */
.kicker {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--navy-2);
    margin-bottom: 0.6rem;
}
.lede { font-size: 1.2rem; color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.8rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--navy); white-space: nowrap; }
.brand .logo { width: 40px; height: 34px; }
.brand-name { display: block; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.1; }
.brand-sub { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy-2); }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { color: var(--navy); font-weight: 600; text-decoration: none; }
.site-nav a:hover { color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--blue); }

/* Buttons */
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 3rem; padding: 0.7rem 1.35rem;
    border-radius: 12px; border: 2px solid var(--blue);
    background: var(--blue); color: var(--white);
    font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.button:hover { background: var(--navy-2); border-color: var(--navy-2); color: var(--white); }
.button.quiet { background: var(--white); color: var(--navy); border-color: var(--line); }
.button.quiet:hover { border-color: var(--blue); color: var(--blue); }
.site-nav .button { min-height: 2.6rem; padding: 0.45rem 1.1rem; color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Hero: the company card, a bracket, and the two pillars beneath it. */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) 1rem; }
.company-card {
    max-width: 780px; margin-inline: auto; text-align: center;
    padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 3rem);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 18px 40px -28px rgba(15, 39, 71, 0.45);
}
.company-title { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.company-title .logo { width: clamp(64px, 10vw, 104px); height: auto; }
.company-title h1 { margin: 0; text-align: left; }
.company-title .kicker { font-size: clamp(0.72rem, 1.5vw, 0.95rem); margin: 0.35rem 0 0; }
.company-card .lede { margin: 1.25rem auto 1.5rem; max-width: none; }
.company-card .actions { justify-content: center; margin-top: 0; }

.bracket { display: block; width: min(700px, 70%); height: 44px; margin: 0 auto -2px; color: var(--navy-2); }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pillar {
    display: flex; align-items: center; gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: linear-gradient(135deg, var(--white), var(--sky-2));
    color: inherit; text-decoration: none;
    transition: border-color 150ms, transform 150ms;
}
.pillar:hover { border-color: var(--blue); transform: translateY(-2px); color: inherit; }
.pillar.consulting { background: linear-gradient(135deg, var(--white), #f1f9f4); }
.pillar h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.4rem; }
.pillar p { margin: 0; color: var(--ink); }

/* Icon tiles and icon circles */
.tile {
    flex: 0 0 auto; width: 96px; height: 96px; border-radius: 22px;
    display: grid; place-items: center; background: var(--tile); color: var(--navy);
}
.tile svg { width: 56px; height: 56px; }
.tile.mint { background: var(--mint); }
.tile.ribbon-tile { background: var(--ribbon-dark); }
.dot {
    flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%;
    display: grid; place-items: center; background: var(--tile); color: var(--blue);
}
.dot svg { width: 28px; height: 28px; }
.dot.mint { background: var(--mint); color: var(--navy); }
.dot.gold { background: var(--gold-tint); color: var(--gold-ink); }

/* Product and consulting panels */
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section.tight { padding-top: 0; }
.section-head { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.75rem; }
.section-head h2 { margin-bottom: 0.3rem; }
.section-head p { margin: 0; font-size: 1.15rem; }
.badge {
    display: inline-block; margin-left: 0.5rem; vertical-align: middle;
    padding: 0.2rem 0.7rem; border-radius: 999px;
    background: var(--tile); color: var(--navy-2);
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em;
}
.panel {
    display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 18px 40px -32px rgba(15, 39, 71, 0.5);
}

.features { list-style: none; margin: 0; padding: 0; }
.features li { display: flex; align-items: center; gap: 1.1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.features li:last-child { border-bottom: 0; }
.features h3 { margin: 0 0 0.15rem; }
.features p { margin: 0; color: var(--muted); }
.panel-foot { margin-top: 1.25rem; }
.panel-foot .actions { margin-top: 0.75rem; }
.fine { font-size: 0.92rem; color: var(--muted); }

/* Phone frame around the app screenshots */
.phone {
    width: min(290px, 100%); margin-inline: auto;
    padding: 11px; border-radius: 42px; background: #111a26;
    box-shadow: 0 30px 50px -30px rgba(15, 39, 71, 0.7);
}
.phone-screen { border-radius: 32px; background: var(--white); padding: 0.9rem 0.85rem 1.1rem; overflow: hidden; }

/* Real app screenshots inside the phone frame */
.phone-screen.shot { padding: 0; aspect-ratio: 9 / 16; }
.phone-screen.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Laptop-style dashboard mockup for consulting */
.laptop { width: 100%; max-width: 460px; margin-inline: auto; }
.laptop-screen { border: 10px solid #1b2433; border-bottom-width: 14px; border-radius: 14px 14px 4px 4px; background: var(--sky-2); display: grid; grid-template-columns: 54px 1fr; min-height: 260px; overflow: hidden; }
.laptop-side { background: var(--navy); padding: 0.75rem 0.5rem; display: grid; align-content: start; gap: 0.55rem; }
.laptop-side span { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.28); }
.laptop-side span:first-child { background: var(--blue-2); }
.laptop-main { padding: 0.9rem; display: grid; gap: 0.65rem; }
.laptop-main strong { font-size: 0.8rem; color: var(--navy); }
.chart { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem; }
.chart svg { width: 100%; height: 92px; }
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.minis div { height: 46px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); position: relative; }
.minis div::before { content: ""; position: absolute; left: 8px; top: 9px; width: 14px; height: 14px; border-radius: 50%; background: var(--blue-2); }
.minis div::after { content: ""; position: absolute; left: 8px; right: 12px; bottom: 9px; height: 6px; border-radius: 3px; background: var(--tile); }
.laptop-base { height: 14px; margin: 0 -6%; border-radius: 0 0 14px 14px; background: linear-gradient(#c9d3df, #9aa7b6); }


/* Product cards: the two apps side by side */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.product-card {
    display: flex; flex-direction: column; gap: 1.5rem;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    border-top: 6px solid var(--blue);
    box-shadow: 0 18px 40px -32px rgba(15, 39, 71, 0.5);
}
.product-card.ribbon { border-top-color: var(--gold); }
.product-head { display: flex; align-items: center; gap: 1.25rem; }
.product-head .tile { width: 84px; height: 84px; border-radius: 20px; }
.product-head .tile svg { width: 48px; height: 48px; }
.product-head .tile.ribbon-tile img { width: 72%; height: auto; }
.tile.monkey { overflow: hidden; }
.tile.monkey img { width: 74%; height: auto; }
.product-head h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 800; margin-bottom: 0.3rem; }
.product-head .kicker { font-size: 0.72rem; margin-bottom: 0.35rem; }
.product-card.ribbon .kicker { color: var(--gold-ink); }
.product-head p { margin: 0; }
.product-body { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.product-body .phone { width: 230px; padding: 9px; border-radius: 36px; }
.product-body .phone-screen { border-radius: 28px; padding: 0.75rem 0.7rem 0.9rem; }
.product-foot { margin-top: auto; }
.product-foot .fine { margin-bottom: 0.75rem; }
.product-foot .actions { margin-top: 0; }

.features.compact li { gap: 0.8rem; padding: 0.6rem 0; }
.features.compact .dot { width: 42px; height: 42px; }
.features.compact .dot svg { width: 22px; height: 22px; }
.features h4 { margin: 0 0 0.1rem; font-size: 1rem; color: var(--navy); }
.features.compact p { font-size: 0.92rem; line-height: 1.4; }

.button.ribbon { background: var(--ribbon-dark); border-color: var(--ribbon-dark); }
.button.ribbon:hover { background: #37474f; border-color: #37474f; }

/* Why work with us strip */
.why {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; row-gap: 1.25rem;
    padding: 1.75rem; background: var(--sky-2);
    border: 1px solid var(--line); border-radius: var(--radius);
}
.why h2 { grid-column: 1 / -1; font-size: 1.6rem; margin: 0; }
.why-item { display: flex; align-items: flex-start; gap: 0.9rem; padding: 0.25rem 1.25rem; border-left: 1px solid var(--line); }
.why-item:nth-child(2) { border-left: 0; padding-left: 0; }
.why-item h3 { font-size: 1rem; margin: 0 0 0.2rem; }
.why-item p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.why-item .dot { width: 50px; height: 50px; }

/* Request form */
.contact {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3rem);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.form { display: grid; gap: 1.1rem; }
.form label, .form legend { display: block; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.form input[type="text"], .form input[type="email"], .form textarea {
    width: 100%; font: inherit; color: var(--ink);
    padding: 0.75rem 0.9rem; border: 1px solid #9fb2c8; border-radius: 10px; background: var(--sky-2);
}
.form input:focus, .form textarea:focus { border-color: var(--blue); }
.form textarea { min-height: 7rem; resize: vertical; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form .check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 500; color: var(--ink); margin-bottom: 0.45rem; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--blue); }
.hidden-field { position: absolute; left: -10000px; }
.form .note { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* Navy closing band and footer */
.band { background: var(--navy); color: var(--white); text-align: center; padding: 1.4rem 1.5rem; border-radius: 14px; font-size: clamp(1.05rem, 2.2vw, 1.4rem); font-weight: 700; margin: 0; max-width: none; }
.site-footer { padding-block: 2rem 2.5rem; color: var(--muted); font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-footer a { color: var(--muted); }
.site-footer p { margin: 0; }

/* Plain pages (about, privacy, thanks, 404) */
.prose { padding-block: clamp(3rem, 7vw, 5rem); }
.prose .lede { color: var(--muted); max-width: 60ch; }
.prose h2 { font-size: 1.8rem; margin-top: 2.5rem; }
.prose ul { padding-left: 1.2rem; max-width: 64ch; }
.prose li { margin-bottom: 0.4rem; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.principles div { padding: 1.25rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 14px; }
.principles h3 { margin-bottom: 0.25rem; }
.principles p { margin: 0; color: var(--muted); font-size: 0.97rem; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .pillar { transition: none; }
    .pillar:hover { transform: none; }
}

@media (max-width: 1100px) {
    .products { grid-template-columns: 1fr; }
}
@media (max-width: 1020px) {
    .why { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    .why-item { border-left: 0; padding: 0; }
}
@media (max-width: 860px) {
    .pillars, .panel, .contact, .principles { grid-template-columns: 1fr; }
    .bracket { display: none; }
    .pillars { margin-top: 1.5rem; }
}
@media (max-width: 620px) {
    .site-nav .nav-link { display: none; }
    .brand-sub { display: none; }
    .pillar { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .tile { width: 72px; height: 72px; border-radius: 18px; }
    .tile svg { width: 42px; height: 42px; }
    .section-head { align-items: flex-start; }
    .why { grid-template-columns: 1fr; }
    .product-body { grid-template-columns: 1fr; }
    .product-body .phone { margin-inline: auto; }
    .product-head { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
    .product-head .tile { width: 64px; height: 64px; border-radius: 16px; }
    .product-head .tile svg { width: 36px; height: 36px; }
    .company-title { flex-direction: column; }
    .company-title h1 { text-align: center; }
}
