/* StallWatch: the site's own stylesheet, on look.css's tokens and parts */
:root {
  --stuck: #b42318; --stuck-bg: #fdecea; --moving: #16794a; --moving-bg: #e7f5ee; --wait-bg: #eef1f5;
  --ink-dim: #9aa4b2; --night: #0f1218; --night-2: #171c26; --night-line: #2a3242;
  --h1: clamp(2rem, 4.4vw, 3.3rem);
}
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); color: inherit; }
html { caret-color: var(--accent); scrollbar-color: #c4cad3 transparent; }
body { font-size: 1.0625rem; }
.num, .mono { font-family: var(--text); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.tn { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
a.plain { color: inherit; text-decoration: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the dark top: nav and hero */
.night { background: var(--night); color: #e9edf3; position: relative; overflow: hidden; isolation: isolate; }
.night .art { position: absolute; inset: 0; z-index: -1; pointer-events: none; color: #e9edf3; }
.night .art svg { width: 100%; height: 100%; }
.top .brand { color: inherit; }
.night .top .brand { color: #fff; }
.top nav, .top .acts { display: flex; align-items: center; gap: .4rem; }
.top .link { color: inherit; text-decoration: none; font-weight: 600; padding: .6rem .8rem; border-radius: var(--r-btn); }
.top .link:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.night .btn.ghost { color: #fff; border-color: var(--night-line); }

.hero { padding-block: .5rem 3rem; }
.hero .copy { display: grid; gap: .5rem 3rem; grid-template-columns: 1fr; margin-top: 1.4rem; align-items: end; }
.hero h1 { color: #fff; margin: 0; max-width: 18ch; }
.hero .sub { color: #c3cad5; margin: 0; font-size: 1.08rem; max-width: 52ch; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .9rem; }
.hero .cta small { color: #c3cad5; font-size: .95rem; }
.hero .cta a.alt { color: #fff; font-weight: 600; }
@media (min-width: 960px) {
  .hero .copy { grid-template-columns: 1.15fr 1fr; }
  .hero .cta { grid-column: 2; margin-top: 0; }
  .hero .sub { grid-column: 2; grid-row: 1; }
}

/* the product's window */
.win { background: var(--screen); color: var(--ink); border-radius: var(--r); overflow: hidden;
  box-shadow: 0 30px 70px -30px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 255 255 / .06); }
.win > .bar { display: flex; align-items: center; gap: .6rem; padding: .65rem .9rem; background: #f1f3f6;
  border-bottom: 1px solid var(--line-c); font: 600 .9rem/1.2 var(--text); color: var(--ink); min-width: 0; }
.win > .bar .q { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win > .bar .live { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink-2); font-weight: 500; font-size: .82rem; white-space: nowrap; }
.win .cols { display: grid; grid-template-columns: 1fr; }
.win .paste { padding: .9rem; border-bottom: 1px solid var(--line-c); background: #fafbfc; }
.win .paste label { font-size: .85rem; color: var(--ink-2); font-weight: 600; }
.win .paste textarea { min-height: 4.6em; height: 4.6em; font: 500 .92rem/1.5 var(--text); font-variant-numeric: tabular-nums; resize: vertical; }
.win .paste .row { display: flex; gap: .6rem; align-items: center; justify-content: space-between; margin-top: .6rem; }
.win .paste .row small { color: var(--ink-2); font-size: .82rem; }
.win .found { min-width: 0; }
.win .found .sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; padding: .75rem .9rem; border-bottom: 1px solid var(--line-c); font-size: .92rem; color: var(--ink-2); }
.win .found .sum b { color: var(--ink); font-size: 1.1rem; }
.win .found .sum b.red { color: var(--stuck); }
.hero .win { max-height: 600px; }
.hero .win .found { max-height: 330px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
@media (min-width: 900px) {
  .win .cols { grid-template-columns: 300px 1fr; }
  .win .paste { border-bottom: 0; border-right: 1px solid var(--line-c); }
  .win .paste textarea { height: 15.5em; min-height: 12em; }
  .hero .win .found { max-height: 360px; }
}

/* a parcel row: the product's result */
.prow { display: grid; grid-template-columns: auto 1fr auto; gap: .15rem .8rem; padding: .7rem .9rem; border-bottom: 1px solid var(--line-c); align-items: start; }
.prow .ic { grid-row: span 2; width: 2rem; height: 2rem; border-radius: 6px; display: grid; place-items: center; background: var(--wait-bg); color: var(--ink-2); }
.prow.is-stuck .ic { background: var(--stuck-bg); color: var(--stuck); }
.prow.is-moving .ic { background: var(--moving-bg); color: var(--moving); }
.prow .ic .i { width: 1.1rem; height: 1.1rem; }
.prow .no { font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; overflow-wrap: anywhere; }
.prow .meta { grid-column: 2; color: var(--ink-2); font-size: .9rem; line-height: 1.4; }
.prow .meta .scan { color: var(--ink); }
.prow .side { grid-row: span 2; text-align: end; display: grid; gap: .25rem; justify-items: end; }
.prow .days { font: 700 1.05rem/1 var(--display); font-variant-numeric: tabular-nums; }
.prow.is-stuck .days { color: var(--stuck); }
.prow .days small { font: 500 .75rem/1 var(--text); color: var(--ink-2); display: block; margin-top: .2rem; }
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .5rem; border-radius: var(--r-badge); font: 600 .78rem/1.2 var(--text);
  background: var(--wait-bg); color: #3c4552; white-space: nowrap; }
.chip.stuck { background: var(--stuck-bg); color: var(--stuck); }
.chip.moving { background: var(--moving-bg); color: var(--moving); }
.chip.done { background: #eef1f5; color: #3c4552; }
.chip .i { width: .95rem; height: .95rem; }
.claim { display: inline-flex; gap: .3rem; align-items: center; font-size: .85rem; color: var(--ink); }
.claim .i { width: 1rem; height: 1rem; color: var(--ink-2); }

/* sections */
.sec-h { max-width: 30ch; }
.lede { color: var(--ink-2); max-width: 60ch; font-size: 1.08rem; }
#how { background: var(--bg); }
.day { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0; position: relative; }
.day > li { position: relative; padding: 0 0 2rem 3.6rem; }
.day > li::before { content: ""; position: absolute; left: 1.45rem; top: 3rem; bottom: 0; width: 2px; background: var(--line-c); }
.day > li:last-child::before { display: none; }
.day .i-box { position: absolute; left: 0; top: 0; }
.day time { display: block; font: 700 .95rem/1.2 var(--text); color: var(--link); margin: .1rem 0 .35rem; font-variant-numeric: tabular-nums; }
.day h3 { margin: 0 0 .35rem; font-size: 1.3rem; }
.day p { margin: 0 0 .6rem; }
.day .instead { display: flex; gap: .5rem; align-items: flex-start; color: var(--ink-2); font-size: .95rem; margin: 0; }
.day .instead .i { color: var(--ink-dim); margin-top: .15rem; }
.day .instead s { text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-decoration-thickness: 2px; }
@media (min-width: 900px) {
  .day { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .day > li { padding: 4.2rem 0 0; }
  .day > li::before { left: 3.6rem; right: -2.5rem; top: 1.45rem; bottom: auto; width: auto; height: 2px; }
  .day > li:last-child::before { display: block; right: 0; }
}

/* the morning email */
#what { background: var(--bg-2); color: #e9edf3; --ink-2: #aab3c0; }
#what h2 { color: #fff; }
#what .lede { color: #c3cad5; }
.mail { background: #fff; color: var(--ink); --ink-2: #5b6472; border-radius: var(--r); overflow: hidden; margin-top: 2rem;
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / .8); }
.mail .head { display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .8rem; align-items: center; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line-c); }
.mail .head img { width: 40px; height: 40px; border-radius: 8px; grid-row: span 2; }
.mail .head .from { font-weight: 700; }
.mail .head .subj { grid-column: 2 / 4; font: 700 1.15rem/1.25 var(--display); }
.mail .head time { color: var(--ink-2); font-size: .9rem; font-variant-numeric: tabular-nums; grid-column: 3; grid-row: 1; }
.mail .intro { padding: 1rem 1.1rem 0; margin: 0; max-width: none; }
.mail .intro b { font-variant-numeric: tabular-nums; }
.mail .carousel { padding: 1rem 1.1rem 1.1rem; }
.mail .carousel-nav button { background: #fff; }
.entry { border: 1px solid var(--line-c); border-radius: var(--r); padding: 1rem; height: 100%; display: flex; flex-direction: column; gap: .55rem; background: #fff; }
.entry .top-line { display: flex; justify-content: space-between; gap: .6rem; align-items: center; }
.entry .no { font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.entry dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem .8rem; font-size: .92rem; }
.entry dt { color: var(--ink-2); }
.entry dd { margin: 0; }
.entry .note { background: #f6f7f9; border-radius: 6px; padding: .7rem .8rem; font-size: .92rem; white-space: pre-line; margin-top: auto; }
.entry .note b { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--ink-2); margin-bottom: .3rem; }
.mail .foot { padding: .9rem 1.1rem; border-top: 1px solid var(--line-c); color: var(--ink-2); font-size: .9rem; margin: 0; max-width: none; }
.mail .carousel { --slide: min(88%, 360px); }
@media (min-width: 1000px) { .mail .carousel { --slide: calc((100% - 2 * var(--gap)) / 3); } .mail .carousel-nav { display: none; } }

/* price and questions */
.price-grid { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; } }
.plan { background: var(--surface); border-radius: var(--r); padding: 1.6rem; box-shadow: var(--card-shadow); }
.plan .amount { font: 800 3.6rem/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan .amount small { font: 500 1.05rem/1 var(--text); color: var(--ink-2); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 1.2rem 0 1.4rem; display: grid; gap: .55rem; }
.plan li { display: flex; gap: .55rem; align-items: flex-start; }
.plan li .i { color: var(--moving); margin-top: .1rem; }
.plan .btn { width: 100%; }
.plan .fine { color: var(--ink-2); font-size: .92rem; margin: .8rem 0 0; text-align: center; max-width: none; }
.qa { display: grid; gap: 0; }
.qa details { border-bottom: 1px solid var(--line-c); }
.qa summary { cursor: pointer; list-style: none; padding: 1rem 0; font: 700 1.1rem/1.3 var(--display); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { transition: transform .2s; color: var(--ink-2); }
.qa details[open] summary .i { transform: rotate(45deg); }
.qa details p { margin: 0 0 1rem; }
.qa .more { margin-top: 1rem; font-weight: 600; display: inline-flex; gap: .4rem; align-items: center; }

/* the closing band */
.band { background: var(--night); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.band .art { position: absolute; inset: 0; z-index: -1; color: #e9edf3; pointer-events: none; }
.band .art svg { width: 100%; height: 100%; }
.band .wrap { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; }
.band h2 { margin: 0; color: #fff; max-width: 22ch; }

/* footer */
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
footer .brand { display: flex; align-items: center; gap: .5rem; font: 700 1.05rem/1 var(--display); color: var(--ink); text-decoration: none; }
footer .brand img { width: 28px; height: 28px; border-radius: 6px; }
footer a { color: var(--ink-2); }
footer .links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; }

/* questions page */
.doc { padding-block: 2.5rem 4rem; }
.doc h1 { font-size: clamp(2rem, 4vw, 3rem); }
.doc h2 { margin-top: 2.5rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.doc .grid2 { display: grid; gap: 2rem; }
@media (min-width: 900px) { .doc .grid2 { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.doc table { background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: var(--card-shadow); }
.doc td, .doc th { font-size: .95rem; }

/* forms and accounts */
.auth { padding-block: 3rem 5rem; }
.auth h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.auth .card { padding: 1.5rem; }
.auth form .btn { width: 100%; margin-top: .4rem; }
.auth .alt { margin-top: 1.2rem; color: var(--ink-2); }
.msg { border-radius: var(--r); padding: .75rem .9rem; margin: 0 0 1rem; background: var(--wait-bg); font-size: .95rem; }
.msg.err { background: var(--stuck-bg); color: var(--stuck); font-weight: 600; }
.msg.good { background: var(--moving-bg); color: var(--moving); font-weight: 600; }
.hint { color: var(--ink-2); font-size: .9rem; margin: .3rem 0 0; }

/* the free checker */
.checker { padding-block: 2rem 4rem; }
.checker .win { box-shadow: var(--card-shadow), 0 0 0 1px var(--line-c); }
.checker .win .found { min-height: 200px; }
.empty { padding: 2.5rem 1rem; text-align: center; color: var(--ink-2); display: grid; justify-items: center; gap: .6rem; }
.empty .i { width: 2rem; height: 2rem; color: var(--ink-dim); }
.next-step { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; background: var(--tint); border-radius: var(--r); padding: 1rem 1.2rem; }
.next-step p { margin: 0; }

/* the app */
.appbar { background: var(--night); color: #e9edf3; }
.appbar .top { padding-block: .6rem; }
.appbar .top .brand { color: #fff; }
.appbar .link[aria-current="page"] { background: rgb(255 255 255 / .1); }
.app { padding-block: 1.5rem 4rem; }
.app-head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; justify-content: space-between; margin-bottom: 1rem; }
.app-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.stats { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--ink-2); font-size: .95rem; }
.stats b { color: var(--ink); font-variant-numeric: tabular-nums; }
.stats b.red { color: var(--stuck); }
.app-grid { display: grid; gap: 1.2rem; }
@media (min-width: 1000px) { .app-grid { grid-template-columns: 340px 1fr; align-items: start; } .app-grid aside { position: sticky; top: 1rem; } }
.app aside .card { padding: 1rem; }
.tabs { display: flex; gap: .3rem; padding: .5rem; border-bottom: 1px solid var(--line-c); flex-wrap: wrap; align-items: center; }
.tabs button { border: 0; background: transparent; padding: .45rem .75rem; border-radius: var(--r-btn); font-weight: 600; color: var(--ink-2); cursor: pointer; min-height: 40px; }
.tabs button[aria-pressed="true"] { background: var(--wait-bg); color: var(--ink); }
.tabs .grow { flex: 1; }
.tabs .tool { display: inline-flex; gap: .35rem; align-items: center; }
.drop { border: 2px dashed var(--line-c); border-radius: var(--r); padding: .9rem; text-align: center; color: var(--ink-2); font-size: .92rem; cursor: pointer; display: block; font-weight: 500; }
.drop:hover, .drop.over { border-color: var(--accent); color: var(--ink); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.prow.click { cursor: pointer; }
.prow.click:hover { background: #fafbfc; }
.detail { padding: .2rem .9rem 1rem 3.7rem; border-bottom: 1px solid var(--line-c); background: #fafbfc; }
.detail .note { background: #fff; border: 1px solid var(--line-c); border-radius: 6px; padding: .8rem; white-space: pre-line; font-size: .95rem; }
.detail .acts { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0 1rem; }
.detail .acts .btn { min-height: 38px; padding: 0 .9rem; font-size: .92rem; }
.tl { list-style: none; margin: .5rem 0 0; padding: 0; font-size: .9rem; }
.tl li { display: grid; grid-template-columns: 7.5rem 1fr; gap: .8rem; padding: .35rem 0; border-top: 1px dashed var(--line-c); }
.tl time { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.edit { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: .6rem; }
.edit label { font-size: .82rem; color: var(--ink-2); margin-bottom: .2rem; }
.edit input { min-height: 38px; padding: .35em .6em; }
.btn.sm { min-height: 38px; padding: 0 .9rem; font-size: .92rem; }
.toast { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); background: var(--night); color: #fff; padding: .7rem 1rem; border-radius: var(--r); z-index: 60; box-shadow: 0 10px 30px rgb(0 0 0 / .3); max-width: calc(100% - 2rem); }
.settings .field { margin-bottom: .8rem; }
.settings .two { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.switch { display: flex; gap: .5rem; align-items: center; font-weight: 600; }
.switch input { width: 1.2rem; min-height: 1.2rem; height: 1.2rem; accent-color: var(--accent); }
.banner { border-radius: var(--r); padding: .8rem 1rem; margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; background: var(--tint); }
.banner p { margin: 0; }
.acct { display: grid; gap: 1rem; max-width: 720px; }
.acct .card h2 { font-size: 1.25rem; display: flex; gap: .5rem; align-items: center; }
.acct .card p { margin-bottom: .8rem; }
.danger { color: var(--stuck); }
.btn.danger { background: var(--stuck); color: #fff; }
.btn .i { width: 1.1em; height: 1.1em; }

/* polish: wrapping, tap targets, the carousel's dots */
p, dd, li, .lede { text-wrap: pretty; }
.hint { max-width: 65ch; }
.top .brand { min-height: 44px; }
footer .brand { min-height: 44px; }
footer .links a { display: inline-flex; align-items: center; min-height: 44px; }
.auth a, .auth .alt a { display: inline-flex; align-items: center; min-height: 44px; }
.still { display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: var(--good); }
.more { display: inline-flex; gap: .4rem; align-items: center; margin-top: 1rem; font-weight: 600; min-height: 44px; }
.carousel-dots button, .carousel-dots button[aria-current="true"] { position: relative; width: 44px; height: 44px; background: none !important; }
.btn.sm { min-height: 44px; }
.drop input { display: none; }
.is-loading { visibility: hidden; }
.carousel-dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 99px;
  transform: translate(-50%, -50%); background: var(--line-c); transition: width .3s cubic-bezier(.22, 1, .36, 1), background .3s; }
.carousel-dots button[aria-current="true"]::before { width: 24px; background: var(--accent); }
.carousel-dots { gap: 0; }
.carousel-nav [data-prev] .i, .carousel-nav [data-next] .i { width: 1.2rem; height: 1.2rem; }
.entry { border: 0; background: #f3f5f8; }
.entry .note { background: #fff; }
