/* =============================================================================
   MyInventory.Link public site
   -----------------------------------------------------------------------------
   One stylesheet, no framework. Written for the apex domain only; the dealer
   portal and the admin console keep their own dark theme.

   The look: warm paper, ink text, one brand plum, hairline rules, and a
   monospace used for labels and data the way a spec sheet uses it. Structure
   comes from the grid and the rules, not from boxes and shadows.
   ============================================================================= */

/* ---- fonts (self hosted, latin subset) ---------------------------------- */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/archivo-500.woff2) format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/archivo-600.woff2) format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/archivo-700.woff2) format('woff2'); }
@font-face { font-family: 'Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/plexsans-400.woff2) format('woff2'); }
@font-face { font-family: 'Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/plexsans-500.woff2) format('woff2'); }
@font-face { font-family: 'Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/plexsans-600.woff2) format('woff2'); }
@font-face { font-family: 'Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/plexmono-400.woff2) format('woff2'); }
@font-face { font-family: 'Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/plexmono-500.woff2) format('woff2'); }

/* ---- tokens ------------------------------------------------------------- */
:root {
    --ink:        #15141B;
    --ink-2:      #3D3B4A;
    --ink-3:      #64616F;
    --paper:      #F6F4EF;
    --paper-2:    #EFEBE3;
    --surface:    #FFFFFF;
    --rule:       #DFD9CC;
    --rule-soft:  #EAE5DA;
    --plum:       #4A3A7C;
    --plum-deep:  #241634;
    --plum-ink:   #33265C;
    --plum-wash:  #F0ECF8;
    --green:      #1F6B4A;
    --amber:      #8A5A17;

    /* The console's own numbers, so the rail reads as the same product. */
    --rail: 252px;
    --rail-bg: #170B29;
    --rail-line: rgba(90, 71, 150, 0.20);
    --rail-text: #A79BC8;
    --rail-text-on: #F1EDFA;
    --rail-hover: rgba(90, 71, 150, 0.20);
    --rail-on-1: #5A4796;
    --rail-on-2: #48397A;
    --top-h: 66px;

    --wrap: 1060px;
    --gut: 34px;

    --sans: 'Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --display: 'Archivo', 'Plex Sans', -apple-system, Helvetica, Arial, sans-serif;
    --mono: 'Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---- reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { height: auto; border: 0; }

h1, h2, h3, h4 {
    font-family: var(--display);
    text-wrap: balance;
    font-weight: 600;
    letter-spacing: -0.021em;
    line-height: 1.12;
    margin: 0;
    color: var(--ink);
}

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--plum); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }

::selection { background: #DED4F4; color: var(--ink); }

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: 12px 18px;
    z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

/* ---- layout primitives -------------------------------------------------- */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gut);
}

.section { padding: 76px 0; }
.section--tight { padding: 52px 0; }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--surface); }
.section + .section--white,
.section--white + .section { border-top: 1px solid var(--rule); }

/* A small mono label above a heading. Numbered where the page is a sequence. */
.eyebrow {
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
}
.eyebrow::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--rule);
}
.eyebrow--plain::after { display: none; }

.lede {
    font-size: 19px;
    line-height: 1.62;
    color: var(--ink-2);
    max-width: 62ch;
}

.measure { max-width: 66ch; }

/* ---- shell: a fixed rail, and the page beside it ------------------------ */
.shell { min-height: 100vh; }

.side {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--rail);
    background: var(--rail-bg);
    border-right: 1px solid var(--rail-line);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 60;
}

.side-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 22px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.side-brand img { width: 100%; max-width: 176px; height: auto; display: block; }
.side-brand:hover { text-decoration: none; }

.side-nav { flex: 1; padding: 16px 12px 8px; }

.side-sec {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8A7DB2;
    margin: 0;
    padding: 16px 10px 7px;
}
.side-sec:first-child { padding-top: 2px; }

.side-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--rail-text);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.side-item:hover { background: var(--rail-hover); color: var(--rail-text-on); text-decoration: none; }

.side-ico { width: 18px; height: 18px; flex: none; color: #7E71A6; transition: color .15s ease; }
.side-ico svg { display: block; width: 100%; height: 100%; }
.side-item:hover .side-ico { color: #B3A6DC; }

.side-item.is-on {
    background: linear-gradient(135deg, var(--rail-on-1), var(--rail-on-2));
    color: #fff;
    box-shadow: 0 6px 18px rgba(90, 71, 150, .30);
}
.side-item.is-on .side-ico { color: #fff; }

.side-foot { padding: 14px 16px 20px; border-top: 1px solid rgba(255, 255, 255, .07); }

.side-call { display: block; padding: 4px 0 12px; }
.side-call:hover { text-decoration: none; }
.side-call-k {
    display: block;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8A7DB2;
    margin-bottom: 3px;
}
.side-call-v { display: block; font-size: 16px; font-weight: 600; color: #E5DEF6; letter-spacing: -0.01em; }
.side-call:hover .side-call-v { color: #fff; }

.side-signin {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(180, 165, 226, .32);
    border-radius: 9px;
    color: #D9D1F0;
    font-size: 13.5px;
    font-weight: 600;
}
.side-signin:hover { background: rgba(255, 255, 255, .07); border-color: rgba(180, 165, 226, .55); color: #fff; text-decoration: none; }

.scrim {
    position: fixed;
    inset: 0;
    background: rgba(15, 8, 26, .55);
    z-index: 55;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.scrim.is-on { opacity: 1; pointer-events: auto; }

.main {
    margin-left: var(--rail);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---- topbar ------------------------------------------------------------- */
.top {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--top-h);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 var(--gut);
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
}

.top-brand { display: none; }
.top-brand img { width: 136px; height: auto; display: block; }

.top-title { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.top-eyebrow {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ink-3);
    line-height: 1.4;
}
.top-name {
    font-family: var(--display);
    font-size: 16.5px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ink);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }

.top-burger {
    display: none;
    width: 40px;
    height: 36px;
    border: 1px solid var(--rule);
    background: var(--surface);
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex: none;
}
.top-burger span, .top-burger span::before, .top-burger span::after {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--ink);
    content: "";
    position: relative;
}
.top-burger span::before { position: absolute; top: -5px; }
.top-burger span::after { position: absolute; top: 5px; }

/* ---- buttons ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    padding: 13px 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-ink); color: #fff; }

.btn-quiet {
    background: transparent;
    border-color: var(--rule);
    color: var(--ink);
}
.btn-quiet:hover { border-color: var(--ink-3); background: var(--surface); }

.btn-sm { padding: 9px 15px; font-size: 14px; }

.btn-on-dark { background: #fff; color: var(--plum-deep); }
.btn-on-dark:hover { background: #EDE9F6; color: var(--plum-deep); }
.btn-ghost-dark { border-color: rgba(255,255,255,.34); color: #EFEBF7; }
.btn-ghost-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* A link that reads as an action without being a button. */
.tlink {
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.tlink::after { content: "\2192"; font-family: var(--mono); transition: transform .15s ease; }
.tlink:hover::after { transform: translateX(3px); }

/* ---- hero --------------------------------------------------------------- */
.hero { padding: 82px 0 64px; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 64px;
    /* The example record is taller than the copy beside it. Centred, the two
       read as one composition; top aligned, the left column trailed off into a
       block of empty paper. */
    align-items: center;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: -0.028em;
    line-height: 1.04;
    margin-bottom: 22px;
}

.hero .lede { font-size: 19.5px; }

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-note {
    margin-top: 26px;
    font-size: 14px;
    color: var(--ink-3);
    display: flex;
    align-items: center;
    gap: 9px;
}
.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    flex: none;
    box-shadow: 0 0 0 3px rgba(31, 107, 74, .14);
}

/* ---- the feed artifact (a drawn example, not a screenshot) -------------- */
.artifact {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(21, 20, 27, .04), 0 18px 40px -28px rgba(21, 20, 27, .35);
}

.artifact-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: var(--plum-deep);
    color: #EDE8F8;
    font-family: var(--mono);
    font-size: 12px;
}
.artifact-bar .u { color: #B9AEDA; }
.artifact-bar .tag {
    margin-left: auto;
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #A79BD0;
}

.artifact-body {
    font-family: var(--mono);
    font-size: 12.6px;
    line-height: 1.75;
    padding: 16px 18px;
    margin: 0;
    overflow-x: auto;
    color: var(--ink-2);
    white-space: pre;
}
.artifact-body .k { color: var(--plum); }
.artifact-body .s { color: #7A4A1F; }
.artifact-body .n { color: #1F5F52; }

.artifact-foot {
    border-top: 1px solid var(--rule-soft);
    padding: 11px 16px;
    font-size: 12.5px;
    color: var(--ink-3);
    display: flex;
    gap: 8px;
    align-items: center;
    background: #FCFBF9;
}

/* ---- fact strip --------------------------------------------------------- */
.facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.fact { padding: 26px 26px 26px 0; }
.fact + .fact { padding-left: 26px; border-left: 1px solid var(--rule); }
.fact-n {
    font-family: var(--display);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    display: block;
    line-height: 1.1;
}
.fact-l { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; display: block; line-height: 1.45; }

/* ---- generic grids ------------------------------------------------------ */
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }

.split {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

/* ---- product cards ------------------------------------------------------ */
.plist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }

.pcard {
    padding: 32px 34px 30px 0;
    border-top: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.plist .pcard:nth-child(even) { padding-left: 34px; border-left: 1px solid var(--rule); }

.pcard h3 { font-size: 21px; margin-bottom: 10px; }
.pcard p { font-size: 15.5px; color: var(--ink-2); margin-bottom: 16px; }
.pcard .tlink { margin-top: auto; }

.picon {
    width: 30px;
    height: 30px;
    margin-bottom: 16px;
    color: var(--plum);
}
.picon svg { display: block; width: 100%; height: 100%; }

/* ---- steps -------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.step { position: relative; padding-top: 20px; border-top: 2px solid var(--plum); }
.step::before {
    counter-increment: step;
    content: "0" counter(step);
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .12em;
    color: var(--plum);
    display: block;
    margin-bottom: 10px;
}
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-2); }

/* ---- spec table --------------------------------------------------------- */
.spec { width: 100%; border-collapse: collapse; }
.spec caption {
    text-align: left;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-3);
    padding-bottom: 12px;
}
.spec th, .spec td {
    text-align: left;
    padding: 13px 18px 13px 0;
    border-bottom: 1px solid var(--rule-soft);
    font-size: 15.5px;
    vertical-align: top;
}
.spec th {
    font-family: var(--sans);
    font-weight: 600;
    width: 34%;
    color: var(--ink);
}
.spec td { color: var(--ink-2); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }

/* ---- ticked list -------------------------------------------------------- */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
    position: relative;
    padding: 0 0 12px 26px;
    font-size: 15.5px;
    color: var(--ink-2);
    line-height: 1.55;
}
.ticks li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 8px;
    width: 8px;
    height: 8px;
    border-left: 1.6px solid var(--plum);
    border-bottom: 1.6px solid var(--plum);
    transform: rotate(-45deg);
}
.ticks strong { color: var(--ink); font-weight: 600; }

/* ---- quiet panels ------------------------------------------------------- */
.panel {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 30px 32px;
}
.panel--wash { background: var(--plum-wash); border-color: #DDD3F0; }

.note {
    font-size: 14.5px;
    color: var(--ink-3);
    line-height: 1.6;
}

/* ---- dark call to action ------------------------------------------------ */
.cta {
    background: var(--plum-deep);
    color: #EFEBF7;
}
.cta h2 { color: #fff; font-size: clamp(27px, 3.4vw, 36px); margin-bottom: 14px; }
.cta p { color: #C4BADF; max-width: 58ch; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- page head ---------------------------------------------------------- */
.phead { padding: 62px 0 42px; border-bottom: 1px solid var(--rule); }
.phead h1 { font-size: clamp(33px, 4.3vw, 46px); margin-bottom: 18px; letter-spacing: -0.026em; }
.phead .lede { font-size: 18.5px; }

.crumbs {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 16px;
}
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { padding: 0 8px; opacity: .55; }

/* ---- prose (legal and long form) --------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 {
    font-size: 22px;
    margin: 44px 0 14px;
    padding-top: 22px;
    border-top: 1px solid var(--rule);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 17.5px; margin: 26px 0 10px; }
.prose p, .prose li { font-size: 16px; color: var(--ink-2); line-height: 1.68; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.3em; }
.prose th, .prose td { text-align: left; padding: 11px 16px 11px 0; border-bottom: 1px solid var(--rule-soft); font-size: 15px; vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); width: 30%; }

.legal-meta {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-3);
    letter-spacing: .04em;
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rule);
}

/* ---- faq ---------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 40px 20px 0;
    font-family: var(--display);
    font-weight: 600;
    font-size: 17.5px;
    position: relative;
    color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 6px;
    top: 17px;
    font-family: var(--mono);
    font-size: 20px;
    font-weight: 400;
    color: var(--ink-3);
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 60px 22px 0; }
.faq details p { font-size: 15.5px; color: var(--ink-2); }

/* ---- forms -------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 13px; color: var(--ink-3); }

.field input, .field select, .field textarea {
    font-family: var(--sans);
    font-size: 15.5px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 11px 13px;
    width: 100%;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--plum);
    box-shadow: 0 0 0 3px rgba(74, 58, 124, .12);
}
.field input::placeholder, .field textarea::placeholder { color: #A9A4B4; }

.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }

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

.alert {
    border: 1px solid var(--rule);
    border-left: 3px solid var(--plum);
    background: var(--surface);
    padding: 15px 18px;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 26px;
}
.alert--good { border-left-color: var(--green); }
.alert--bad { border-left-color: #9A3B3B; }

/* ---- contact detail list ------------------------------------------------ */
.detail { border-top: 1px solid var(--rule); }
.detail div {
    display: flex;
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid var(--rule-soft);
    font-size: 15.5px;
}
.detail dt {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-3);
    width: 108px;
    flex: none;
    padding-top: 3px;
}
.detail dd { margin: 0; color: var(--ink-2); }

/* ---- footer ------------------------------------------------------------- */
.foot {
    margin-top: auto;
    background: var(--paper-2);
    border-top: 1px solid var(--rule);
    padding: 46px 0 26px;
    font-size: 14.5px;
    color: var(--ink-2);
}

.foot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr);
    gap: 34px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--rule);
}

.foot .foot-h {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin: 0 0 13px;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot a { color: var(--ink-2); }
.foot a:hover { color: var(--ink); }

.foot-phone { margin: 0 0 8px; }
.foot-phone a {
    font-family: var(--display);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.foot-note { font-size: 13.5px; color: var(--ink-3); line-height: 1.6; margin: 0; }

.foot-base {
    padding-top: 22px;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ink-3);
}
.foot-base p { margin: 0; }

/* ---- responsive --------------------------------------------------------- */
@media (max-width: 1180px) {
    :root { --rail: 232px; --gut: 28px; }
    .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 30px; }
    .split { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .cta-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
}

/* Below this the rail comes off the page and slides in when it is called for.
   The topbar picks up the burger and the wordmark, which the rail was carrying. */
@media (max-width: 900px) {
    :root { --gut: 22px; }
    body { font-size: 16.5px; }

    .side {
        transform: translateX(-100%);
        transition: transform .22s ease;
        width: 276px;
        box-shadow: none;
    }
    .side.is-open { transform: translateX(0); box-shadow: 0 0 60px rgba(10, 5, 20, .5); }
    .main { margin-left: 0; }

    .top-burger { display: flex; }
    .top-brand { display: block; }
    .top-title { display: none; }
    .top-hide-sm { display: none; }

    .section { padding: 52px 0; }
    .hero { padding: 38px 0 42px; }
    .hero .lede, .lede { font-size: 17.5px; }
    .hero-note { align-items: flex-start; }
    .hero-note .dot { margin-top: 8px; }

    .cols-2, .cols-3, .cols-4 { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .plist { grid-template-columns: minmax(0, 1fr); }
    .plist .pcard:nth-child(even) { padding-left: 0; border-left: 0; }
    .pcard { padding-right: 0; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fact { padding: 20px 18px 20px 0; }
    .fact + .fact { padding-left: 18px; }
    .facts .fact:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
    .facts .fact:nth-child(4) { border-top: 1px solid var(--rule); }
    .form-grid { grid-template-columns: minmax(0, 1fr); }
    .steps { grid-template-columns: minmax(0, 1fr); }
    .detail dt { width: 92px; }
    .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .hero h1 { font-size: 33px; }
    .hero-actions .btn, .form-actions .btn, .cta-actions .btn { width: 100%; }
    .cta-actions { width: 100%; }
    .facts { grid-template-columns: minmax(0, 1fr); }
    .fact, .fact + .fact { padding: 18px 0; border-left: 0; }
    .facts .fact + .fact { border-top: 1px solid var(--rule); }
    .detail div { flex-direction: column; gap: 4px; }
    .detail dt { width: auto; }
    .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .top-brand img { width: 118px; }
}

@media print {
    .masthead, .cta, .foot, .navtoggle { display: none; }
    body { background: #fff; font-size: 12pt; }
}
