/* VACK Voice pricing page. Same tokens as the marketing homepage. */

.mkpricing .mkph { padding: 34px 0 30px; text-align: center; }
.mkpricing .mkph h1 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -1.4px;
    margin: 18px auto 20px;
    max-width: 34ch;
    text-wrap: balance;
}
.mkpricing .mkph h1 span { color: var(--ice); }
.mkpricing .mkph .mklead { margin-left: auto; margin-right: auto; text-align: center; max-width: 780px; }
.mkpricing .mkph .mkcta { margin-top: 26px; }
.mkpricing .mkph .mktrial { text-align: center; margin: 14px auto 0; max-width: none; color: var(--muted); }

.mkpill {
    display: inline-block;
    font-size: 11.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ice);
    background: rgba(37, 136, 245, .12);
    border: 1px solid rgba(111, 178, 255, .26);
    padding: 7px 14px;
    border-radius: 999px;
}

.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- plan cards ---------- */
.mkplans { padding: 20px 0 72px; }
.mkpgrid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.mkplan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(18, 42, 72, .72), rgba(10, 22, 39, .78));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px 22px 24px;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.mkplan:hover { transform: translateY(-2px); border-color: rgba(111, 178, 255, .42); }

.mkplan.is-featured {
    border-color: rgba(111, 178, 255, .62);
    background: linear-gradient(180deg, rgba(30, 66, 108, .86), rgba(11, 26, 46, .92));
    box-shadow: 0 22px 56px rgba(9, 24, 44, .55);
}
.mkplan.is-trial { border-color: rgba(67, 184, 245, .38); }

.mktag {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad);
    color: #04101F;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.mkpname { margin: 0 0 6px; font-size: 17px; letter-spacing: -.2px; }
.mkppos { margin: 0 0 16px; font-size: 13.5px; line-height: 1.45; color: var(--muted); min-height: 38px; }

.mkprice {
    margin: 0 0 4px;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text);
    line-height: 1.1;
}
.mkprice span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--dim);
    margin-top: 6px;
}
.mkplan.is-trial .mkprice { color: var(--ice); }

.mkpfor { margin: 10px 0 16px; font-size: 13.5px; line-height: 1.5; color: var(--soft); min-height: 60px; }

.mkplist { list-style: none; margin: 0 0 22px; padding: 16px 0 0; border-top: 1px solid rgba(38, 58, 85, .85); display: grid; gap: 9px; }
.mkplist li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.45; color: var(--soft); }
.mkplist li::before {
    content: "";
    position: absolute;
    left: 0; top: 6px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ice);
    opacity: .85;
}
.mkplan.is-trial .mkplist li::before { background: var(--cyan); }

.mkpbtn { margin-top: auto; width: 100%; justify-content: center; text-align: center; font-size: 14px; padding: 13px 12px; }

.mknote { margin: 26px auto 0; max-width: 720px; text-align: center; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ---------- comparison table ---------- */
.mkcompare { padding: 72px 0; border-top: 1px solid rgba(38, 58, 85, .40); }
.mkcompare h2, .mkshared h2, .mkref h2, .mkupgrade h2, .mkfaq h2 {
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 0 0 12px;
    max-width: 26ch;
}
.mksub { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 0 24px; max-width: 720px; }

.mktablewrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(10, 22, 39, .6);
    -webkit-overflow-scrolling: touch;
}
.mktable { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 14px; }
.mktable thead th {
    position: sticky;
    top: 0;
    background: #0C1A2C;
    color: var(--text);
    font-size: 12.5px;
    letter-spacing: .8px;
    text-transform: uppercase;
    text-align: left;
    padding: 16px 14px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.mktable tbody th, .mktable tbody td {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(38, 58, 85, .55);
    text-align: left;
    color: var(--soft);
    font-weight: 400;
}
.mktable tbody th { color: var(--text); font-weight: 600; white-space: nowrap; }
.mktable tbody tr:last-child th, .mktable tbody tr:last-child td { border-bottom: 0; }
.mktable tbody tr:nth-child(even) td, .mktable tbody tr:nth-child(even) th { background: rgba(18, 42, 72, .28); }
.mktable td:nth-child(4) { color: var(--text); font-weight: 600; }

/* ---------- shared features ---------- */
.mkshared { padding: 72px 0; border-top: 1px solid rgba(38, 58, 85, .40); }
.mkshared-list {
    list-style: none; margin: 26px 0 0; padding: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 26px;
}
.mkshared-list li { position: relative; padding-left: 26px; color: var(--soft); font-size: 15.5px; }
.mkshared-list li::before {
    content: ""; position: absolute; left: 0; top: 7px;
    width: 14px; height: 14px; border-radius: 50%;
    background: rgba(37, 136, 245, .18);
    border: 1px solid rgba(111, 178, 255, .55);
    box-sizing: border-box;
}
.mkshared-list li::after {
    content: ""; position: absolute; left: 4px; top: 11px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--ice);
}

/* ---------- referral ---------- */
.mkref { padding: 64px 0; border-top: 1px solid rgba(38, 58, 85, .40); }
.mkref-in { max-width: 820px; }
.mkref .mkline { margin-top: 8px; }

/* ---------- upgrade path ---------- */
.mkupgrade { padding: 64px 0; border-top: 1px solid rgba(38, 58, 85, .40); }
.mkup-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; counter-reset: up; max-width: 900px; }
.mkup-list li {
    position: relative; padding-left: 46px; color: var(--soft); font-size: 15.5px; line-height: 1.6;
    counter-increment: up;
}
.mkup-list li::before {
    content: counter(up, decimal-leading-zero);
    position: absolute; left: 0; top: 0;
    font-size: 12px; font-weight: 800; letter-spacing: .6px;
    color: #04101F; background: var(--grad);
    width: 32px; height: 32px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
}
.mkup-list b { color: var(--text); }

/* ---------- faq ---------- */
.mkfaq { padding: 64px 0 76px; border-top: 1px solid rgba(38, 58, 85, .40); }
.mkfaq-list { margin-top: 26px; max-width: 900px; }
.mkfaq details {
    border-bottom: 1px solid rgba(38, 58, 85, .7);
    padding: 4px 0;
}
.mkfaq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 34px 18px 0;
    position: relative;
    font-size: 16.5px;
    font-weight: 600;
    color: var(--text);
}
.mkfaq summary::-webkit-details-marker { display: none; }
.mkfaq summary::after {
    content: "+";
    position: absolute; right: 4px; top: 50%;
    transform: translateY(-50%);
    font-size: 22px; font-weight: 400; color: var(--ice);
    line-height: 1;
}
.mkfaq details[open] summary::after { content: "–"; }
.mkfaq details p { margin: 0 0 20px; color: var(--muted); font-size: 15.5px; line-height: 1.65; max-width: 760px; }
.mkfaq summary:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; border-radius: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
    .mkpgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mkppos, .mkpfor { min-height: 0; }
}

@media (max-width: 900px) {
    .mkpgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mkshared-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .mkpricing .mkph { padding: 24px 0 20px; }
    .mkplans { padding: 12px 0 56px; }
    .mkpgrid { grid-template-columns: 1fr; gap: 14px; }
    .mkplan { padding: 24px 20px 22px; }
    .mkprice { font-size: 27px; }
    .mkcompare, .mkshared, .mkref, .mkupgrade, .mkfaq { padding: 52px 0; }
    .mkshared-list { grid-template-columns: 1fr; }
    .mktable { min-width: 640px; }
    .mkfaq summary { font-size: 15.5px; padding-right: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    .mkplan { transition: none; }
    .mkplan:hover { transform: none; }
}

/* ---- refinement pass ---- */
.mkpgrid { padding-top: 12px; }
.mkplans .mknote { margin-top: 22px; }

.mkplist { font-size: 13.8px; gap: 8px; margin-bottom: 16px; padding-top: 14px; }
.mkplist li { color: var(--soft); }

.mkmeta {
    margin: 0 0 20px;
    padding: 12px 0 0;
    border-top: 1px solid rgba(38, 58, 85, .85);
    display: grid;
    gap: 6px;
    font-size: 12.5px;
}
.mkmeta > div { display: flex; justify-content: space-between; gap: 8px; }
.mkmeta dt { color: var(--dim); letter-spacing: .3px; }
.mkmeta dd { margin: 0; color: var(--soft); font-weight: 600; text-align: right; }

.mkplan .mkprice { font-size: 31px; }
.mkplan .mkprice span { color: var(--muted); font-size: 11.5px; letter-spacing: .9px; }
.mkplan .mkpfor, .mkplan .mkppos { font-size: 13.5px; }
.mkpbtn { font-size: 13.5px; padding: 12px 10px; }

@media (max-width: 1200px) {
    .mkpgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}

/* Phones stack: one card per row, in plan order. */
@media (max-width: 700px) {
    .mkpgrid { grid-template-columns: 1fr; }
    .mkplan .mkprice { font-size: 28px; }
}

/* Align the seats/queue/support rows and the CTAs across all five cards. */
@media (min-width: 1201px) {
    .mkplist { min-height: 196px; }
    .mkmeta { min-height: 92px; }
}
@media (min-width: 701px) and (max-width: 1200px) {
    .mkplist { min-height: 0; }
}

/* Cards align from the bottom: allowances vary, but the meta rows and CTA sit level. */
.mkplist { min-height: 0; margin-bottom: 14px; }
.mkmeta { margin-top: auto; min-height: 0; }

/* One flexible gap only: the meta block pushes down, the button follows it. */
.mkmeta { margin-top: auto; margin-bottom: 14px; }
.mkpbtn { margin-top: 0; }

/* Equal description blocks so every list, meta row and button starts level. */
@media (min-width: 1201px) {
    .mkppos { min-height: 42px; }
    .mkpfor { min-height: 88px; }
}

/* The pricing hero carries the same ambient fill and headline treatment as
   the homepage hero, so the page does not feel like a different site. */
.mkpricing .mkph {
    position: relative;
    overflow: hidden;
    padding: 16px 0 52px;
}
.mkpricing .mkph::before {
    content: "";
    position: absolute;
    width: 760px;
    height: 760px;
    left: 50%;
    top: -300px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(37, 136, 245, .28), rgba(7, 20, 38, 0) 68%);
    pointer-events: none;
}
.mkpricing .mkph > .mkwrap { position: relative; z-index: 1; }
.mkpricing .mkph h1 {
    font-size: clamp(34px, 4.1vw, 58px);
    line-height: 1.07;
    letter-spacing: -1.4px;
    font-weight: 800;
}
.mkpricing .mkph h1 span {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.mkpricing .mkpill {
    font-size: 12.5px;
    letter-spacing: 2.4px;
    padding: 7px 12px;
    margin-bottom: 22px;
}

@media (max-width: 760px) {
    .mkpricing .mkph { padding: 12px 0 36px; }
    .mkpricing .mkph::before { width: 520px; height: 520px; top: -220px; }
}

/* A touch more presence so the hero fill reads at phone width too. */
.mkpricing .mkph::before {
    width: 820px; height: 820px; top: -280px;
    background: radial-gradient(circle, rgba(37, 136, 245, .34), rgba(7, 20, 38, 0) 66%);
}
@media (max-width: 760px) {
    .mkpricing .mkph::before { width: 620px; height: 620px; top: -150px; opacity: 1; }
    .mkpricing .mkph { padding-top: 10px; }
}
