/* yeptelcosoft.com. Palette and artwork: brand/README.md. */

@font-face {
    font-family: "Lexend";
    src: url("/assets/fonts/lexend-latin.woff2") format("woff2");
    font-weight: 300 700;
    font-display: swap;
}

:root {
    --yellow: #FCC000;
    --yellow-hover: #FFD033;
    --ground: #0D1217;      /* dark surfaces, behind the logo */
    --ink: #10141A;         /* the logo ink: text on light */
    --panel: #141A22;       /* cards on dark */
    --panel-line: #222A35;
    --paper: #FBFBF9;
    --paper-2: #F2F3EF;     /* light section behind white cards */
    --text: #2A313B;
    --muted: #5A6472;       /* 5.9:1 on paper */
    --muted-dark: #9AA5B4;  /* 7.6:1 on ground */
    --gold-text: #7A5800;   /* the yellow as text on light, 6.5:1 */
    --cut: 22px;            /* the 45-degree chamfer of the e and p */
    --wrap: 1180px;
    --gutter: 20px;
    --font: "Lexend", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    font-weight: 350;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); text-wrap: balance; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0; }
code, pre { font-family: var(--mono); }
strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 14px; background: var(--yellow); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- buttons ------------------------------------------------------------ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px; border: 1.5px solid transparent;
    font: inherit; font-size: 0.95rem; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
    transition: background-color .15s, color .15s, border-color .15s;
    cursor: pointer;
}
.btn-sm { padding: 9px 16px; font-size: 0.875rem; }
.btn-lg { padding: 18px 28px; font-size: 1.05rem; }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-hover); }
.btn-ghost { border-color: #3A4452; color: #fff; }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #232B36; }

.eyebrow {
    display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
    font-size: 0.78rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-dark);
}
/* the Y's wedge, as a marker */
.eyebrow::before { content: ""; width: 18px; height: 12px; background: var(--yellow); clip-path: polygon(0 0, 62% 0, 100% 42%, 52% 100%); flex: none; }
.eyebrow-dark { color: var(--muted); }

/* ---- header ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 18, 23, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--panel-line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { width: auto; height: 46px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { color: #C9D1DB; text-decoration: none; font-size: 0.95rem; font-weight: 400; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--yellow); }
.nav-toggle { display: none; }
.header-cta { display: none; }
@media (max-width: 1100px) { .site-nav { gap: 22px; } }

/* ten links and the button need about 1060px; below that the menu folds */
@media (max-width: 1060px) {
    .header-row { height: 64px; }
    .header-cta { display: inline-flex; margin-left: auto; margin-right: 6px; padding: 8px 12px; font-size: 0.82rem; }
    .brand img { height: 38px; }
    .nav-toggle {
        display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px;
        background: none; border: 0; color: #fff; cursor: pointer;
    }
    .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
    .nav-toggle-bars { position: relative; }
    .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
    .nav-toggle-bars::before { top: -7px; }
    .nav-toggle-bars::after { top: 7px; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
    .site-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px;
        background: var(--ground); border-bottom: 1px solid var(--panel-line);
        display: none;
    }
    .site-nav.open { display: flex; }
    .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--panel-line); font-size: 1.05rem; }
    .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--yellow); padding-left: 14px; }
    .site-nav .btn { margin-top: 18px; }
}

/* ---- hero --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--ground); color: #D5DCE5; padding: 72px 0 56px; }
/* the slash of the Y, very large and very quiet */
.hero-slash { position: absolute; top: -10%; right: -6%; width: 46%; height: 130%; background: linear-gradient(180deg, #131A22, #10161D); transform: skewX(-45deg); transform-origin: top right; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 1.3rem + 3.6vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.lede { margin-top: 24px; max-width: 34em; font-size: 1.15rem; color: #C2CAD5; }
.lede strong { color: #fff; }
.lede a { color: #fff; text-decoration-color: var(--yellow); text-underline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.plan { margin: 0; background: var(--panel); border-top: 3px solid var(--yellow); clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); font-size: 0.8rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.plan-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 20px 14px 30px; border-bottom: 1px solid var(--panel-line); font-family: var(--mono); color: var(--muted-dark); }
.plan-node { color: #fff; }
.plan-arrow { width: 28px; height: 1.5px; background: var(--yellow); position: relative; }
.plan-arrow::after { content: ""; position: absolute; right: -1px; top: -3.5px; border: 4px solid transparent; border-left: 6px solid var(--yellow); border-right: 0; }
.plan-method { margin-left: auto; color: var(--yellow); }
.plan-code { margin: 0; padding: 16px 20px; overflow-x: auto; color: #D5DCE5; line-height: 1.55; font-size: inherit; }
.plan-status { padding: 8px 20px; border-top: 1px solid var(--panel-line); border-bottom: 1px solid var(--panel-line); font-family: var(--mono); color: var(--muted-dark); background: #10161D; }
.plan-status .ok { color: #4ADE80; margin-right: 6px; }
/* a numbered list in a plan panel, for pages that explain rather than show code */
.plan-steps { margin: 0; padding: 8px 20px 12px; list-style: none; counter-reset: step; font-size: 0.92rem; }
.plan-steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--panel-line); }
.plan-steps li:last-child { border-bottom: 0; }
.plan-steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font-family: var(--mono); font-size: 0.8rem; color: var(--yellow); padding-top: 2px; }
.plan-steps b { font-weight: 500; color: #fff; }
.plan-steps span { color: var(--muted-dark); font-size: 0.85rem; }
.plan .k { color: #9CC3FF; }
.plan .s { color: #FFD866; }
.plan .n { color: #F5A97F; }
.plan .c { color: #6B7686; }

/* The home hero diagram: voice and SMS traffic left to right, YepBoss between
   the two products as the control plane. Columns are symmetric, so the centre
   of the grid is the centre of the product column, where the links run. */
.infra-grid { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1.25fr) 30px minmax(0, 1fr); align-items: center; padding: 28px 22px 8px; }
.infra-node { display: grid; gap: 3px; padding: 11px 12px; border: 1px solid var(--panel-line); background: #10161D; font-size: 0.74rem; line-height: 1.35; color: var(--muted-dark); }
.infra-node b { font-size: 0.82rem; font-weight: 500; color: #fff; }
.infra-product { justify-items: center; padding: 14px 10px 12px; text-align: center; background: var(--ground); border-color: #3A4554; color: #C2CAD5; text-decoration: none; transition: border-color .15s; }
.infra-product img { width: auto; height: 19px; margin-bottom: 5px; }
.infra-product:hover, .infra-product:focus-visible { border-color: var(--yellow); }
.infra-core { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(252, 192, 0, .1); }
.infra-wire { position: relative; height: 1.5px; background: var(--yellow); }
.infra-wire::after { content: ""; position: absolute; right: -1px; top: -3.5px; border: 4px solid transparent; border-left: 6px solid var(--yellow); border-right: 0; }
.infra-ctl { height: 0; background: none; border-top: 1.5px dashed var(--muted-dark); }
.infra-ctl::after { top: -5px; border-left-color: var(--muted-dark); }
.infra-link { grid-column: 1 / -1; position: relative; height: 50px; }
.infra-link::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1.5px dashed var(--muted-dark); }
.infra-link span { position: absolute; left: calc(50% + 12px); top: 50%; max-width: calc(50% - 12px); transform: translateY(-50%); font-family: var(--mono); font-size: 0.7rem; line-height: 1.3; color: var(--muted-dark); }
.infra-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 16px 22px 18px; font-size: 0.72rem; color: var(--muted-dark); }
.infra-key { display: flex; align-items: center; gap: 8px; }
.infra-key::before { content: ""; width: 22px; border-top: 1.5px solid var(--yellow); }
.infra-key-ctl::before { border-top: 1.5px dashed var(--muted-dark); }
@media (prefers-reduced-motion: no-preference) {
    /* A packet crossing each traffic wire. */
    .infra-wire:not(.infra-ctl)::before { content: ""; position: absolute; top: -2px; left: 0; width: 5px; height: 5px; background: #fff; animation: infra-packet 2.4s linear infinite; }
    .infra-grid > .infra-wire:nth-child(4)::before, .infra-grid > .infra-wire:nth-last-child(2)::before { animation-delay: 1.2s; }
}
@keyframes infra-packet { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 5px); opacity: 0; } }
@media (max-width: 520px) {
    .infra-grid { grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1.3fr) 14px minmax(0, 1fr); padding: 22px 14px 4px; }
    .infra-node { padding: 9px 8px; }
    .infra-node:not(.infra-product) span { display: none; }
    .infra-node b { font-size: 0.74rem; }
    .infra-product { padding: 11px 6px 9px; font-size: 0.68rem; }
    .infra-product img { height: 15px; }
    .infra-legend { padding: 14px 14px 16px; }
}

.audience { position: relative; display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 64px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--panel-line); font-size: 0.9rem; color: var(--muted-dark); }
.audience li { display: flex; align-items: center; gap: 10px; }
.audience li::before { content: ""; width: 7px; height: 7px; background: var(--yellow); }

@media (max-width: 960px) {
    .hero { padding-top: 52px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .plan { font-size: 0.74rem; }
    .hero-slash { width: 70%; right: -30%; opacity: .7; }
}

/* ---- sections ----------------------------------------------------------- */
.section { padding: 104px 0; }
.section-light { background: var(--paper-2); }
.section-light h2 { max-width: 18em; }
.section-dark { background: var(--ground); color: #C2CAD5; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-lede { margin-top: 18px; max-width: 40em; font-size: 1.1rem; color: var(--muted); }
.section-dark .section-lede { color: var(--muted-dark); }
@media (max-width: 760px) { .section { padding: 72px 0; } }

/* ---- products ----------------------------------------------------------- */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 52px; }
.product { display: flex; flex-direction: column; padding: 36px 36px 32px; background: #fff; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.product-head { display: flex; align-items: center; gap: 18px; }
.product-icon { width: 56px; height: 56px; flex: none; }
.product-logo { width: auto; height: 34px; }
.product-kind { margin-top: 8px; font-size: 0.74rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.product-lede { margin-top: 26px; color: var(--text); }
.ticks { margin: 26px 0 30px; padding: 0; list-style: none; display: grid; gap: 11px; font-size: 0.95rem; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 8px; height: 8px; background: var(--yellow); }
/* the bullets borrow each product's icon: signalling lines for the SBC, squares for Boss, a bubble for Msg, a shield for Shield, a handset for PBX */
.product-sbc .ticks li::before { left: 0; top: 0.62em; width: 16px; height: 4px; clip-path: polygon(4px 0, 100% 0, 100% 100%, 0 100%); }
.product-boss .ticks li::before { width: 8px; height: 8px; top: 0.5em; left: 4px; }
.product-msg .ticks li::before { width: 12px; height: 12px; top: 0.4em; left: 2px; clip-path: polygon(40% 0, 100% 0, 100% 72%, 28% 72%, 0 100%, 0 40%); }
.product-shield .ticks li::before { width: 12px; height: 13px; top: 0.38em; left: 2px; clip-path: polygon(3px 0, 100% 0, 100% 56%, 50% 100%, 0 56%, 0 3px); }
.product-pbx .ticks li::before { width: 13px; height: 13px; top: 0.38em; left: 2px; clip-path: polygon(69.6% 0, 100% 30.4%, 81.1% 49.3%, 65.1% 33.3%, 33.3% 65.1%, 49.3% 81.1%, 30.4% 100%, 0 69.6%); }
.link-arrow { margin-top: auto; align-self: flex-start; font-weight: 500; color: var(--gold-text); text-decoration: none; border-bottom: 1.5px solid var(--yellow); padding-bottom: 2px; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--ink); }
/* the fifth card takes the whole row, its bullets in two columns */
@media (min-width: 901px) {
    .product-pbx { grid-column: 1 / -1; }
    .product-pbx .product-lede { max-width: 46em; }
    .product-pbx .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (max-width: 1080px) { .product { padding: 30px 26px 28px; } }
@media (max-width: 900px) {
    .products { grid-template-columns: 1fr; }
    .product { padding: 30px 24px 28px; }
}

/* ---- how it works ------------------------------------------------------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 56px 0 0; padding: 0; list-style: none; }
.step { position: relative; padding: 28px 28px 8px 0; border-top: 1px solid var(--panel-line); }
.step::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 3px; background: var(--yellow); }
.step-num { display: block; margin-bottom: 18px; font-family: var(--mono); font-size: 0.85rem; color: var(--yellow); }
.step p { margin-top: 10px; font-size: 0.95rem; color: var(--muted-dark); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps-title { margin-top: 72px; font-size: 1.3rem; }
.steps-title + .steps { margin-top: 28px; }

.contract { margin-top: 72px; padding: 36px; background: var(--panel); clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.contract-copy { max-width: 50em; }
.contract-copy p { margin-top: 12px; color: var(--muted-dark); font-size: 0.97rem; }
.contract-lists { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 28px; }
.contract-lists h4 { margin: 0 0 10px; font-family: var(--mono); font-size: 0.78rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow); }
.endpoints { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--panel-line); }
.endpoints li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 13px 16px; background: #10161D; }
.endpoints code { color: var(--yellow); font-size: 0.85rem; }
.endpoints span { color: var(--muted-dark); font-size: 0.85rem; }
@media (max-width: 900px) { .contract { padding: 28px 20px; } .contract-lists { grid-template-columns: 1fr; } }

/* ---- platform ----------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.tile { position: relative; padding: 34px 28px 30px; background: #fff; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.tile::before { content: ""; position: absolute; left: 0; top: 0; width: var(--cut); height: var(--cut); background: var(--yellow); clip-path: polygon(0 0, 100% 0, 0 100%); }
.tile p { margin-top: 12px; font-size: 0.95rem; color: var(--muted); }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tiles { grid-template-columns: 1fr; } }

/* ---- contact ------------------------------------------------------------ */
.contact { background: var(--yellow); color: var(--ink); }
.contact .eyebrow-dark { color: #4A3A00; }
.contact .eyebrow::before { background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.contact-lede { margin-top: 18px; max-width: 32em; font-size: 1.15rem; color: #2B2400; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.contact-card .btn { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.next-steps { counter-reset: next; display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; max-width: 30em; }
.next-steps li { counter-increment: next; position: relative; padding-left: 44px; color: #2B2400; }
.next-steps li::before { content: counter(next, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-family: var(--mono); font-size: 0.85rem; color: var(--ink); border-top: 2px solid var(--ink); padding-top: 2px; }
.next-steps strong { color: var(--ink); }
.contact-alt { margin-top: 28px; color: #2B2400; }
.contact-alt a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }

.lead-form { display: grid; gap: 16px; padding: 32px 30px 26px; background: #fff; color: var(--text); clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .5); }
.lead-form fieldset { margin: 0; padding: 0; border: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 500; color: var(--ink); }
.field input, .field textarea {
    width: 100%; padding: 11px 12px; border: 1.5px solid #CDD1C8; border-radius: 0; background: #fff;
    font: inherit; font-size: 1rem; font-weight: 350; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(252, 192, 0, .45); }
.optional { font-weight: 350; color: var(--muted); }
.intent { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.intent label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid #CDD1C8; font-size: 0.92rem; font-weight: 500; color: var(--ink); cursor: pointer; }
.intent label:has(:checked) { border-color: var(--ink); background: #FFF8DB; }
.intent input, .check input { accent-color: var(--ink); width: 16px; height: 16px; margin: 0; }
.interest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.interest legend { float: left; margin-right: 6px; font-size: 0.88rem; font-weight: 500; color: var(--ink); }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .btn { width: 100%; }
.lead-form .btn:disabled { opacity: .7; cursor: progress; }
.form-note { font-size: 0.8rem; color: var(--muted); }
.form-note a { color: var(--gold-text); }
.form-status:empty { display: none; }
.form-status { font-size: 0.9rem; color: var(--ink); }
.form-status.error { padding: 10px 12px; background: #FDECEC; color: #8A1C1C; }
.form-status a { color: inherit; font-weight: 500; }
@media (max-width: 520px) {
    .lead-form { padding: 26px 18px 20px; }
    .field-row, .intent { grid-template-columns: 1fr; }
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---- footer ------------------------------------------------------------- */
.site-footer { background: var(--ground); color: var(--muted-dark); padding: 56px 0 44px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: start; }
.footer-brand img { width: auto; height: 52px; }
.footer-brand p { margin-top: 14px; }
.footer-brand a { color: #C9D1DB; text-decoration: none; }
.footer-brand a:hover { color: var(--yellow); }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 24px 56px; }
.footer-cols div { display: flex; flex-direction: column; gap: 9px; }
.footer-cols a { color: #C9D1DB; text-decoration: none; }
.footer-cols a:hover { color: var(--yellow); }
.footer-h { margin-bottom: 4px; font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-dark); }
.footer-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--panel-line); font-size: 0.82rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ---- inner pages ------------------------------------------------------- */
.hero-page { padding: 48px 0 88px; }
.hero-narrow { position: relative; }
.hero-narrow h1 { max-width: 15em; }
.hero-logo { width: auto; height: 34px; margin-bottom: 26px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 34px; padding: 0; list-style: none; font-size: 0.82rem; color: var(--muted-dark); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #4A5462; }
.crumbs a { color: var(--muted-dark); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #C9D1DB; }

.section-tight { padding: 56px 0; }
.h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.split .section-lede + .section-lede { margin-top: 14px; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.tiles-lists .ticks { margin: 18px 0 0; gap: 9px; font-size: 0.92rem; }
.tiles-lists .ticks li::before { width: 7px; height: 7px; top: 0.55em; }
.tiles-lists .ticks li { padding-left: 20px; }

.endpoints-flush { background: var(--panel-line); }
.endpoints-flush li { padding: 15px 20px; }

.checklist { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--panel-line); clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.checklist li { padding: 20px 24px; background: var(--panel); color: var(--muted-dark); font-size: 0.95rem; }
.checklist strong { display: block; margin-bottom: 4px; color: #fff; font-weight: 500; }

.spec { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.92rem; }
.spec th, .spec td { padding: 14px 18px; border-bottom: 1px solid #E4E6E0; text-align: left; vertical-align: top; }
.spec th { width: 34%; font-weight: 500; color: var(--ink); }
.spec td { color: var(--text); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
    .spec th, .spec td { display: block; width: auto; }
    .spec th { padding-bottom: 2px; border-bottom: 0; }
    .spec td { padding-top: 0; }
}

.panels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.panel { padding: 28px 24px; background: var(--panel); border-top: 3px solid var(--yellow); }
.panel p { margin-top: 10px; font-size: 0.93rem; color: var(--muted-dark); }
.panel a { color: #fff; }
.fit .ticks a { color: var(--gold-text); }
.fit .price { margin-top: 12px; font-size: 1.7rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.fit .price span { font-size: 0.85rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.fit > p:not(.price) { margin-top: 10px; font-size: 0.95rem; color: var(--muted); }
.spec a { color: var(--gold-text); }
.panel .price { margin-top: 14px; font-size: 1.7rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: #fff; }
.panel .price span { font-size: 0.85rem; font-weight: 400; letter-spacing: 0; color: var(--muted-dark); }
.pricing-spec { margin-top: 40px; }
@media (max-width: 1080px) { .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .panels { grid-template-columns: 1fr; } }

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.faq-grid .section-lede { font-size: 1rem; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; font-size: 1.2rem; color: var(--ink); background: var(--yellow); }
.faq details[open] summary::after { content: "−"; }
.faq summary h3 { font-size: 1.02rem; font-weight: 500; line-height: 1.35; }
.faq-a { padding: 0 24px 22px; color: var(--muted); font-size: 0.95rem; }
.faq-a p + p { margin-top: 10px; }
.faq-a a { color: var(--gold-text); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 28px; } }

.standards { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 48px; padding-top: 28px; border-top: 1px solid #DCDFD8; }
.standards-h { font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-block; padding: 6px 12px; background: #fff; border: 1px solid #DCDFD8; font-size: 0.82rem; color: var(--text); text-decoration: none; }
a.chip:hover { border-color: var(--yellow); }

.compare-strip { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.compare-strip a { display: inline-block; padding: 12px 18px; background: #fff; border: 1px solid #DCDFD8; color: var(--ink); font-size: 0.93rem; font-weight: 500; text-decoration: none; }
.compare-strip a::after { content: " →"; color: var(--gold-text); }
.compare-strip a:hover { border-color: var(--yellow); }
.related .compare-strip { margin-top: 0; }
.related .eyebrow { margin-bottom: 14px; }

.table-wrap { overflow-x: auto; }
.compare { width: 100%; margin-top: 40px; border-collapse: collapse; background: #fff; font-size: 0.93rem; }
.compare th, .compare td { padding: 16px 20px; border-bottom: 1px solid #E4E6E0; text-align: left; vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 500; }
.compare thead th:nth-child(2) { color: var(--yellow); }
.compare tbody th { width: 22%; font-weight: 500; color: var(--ink); }
.compare td:nth-child(2) { background: #FFFBEB; }
.compare-levels thead th:nth-child(2) { color: #fff; }
.compare-levels thead th:nth-child(3) { color: var(--yellow); }
.compare-levels td:nth-child(2) { background: none; }
.compare-levels td:nth-child(3) { background: #FFFBEB; }
.compare-levels tbody th { width: 28%; }
@media (max-width: 720px) {
    .compare thead { display: none; }
    .compare, .compare tbody, .compare tr, .compare tbody th, .compare td { display: block; width: auto; }
    .compare tr { border-bottom: 1px solid #E4E6E0; padding: 6px 0; }
    .compare th, .compare td { border: 0; padding: 8px 18px; }
    .compare td::before { content: attr(data-label); display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
}
.note { margin-top: 14px; font-size: 0.82rem; color: var(--muted); }

.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.fit { padding: 32px 30px 28px; background: #fff; }
.fit-ours { border-top: 3px solid var(--yellow); }
.fit:not(.fit-ours) { border-top: 3px solid #C9CDC4; }
.fit .ticks { margin-bottom: 20px; }
.fit .chips { margin-top: auto; }
@media (max-width: 900px) { .fit-grid { grid-template-columns: 1fr; } }

.prose-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.prose-grid h2 { font-size: 1.4rem; }
.prose-grid p { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.sources ul { margin: 14px 0 0; padding-left: 18px; font-size: 0.93rem; }
.sources li + li { margin-top: 6px; }
.sources a { color: var(--gold-text); }
@media (max-width: 960px) { .prose-grid { grid-template-columns: 1fr; gap: 32px; } }

.compare-index { display: grid; gap: 44px; }
.compare-group > p { margin-top: 6px; color: var(--muted); }
.compare-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0 0; padding: 0; list-style: none; }
.compare-links a { display: block; height: 100%; padding: 24px 26px; background: #fff; text-decoration: none; border-top: 3px solid var(--yellow); }
.compare-links strong { display: block; color: var(--ink); font-size: 1.05rem; }
.compare-links strong::after { content: " →"; color: var(--gold-text); }
.compare-links span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 760px) { .compare-links { grid-template-columns: 1fr; } }

.rate-diff { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: inherit; color: #D5DCE5; }
.rate-diff th, .rate-diff td { padding: 9px 14px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--panel-line); }
.rate-diff th:nth-child(2), .rate-diff td:nth-child(2), .rate-diff th:first-child, .rate-diff td:first-child { text-align: left; }
.rate-diff th { color: var(--muted-dark); font-weight: 400; }
.rate-diff td:first-child { color: #9CC3FF; padding-left: 20px; }
.rate-diff .up { color: #F5A97F; }
.rate-diff .down { color: #4ADE80; }
@media (max-width: 520px) { .rate-diff th:nth-child(2), .rate-diff td:nth-child(2) { display: none; } }

/* ---- conversion -------------------------------------------------------- */
.assurance { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 0.85rem; color: var(--muted-dark); }
.assurance li { display: flex; align-items: center; gap: 8px; }
.assurance li::before { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); transform: rotate(-45deg) translateY(-2px); }

.cta-band { background: var(--ink); padding: 34px 0; }
.cta-band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.cta-band-h { color: #fff; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
.cta-band .actions { margin-top: 0; }

.compare-links-1 { grid-template-columns: 1fr; margin-top: 0; }

.prose { max-width: 46em; }
.prose h2 { font-size: 1.35rem; margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 12px; color: var(--text); }
.prose a { color: var(--gold-text); }

/* ---- articles: docs and blog (pages/md.mjs) ----------------------------- */
.hero-doc, .hero-post { padding-bottom: 64px; }
.hero-doc h1, .hero-post h1 { max-width: 22em; font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); }
.hero-doc .lede, .hero-post .lede { max-width: 42em; }
.hero-post .eyebrow a { color: inherit; text-decoration: none; }
.post-meta { margin-top: 22px; font-size: 0.85rem; color: var(--muted-dark); }

.prose h3 { font-size: 1.08rem; margin-top: 28px; }
.prose h4 { margin: 22px 0 0; font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.prose ul, .prose ol { margin: 12px 0 0; padding-left: 1.3em; }
.prose li { margin-top: 6px; padding-left: 0.2em; }
.prose li::marker { color: var(--gold-text); }
.prose ol li::marker { font-weight: 600; font-size: 0.92em; }
.prose code { padding: 0.1em 0.35em; background: var(--paper-2); border: 1px solid #E4E6E0; font-size: 0.86em; overflow-wrap: anywhere; }
.prose pre { margin: 18px 0 0; padding: 18px 20px; overflow-x: auto; background: var(--ground); color: #D5DCE5; font-size: 0.84rem; line-height: 1.55; clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px); }
.prose pre code { padding: 0; background: none; border: 0; font-size: inherit; overflow-wrap: normal; }
.prose .table-wrap { margin-top: 18px; }
.md-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.9rem; }
.md-table th, .md-table td { padding: 10px 14px; border-bottom: 1px solid #E4E6E0; text-align: left; vertical-align: top; }
.md-table thead th { background: var(--ink); color: #fff; font-weight: 500; white-space: nowrap; }
.md-table .a-right { text-align: right; font-variant-numeric: tabular-nums; }
.md-table .a-center { text-align: center; }
.md-note { margin: 20px 0 0; padding: 14px 18px; background: #FFFBEB; border-left: 3px solid var(--yellow); }
.md-note p { margin: 0; font-size: 0.95rem; }
.md-note p + p { margin-top: 8px; }
.prose > h2[id], .prose > h3[id] { scroll-margin-top: 90px; }

.docs-section { padding-top: 56px; }
.docs-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.docs-nav-wide { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; font-size: 0.9rem; }
.docs-nav-mobile { display: none; }
.docs-nav-h { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.docs-nav-h a { color: inherit; text-decoration: none; }
.docs-nav-other { margin-top: 28px; }
.docs-list { margin: 10px 0 0; padding: 0; list-style: none; border-left: 1px solid #DCDFD8; }
.docs-list > li > a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; color: var(--text); text-decoration: none; line-height: 1.35; }
.docs-list > li > a:hover { color: var(--ink); border-left-color: #C9CDC4; }
.docs-list > li > a[aria-current] { border-left-color: var(--yellow); color: var(--ink); font-weight: 500; }
.docs-toc { margin: 2px 0 8px; padding: 0 0 0 26px; list-style: none; font-size: 0.82rem; }
.docs-toc a { display: block; padding: 3px 0; color: var(--muted); text-decoration: none; line-height: 1.35; }
.docs-toc a:hover { color: var(--gold-text); }
.doc { max-width: 48em; }
.doc-foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid #DCDFD8; }
.doc-updated { font-size: 0.85rem; color: var(--muted); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.pager a { display: block; padding: 16px 18px; background: #fff; border: 1px solid #DCDFD8; color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.35; }
.pager a:hover { border-color: var(--yellow); }
.pager span { display: block; margin-bottom: 4px; font-size: 0.74rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.pager-next { text-align: right; grid-column: 2; }
@media (max-width: 960px) {
    .docs-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .docs-nav-wide { display: none; }
    .docs-nav-mobile { display: block; padding: 14px 18px; background: #fff; border: 1px solid #DCDFD8; font-size: 0.92rem; }
    .docs-nav-mobile summary { cursor: pointer; font-weight: 500; color: var(--ink); }
    .docs-nav-mobile[open] summary { margin-bottom: 12px; }
}
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager-next { grid-column: 1; } }

.docs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.docs-card { display: flex; flex-direction: column; padding: 28px 28px 24px; background: #fff; border-top: 3px solid var(--yellow); }
.docs-card-head { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.docs-card-head img { flex: none; width: 40px; height: 40px; }
.docs-card-head b { display: block; font-size: 1.2rem; font-weight: 600; }
.docs-card-head b + span { display: block; font-size: 0.85rem; color: var(--muted); }
.docs-card-list { columns: 2; column-gap: 24px; margin: 20px 0 18px; padding: 0; list-style: none; font-size: 0.9rem; }
.docs-card-list li { break-inside: avoid; padding: 4px 0; }
.docs-card-list a { color: var(--text); text-decoration: none; }
.docs-card-list a:hover { color: var(--gold-text); }
.docs-card .link-arrow { margin-top: auto; }
@media (max-width: 900px) { .docs-cards { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .docs-card-list { columns: 1; } }

.blog-filters { margin-bottom: 32px; }
.chip-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; padding: 26px 26px 28px; background: #fff; border-top: 3px solid var(--yellow); }
.post-card-meta { font-size: 0.8rem; color: var(--muted); }
.post-cat { margin-right: 6px; color: var(--gold-text); font-weight: 500; text-decoration: none; }
.post-card h3 { margin-top: 12px; font-size: 1.15rem; line-height: 1.3; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { color: var(--gold-text); }
.post-card p:last-child { margin-top: 10px; color: var(--muted); font-size: 0.92rem; }
.section-tight .post-grid { margin-top: 18px; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post { max-width: 44em; margin: 0 auto; font-size: 1.04rem; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }

/* ---- 404 ---------------------------------------------------------------- */
.not-found-main { min-height: 100vh; display: flex; align-items: center; }
.not-found-main .wrap { position: relative; }
.not-found-main .brand img { height: 52px; margin-bottom: 72px; }
