/* platometro.shop: the front page and /questions/. Editorial: a market weekly printed in ink on white,
   Newsreader for the headlines over the system sans, square corners, the warm orange for links and marks. */
:root {
  --accent: #c2571a;
  --accent-ink: #9a4413;
  --ink: #161412;
  --ink-2: #45403a;
  --ink-3: #675f57;
  --rule: #dcd5cd;
  --tint: #faf5ef;
  --up: #b3261e;
  --down: #2f6b3a;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: var(--accent-ink); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .4em; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
li, dd { text-wrap: pretty; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 18px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.up { color: var(--up); }
.down { color: var(--down); }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 10px; background: #fff; padding: 12px 16px; min-height: 44px; z-index: 10; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid #f0b48f; outline-offset: 2px; }

/* buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--accent-ink); background: var(--accent-ink); color: #fff; font: 600 16px/1 var(--sans); text-decoration: none; border-radius: 0; cursor: pointer; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.sm { min-height: 44px; padding: 0 13px; font-size: 15px; }
.btn[disabled] { opacity: .55; cursor: default; }

/* masthead */
.mast { background: #fff; border-bottom: 1px solid var(--ink); }
.mast .wrap { display: flex; align-items: center; gap: 8px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); text-decoration: none; font: 600 19px/1 var(--serif); letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.mast .login { margin-left: auto; color: var(--ink); font-size: 15px; padding: 12px 6px; text-decoration: none; }
.mast .login:hover { text-decoration: underline; color: var(--ink); }
.mast .btn { flex: none; }
@media (max-width: 420px) { .mast .wrap { gap: 4px; } .mast .brand { font-size: 17px; gap: 6px; } .mast .brand img { width: 26px; height: 26px; } .mast .login { padding: 12px 4px; } .mast .btn.sm { padding: 0 11px; font-size: 14px; } }
@media (max-width: 370px) { .mast .wrap { padding: 0 12px; } .mast .brand { font-size: 16px; } .mast .brand img { width: 24px; height: 24px; } }

/* the lede */
.lede { padding: 24px 0 34px; border-bottom: 1px solid var(--ink); }
.lede h1 { font-size: clamp(36px, 9.4vw, 62px); margin: 0 0 14px; }
.dek { font: 500 19px/1.4 var(--serif); color: var(--ink-2); margin: 0 0 18px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 22px; }
.cta .note { font-size: 14px; color: var(--ink-3); }
.lede .for { font-size: 14px; color: var(--ink-3); border-top: 1px solid var(--rule); padding-top: 12px; margin: 0; display: none; }
@media (min-width: 980px) {
  .lede { padding: 30px 0 40px; }
  .lede h1 { font-size: min(4.6vw, 62px); padding-bottom: 18px; border-bottom: 3px double var(--ink); margin-bottom: 26px; }
  .lede .cols { display: grid; grid-template-columns: 4fr 7fr; gap: 0 56px; align-items: start; }
  .lede .for { display: block; }
}

/* the product, printed: Monday's report on a sheet of paper */
.report { margin: 0; }
.paper { position: relative; max-height: 560px; overflow: hidden; background: #fff; border: 1px solid var(--ink); box-shadow: 6px 6px 0 -1px #fff, 6px 6px 0 0 var(--ink); }
.paper::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(255,255,255,0), #fff 85%); pointer-events: none; }
@media (min-width: 980px) { .paper { max-height: 520px; } }
.ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-bottom: 2px solid var(--ink); }
.ph .t { font: 600 18px/1.1 var(--serif); }
.ph .t small { display: block; font: 500 13px/1.4 var(--sans); color: var(--ink-3); }
.ph .stamp { font: 700 13px/1 var(--serif); color: var(--accent-ink); border: 1px solid var(--accent-ink); padding: 5px 7px; transform: rotate(-3deg); }
.pm { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 7px 18px; font-size: 13px; color: var(--ink-3); border-bottom: 1px solid var(--rule); }
.palert { margin: 14px 18px 12px; padding: 2px 0 2px 12px; border-left: 3px solid var(--accent); font-size: 15px; line-height: 1.45; }
.pdish { padding: 14px 18px; border-top: 1px solid var(--rule); }
.pdish .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pdish .name { font: 600 21px/1.15 var(--serif); }
.pdish .price { font-size: 14px; color: var(--ink-3); }
.costs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 10px 0 10px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.costs div { padding: 6px 8px 7px 0; }
.costs div + div { padding-left: 10px; border-left: 1px solid var(--rule); }
.costs small { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.costs strong { font: 600 21px/1.2 var(--serif); font-variant-numeric: tabular-nums; }
.costs .now strong { color: var(--ink); }
.meter { position: relative; height: 6px; background: #efe9e2; margin: 2px 0 9px; }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; background: #d9a27f; }
.meter i.over { background: var(--up); }
.meter b { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); }
.say { font-size: 14px; color: var(--ink-2); line-height: 1.45; margin: 0; }
.flag { font-weight: 700; color: var(--up); }
.report figcaption { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; line-height: 1.45; }

/* the parts */
.part { padding: 40px 0; border-bottom: 1px solid var(--ink); }
.label { font: 600 15px/1.3 var(--sans); color: var(--ink-2); margin: 0 0 10px; }
.label::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
.part h2 { font-size: clamp(28px, 6.6vw, 44px); margin-bottom: 22px; }
@media (min-width: 980px) {
  .part { padding: 56px 0; }
  .part .head { display: grid; grid-template-columns: 4fr 7fr; gap: 0 56px; align-items: baseline; margin-bottom: 30px; }
  .part .head h2 { margin: 0; }
}

/* how */
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 0 10px; padding: 18px 0; border-top: 1px solid var(--rule); }
.steps .n { font: 500 44px/.9 var(--serif); color: var(--accent); }
.steps h3 { font-size: 23px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--ink-2); }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
  .steps li { display: block; padding: 22px 28px 0; border-top: 0; border-left: 1px solid var(--rule); }
  .steps li:first-child { padding-left: 0; border-left: 0; }
  .steps .n { display: block; font-size: 72px; margin-bottom: 14px; }
}

/* what: the market's own prices */
.plaza-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 20px; margin-bottom: 8px; }
.plaza-top p { margin: 0; font-size: 14px; color: var(--ink-3); max-width: 30em; }
.pick { min-width: 190px; }
.pick label, .demo label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 4px; }
select, .field { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid var(--ink); border-radius: 0; background: #fff; font: 16px/1.4 var(--sans); color: var(--ink); }
table.plaza, table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.plaza { border-top: 2px solid var(--ink); }
table.plaza th, table.plaza td, table.t th, table.t td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.plaza th, table.t th { font-size: 12px; font-weight: 600; color: var(--ink-3); }
table.plaza td:first-child { font-weight: 600; }
table.plaza th:first-child, table.plaza td:first-child { padding-left: 0; }
table.plaza .r, table.t .r { text-align: right; }
.where { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-3); }
.source { font-size: 13px; color: var(--ink-3); margin: 12px 0 0; }
.why p { color: var(--ink-2); max-width: 62ch; }
.why .disc { font-size: 14px; color: var(--ink-3); border-left: 3px solid var(--rule); padding-left: 12px; }
@media (max-width: 480px) { table.plaza th, table.plaza td { padding: 9px 4px; font-size: 14px; } table.t .wk { display: none; } }
@media (min-width: 980px) {
  .what-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 0 56px; align-items: start; }
}

/* price and its questions */
.plan { border-top: 3px solid var(--ink); padding-top: 18px; }
.amount { font: 600 clamp(48px, 13vw, 68px)/1 var(--serif); letter-spacing: -0.02em; margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.amount small { font: 500 17px/1 var(--sans); color: var(--ink-3); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 22px; }
.plan li { padding: 8px 0 8px 22px; border-bottom: 1px solid var(--rule); position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; background: var(--accent); }
.plan .after { font-size: 14px; color: var(--ink-3); margin: 12px 0 0; }
#faq { margin-top: 34px; }
#faq h3 { font-size: 26px; margin-bottom: 4px; }
.qa { margin: 0; }
.qa > div { padding: 16px 0 2px; border-top: 1px solid var(--rule); margin-top: 14px; }
.qa dt { font: 600 19px/1.25 var(--serif); }
.qa dd { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.more { display: inline-block; margin-top: 18px; padding: 10px 0; font-weight: 600; }
@media (min-width: 980px) {
  .price-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 0 56px; align-items: start; }
  #faq { margin-top: 0; border-top: 3px solid var(--ink); padding-top: 18px; }
  #faq .qa { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
}

/* band */
.band { background: var(--ink); color: #fff; padding: 46px 0 50px; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.band p { font: 500 clamp(26px, 6vw, 40px)/1.15 var(--serif); margin: 0; max-width: 22em; text-wrap: balance; }
.band .btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.band .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* footer */
.foot { padding: 30px 0 44px; font-size: 14px; color: var(--ink-3); }
.foot .wrap { display: grid; gap: 10px; }
.foot .brand { justify-self: start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot nav a { color: var(--ink-2); display: inline-block; padding: 10px 0; min-height: 44px; }
.foot .credit { max-width: 70ch; margin: 0; }
.foot p { margin: 0; }

/* /questions/ */
.page-head { padding: 30px 0 30px; border-bottom: 1px solid var(--ink); }
.page-head h1 { font-size: clamp(36px, 8vw, 60px); margin: 0 0 10px; }
.page-head p { font: 500 19px/1.4 var(--serif); color: var(--ink-2); margin: 0; max-width: 36em; }
.allqa .qa { max-width: 760px; }
@media (min-width: 980px) { .allqa .qa { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; max-width: none; } }
.demo form { display: grid; gap: 8px; max-width: 720px; }
.demo .line { display: flex; flex-wrap: wrap; gap: 10px; }
.demo .line .field { flex: 1 1 260px; width: auto; }
.demo .line select { flex: 0 1 180px; width: auto; }
.hint { font-size: 14px; color: var(--ink-3); margin: 2px 0 0; }
.demo .out { margin-top: 22px; max-width: 820px; }
.demo .out h3 { font-size: 26px; }
.sum { display: grid; grid-template-columns: repeat(3, 1fr); margin: 10px 0 16px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.sum div { padding: 8px 10px 8px 0; }
.sum div + div { padding-left: 12px; border-left: 1px solid var(--rule); }
.sum small { display: block; font-size: 12.5px; color: var(--ink-3); }
.sum strong { font: 600 24px/1.2 var(--serif); font-variant-numeric: tabular-nums; }
.card { border: 1px solid var(--rule); background: #fff; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.msg { padding: 12px 14px; font-size: 15px; margin: 0 0 16px; border-left: 3px solid var(--rule); background: var(--tint); }
.msg.err { border-color: var(--up); color: #8c1d17; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 1px 6px; border: 1px solid var(--rule); color: var(--ink-2); vertical-align: middle; white-space: nowrap; }
.tag.draft { border-color: #d9b766; color: #7a5300; }
.tag.alt { border-color: #b9a8d6; color: #4f3a78; }
.mail { max-width: 760px; border: 1px solid var(--ink); box-shadow: 6px 6px 0 -1px #fff, 6px 6px 0 0 var(--ink); }
.mail .hdr { padding: 12px 18px; border-bottom: 2px solid var(--ink); font-size: 14px; color: var(--ink-3); }
.mail .hdr b { display: block; font: 600 19px/1.25 var(--serif); color: var(--ink); }
.mail .txt { padding: 4px 18px 18px; font-size: 15px; }
.mail h3 { font: 600 19px/1.3 var(--serif); color: var(--accent-ink); margin: 18px 0 6px; }
.mail ul, .mail ol { margin: 0; padding-left: 20px; }
.mail li { margin: 4px 0; }
.biz { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0 0 14px; border-top: 1px solid var(--ink); }
.biz li { font: 600 20px/1.2 var(--serif); padding: 12px 22px 12px 0; margin-right: 22px; border-bottom: 1px solid var(--rule); }
