/* Teale's look (teale.com index and providers pages): dark navy ground, teal text and accent, muted grey, monospace
   type, one 720px column. Dark only, like the original. */
:root {
  --bg: #0f172a;
  --teal: #14b8a6;
  --muted: #94a3b8;
  --dim: #475569;
  --codebg: #111c33;
  --bad: #fca5a5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--teal);
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', ui-monospace, Menlo, monospace;
  font-size: 1rem; line-height: 1.7; padding: 3rem 2rem 4rem; -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 720px; margin: 0 auto; }
a { color: var(--teal); }
a:hover { text-decoration: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 1rem; background: var(--teal); color: var(--bg); padding: .25rem .75rem; }
.skip:focus { left: 1rem; }

/* the top links, as on teale.com */
.eyebrow { color: var(--muted); font-size: .85rem; letter-spacing: .05em; margin-bottom: 2.5rem; }
.eyebrow a { color: var(--muted); text-decoration: none; transition: color .15s ease; }
.eyebrow a:hover, .eyebrow a[aria-current] { color: var(--teal); }
.eyebrow .sep { margin: 0 .35rem; opacity: .6; }

p { margin-bottom: 1.2rem; }
h1 { font-size: 1.5rem; font-weight: 600; line-height: 1.35; margin-bottom: 1rem; }
h2 {
  font-size: .85rem; font-weight: normal; color: var(--muted); text-transform: uppercase; letter-spacing: .1em;
  margin: 3rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--dim);
}
h3 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 .5rem; }
.lead, .answer, .muted, .small, .src, .updated { color: var(--muted); }
.answer { font-size: .95rem; }
.small, .updated { font-size: .85rem; }
.src { font-size: .85rem; }
strong { font-weight: 600; }

/* lists in teale.com's way: a teal ">" before muted text */
.plain, .dir, .steps { list-style: none; margin-bottom: 1.2rem; }
.plain li, .dir li, .steps li { color: var(--muted); margin-bottom: .75rem; padding-left: 1.4rem; position: relative; }
.plain li::before, .dir li::before { content: ">"; position: absolute; left: 0; color: var(--teal); }
.steps { counter-reset: s; }
.steps li { counter-increment: s; padding-left: 2rem; }
.steps li::before { content: counter(s) "."; position: absolute; left: 0; color: var(--teal); }
.steps strong { color: var(--teal); font-weight: normal; }
.dir li { margin-bottom: 1.4rem; }
.dir a { text-decoration: none; }
.dir a strong { font-weight: normal; text-decoration: underline; }
.dir a:hover strong { text-decoration: none; }
.dir span { display: block; }
.dir .price, .dir .time { font-size: .85rem; }
/* the free promotion: the regular figure struck through, "Regular price" heard by screen readers only */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0);
      white-space: nowrap; border: 0; }
s { color: var(--muted); }
.free { color: var(--teal); }

/* buttons, as on teale.com */
.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.5rem;
  font-family: inherit; font-size: 1rem; text-decoration: none; border: 1px solid var(--teal);
  transition: background .15s ease, color .15s ease; cursor: pointer;
}
.btn-primary { background: var(--teal); color: var(--bg); }
.btn-primary:hover { background: transparent; color: var(--teal); }
.btn-secondary { background: transparent; color: var(--teal); }
.btn-secondary:hover { background: var(--teal); color: var(--bg); }
#pay-btn + .small { margin-top: .75rem; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn:disabled:hover { background: var(--teal); color: var(--bg); }
.btn-secondary:disabled:hover { background: transparent; color: var(--teal); }

/* the drop boxes */
.drop { margin: 1.5rem 0 1rem; }
.lbl { display: block; color: var(--teal); margin: 1rem 0 .35rem; font-size: .95rem; }
.lbl-first { margin-top: 0; }
.opt { color: var(--muted); font-size: .85rem; }
.zone {
  position: relative; border: 1px dashed var(--dim); background: var(--codebg); border-radius: 4px;
  padding: 1.1rem 1rem .9rem; text-align: center; transition: border-color .15s ease;
}
.zone.over, .zone:focus-within, .zone:hover { border-color: var(--teal); }
.zone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.zone-main { margin: 0 0 .25rem; }
.zone-touch { display: none; }
@media (hover: none) and (pointer: coarse) { .zone-fine { display: none; } .zone-touch { display: block; } }
.pick { text-decoration: underline; }
.zone-hint { color: var(--muted); font-size: .85rem; margin: 0; }
.chosen { list-style: none; text-align: left; font-size: .85rem; }
.chosen:not(:empty) { margin-top: .6rem; }
.chosen li { display: flex; justify-content: space-between; gap: .75rem; color: var(--muted); }
.chosen .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chosen .sz { flex: none; }
textarea, input[type=email] {
  display: block; width: 100%; font: inherit; font-size: .95rem; color: var(--teal); background: var(--codebg);
  border: 1px solid var(--dim); border-radius: 4px; padding: .6rem .75rem;
}
textarea { resize: vertical; min-height: 5.5rem; }
textarea:focus, input[type=email]:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
::placeholder { color: var(--muted); opacity: .75; }
.send-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin-top: 1.25rem; }
.price-beside { margin: 0; color: var(--muted); font-size: .85rem; flex: 1 1 14rem; }
.price-beside strong { color: var(--teal); font-size: 1rem; }
.status { margin: .75rem 0 0; font-size: .95rem; }
.status:empty { display: none; }
.status.bad { color: var(--bad); }
.status.ok { color: var(--teal); }

.agents-line { font-size: .85rem; color: var(--muted); }
.facts { display: grid; gap: .5rem; margin: 0 0 1.2rem; }
.facts div { border-left: 1px solid var(--dim); padding-left: .9rem; }
.facts dt { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.facts dd { color: var(--teal); }
.examples { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.example {
  font: inherit; font-size: .85rem; color: var(--teal); background: transparent; border: 1px solid var(--dim);
  padding: .35rem .75rem; cursor: pointer; text-align: left;
}
.example:hover { border-color: var(--teal); }

/* tables */
.scroll { overflow-x: auto; margin-bottom: 1.2rem; }
.facts-table, .runs { border-collapse: collapse; width: 100%; font-size: .9rem; }
.facts-table { margin-bottom: 1.2rem; }
.facts-table th, .facts-table td, .runs th, .runs td {
  text-align: left; vertical-align: top; padding: .5rem .9rem .5rem 0; border-bottom: 1px solid var(--dim);
}
.facts-table th { width: 32%; font-weight: normal; color: var(--teal); }
.facts-table td, .runs td { color: var(--muted); }
.runs caption { text-align: left; color: var(--muted); font-size: .85rem; padding-bottom: .4rem; }
.runs thead th { font-weight: normal; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.runs tbody th { font-weight: normal; }
.runs tfoot th, .runs tfoot td { border-bottom: 0; color: var(--teal); font-weight: normal; }

.alt p, .longtail p, .qa p { color: var(--muted); }
.qa h3 { margin-top: 1.2rem; }
.note, .notice { border-left: 2px solid var(--teal); padding-left: .9rem; color: var(--muted); }
.notice { color: var(--teal); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; margin: 0 0 1.2rem; }
.stat-row div { border-left: 1px solid var(--dim); padding-left: .9rem; }
.stat-row dt { color: var(--muted); font-size: .8rem; }
.stat-row dd { font-size: 1.05rem; }
.sample { margin: 0 0 1.2rem; }
.sample img { display: inline-block; width: 49%; height: auto; vertical-align: top; border: 1px solid var(--dim); }
.sample img + img { margin-left: 2%; }
.sample figcaption { color: var(--muted); font-size: .85rem; margin-top: .5rem; }
.state { font-size: 1.05rem; }
.results img { display: block; max-width: 100%; height: auto; margin: 0 0 1rem; border: 1px solid var(--dim); }
.result { margin-bottom: 1.5rem; }
.result .btn { margin-bottom: .75rem; }
/* the question after a done job (ticket P): one quiet line below the result, its answers as buttons like the examples */
.ask { margin: 0 0 1.5rem; color: var(--muted); }
.ask:empty { margin: 0; }      /* empty, it takes no room; never display: none, so its aria-live is heard */
.ask p { margin: 0 0 .5rem; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice {
  font: inherit; font-size: .85rem; color: var(--teal); background: transparent; border: 1px solid var(--dim);
  padding: .45rem .9rem; cursor: pointer; text-align: left;
}
.choice:hover { border-color: var(--teal); }
/* the price door (ticket Q): a door job's pay step, the sentence after the press, the share line's links as buttons */
.pay { margin: 0 0 1.5rem; }
.pay p { margin: 0 0 .75rem; }
.on-us { color: var(--teal); }
a.choice { display: inline-block; text-decoration: none; }
.providers { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--dim); color: var(--muted); }
.updated { margin-top: 2rem; }
.foot { margin-top: 3rem; color: var(--muted); font-size: .8rem; }
.foot p { margin-bottom: .4rem; }

@media (max-width: 480px) {
  body { padding: 1.5rem 1.25rem 3rem; font-size: .95rem; }
  .eyebrow { font-size: .75rem; margin-bottom: 1.5rem; }
  .eyebrow .sep { margin: 0 .25rem; }
  h1 { font-size: 1.25rem; }
  h2 { font-size: .75rem; }
  .answer { font-size: .85rem; }
  .btn { width: 100%; }
  .facts-table th { width: 38%; }
}
