/* fairreply.shop front page and /questions/: a dark counter, a lit screen, a till docket. */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --bg: #0a0e0f;
  --bg-2: #0f1517;
  --line: #1f6f78;
  --teal: #1f6f78;
  --teal-lit: #6cc3cb;
  --text: #e9efef;
  --muted: #9aabad;
  --screen: #121b1d;
  --paper: #eeebe3;
  --ink: #1b2324;
  --sans: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--sans); }
a { color: var(--teal-lit); }
a:focus-visible, button:focus-visible, textarea:focus-visible { outline: 2px solid var(--teal-lit); outline-offset: 3px; }
img { display: block; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* buttons: square-cornered, like a till key */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; background: var(--teal); color: #fff; font: 600 17px/1 var(--sans); text-decoration: none; border: 1px solid var(--teal-lit); border-radius: 4px; cursor: pointer; transition: background .15s; }
.btn:hover { background: #26838d; }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 15px; }

/* nav */
.nav { border-bottom: 1px solid rgba(31,111,120,.55); }
.nav-in { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 18px; text-decoration: none; letter-spacing: -.01em; }
.brand img { border-radius: 6px; }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.login { color: var(--text); text-decoration: none; font-size: 15px; padding: 12px 10px; }
.login:hover { color: var(--teal-lit); }

/* header */
.hero { padding: 32px 0 0; }
.hero-grid { display: grid; gap: 32px; }
h1 { font-size: clamp(34px, 9vw, 64px); line-height: 1.04; font-weight: 600; letter-spacing: -.03em; }
h1 em { font-style: normal; color: var(--teal-lit); }
.sub { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 34em; }
.cta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.note { font-size: 15px; color: var(--muted); }
.note b { color: var(--text); font-weight: 500; }

/* the counter: a thin teal line the screen sits on */
.counter { border-bottom: 1px solid var(--line); position: relative; }
.counter::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 6px; background: linear-gradient(180deg, rgba(31,111,120,.35), transparent); }

/* the lit screen */
.screen { position: relative; max-height: 600px; display: flex; flex-direction: column; contain: paint; background: var(--screen); border: 1px solid rgba(108,195,203,.45); border-bottom: 0; border-radius: 10px 10px 0 0; box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 -10px 60px rgba(31,111,120,.28); overflow: hidden; }
.screen-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid rgba(108,195,203,.2); font-size: 14px; color: var(--muted); flex: none; }
.screen-bar img { border-radius: 4px; }
.screen-bar .tag { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--teal-lit); border: 1px solid rgba(108,195,203,.4); border-radius: 3px; padding: 2px 6px; }
.screen-body { padding: 16px; overflow-y: auto; flex: 1 1 auto; min-height: 0; padding-bottom: 72px; }
.screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 88px; background: linear-gradient(180deg, rgba(18,27,29,0), var(--screen) 85%); pointer-events: none; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.field textarea { margin-top: 6px; width: 100%; resize: vertical; background: #0a1011; color: var(--text); border: 1px solid rgba(108,195,203,.3); border-radius: 6px; padding: 10px 12px; font: 400 16px/1.45 var(--sans); }
.hint { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.row { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.status { font-size: 14px; color: var(--muted); }
.status.good { color: var(--teal-lit); }
.status.err { color: #f2a48a; }
.answer { margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(108,195,203,.3); }
.kind { display: inline-block; font: 500 13px/1 var(--mono); padding: 6px 9px; border-radius: 3px; border: 1px solid; }
.k-fault { color: #f4c77a; border-color: rgba(244,199,122,.55); background: rgba(244,199,122,.08); }
.k-change_of_mind { color: var(--teal-lit); border-color: rgba(108,195,203,.55); background: rgba(108,195,203,.08); }
.k-misuse { color: #f2a48a; border-color: rgba(242,164,138,.55); background: rgba(242,164,138,.08); }
.k-unclear { color: #c9d3d4; border-color: rgba(201,211,212,.45); background: rgba(201,211,212,.06); }
.a-block { margin-top: 14px; }
.a-h { font-size: 14px; font-weight: 600; color: var(--teal-lit); margin-bottom: 4px; }
.a-block p:not(.a-h), .a-block li { font-size: 15px; }
.a-block ul { padding-left: 18px; }
.reply { white-space: pre-line; font: 400 14px/1.55 var(--mono); background: #0a1011; border-left: 2px solid var(--teal); padding: 10px 12px; border-radius: 0 6px 6px 0; }
.sources { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* sections */
section { padding: 72px 0; }
h2 { font-size: clamp(28px, 6vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.lede { margin-top: 12px; color: var(--muted); max-width: 36em; }

/* how: three steps, numbered like docket lines */
.steps { list-style: none; margin-top: 36px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 22px 0; border-bottom: 1px solid rgba(31,111,120,.5); display: grid; grid-template-columns: 52px 1fr; gap: 0 12px; }
.steps .n { font: 500 15px/1.7 var(--mono); color: var(--teal-lit); }
.steps h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 16px; grid-column: 2; }

/* what: the till docket of what you don't owe */
#what { background: var(--bg-2); border-top: 1px solid rgba(31,111,120,.4); border-bottom: 1px solid rgba(31,111,120,.4); }
.what-grid { display: grid; gap: 36px; align-items: center; }
.docket { position: relative; max-width: 440px; width: 100%; margin: 0 auto; background: var(--paper); color: var(--ink); font: 400 14px/1.5 var(--mono); padding: 24px 22px 34px; transform: rotate(-1.2deg); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.docket::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: linear-gradient(-45deg, transparent 7px, var(--paper) 0) 0 0/14px 10px repeat-x, linear-gradient(45deg, transparent 7px, var(--paper) 0) 0 0/14px 10px repeat-x; }
.d-head { text-align: center; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.d-sub { text-align: center; font-size: 12px; color: #4b5759; margin-top: 2px; }
.d-rule { border: 0; border-top: 1px dashed #8a9496; margin: 14px 0; }
.d-lines { list-style: none; }
.d-lines li { display: flex; align-items: baseline; padding: 5px 0; }
.d-lines li::after { content: ""; flex: 1 1 12px; order: 1; min-width: 12px; margin: 0 6px; border-bottom: 2px dotted #8a9496; }
.d-lines li span:first-child { min-width: 0; }
.d-lines li span:last-child { order: 2; font-weight: 500; white-space: nowrap; }
.what-grid > * { min-width: 0; }
.d-total { display: flex; justify-content: space-between; font-weight: 500; text-transform: uppercase; }
.d-foot { margin-top: 12px; font-size: 12px; color: #4b5759; text-align: center; }

/* price beside its questions */
.price-grid { display: grid; gap: 40px; }
.plan { border: 1px solid var(--line); border-radius: 8px; padding: 28px 24px; background: linear-gradient(180deg, rgba(31,111,120,.14), rgba(31,111,120,0) 60%); align-self: start; }
.plan-name { font: 500 14px/1 var(--mono); color: var(--teal-lit); }
.amount { margin-top: 14px; font-size: 64px; line-height: 1; font-weight: 600; letter-spacing: -.03em; }
.amount small { font-size: 17px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.plan ul { list-style: none; margin: 20px 0 24px; }
.plan li { padding: 8px 0 8px 26px; border-top: 1px solid rgba(31,111,120,.35); position: relative; font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 5px; border-left: 2px solid var(--teal-lit); border-bottom: 2px solid var(--teal-lit); transform: rotate(-45deg); }
.plan .fine { margin-top: 12px; font-size: 14px; color: var(--muted); }
.compare { margin-top: 18px; font-size: 14px; color: var(--muted); }
#faq h2 { font-size: 28px; }
.qa { margin-top: 20px; }
.qa dt { font-weight: 600; font-size: 18px; padding-top: 16px; border-top: 1px solid rgba(31,111,120,.4); }
.qa dd { margin: 6px 0 16px; color: var(--muted); font-size: 16px; }
.more { display: inline-block; margin-top: 8px; padding: 10px 0; font-weight: 500; }

/* band */
.band { text-align: center; border-top: 1px solid var(--line); padding: 64px 0; }
.band h2 { max-width: 18em; margin: 0 auto; }
.band p { margin: 14px 0 22px; color: var(--muted); }

/* footer */
.foot { border-top: 1px solid rgba(31,111,120,.4); padding: 36px 0 44px; font-size: 14px; color: var(--muted); }
.foot-in { display: grid; gap: 20px; }
.foot p { margin-top: 10px; max-width: 34em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a, .syng-legal-links a { color: var(--text); display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; }
.brand { min-height: 44px; }
p, dd, li { text-wrap: pretty; }
h1, h2, h3, dt { text-wrap: balance; }
.qa dd { max-width: 60ch; }
.q-main { padding-top: 32px; }
.syng-legal-links { color: var(--muted); }

/* questions page */
.page-head { padding: 48px 0 8px; }
.page-head h1 { font-size: clamp(34px, 8vw, 56px); }
.q-grid { display: grid; gap: 40px; }
.q-side h2 { font-size: 24px; }
.q-side p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.q-side .block { padding: 20px 0; border-top: 1px solid rgba(31,111,120,.4); }
.q-side .block:first-child { border-top: 1px solid var(--line); }

@media (min-width: 900px) {
  .wrap { padding: 0 40px; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: end; }
  .hero-copy { padding-bottom: 48px; }
  .screen { max-height: 560px; }
  .screen-body { overflow: hidden; }
  .steps { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 32px; }
  .steps li { display: block; border-bottom: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .steps .n { display: block; font-size: 40px; line-height: 1; margin-bottom: 14px; }
  .what-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .price-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .qa { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .qa div { min-width: 0; }
  .foot-in { grid-template-columns: 1fr auto; align-items: start; }
  .q-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
  .q-grid .qa { display: block; }
}
@media (max-width: 380px) {
  .login { padding: 12px 6px; }
  .btn.small { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
