/* ==========================================================================
   IOX Smart — marketing site
   --------------------------------------------------------------------------
   The IOX Graphite system (IOX-DESIGN-SYSTEM.md), applied to a public site so
   the marketing and the product look like the same company. The rules that
   matter and must not be "improved" away:

     - Near-monochrome. Steel (#5988B4) means "the system" — links, values,
       active state. Ochre (#BC7B44) means "a person is needed" and stays under
       ~2% of pixels. Neither is ever used for decoration.
     - The action is not a colour. The primary button is the BRIGHTEST surface
       on the page (near-white fill, dark ink). One per view.
     - Radius 4px. Graphite is square; rounded pills read as a different brand.
     - Dark only. The app has a light theme; this site does not — a marketing
       page has one job and a theme toggle is not it.

   Type: Archivo 700/800 (headings) + Public Sans (body) + IBM Plex Mono
   (figures and prices only).
   ========================================================================== */

:root {
    /* Action — the brightest thing on screen, carries no hue */
    --ac-fill: #E9EAEC;
    --ac-hover: #FFFFFF;
    --ac-ink: #0F1011;

    /* Steel — links, active nav, selection, values */
    --br-600: #47759F;
    --br-500: #5988B4;
    --br-400: #6E9BC4;
    --br-300: #8FB0CF;

    /* Ochre — "needs a person". Rationed. */
    --sg-500: #BC7B44;
    --sg-400: #CB8C55;

    /* Ground */
    --bg-base: #0F1011;
    --bg-rail: #0A0B0C;
    --bg-surface: #16181A;
    --bg-raised: #1D2023;
    --bg-overlay: #262A2E;

    /* Ink */
    --tx-primary: #E9EAEC;
    --tx-secondary: #979BA1;
    --tx-tertiary: #62666C;

    /* State */
    --se-ok: #4E9B72;
    --se-warn: #C4964A;
    --se-crit: #C0564F;

    --line: #24272B;
    --line-soft: #1B1E21;

    --r: 4px;
    --container: 1140px;
    --ease: cubic-bezier(.4, 0, .2, 1);

    --ff-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ff-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ff-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    /* The sticky header is 64px; without this an anchor lands under it. */
    scroll-padding-top: 84px;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

body {
    margin: 0;
    background: var(--bg-base);
    color: var(--tx-secondary);
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--ff-display);
    color: var(--tx-primary);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 .5em;
    font-weight: 800;
}

h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 1rem; }
a { color: var(--br-400); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--br-300); }
img, svg { max-width: 100%; }

::selection { background: var(--br-600); color: #fff; }

:focus-visible {
    outline: 2px solid var(--br-400);
    outline-offset: 2px;
    border-radius: 2px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ac-fill);
    color: var(--ac-ink);
    padding: 10px 16px;
    z-index: 200;
    font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Buttons ------------------------------------------------------ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--ff-body);
    font-size: .94rem;
    font-weight: 600;
    line-height: 1;
    padding: 13px 22px;
    border-radius: var(--r);
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);
}

/* The one bright surface. One per view. */
.btn-primary { background: var(--ac-fill); color: var(--ac-ink); }
.btn-primary:hover { background: var(--ac-hover); color: var(--ac-ink); transform: translateY(-1px); }

.btn-ghost {
    background: transparent;
    color: var(--tx-primary);
    border-color: var(--line);
}
.btn-ghost:hover { background: var(--bg-raised); color: var(--tx-primary); border-color: #33383D; }

.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header ------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 11, 12, .82);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--line-soft);
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 64px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--tx-primary);
    font-family: var(--ff-display);
    font-weight: 800;
    font-size: 1.06rem;
    letter-spacing: .02em;
    flex-shrink: 0;
}
.brand:hover { color: var(--tx-primary); }
/* The IOX letters from the brand kit (the cyan block is the status LED), then the product word. */
.brand-logo { height: 26px; width: auto; display: block; }
.brand-word { font-size: .82rem; letter-spacing: .28em; color: var(--tx-secondary); padding-top: 3px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}
.nav-links a {
    color: var(--tx-secondary);
    font-size: .92rem;
    font-weight: 500;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--tx-primary); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 9px 16px; font-size: .88rem; }

.nav-toggle {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--r);
    color: var(--tx-primary);
    padding: 8px 10px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: inline-flex; }
    /* Open: the links and buttons wrap under the logo row, in the header's own flow,
       so a longer Products list pushes the buttons down instead of overlapping. */
    .nav.open { flex-wrap: wrap; height: auto; row-gap: 0; padding-bottom: 16px; max-height: 100vh; overflow-y: auto; }
    .nav.open .brand { height: 64px; }
    .nav.open .nav-links,
    .nav.open .nav-cta {
        display: flex;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin-left: 0;
    }
    .nav.open .nav-links { border-top: 1px solid var(--line-soft); padding: 8px 0; }
    .nav.open .nav-cta { gap: 10px; padding-top: 6px; }
    .nav.open .nav-links a { padding: 10px 0; }
    .nav.open .nav-cta .btn { width: 100%; padding: 12px; }
    .site-header:has(.nav.open) { background: var(--bg-overlay); }
}

/* ---------- Sections ----------------------------------------------------- */

section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.bg-surface { background: var(--bg-surface); border-block: 1px solid var(--line-soft); }

.eyebrow {
    font-family: var(--ff-mono);
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--br-500);
    margin: 0 0 14px;
}

.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.06rem; color: var(--tx-secondary); margin: 0; }

.lede { font-size: 1.12rem; line-height: 1.65; }

/* ---------- Hero --------------------------------------------------------- */

.hero {
    position: relative;
    padding: 104px 0 88px;
    background: var(--bg-rail);
    border-bottom: 1px solid var(--line-soft);
    overflow: hidden;
}

/* A single, very quiet steel wash. The palette does the work, not the effect. */
.hero::before {
    content: "";
    position: absolute;
    inset: -40% 0 auto -10%;
    height: 620px;
    background: radial-gradient(58% 52% at 30% 40%, rgba(89, 136, 180, .13), transparent 68%);
    pointer-events: none;
}
.hero > * { position: relative; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.hero h1 { margin-bottom: 20px; }
.hero .lede { max-width: 33ch; color: var(--tx-secondary); }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 18px;
}

.hero-note {
    font-size: .86rem;
    color: var(--tx-tertiary);
    margin: 0;
}

@media (max-width: 900px) {
    .hero { padding: 72px 0 64px; }
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero .lede { max-width: none; }
}

/* ---------- Stat strip --------------------------------------------------- */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    overflow: hidden;
}
.stat { background: var(--bg-base); padding: 22px 20px; }
.stat b {
    display: block;
    font-family: var(--ff-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--tx-primary);
    letter-spacing: -.02em;
}
.stat span { font-size: .82rem; color: var(--tx-tertiary); }

@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Product frame (abstract UI) ---------------------------------- */

.frame {
    background: var(--bg-surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .5);
}

.frame-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--line);
}
.frame-dot { width: 9px; height: 9px; border-radius: 50%; background: #33383D; }
.frame-title {
    margin-left: 6px;
    font-family: var(--ff-mono);
    font-size: .72rem;
    color: var(--tx-tertiary);
}
.frame-body { padding: 18px; }

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 12px;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    background: var(--bg-base);
    margin-bottom: 8px;
}
.row:last-child { margin-bottom: 0; }
.row-label { font-size: .86rem; color: var(--tx-secondary); }
.row-meta { font-family: var(--ff-mono); font-size: .82rem; color: var(--tx-primary); }
.row .tag {
    font-family: var(--ff-mono);
    font-size: .68rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 3px;
}
.tag-ok { color: var(--se-ok); background: rgba(78, 155, 114, .12); }
.tag-work { color: var(--sg-500); background: rgba(188, 123, 68, .12); }
.tag-info { color: var(--br-400); background: rgba(89, 136, 180, .12); }

.frame-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.frame-total span { font-size: .82rem; color: var(--tx-tertiary); }
.frame-total b {
    font-family: var(--ff-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--tx-primary);
    letter-spacing: -.02em;
}

/* ---------- Steps -------------------------------------------------------- */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    counter-reset: step;
}
.step {
    position: relative;
    padding-top: 22px;
    border-top: 2px solid var(--line);
}
.step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: block;
    font-family: var(--ff-mono);
    font-size: .74rem;
    color: var(--br-500);
    margin-bottom: 10px;
    letter-spacing: .1em;
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: .9rem; margin: 0; }

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 26px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Feature groups ----------------------------------------------- */

.group { margin-bottom: 56px; }
.group:last-child { margin-bottom: 0; }

.group-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.group-head h3 { font-size: 1.24rem; font-weight: 800; margin: 0; font-family: var(--ff-display); }
.group-head span { font-family: var(--ff-mono); font-size: .76rem; color: var(--tx-tertiary); margin-left: auto; }

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

.feature {
    background: var(--bg-surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    padding: 20px;
    transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.feature:hover { border-color: var(--line); transform: translateY(-2px); }

.feature-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: var(--r);
    background: var(--bg-raised);
    color: var(--br-400);
    margin-bottom: 14px;
}
.feature-icon svg { width: 17px; height: 17px; }

.feature h4 {
    font-family: var(--ff-body);
    font-size: .96rem;
    font-weight: 700;
    color: var(--tx-primary);
    margin: 0 0 6px;
    letter-spacing: 0;
}
.feature p { font-size: .875rem; line-height: 1.55; margin: 0; color: var(--tx-secondary); }

.feature .plan-chip {
    display: inline-block;
    margin-top: 12px;
    font-family: var(--ff-mono);
    font-size: .66rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--tx-tertiary);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 2px 6px;
}
.feature .plan-chip.premium { color: var(--sg-400); border-color: rgba(188, 123, 68, .35); }

@media (max-width: 940px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* ---------- Split feature (AI) ------------------------------------------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.checklist { list-style: none; padding: 0; margin: 22px 0 0; }
.checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: .95rem;
    color: var(--tx-secondary);
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .42em;
    width: 13px;
    height: 7px;
    border-left: 2px solid var(--br-500);
    border-bottom: 2px solid var(--br-500);
    transform: rotate(-45deg);
}

/* ---------- Pricing ------------------------------------------------------ */

.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}
@media (max-width: 940px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.plan {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Recommended: raised ground and a steel edge. Not a colour wash — the plan is
   marked by light, the same way the primary button is. */
.plan.featured {
    background: var(--bg-raised);
    border-color: var(--br-600);
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 24px;
    font-family: var(--ff-mono);
    font-size: .66rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: var(--br-500);
    color: #fff;
    padding: 3px 9px;
    border-radius: 3px;
}

.plan h3 {
    font-family: var(--ff-display);
    font-size: 1.16rem;
    font-weight: 800;
    margin: 0 0 4px;
}
.plan .plan-for { font-size: .85rem; color: var(--tx-tertiary); margin: 0 0 20px; min-height: 2.6em; }

.price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price b {
    font-family: var(--ff-mono);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--tx-primary);
    letter-spacing: -.03em;
    line-height: 1;
}
.price i { font-style: normal; font-size: .9rem; color: var(--tx-tertiary); }

.price-was {
    font-size: .82rem;
    color: var(--tx-tertiary);
    margin: 0 0 20px;
    min-height: 1.5em;
}
.price-was s { color: var(--tx-tertiary); }
.price-was b { color: var(--se-ok); font-weight: 600; }

.plan-limits {
    display: flex;
    gap: 18px;
    padding: 14px 0;
    margin-bottom: 18px;
    border-block: 1px solid var(--line-soft);
}
.plan-limits div { font-size: .8rem; color: var(--tx-tertiary); }
.plan-limits b {
    display: block;
    font-family: var(--ff-mono);
    font-size: 1.02rem;
    color: var(--tx-primary);
    font-weight: 600;
}

.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: .88rem;
    color: var(--tx-secondary);
}
.plan ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .4em;
    width: 11px;
    height: 6px;
    border-left: 2px solid var(--br-500);
    border-bottom: 2px solid var(--br-500);
    transform: rotate(-45deg);
}
.plan ul li.off { color: var(--tx-tertiary); }
.plan ul li.off::before {
    border: none;
    top: .58em;
    left: 1px;
    width: 9px;
    height: 0;
    border-top: 2px solid #3A3E43;
    transform: none;
}

.plan-note {
    font-size: .76rem;
    color: var(--tx-tertiary);
    text-align: center;
    margin: 10px 0 0;
    min-height: 1.2em;
}

/* ---------- Comparison table --------------------------------------------- */

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--r);
    -webkit-overflow-scrolling: touch;
}

table.compare {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: .88rem;
}
table.compare th, table.compare td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line-soft);
}
table.compare thead th {
    position: sticky;
    top: 0;
    background: var(--bg-raised);
    color: var(--tx-primary);
    font-family: var(--ff-body);
    font-weight: 700;
    font-size: .82rem;
    white-space: nowrap;
    border-bottom: 1px solid var(--line);
}
table.compare tbody th {
    font-weight: 400;
    color: var(--tx-secondary);
    background: var(--bg-surface);
}
table.compare td { text-align: center; width: 118px; background: var(--bg-surface); }
table.compare tbody tr:hover th,
table.compare tbody tr:hover td { background: var(--bg-raised); }
table.compare tr.group-row th {
    background: var(--bg-base);
    color: var(--tx-tertiary);
    font-family: var(--ff-mono);
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}
table.compare tr.group-row td { background: var(--bg-base); }
table.compare tbody tr:last-child th,
table.compare tbody tr:last-child td { border-bottom: none; }

/* Rows where the plans actually disagree. Marking them is what turns a wall of
   ticks into an answer to "what does the extra money buy". */
table.compare tr.diff th[scope="row"] { color: var(--tx-primary); font-weight: 600; box-shadow: inset 3px 0 0 var(--br-500); }
.yes { color: var(--br-400); font-weight: 700; }
.no { color: #3A3E43; }
.val { font-family: var(--ff-mono); color: var(--tx-primary); font-size: .84rem; }

/* ---------- FAQ ---------------------------------------------------------- */

.faq { max-width: 780px; margin: 0 auto; }
.faq details {
    border-bottom: 1px solid var(--line-soft);
    padding: 18px 0;
}
.faq summary {
    cursor: pointer;
    font-family: var(--ff-body);
    font-weight: 600;
    color: var(--tx-primary);
    font-size: 1rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    font-family: var(--ff-mono);
    color: var(--br-500);
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
    transition: transform .18s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; font-size: .93rem; max-width: 68ch; }

/* ---------- CTA ---------------------------------------------------------- */

.cta {
    background: var(--bg-rail);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 56px 40px;
    text-align: center;
}
.cta h2 { margin-bottom: 12px; }
.cta p { max-width: 52ch; margin: 0 auto 26px; }
.cta .hero-actions { justify-content: center; margin-bottom: 12px; }

/* ---------- Footer ------------------------------------------------------- */

.site-footer {
    background: var(--bg-rail);
    border-top: 1px solid var(--line-soft);
    padding: 56px 0 32px;
    font-size: .88rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-grid h4 {
    font-family: var(--ff-body);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tx-tertiary);
    margin: 0 0 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--tx-secondary); }
.footer-grid a:hover { color: var(--tx-primary); }
.footer-about p { color: var(--tx-tertiary); font-size: .86rem; max-width: 34ch; margin: 14px 0 0; }

.footer-base {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--line-soft);
    color: var(--tx-tertiary);
    font-size: .82rem;
}

@media (max-width: 860px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-about { grid-column: 1 / -1; }
}

/* ---------- Contact form ------------------------------------------------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.field label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--tx-secondary);
    margin-bottom: 6px;
}
.field .req { color: var(--sg-500); }

.field input,
.field select,
.field textarea {
    width: 100%;
    background: var(--bg-raised);
    border: 1px solid var(--line);
    border-radius: var(--r);
    color: var(--tx-primary);
    font-family: var(--ff-body);
    font-size: .94rem;
    padding: 11px 13px;
    transition: border-color .15s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--br-500); }
.field input::placeholder, .field textarea::placeholder { color: var(--tx-tertiary); }

/* The honeypot. Off-screen rather than display:none — some bots skip hidden
   fields but not positioned ones — and hidden from assistive tech too. */
.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
}

.form-note { font-size: .82rem; color: var(--tx-tertiary); margin: 12px 0 0; }

.form-msg {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: var(--r);
    font-size: .88rem;
    border: 1px solid;
}
.form-msg.ok { color: var(--se-ok); border-color: rgba(78, 155, 114, .4); background: rgba(78, 155, 114, .1); }
.form-msg.err { color: var(--se-crit); border-color: rgba(192, 86, 79, .4); background: rgba(192, 86, 79, .1); }

/* ---------- Utilities ---------------------------------------------------- */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--tx-tertiary); }
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Product line (Oct 2026) — the site became the IOX umbrella for several
   products. Generated by site-src/build.mjs; these styles serve it.
   ========================================================================== */

/* Products menu in the header */
.nav-menu { position: relative; }
.nav-menu-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: 0; padding: 0; cursor: pointer;
    color: var(--tx-secondary); font: inherit; font-size: .92rem; font-weight: 500;
}
.nav-menu-btn:hover, .nav-menu.open .nav-menu-btn { color: var(--tx-primary); }
.nav-menu-list {
    display: none; position: absolute; top: calc(100% + 14px); left: -16px; z-index: 30;
    min-width: 300px; padding: 8px;
    background: var(--bg-overlay); border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.nav-menu-list::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-menu:hover .nav-menu-list, .nav-menu:focus-within .nav-menu-list, .nav-menu.open .nav-menu-list { display: block; }
.nav-menu-list a { display: block; padding: 10px 12px; border-radius: var(--r); }
.nav-menu-list a:hover, .nav-menu-list a[aria-current="page"] { background: var(--bg-raised); }
.nav-menu-list b { display: block; color: var(--tx-primary); font-weight: 600; font-size: .92rem; }
.nav-menu-list span { display: block; color: var(--tx-tertiary); font-size: .78rem; margin-top: 2px; }
@media (max-width: 900px) {
    .nav.open .nav-menu-btn { padding: 10px 0; }
    .nav.open .nav-menu-list { display: block; position: static; min-width: 0; padding: 0 0 6px 12px; background: none; border: 0; box-shadow: none; }
    .nav.open .nav-menu-list a { padding: 8px 0; }
}

/* Product cards */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .pgrid { grid-template-columns: 1fr; } }
.pcard {
    display: flex; flex-direction: column;
    background: var(--bg-surface); border: 1px solid var(--line-soft); border-radius: var(--r);
    padding: 26px;
    transition: border-color .15s var(--ease);
}
.pcard:hover { border-color: var(--line); }
.pcard-head { display: flex; gap: 14px; align-items: center; }
.pcard-head h3 { margin: 0; font-size: 1.25rem; }
.pcard-head h3 a { color: var(--tx-primary); }
.pcard-cat { margin: 2px 0 0; font-size: .82rem; color: var(--tx-tertiary); }
.pcard-icon {
    width: 44px; height: 44px; flex: none; display: grid; place-items: center;
    border-radius: var(--r); background: var(--bg-raised); color: var(--br-400);
}
.pcard-icon svg { width: 22px; height: 22px; }
.pcard-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
.pbadge {
    font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .04em;
    color: var(--tx-secondary); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
}
.pbadge-soon { color: var(--sg-400); border-color: rgba(188, 123, 68, .4); }
.pcard-tag { margin: 16px 0 4px; font-family: var(--ff-display); font-weight: 700; color: var(--tx-primary); font-size: 1.05rem; }
.pcard-sum { margin: 0; font-size: .92rem; color: var(--tx-secondary); }
.pcard .checklist { margin-top: 14px; }
.pcard-foot {
    display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
    margin-top: auto; padding-top: 20px;
}
.pcard-price { font-size: .82rem; color: var(--tx-tertiary); }
.pcard-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pcard-actions .btn { padding: 9px 14px; font-size: .86rem; }
.pcard-more { border-style: dashed; background: transparent; }

/* Ways to buy, and three-step rows */
.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps-3 { grid-template-columns: 1fr; } }
.buy-products { margin-top: 10px !important; font-size: .86rem !important; }
.buy-products a { color: var(--br-400); }

/* Product page: tile when there is no app mock, and the licensing box */
.ptile {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    min-height: 300px; text-align: center;
    background: var(--bg-surface); border: 1px solid var(--line-soft); border-radius: var(--r);
}
.ptile-icon { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 14px; background: var(--bg-raised); color: var(--br-400); }
.ptile-icon svg { width: 38px; height: 38px; }
.ptile b { font-family: var(--ff-display); font-size: 1.3rem; color: var(--tx-primary); }
.ptile span { font-size: .86rem; color: var(--tx-tertiary); }
.lic {
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center;
    background: var(--bg-surface); border: 1px solid var(--line); border-radius: var(--r); padding: 36px;
}
.lic h2 { margin-bottom: 10px; }
.lic-sub { margin: 22px 0 0; font-size: .95rem; }
.lic-cta { text-align: center; }
@media (max-width: 900px) { .lic { grid-template-columns: 1fr; padding: 26px; } }

/* ---------- Product screenshots ------------------------------------------ */
/* Built by productSections() in site-src/build.mjs; every .shot opens full size (site.js). */

.shot {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    background: var(--bg-surface);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .45);
    cursor: zoom-in;
}
.shot img { display: block; width: 100%; height: auto; transition: transform .5s var(--ease); }
.shot:hover img { transform: scale(1.012); }
.shot:focus-visible { outline: 2px solid var(--br-400); outline-offset: 3px; }

.shot-fig { margin: 0; }
.shot-fig figcaption { margin-top: 10px; font-size: .84rem; color: var(--tx-tertiary); line-height: 1.5; }
.shot-fig figcaption b { color: var(--tx-primary); font-weight: 600; margin-right: 2px; }
.shot-narrow { max-width: 340px; margin-inline: auto; }
.shot-wide .shot, .hero-shot .shot { box-shadow: 0 36px 90px rgba(0, 0, 0, .6); }
.shot-strip { margin-top: 44px; }
.shot-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 16px; }
.shot-thumbs .shot { box-shadow: none; }

.showcase { grid-template-columns: .85fr 1.15fr; }
.showcase.flip { grid-template-columns: 1.15fr .85fr; }
.showcase.flip > :first-child { order: 2; }
@media (max-width: 900px) {
    .showcase, .showcase.flip { grid-template-columns: 1fr; }
    .showcase.flip > :first-child { order: 0; }
}
.lede-sm { font-size: 1.02rem; line-height: 1.6; color: var(--tx-secondary); }

.callouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.callouts div { border-top: 1px solid var(--line); padding-top: 12px; }
.callouts b { display: block; font-size: .92rem; color: var(--tx-primary); font-weight: 600; }
.callouts span { font-size: .84rem; color: var(--tx-tertiary); }
@media (max-width: 760px) { .callouts { grid-template-columns: 1fr 1fr; } }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 28px; }
/* One shape for every picture in a gallery, so captions line up across a row. */
.gallery .shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

.features.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .features.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .features.cols-4 { grid-template-columns: 1fr; } }

.flist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.flist h4 { font-size: .95rem; margin: 0; color: var(--tx-primary); }
.flist .checklist { margin-top: 12px; }
.flist .checklist li { font-size: .86rem; }
@media (max-width: 1000px) { .flist { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flist { grid-template-columns: 1fr; } }

.footer-legal { margin: 16px 0 0; font-size: .76rem; line-height: 1.55; color: var(--tx-tertiary); max-width: 92ch; }

/* Full-size screenshot viewer. */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 20px;
    background: rgba(5, 6, 7, .93);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 130px); width: auto; height: auto; border: 1px solid var(--line); border-radius: var(--r); }
.lightbox figcaption { margin-top: 12px; color: var(--tx-secondary); font-size: .9rem; text-align: center; max-width: 80ch; }
.lightbox-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--bg-raised);
    color: var(--tx-primary);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}
html.lb-open { overflow: hidden; }

/* A product hero with a real screenshot gives the picture the larger column. */
.hero-grid-shot { grid-template-columns: .85fr 1.15fr; gap: 48px; }
@media (max-width: 900px) { .hero-grid-shot { grid-template-columns: 1fr; } }

/* ---------- Home: the product line ---------------------------------------- */

/* Hero: the cloud app large on top, the two desktop apps side by side under it. */
.hero-trio { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-trio > a:first-child { grid-column: 1 / -1; }
.hero-trio .shot img { aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; }
.shot { position: relative; }
.shot-link { cursor: pointer; }
.shot-label {
    position: absolute; left: 10px; bottom: 10px;
    padding: 4px 10px; border-radius: 999px;
    background: rgba(10, 11, 12, .82); border: 1px solid var(--line);
    color: var(--tx-primary); font-size: .74rem; font-weight: 600; letter-spacing: .01em;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.showcase h2 + .pcard-tag { margin-top: 6px; }

.more-strip {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    padding: 22px 24px; border: 1px dashed var(--line); border-radius: var(--r);
}
.more-strip > div:not(.pcard-icon) { flex: 1 1 280px; }
.more-strip h3 { margin: 0 0 4px; font-size: 1.05rem; }
.more-strip p { margin: 0; font-size: .9rem; color: var(--tx-secondary); }

/* ---------- Pricing page ------------------------------------------------- */

.price-jump { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.price-jump a {
    display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px;
    border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-surface);
    color: var(--tx-primary); transition: border-color .2s var(--ease);
}
.price-jump a:hover { border-color: var(--br-500); }
.price-jump .pcard-icon { width: 36px; height: 36px; }
.price-jump .pcard-icon svg { width: 18px; height: 18px; }
.price-jump span { display: flex; flex-direction: column; line-height: 1.25; }
.price-jump b { font-size: .92rem; font-weight: 600; }
.price-jump i { font-style: normal; font-size: .76rem; color: var(--tx-tertiary); }

.price-section { scroll-margin-top: 72px; }
.price-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 36px; flex-wrap: wrap; }
.price-head > div:not(.pcard-icon) { flex: 1 1 360px; }
.price-head h2 { margin: 0 0 8px; }
.price-head p:not(.eyebrow) { margin: 0; color: var(--tx-secondary); max-width: 68ch; }
.price-head .btn { align-self: center; }

.price-extra {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r);
}
.price-extra > div { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; }
.price-extra b { color: var(--tx-primary); }
.price-extra span { font-size: .86rem; color: var(--tx-tertiary); }

.plans-1 { grid-template-columns: minmax(0, 440px); justify-content: center; }
.plans-2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
@media (max-width: 940px) { .plans-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .price-jump a { width: 100%; } }
