/* cenoskop.shop: the front page and /questions/. The result as it arrives, set like a letter. */
:root {
  --accent: #1d4e89;
  --accent-dark: #153a66;
  --tint: #eaf0f7;
  --tint-2: #dde7f2;
  --paper: #ffffff;
  --ink: #13233a;
  --ink-2: #3a4a5e;
  --muted: #56657a;
  --rule: #c8d6e7;
  --low: #1f6a4a;
  --low-soft: #e3f2ea;
  --warn: #7d5200;
  --warn-soft: #fbf0d6;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--tint);
  color: var(--ink);
  font: 400 17px/1.6 "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
}
a { color: var(--accent); }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons: squared, like a stamp on a form */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 17px; border-radius: 6px;
  box-shadow: 0 2px 0 var(--accent-dark);
}
.btn:hover { background: var(--accent-dark); }
.btn:focus-visible, a:focus-visible { outline: 3px solid #f2b632; outline-offset: 2px; }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 15px; }

/* nav */
.nav { padding: 12px 0; }
.nav .wrap { display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; margin-right: auto; min-height: 44px; }
.brand img { border-radius: 7px; }
.login { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 6px; min-height: 44px; display: inline-flex; align-items: center; }
.login:hover { text-decoration: underline; }

/* header: the letter beside the phone it lands on */
.hero { padding: 18px 0 40px; }
.hero-grid { display: grid; gap: 28px; grid-template-areas: "text" "phone"; }
.hero-text { grid-area: text; }
.hero-phone { grid-area: phone; }
.hero h1 { font-size: 32px; font-weight: 700; max-width: 15em; text-wrap: balance; }
.hero .sub { margin-top: 14px; color: var(--ink-2); max-width: 34em; font-size: 17px; }
.cta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cta-note { color: var(--muted); font-size: 15px; }
.cta-note b { color: var(--ink); font-weight: 600; }

/* the phone and the email in it */
.phone {
  position: relative; max-width: 380px; margin: 0 auto; max-height: 600px; overflow: hidden;
  background: #0f1c2e; border-radius: 34px; padding: 10px;
  box-shadow: 0 24px 48px -24px rgba(19, 35, 58, .45);
}
.phone::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 120px;
  background: linear-gradient(rgba(255,255,255,0), #fff 85%); border-radius: 0 0 26px 26px; pointer-events: none;
}
.screen { background: var(--paper); border-radius: 26px; overflow: hidden; min-height: 580px; }
.status { display: flex; justify-content: space-between; padding: 10px 22px 4px; font-size: 13px; font-weight: 600; color: var(--ink); }
.mail-top { padding: 8px 18px 12px; border-bottom: 1px solid #e3e9f1; }
.mail-from { display: flex; align-items: center; gap: 10px; }
.mail-from img { border-radius: 50%; }
.mail-from b { font-size: 15px; display: block; }
.mail-from span { font-size: 13px; color: var(--muted); }
.mail-subj { margin-top: 10px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.sample { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--warn); background: var(--warn-soft); padding: 2px 8px; border-radius: 4px; }
.mail-body { padding: 14px 18px 20px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.mail-body > p { max-width: 32em; }
.tender { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e3e9f1; }
.tender h3 { font-size: 16px; color: var(--ink); }
.t-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.t-facts { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 10px 0 0; font-size: 14px; }
.t-facts dt { color: var(--muted); }
.t-facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.low { display: inline-block; font-size: 12px; font-weight: 600; color: var(--low); background: var(--low-soft); padding: 1px 7px; border-radius: 4px; margin-left: 4px; }
.wins { margin-top: 10px; font-size: 13px; color: var(--muted); }
/* past winning prices on a scale */
.scale { position: relative; height: 26px; margin: 6px 0 2px; }
.scale::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: var(--tint-2); }
.scale i { position: absolute; top: 6px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--accent); }
.scale-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.wins ul { list-style: none; padding: 0; margin: 6px 0 0; color: var(--ink-2); }
.notice-link { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--accent); text-decoration: underline; }

/* sections */
section { padding: 52px 0; }
.sec-h { font-size: 26px; max-width: 18em; }
.lede { margin-top: 10px; color: var(--ink-2); max-width: 36em; }

/* how: three steps, like numbered points in a letter */
#how { background: var(--paper); }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--accent); padding-top: 14px; }
.steps li::before { content: counter(s); display: block; font-size: 30px; font-weight: 300; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.steps h3 { font-size: 19px; }
.steps p { margin-top: 6px; color: var(--ink-2); max-width: 30em; }

/* what: one result notice, taken apart */
.what-grid { display: grid; gap: 28px; margin-top: 8px; }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.fig b { display: block; font-size: 34px; font-weight: 600; color: var(--accent); line-height: 1.1; }
.fig span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.fig-src { margin-top: 12px; font-size: 13px; color: var(--muted); max-width: 36em; }
.notice { background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.notice-head { padding: 14px 18px; border-bottom: 1px solid var(--rule); background: #f6f9fc; }
.notice-head p { font-size: 13px; color: var(--muted); }
.notice-head b { display: block; font-size: 16px; color: var(--ink); margin-top: 2px; }
.lot { padding: 14px 18px; border-bottom: 1px dashed var(--rule); font-size: 14px; }
.lot:last-child { border-bottom: 0; }
.lot h3 { font-size: 15px; }
.lot dl { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; margin: 8px 0 0; }
.lot dt { color: var(--muted); }
.lot dd { margin: 0; text-align: right; font-weight: 500; }
.lot dd.win { color: var(--accent); font-weight: 700; }
.lot.void p { margin-top: 6px; color: var(--ink-2); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 7px; border-radius: 4px; background: var(--warn-soft); color: var(--warn); }

/* price beside its questions */
#price { background: var(--paper); }
.price-grid { display: grid; gap: 32px; }
.plan { background: var(--tint); border-radius: 10px; padding: 24px; border: 1px solid var(--rule); align-self: start; }
.plan .amount { font-size: 44px; font-weight: 700; line-height: 1.1; margin-top: 8px; }
.plan .amount small { font-size: 16px; font-weight: 400; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 16px 0 20px; }
.plan li { padding: 6px 0 6px 26px; position: relative; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan .fine { margin-top: 12px; font-size: 14px; color: var(--muted); }
#faq h3 { font-size: 22px; }
#faq dl { margin: 14px 0 0; }
#faq dt { font-weight: 600; margin-top: 16px; }
#faq dd { margin: 4px 0 0; color: var(--ink-2); max-width: 36em; }
.more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-weight: 500; }

/* band */
.band { background: var(--accent); color: #fff; text-align: center; padding: 48px 0; }
.band h2 { font-size: 26px; max-width: 20em; margin: 0 auto; }
.band p { margin-top: 8px; color: #d6e3f3; }
.band .btn { margin-top: 20px; background: #fff; color: var(--accent); box-shadow: 0 2px 0 #0d2a4d; }
.band .btn:hover { background: var(--tint); }

/* footer */
.foot { padding: 28px 0 36px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: grid; gap: 6px; }
.foot a { color: var(--ink-2); display: inline-block; padding: 6px 0; }
.syng-legal-links { color: var(--muted); }

/* /questions/ */
.page-head { padding: 24px 0 8px; }
.page-head h1 { font-size: 32px; font-weight: 700; }
.qa { display: grid; gap: 4px 40px; margin: 8px 0 0; }
.qa div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.qa dt { font-weight: 600; font-size: 18px; }
.qa dd { margin: 6px 0 0; color: var(--ink-2); }
.who { display: grid; gap: 18px; margin-top: 22px; }
.who div { border-top: 2px solid var(--accent); padding-top: 12px; }
.who b { display: block; font-size: 18px; font-weight: 600; }
.who span { display: block; margin-top: 4px; color: var(--ink-2); }
.plain-sec { background: var(--paper); }
.plain-sec .lede + .lede { margin-top: 12px; }

@media (min-width: 900px) {
  body { font-size: 18px; }
  .wrap { padding: 0 40px; }
  .hero { padding: 16px 0 56px; }
  .hero-grid { grid-template-columns: 400px 1fr; grid-template-areas: "phone text"; gap: 72px; align-items: center; }
  .hero h1 { font-size: 50px; }
  .hero .sub { font-size: 19px; margin-top: 20px; }
  .cta { margin-top: 30px; }
  .phone { max-height: 590px; margin: 0; }
  section { padding: 80px 0; }
  .sec-h { font-size: 34px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
  .what-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
  .price-grid { grid-template-columns: 380px 1fr; gap: 72px; }
  #faq dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .band { padding: 64px 0; }
  .band h2 { font-size: 34px; }
  .page-head { padding: 40px 0 8px; }
  .page-head h1 { font-size: 44px; }
  .qa { grid-template-columns: 1fr 1fr; }
  .who { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
}
p, dd, li { text-wrap: pretty; }
h1, h2, h3, .t-title, .mail-subj { text-wrap: balance; }
.t-title { display: block; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.foot a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 2px; }
.two-col > div + div { margin-top: 44px; }
.btn, .login, .brand { white-space: nowrap; }
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .nav .wrap { gap: 8px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .login { font-size: 14px; padding: 10px 4px; }
  .btn.small { font-size: 14px; padding: 0 12px; }
  .hide-s { display: none; }
}
@media (min-width: 900px) { .two-col > div + div { margin-top: 0; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
