/* ==========================================================================
   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); }
.brand svg { width: 26px; height: 26px; display: block; }

.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; }
    .nav.open .nav-links,
    .nav.open .nav-cta {
        display: flex;
        position: absolute;
        left: 0;
        right: 0;
        top: 64px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: var(--bg-overlay);
        border-bottom: 1px solid var(--line);
        padding: 14px 24px;
    }
    .nav.open .nav-cta { top: auto; border-bottom: none; padding-top: 0; }
    .nav.open .nav-links a { padding: 10px 0; }
    .nav.open .nav-cta .btn { width: 100%; padding: 12px; }
}

/* ---------- 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;
}
