/* MissNever page CSS: only what sits inside the visuals and the kit lacks. Tokens come from :root in template.html. */

/* the client's wordmark */
.brand { font-family: "Krona One", var(--font-display); font-weight: 400; letter-spacing: -.01em; font-size: 19px; text-decoration: none; white-space: nowrap; }
.brand span { color: #f25c05; }
.ground-inverse .brand span { color: #ff6a13; }
/* the large logo: "Miss" in outline inside drafting guide lines, "Never" solid hi-vis */
.brand--draft { display: inline-block; font-size: 34px; line-height: 1; padding: .22em .3em; margin-left: -.3em; color: transparent; -webkit-text-stroke: 1.2px #f6f4ee;
  background: linear-gradient(#f6f4ee44, #f6f4ee44) 0 .22em / 100% 1px no-repeat, linear-gradient(#f6f4ee44, #f6f4ee44) 0 calc(100% - .22em) / 100% 1px no-repeat,
    linear-gradient(90deg, #f6f4ee44, #f6f4ee44) .3em 0 / 1px 100% no-repeat, linear-gradient(90deg, #f6f4ee44, #f6f4ee44) calc(100% - .3em) 0 / 1px 100% no-repeat; }
.brand--draft span { -webkit-text-stroke: 0; }
@media (max-width: 639px) { .brand--draft { font-size: 26px; } }

/* bubble: one job text, as the phone shows it */
.bubble { margin: 0; background: #fff; color: #13233f; border-radius: 18px 18px 18px 6px; padding: 12px 14px; font: 400 15px/1.45 var(--font-text); box-shadow: 0 1px 0 rgba(19,35,63,.08); max-width: 100%; }
.bubble--urgent { background: #fff; border-left: 4px solid #d7263d; }
.bubble--urgent b { color: #b3122a; letter-spacing: .02em; margin-right: 4px; }
.phone__day { margin: 0 0 8px; text-align: center; font: 500 12px/1.3 var(--font-mono); color: #6b7487; }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font: 500 12px/1 var(--font-text); background: var(--p-accent); color: #13233f; white-space: nowrap; }
.chip--soft { background: #fff1e8; color: #8a3300; margin-left: 6px; }

/* hero: the phone on the navy frame, cut by its right and bottom edges */
.hero__art { --ground-bg: #13233f; background: radial-gradient(120% 80% at 90% 0%, #24406b 0%, #13233f 60%); }
.hero__art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(#ffffff0a 0 1px, transparent 1px 32px); pointer-events: none; }
.phone { height: 760px; background: #e9edf3; border: 10px solid #0b1528; border-radius: 44px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); max-width: 420px; }
.phone__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 22px 4px; font: 500 13px/1 var(--font-text); color: #13233f; }
.phone__notch { width: 92px; height: 24px; border-radius: 14px; background: #0b1528; }
.phone__head { display: grid; justify-items: center; gap: 2px; padding: 8px 0 12px; border-bottom: 1px solid #d5dbe4; background: #f4f6f9; }
.phone__head b { font: 500 15px/1.2 var(--font-text); color: #13233f; }
.phone__head small { font: 400 12px/1.2 var(--font-text); color: #6b7487; }
.phone__av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--p-accent); color: #13233f; font: 400 16px/1 "Krona One", sans-serif; }
.phone__thread { padding: 18px 16px; display: grid; gap: 10px; align-content: start; }
.phone__tap { margin: 0; display: flex; align-items: center; gap: 10px; font: 400 13px/1.3 var(--font-text); color: #6b7487; }
.phone__call { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: #1f9d55; color: #fff; font-weight: 500; }
.hero__art > .phone { width: min(360px, calc(100% - 96px)) !important; left: auto !important; right: 64px; top: 64px; }
.callcard { left: 32px !important; bottom: 32px; width: 300px; background: #fff; color: #13233f; border-radius: var(--r-md); padding: 16px 18px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.45); display: grid; gap: 10px; z-index: 2; }
.callcard__row { display: flex; justify-content: space-between; align-items: center; font: 500 15px/1.2 var(--font-text); }
.callcard__line { display: flex; gap: 10px; align-items: center; font: 400 14px/1.4 var(--font-text); }
.callcard__line i { width: 8px; height: 8px; border-radius: 50%; background: var(--p-accent); flex: none; }
@media (max-width: 1023px) { .hero__art > .phone { right: auto; left: 50% !important; transform: translateX(-50%); top: 24px; } }
@media (max-width: 639px) { .hero__art > .phone { width: calc(100% - 48px) !important; border-width: 8px; border-radius: 34px; } }

/* how: the timeline and the call */
.timeline, .list { margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--s-4); align-items: baseline; padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.timeline li:first-child { padding-top: 0; }
.timeline .rows__name { font: 500 15px/1.4 var(--font-mono); color: #b84500; }
.timeline p { margin: 0; font-size: var(--t-lead); line-height: 1.45; }
.list li { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.list li:first-child { padding-top: 0; }
.list .rows__name { display: block; }
.callframe { background: #13233f; position: relative; color: #f6f4ee; padding: var(--s-7); display: grid; gap: var(--s-6); align-content: start; border-radius: var(--r-lg); }
.transcript { display: grid; gap: var(--s-3); }
.transcript__head, .sms-out__head { margin: 0; display: flex; justify-content: space-between; font: 500 13px/1.3 var(--font-mono); color: #a9b0bc; }
.live { color: var(--p-accent); }
.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; animation: blink 2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.say { margin: 0; display: grid; grid-template-columns: 64px 1fr; gap: var(--s-3); font: 400 16px/1.5 var(--font-text); }
.say b { font: 500 13px/1.9 var(--font-mono); color: #a9b0bc; }
.say--jess b { color: var(--p-accent); }
.sms-out { display: grid; gap: var(--s-3); padding-top: var(--s-5); border-top: 1px solid #ffffff1f; }

/* asks: the trade's questions and the settings card */
.asks { margin: 0; padding: 0; list-style: none; counter-reset: q; display: grid; gap: 0; }
.asks li { counter-increment: q; display: grid; grid-template-columns: 40px 1fr; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
.asks li::before { content: counter(q, decimal-leading-zero); font: 500 14px/1.9 var(--font-mono); color: #b84500; }
.settings { background: #fff; border-radius: var(--r-lg); padding: var(--s-7); box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgba(19,35,63,.35); }
.settings__head { margin: 0 0 var(--s-5); font: 500 13px/1.3 var(--font-mono); color: var(--p-muted); }
.settings dl { margin: 0; display: grid; }
.settings dl > div { display: grid; gap: 2px; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.settings dl > div:last-child { border-bottom: 0; }
.settings dt { font-size: 13px; color: var(--p-muted); }
.settings dd { margin: 0; font: 500 18px/1.4 var(--font-text); display: flex; align-items: center; flex-wrap: wrap; }

/* urgent: two job texts on panels */
#urgent .panel { --p-h: 260px; display: grid; place-items: center; background: #e6e2d6; }
#urgent .panel--dark { background: #13233f; }
#urgent .panel--dark .phone__day { color: #a9b0bc; }
.mini { width: min(420px, calc(100% - 48px)); }
@media (max-width: 639px) { #urgent .panel { --p-h: 200px; } }

/* callers: the demo line card */
.democard { display: grid; align-content: space-between; gap: var(--s-6); min-height: 420px; padding: var(--s-8); border-radius: var(--r-lg); background: #13233f; color: #f6f4ee; text-decoration: none; position: relative; overflow: hidden; }
.democard::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 48px solid var(--p-accent); opacity: .9; }
.democard__label { font: 500 14px/1.3 var(--font-mono); color: #a9b0bc; position: relative; z-index: 1; }
.democard__go { display: inline-flex; align-items: center; gap: 10px; justify-self: start; height: 48px; padding: 0 24px; border-radius: var(--r-btn); background: var(--p-accent); color: #13233f; font: 500 16px/1 var(--font-text); }
.democard__go .m-arrow { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.wave { display: flex; align-items: center; gap: 6px; height: 64px; }
.wave i { flex: 1; max-width: 8px; border-radius: 4px; background: var(--p-accent); height: 20%; animation: wave 1.4s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.7s; } .wave i:nth-child(4n) { animation-delay: -1s; }
@keyframes wave { 50% { height: 90%; } }
.democard:hover .democard__go { filter: brightness(1.06); }
.facts .rows__name { font: 500 var(--t-lead)/1.4 var(--font-text); }
.facts p, .books p { margin: 4px 0 0; }
@media (prefers-reduced-motion: reduce) { .wave i, .live::before { animation: none; } .wave i { height: 50%; } }
@media (max-width: 639px) { .democard { min-height: 300px; padding: var(--s-6); } .democard::after { width: 200px; height: 200px; border-width: 32px; right: -60px; top: -60px; } }

/* faq in two columns on a desktop */
@media (min-width: 1024px) { .faq--cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); } .faq--cols > .faq__item:nth-child(2) { padding-top: 0; } }

/* pricing */
.pricecard { background: #fff; border-radius: var(--r-lg); padding: var(--s-7); display: grid; gap: var(--s-5); align-content: start; box-shadow: 0 24px 48px -32px rgba(19,35,63,.35); }
.pricecard p { margin: 0; }
.pricecard__badge { justify-self: start; font: 500 13px/1 var(--font-text); background: var(--p-accent); color: #13233f; padding: 7px 10px; border-radius: 999px; }
.pricecard__now { font: 400 88px/0.9 "Krona One", sans-serif; letter-spacing: -.03em; }
.pricecard__per { font-size: 15px; line-height: 1.3; color: var(--p-muted); }
.books .rows__name { font-weight: 500; }

/* signup */
.steps { margin: var(--s-6) 0 0; padding: 0; list-style: none; display: grid; gap: var(--s-3); }
.steps li { display: grid; grid-template-columns: 112px 1fr; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.steps b { font: 500 14px/1.7 var(--font-mono); color: #b84500; }
.hp { position: absolute; left: -5000px; }

/* footer trade links in two columns */
.trades { columns: 2; column-gap: var(--gutter); }

/* legal pages: plain reading pages under the fixed bar */
main > section.legal { height: auto; min-height: 0; padding: calc(var(--nav) + var(--s-8)) 0 var(--s-9); }
.legal .wrap { max-width: 46rem; }
.legal h1 { font-size: var(--t-h2); margin-bottom: var(--s-5); }
.legal h2 { font-size: var(--t-h3); margin: 1.6em 0 .5em; }
.legal p, .legal li { max-width: 64ch; }
.legal ul, .legal ol { padding-left: 1.2em; } .legal li { margin: .4em 0; }
.legal .small { color: var(--p-muted); font-size: 15px; }
.legal a { color: inherit; }
@media (max-width: 639px) { #signup .steps { display: none; } }
@media (min-width: 640px) and (max-width: 1023px) { #pricing { --h: 2; } }

/* ---- grounds from the trade: survey contours, blueprint grid, job-docket paper, hi-vis tape ---- */
/* survey contour lines, faint, behind the hero's words and on the navy footer */
.topo-hero { background: var(--p-bg) url("topo.svg") no-repeat -180px 40px / 1100px auto; }
.topo-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 30%, var(--p-bg) 55%); pointer-events: none; }
.topo-hero { position: relative; }
.topo-hero { background-blend-mode: normal; }
.topo-hero > .wrap { position: relative; z-index: 1; }
html .topo-hero { --topo-o: .07; }
.topo-hero { background-image: linear-gradient(rgba(246,244,238,.93), rgba(246,244,238,.93)), url("topo.svg"); background-size: auto, 1100px auto; background-position: 0 0, -180px 40px; background-repeat: no-repeat; }
.topo-dark { background-color: var(--p-inv-bg); background-image: linear-gradient(rgba(19,35,63,.9), rgba(19,35,63,.9)), url("topo-light.svg"); background-size: auto, 1400px auto; background-position: 0 0, 70% 30%; background-repeat: no-repeat; position: relative; }
/* the hi-vis reflective tape, once, along the top of the footer */
.topo-dark::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: linear-gradient(#ff6a13 0 4px, #c9cdd2 4px 10px, #ff6a13 10px); }
/* blueprint: a drafting grid on navy */
.bp { background-color: #13233f; background-image:
  linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
  linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; background-position: -1px -1px; }
.hero__art { background-image:
  radial-gradient(90% 70% at 85% 0%, rgba(255,106,19,.22), transparent 60%),
  linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
  linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, 96px 96px, 96px 96px, 24px 24px, 24px 24px; background-color: #13233f; }
.hero__art::before { display: none; }
/* the statement on a full blueprint, with a dimension line under it */
.bp--section .mo-wh__text { max-width: 22ch; font-size: clamp(34px, 4.6vw, 64px); }
.bp--section .wrap::after { content: "1 missed call  ·  $500 job  ·  $99 a month"; display: block; margin-top: var(--s-8); padding-top: var(--s-4); max-width: 640px; border-top: 1px solid rgba(255,106,19,.8); font: 500 14px/1.4 var(--font-mono); color: #a9b0bc; position: relative; }
.bp--section .t-label { color: #ff6a13; }
/* job-docket paper: faint ruled lines and a red margin, like a carbon-copy job sheet */
.docket { background-color: #fffdf8; background-image: linear-gradient(90deg, transparent 31px, rgba(215,38,61,.45) 31px 32px, transparent 32px), repeating-linear-gradient(transparent 0 31px, rgba(19,35,63,.07) 31px 32px); padding-left: calc(var(--s-7) + 8px); }

/* ---- gate fixes ---- */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 639px) {
  .hero__art .phone__thread > :nth-child(-n+2) { display: none; }
  .democard { min-height: 0; gap: var(--s-5); }
  .pricecard { padding: var(--s-6) var(--s-5) var(--s-6) calc(var(--s-6) + 8px); }
  .pricecard__now { font-size: 64px; }
  .docket { padding-left: calc(var(--s-6) + 8px); }
}
.pricecard__now { font-size: 48px; line-height: 1; font-weight: 400; }
.democard__go { justify-self: start; }
@media (max-width: 639px) { .hero__art .phone__head { display: none; } .books li:nth-child(5) { display: none; } }
.democard__num { font: 400 clamp(28px, 3.2vw, 46px)/1 "Krona One", sans-serif; white-space: nowrap; }
.democard::after { top: auto; bottom: -120px; right: -120px; width: 300px; height: 300px; border-width: 40px; opacity: .85; }
.democard > * { position: relative; z-index: 1; }
.democard__label, .footer__lede { color: #c9ced8; }
@media (max-width: 639px) { .democard__num { font-size: 30px; } }
.footer__col ul.trades { display: block; columns: 2; column-gap: var(--gutter); }
.footer__col ul.trades li { break-inside: avoid; margin-bottom: var(--s-2); }
.topo-dark { background-image: linear-gradient(rgba(19,35,63,.94), rgba(19,35,63,.94)), url("topo-light.svg"); }
@media (max-width: 639px) { .hero__art .phone__tap { display: none; } .books li:nth-child(4) a.link { white-space: nowrap; } }
.nav__logo.brand { display: inline-block; gap: 0; }
.brand--draft { font-size: 44px; }
