/* selleransim.shop: the front page and /questions/. A teal field on top, a printed result label over its edge. Phone first. */
:root {
  --teal: #0e6b74;
  --teal-deep: #08474d;
  --teal-ink: #0a5259;
  --teal-pale: #e3f0f1;
  --ink: #101c21;
  --muted: #4a5b61;
  --line: #d3e0e2;
  --tape: #ffd23f;
  --warn: #7a3a00;
  --ok: #1f6b3a;
  --ok-soft: #e6f3ea;
  --danger: #a2271c;
  --display: "Black Han Sans", "Noto Sans KR", system-ui, sans-serif;
  --body: "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.65; font-size: 16px; word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.22; text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 6.4vw, 2.7rem); letter-spacing: -0.01em; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
li, dd { text-wrap: pretty; }
#sources > .wrap > p, #latest p { max-width: 70ch; }
.small { font-size: .9rem; color: var(--muted); }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 2px; }

/* buttons: flat, square-cornered, big */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .7em 1.5em; border-radius: 4px; border: 0; background: var(--teal); color: #fff; font: inherit; font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--teal-deep); color: #fff; }
.btn.big { min-height: 60px; font-size: 1.15rem; padding: .8em 1.8em; }
.btn.small { min-height: 44px; padding: .4em 1em; font-size: .95rem; }
.btn.on-field { background: #fff; color: var(--teal-deep); }
.btn.on-field:hover { background: var(--tape); color: var(--ink); }
.btn[disabled] { opacity: .55; cursor: default; }

/* top bar sits on the field */
.top { background: var(--teal); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--display); font-size: 1.15rem; white-space: nowrap; min-height: 44px; margin-right: auto; }
.brand img { border-radius: 8px; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.top .login { color: #fff; font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; white-space: nowrap; }
.top .login:hover { text-decoration: underline; color: #fff; }
.top .btn { white-space: nowrap; }
@media (max-width: 420px) { .top .wrap { gap: 10px; } .brand { font-size: .98rem; gap: 8px; } .brand img { width: 30px; height: 30px; } .top .btn { padding: .4em .8em; } }
@media (max-width: 350px) { .brand .word { display: none; } }

/* the field: teal down to the middle of the label */
.hero { background: linear-gradient(var(--teal) calc(100% - 150px), #fff 0); color: #fff; padding: 28px 0 8px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.35rem, 10.5vw, 4.9rem); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .45em; }
.hero .lead { font-size: 1.06rem; color: #e4f3f4; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 22px 0 30px; }
.cta .note { font-weight: 700; font-size: .98rem; }
.hero .cta .note { color: #fff; }
.hero-grid { display: grid; gap: 4px; }

/* the result, printed like a shipping label */
.label { margin: 0; color: var(--ink); }
.label-clip { position: relative; max-height: 470px; overflow: hidden; background: #fff; border: 2px solid var(--ink); border-radius: 6px; box-shadow: 10px 10px 0 var(--teal-deep); }
.label-clip::after { content: ""; position: absolute; inset: auto 0 0 0; height: 110px; background: linear-gradient(rgba(255,255,255,0), #fff 85%); pointer-events: none; }
.label-top { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 2px solid var(--ink); }
.label-top b { display: block; font-size: 1.05rem; }
.label-top span:not(.code) { font-size: .85rem; color: var(--muted); }
.code { flex: none; width: 70px; height: 38px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px); }
.label-sum { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 2px dashed var(--line); }
.label-sum div { padding: 12px 14px; border-right: 1px solid var(--line); }
.label-sum div:last-child { border-right: 0; }
.label-sum b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.2; }
.label-sum span { font-size: .8rem; color: var(--muted); }
.label-sum .hot { background: var(--tape); }
.label-sum .hot span { color: var(--ink); }
.row { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.row .name { font-weight: 700; }
.row .read { font-size: .86rem; color: var(--muted); }
.row .hit { margin-top: 6px; font-size: .9rem; padding: 8px 10px; border-left: 4px solid var(--tape); background: #fffbea; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: 1px 8px; border-radius: 3px; vertical-align: 2px; white-space: nowrap; }
.badge.warn { background: var(--tape); color: var(--ink); }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.label figcaption { font-size: .82rem; color: var(--muted); margin-top: 18px; }

/* sections */
section { padding: 56px 0; }
#how { padding-top: 40px; }
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 26px; }
.steps li { border-top: 4px solid var(--ink); padding-top: 14px; }
.steps .n { display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--teal); margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; }

#what { background: var(--teal-pale); }
.what-grid { display: grid; gap: 26px; }
.mail { background: #fff; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; }
.mail-head { display: grid; gap: 2px; padding: 12px 16px; background: var(--ink); color: #cfdadd; font-size: .86rem; }
.mail-head b { color: #fff; margin-left: 4px; }
.mail-body { padding: 16px; font-size: .95rem; }
.mail-h { font-weight: 700; margin: 0 0 6px; }
.mail-body ul { margin: 0 0 16px; padding-left: 1.1em; }
.mail-body li { margin-bottom: 4px; }
.dates li { color: var(--muted); }
.hotnum { background: var(--tape); padding: 0 6px; }
.fine { font-size: .82rem; color: var(--muted); margin: 0; }

.price-grid { display: grid; gap: 40px; }
.price { background: var(--teal); color: #fff; padding: 28px 24px; border-radius: 6px; }
.price h2 { color: #fff; }
.price .amount { font-family: var(--display); font-size: clamp(3rem, 14vw, 4.6rem); line-height: 1; margin: 6px 0 16px; }
.price .amount span { font-size: 1.3rem; margin-left: 6px; }
.price p { color: #e4f3f4; }
.price .btn { background: #fff; color: var(--teal-deep); margin: 6px 0 16px; }
.price .btn:hover { background: var(--tape); color: var(--ink); }
.price .small { color: #d3eaec; margin: 0; }
.faq-h { font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
#faq dl { margin: 0; }
#faq dt { font-weight: 700; margin-top: 18px; }
#faq dd { margin: 4px 0 0; color: var(--muted); }
.more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; font-weight: 700; }

.band { background: var(--teal-deep); color: #fff; padding: 56px 0; }
.band h2 { color: #fff; max-width: 18em; }
.band .cta { margin: 18px 0 0; }

.foot { background: var(--ink); color: #b9c7cb; padding: 40px 0 48px; font-size: .9rem; }
.foot .wrap { display: grid; gap: 10px; }
.foot .brand { color: #fff; margin: 0; }
.foot p { margin: 0; }
.foot a { color: #fff; }
.syng-legal-links a { display: inline-block; padding: 10px 0; }

/* /questions/ */
.qhead { background: var(--teal); color: #fff; padding: 32px 0 44px; }
.qhead h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.3rem, 9vw, 4rem); margin: 0 0 .3em; }
.qhead .lead { color: #e4f3f4; max-width: 40em; margin: 0; }
.tint { background: var(--teal-pale); }
.two { display: grid; gap: 22px; }
.panel { background: #fff; border: 2px solid var(--ink); border-radius: 6px; padding: 18px; }
.panel label { display: block; font-weight: 700; margin-bottom: 6px; }
.panel textarea { width: 100%; font: inherit; padding: 10px 12px; border: 2px solid var(--line); border-radius: 4px; resize: vertical; margin-bottom: 12px; }
.panel textarea:focus { border-color: var(--teal); outline: none; }
.msg { margin-top: 12px; }
.msg:empty { display: none; }
.msg.err { color: var(--danger); font-weight: 700; }
.msg.info { padding: 10px 12px; background: var(--teal-pale); border-radius: 4px; }
.muted { color: var(--muted); }
#try-out .row { padding-inline: 0; }
.list { width: 100%; border-collapse: collapse; margin: 14px 0; background: #fff; font-size: .92rem; }
.list th, .list td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.list th { background: var(--ink); color: #fff; font-weight: 700; }
.list .date { white-space: nowrap; font-weight: 700; }
@media (max-width: 719px) {
  .list thead { display: none; }
  .list, .list tbody, .list tr, .list td { display: block; }
  .list tr { border: 2px solid var(--ink); border-radius: 6px; margin-bottom: 10px; }
  .list td { border: 0; padding: 4px 12px; }
  .list td:first-child { padding-top: 10px; }
  .list td:last-child { padding-bottom: 10px; color: var(--muted); }
}
.src { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 12px; }
.src li { border-left: 4px solid var(--teal); padding: 4px 0 4px 14px; }
.src a { display: block; font-weight: 700; }
.src span { font-size: .9rem; color: var(--muted); }
.who { display: grid; gap: 16px; margin: 14px 0 20px; }
.who div { background: #fff; border: 2px solid var(--ink); border-radius: 6px; padding: 14px 16px; }
.who dt { font-family: var(--display); font-size: 1.3rem; }
.who dd { margin: 4px 0 0; color: var(--muted); }
.strong-note { font-weight: 700; border-left: 4px solid var(--tape); padding-left: 12px; }
.qa { margin: 0; display: grid; gap: 4px 40px; }
.qa div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.qa dt { font-weight: 700; }
.qa dd { margin: 4px 0 0; color: var(--muted); }

/* computer: the page takes the width */
@media (min-width: 900px) {
  .top .wrap { min-height: 76px; }
  .hero { padding-top: 36px; background: linear-gradient(var(--teal) calc(100% - 200px), #fff 0); }
  .hero h1 { margin-bottom: .5em; }
  .hero-grid { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
  .hero .lead { font-size: 1.12rem; }
  .cta { margin-top: 26px; }
  .label-clip { max-height: 440px; }
  .label figcaption { margin-top: 16px; }
  section { padding: 84px 0; }
  #how { padding-top: 56px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .what-grid { grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
  .price-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .price { padding: 40px; }
  .band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
  .band h2 { margin: 0; }
  .band .cta { margin: 0; flex: none; }
  .foot .wrap { grid-template-columns: auto 1fr; column-gap: 40px; }
  .foot .brand { grid-row: span 3; align-self: start; }
  .two { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
  .src { grid-template-columns: repeat(2, 1fr); gap: 18px 40px; }
  .who { grid-template-columns: repeat(4, 1fr); }
  .qa { grid-template-columns: repeat(2, 1fr); }
  .qhead { padding: 48px 0 64px; }
}
