/* Vidare design system. Rules in branding/PRINCIPER.md */
:root {
  --paper: #f7f5f0; --card: #ffffff; --sunk: #efece5;
  --ink: #15171c; --ink-2: #3b3f48; --muted: #6b7280; --line: #e4e0d6; --line-2: #d6d1c4;
  --brand: #0e7a55; --brand-2: #0a5f42; --brand-soft: #e4f2ea; --sun: #ffd84d; --on-ink: #ffffff;
  --warn: #b26b00; --warn-soft: #fbf0dc; --bad: #b42318; --bad-soft: #fbe9e7;
  --shadow: 0 1px 2px rgba(21,23,28,.05), 0 8px 24px rgba(21,23,28,.08);
  --r-card: 12px; --r-ctl: 10px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.5 var(--sans); background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--brand-soft); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.02; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: var(--r-ctl); border: 1px solid transparent; background: var(--ink); color: var(--on-ink);
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .08s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { background: color-mix(in srgb, var(--ink) 86%, var(--brand)); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 16px; }
.btn.sm { height: 32px; padding: 0 12px; font-size: 14px; }
.btn.quiet { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn.quiet:hover { border-color: var(--ink-2); background: var(--card); }
.btn.ghost { background: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: var(--sunk); }
.btn.brand { background: var(--brand); color: #fff; }
.btn.brand:hover { background: var(--brand-2); }
.btn.danger { background: transparent; color: var(--bad); border-color: transparent; }
.btn.danger:hover { background: var(--bad-soft); }
.btn .kbd { font-size: 12px; opacity: .6; font-weight: 500; }

input, textarea, select { font: inherit; font-size: 15px; color: var(--ink); background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--r-ctl); padding: 9px 12px; width: 100%; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field .hint { font-weight: 400; color: var(--muted); font-size: 13px; }

.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 99px; font-size: 12.5px; font-weight: 600;
  background: var(--sunk); color: var(--ink-2); white-space: nowrap; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.tag.listed { background: var(--brand-soft); color: var(--brand); }
.tag.sold { background: var(--ink); color: var(--on-ink); }
.tag.plain::before { display: none; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-ctl); background: var(--sunk); font-size: 14px; color: var(--ink-2); }
.note.warn { background: var(--warn-soft); color: var(--warn); }
.note.ok { background: var(--brand-soft); color: var(--brand); }
.note b { color: inherit; }

.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.logo img { width: 26px; height: 26px; }

.spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--on-ink); padding: 10px 16px;
  border-radius: 10px; font-size: 14px; font-weight: 500; z-index: 100; box-shadow: var(--shadow); animation: up .2s ease-out; }
@keyframes up { from { opacity: 0; transform: translate(-50%, 8px); } }

/* =================== LANDING =================== */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 85%, transparent); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
.top nav { display: flex; gap: 4px; }
.top nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; padding: 6px 12px; border-radius: 8px; }
.top nav a:hover { background: var(--sunk); color: var(--ink); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang-select { width: auto; height: 32px; padding: 0 28px 0 10px; font-size: 14px; background: transparent; border-color: transparent; color: var(--ink-2); cursor: pointer; }
.lang-select:hover { border-color: var(--line-2); }

.hero { padding: 88px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 6px; border-radius: 99px; background: var(--card);
  border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 28px; }
.eyebrow b { background: var(--brand-soft); color: var(--brand); font-weight: 600; height: 20px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 99px; font-size: 12px; }
.hero h1 { font-size: clamp(48px, 6.4vw, 84px); }
.hero h1 em { font-style: italic; color: var(--ink); background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%); padding: 0 .08em; margin: 0 -.04em; }
.landing .btn:not(.quiet):not(.ghost) { background: var(--brand); color: #fff; }
.landing .btn:not(.quiet):not(.ghost):hover { background: var(--brand-2); transform: translateY(-1px); box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 30%, transparent); }
.stats { display: flex; gap: 32px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.stats div { display: grid; }
.stats b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.stats span { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .mock-item { animation: pop .5s cubic-bezier(.2,.8,.2,1) both; }
  .mock-item:nth-child(1) { animation-delay: .5s; } .mock-item:nth-child(2) { animation-delay: .75s; } .mock-item:nth-child(3) { animation-delay: 1s; }
  .mock-fan path { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw .7s ease-out .2s forwards; }
  .mock-price { animation: pop .5s cubic-bezier(.2,.8,.2,1) 1.35s both; }
  .hero h1 em { background-size: 0% 100%; background-repeat: no-repeat; animation: marker .6s ease-out .35s forwards; }
}
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes marker { to { background-size: 100% 100%; } }
.hero .lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); margin: 24px 0 36px; max-width: 30em; }
.cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cta-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* product mock: photo → listings */
.mock { position: relative; }
.mock-win { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock-body { display: grid; grid-template-columns: 150px 44px 1fr; gap: 12px; padding: 20px; align-items: center; }
.mock-photo { aspect-ratio: 4/5; border-radius: 10px; background: linear-gradient(170deg, #ece3d3 0%, #d8c9b0 100%); display: grid; place-items: center; overflow: hidden; }
.mock-photo .cup { width: 86%; filter: drop-shadow(0 6px 8px rgba(80,60,30,.18)); }
.mock-fan { width: 44px; height: 100%; min-height: 200px; color: var(--brand); }
.mock-meta { margin-top: 12px; display: grid; gap: 6px; }
.mock-meta .tag { justify-self: start; }
.mock-list { display: grid; gap: 10px; }
.mock-item { border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; display: grid; gap: 3px; background: var(--paper); }
.mock-item .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mock-item .mk { font-size: 12px; font-weight: 600; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.mock-item .mk code { font: 600 10.5px var(--sans); background: var(--sunk); padding: 2px 6px; border-radius: 5px; color: var(--ink-2); }
.mock-item .t { font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.mock-item .p { font-size: 13px; color: var(--muted); }

.mock-price { position: absolute; right: -14px; bottom: -18px; background: var(--ink); color: var(--on-ink); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); }
.mock-price .label { color: color-mix(in srgb, var(--on-ink) 60%, transparent); font-size: 11px; }
.mock-price b { font-size: 20px; }

.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.logos .wrap { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.logos .label { margin-right: 8px; }
.logos span.m { font-weight: 700; font-size: 17px; color: var(--muted); letter-spacing: -.02em; }

.sec { padding: 112px 0; }
.sec-head { max-width: 680px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(36px, 4.4vw, 56px); }
.sec-head p { font-size: 18px; color: var(--ink-2); margin-top: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; }
.step { padding: 32px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step .n { font-family: var(--serif); font-size: 44px; color: var(--brand); line-height: 1; margin-bottom: 24px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-2); }
.step .time { margin-top: 20px; font-size: 13px; font-weight: 600; color: var(--muted); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare .card { padding: 32px; }
.compare h3 { font-size: 15px; margin-bottom: 20px; }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.compare li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.compare li svg { flex: none; margin-top: 3px; }
.compare .big { font-family: var(--serif); font-size: 64px; line-height: 1; margin-bottom: 4px; }
.compare .after { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.compare .after li { color: color-mix(in srgb, var(--on-ink) 85%, transparent); }
.compare .after .big { color: var(--on-ink); }
.compare .after .muted { color: color-mix(in srgb, var(--on-ink) 60%, transparent); }

.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.feat { background: var(--card); padding: 36px; }
.feat .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 20px; }
.feat h3 { font-size: 20px; margin-bottom: 8px; }
.feat p { color: var(--ink-2); max-width: 34em; }

.markets-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mkt { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.mkt b { font-size: 16px; }
.mkt span { font-size: 12px; font-weight: 600; color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.plan.featured { border: 1.5px solid var(--ink); box-shadow: var(--shadow); position: relative; }
.plan .pop { position: absolute; top: -12px; left: 32px; background: var(--ink); color: var(--on-ink); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.plan h3 { font-size: 18px; }
.plan .sub { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.plan .price { font-family: var(--serif); font-size: 56px; line-height: 1; margin: 28px 0 4px; }
.plan .per { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.plan li svg { flex: none; margin-top: 4px; color: var(--brand); }
.plan .btn { width: 100%; }

.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 40em; }

.final { text-align: center; padding: 120px 0; border-top: 1px solid var(--line); }
.final h2 { font-size: clamp(40px, 5.4vw, 72px); margin-bottom: 20px; }
.final p { color: var(--ink-2); font-size: 18px; margin-bottom: 32px; }
.final form { display: flex; gap: 8px; justify-content: center; max-width: 440px; margin: 28px auto 0; }
.final form input { flex: 1; height: 40px; }

.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot a { color: var(--muted); text-decoration: none; margin-left: 20px; }
.foot a:hover { color: var(--ink); }

.legal main { max-width: 720px; margin: 0 auto; padding: 48px 24px 96px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: 48px; margin: 24px 0 8px; }
.legal h2 { font-size: 18px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .draft { margin: 16px 0 24px; }

/* =================== APP =================== */
.app { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 16px 12px; border-right: 1px solid var(--line); background: var(--paper); }
.side .logo { padding: 6px 10px 20px; }
.side nav { display: grid; gap: 2px; }
.side nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.side nav a svg { color: var(--muted); }
.side nav a:hover { background: var(--sunk); color: var(--ink); }
.side nav a.on { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.side nav a.on svg { color: var(--brand); }
.side nav a .count { margin-left: auto; font-size: 12px; color: var(--muted); }
.side .grow { flex: 1; }
.quota { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin-bottom: 12px; }
.quota .row { display: flex; justify-content: space-between; font-size: 13px; }
.quota .row b { font-weight: 600; }
.meter { height: 6px; border-radius: 99px; background: var(--sunk); margin: 10px 0 12px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.quota a { font-size: 13px; font-weight: 600; color: var(--brand); text-decoration: none; }
.me { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.me .av { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.me .em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); flex: 1; }

.main { min-width: 0; }
.bar-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 40px; border-bottom: 1px solid var(--line); min-height: 73px; }
.bar-top h1 { font-size: 20px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); min-width: 0; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs b { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page { padding: 32px 40px 80px; max-width: 1180px; }

.filters { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; background: var(--sunk); border-radius: 10px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.seg button span { color: var(--muted); margin-left: 4px; font-weight: 400; }
.search { position: relative; width: 260px; }
.search input { padding-left: 34px; height: 36px; }
.search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.tile { display: block; text-decoration: none; color: inherit; border-radius: 12px; }
.tile .ph { aspect-ratio: 1; border-radius: 12px; background: var(--sunk) center/cover; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: transform .15s; }
.tile:hover .ph { transform: translateY(-2px); box-shadow: var(--shadow); }
.tile .tt { margin-top: 10px; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .sub { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.tile.add .ph { border: 1.5px dashed var(--line-2); background: transparent; }
.tile.add:hover .ph { border-color: var(--brand); color: var(--brand); box-shadow: none; }

.dropzone { display: grid; place-items: center; text-align: center; gap: 12px; padding: 64px 24px; border: 1.5px dashed var(--line-2); border-radius: 16px; background: var(--card); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.over { border-color: var(--brand); background: color-mix(in srgb, var(--brand-soft) 50%, var(--card)); }
.dropzone .ic { width: 56px; height: 56px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.dropzone h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; }
.dropzone p { color: var(--muted); }
.dropzone.compact { padding: 28px; }
.dropzone.compact h2 { font-family: var(--sans); font-size: 16px; font-weight: 600; }

/* item page: three steps */
.flow > * { min-width: 0; }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.stepbox { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 16px; }
.stepbox > header { display: flex; align-items: center; gap: 14px; padding: 18px 22px; }
.stepbox > header .num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--sunk); color: var(--ink-2); flex: none; }
.stepbox.done > header .num { background: var(--brand); color: #fff; }
.stepbox > header h2 { font-size: 16px; }
.stepbox > header .aside { margin-left: auto; font-size: 13.5px; color: var(--muted); }
.stepbox .body { padding: 0 22px 22px; }
.stepbox.locked { opacity: .55; }
.stepbox.locked .body { display: none; }

.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 10px; background: var(--sunk) center/cover; border: 1px solid var(--line); }
.thumb:first-child::after { content: attr(data-cover); position: absolute; left: 6px; bottom: 6px; font-size: 11px; font-weight: 600; background: rgba(0,0,0,.6); color: #fff; padding: 2px 7px; border-radius: 6px; }
.thumb button { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .15s; }
.thumb:hover button, .thumb button:focus-visible { opacity: 1; }
.thumb.add { display: grid; place-items: center; border: 1.5px dashed var(--line-2); background: transparent; color: var(--muted); cursor: pointer; }
.thumb.add:hover { border-color: var(--brand); color: var(--brand); }

.mchips { display: flex; flex-wrap: wrap; gap: 8px; }
.mchip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 10px; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; font-size: 14.5px; font-weight: 500; background: var(--card); user-select: none; transition: all .12s; }
.mchip input { display: none; }
.mchip .box { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: all .12s; }
.mchip .lng { font-size: 11px; font-weight: 600; color: var(--muted); }
.mchip.on { border-color: var(--ink); box-shadow: inset 0 0 0 .5px var(--ink); }
.mchip.on .box { background: var(--ink); border-color: var(--ink); }
.mchip.on .box::after { content: ""; width: 8px; height: 5px; border: 2px solid var(--on-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.details .wide { grid-column: 1 / -1; }
.more { margin-top: 18px; }
.more summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2); list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; color: var(--muted); }
.more[open] summary::before { content: "–"; }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 0 -22px 20px; padding: 0 22px; overflow-x: auto; scrollbar-width: none; }
.tabs button { border: 0; background: none; padding: 10px 12px 12px; font-size: 14.5px; font-weight: 500; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.tabs .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.lhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.count { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.count.over { color: var(--bad); font-weight: 600; }
.copyline { display: flex; gap: 8px; }
.copyline input { font-weight: 600; }
.lfoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.lfoot .cat { font-size: 13.5px; color: var(--muted); }

.summary { position: sticky; top: 24px; display: grid; gap: 16px; }
.summary .card { padding: 20px; }
.summary .cover { aspect-ratio: 4/3; border-radius: 10px; background: var(--sunk) center/cover; margin-bottom: 16px; border: 1px solid var(--line); }
.price-big { font-family: var(--serif); font-size: 40px; line-height: 1.05; margin: 6px 0 8px; }
.posted-list { display: grid; gap: 2px; margin-top: 8px; }
.posted-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.posted-row:last-child { border-bottom: 0; }
.switch { position: relative; width: 34px; height: 20px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: var(--line-2); border-radius: 99px; cursor: pointer; transition: background .15s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(14px); }
.switch input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.removal { margin-top: 12px; }
.removal li a { color: var(--ink); font-weight: 600; }
.removal ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }

/* auth */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth .pane { display: flex; flex-direction: column; padding: 32px 48px; }
.auth .form { width: 100%; max-width: 380px; margin: auto; display: grid; gap: 16px; }
.auth h1 { font-family: var(--serif); font-weight: 400; font-size: 44px; margin-bottom: 4px; }
.auth .sub { color: var(--ink-2); margin-bottom: 12px; }
.auth .btn { width: 100%; }
.auth .switchline { text-align: center; font-size: 14.5px; color: var(--muted); }
.auth .switchline a { color: var(--ink); font-weight: 600; }
.auth .art { background: var(--ink); color: var(--on-ink); display: flex; flex-direction: column; justify-content: flex-end; padding: 56px; }
.auth .art blockquote { font-family: var(--serif); font-size: 40px; line-height: 1.12; margin: 0 0 24px; max-width: 13em; }
.auth .art .label { color: color-mix(in srgb, var(--on-ink) 55%, transparent); }
.auth .art .mini { display: grid; gap: 8px; margin-bottom: 48px; max-width: 360px; }
.auth .art .mini div { background: color-mix(in srgb, var(--on-ink) 8%, transparent); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.auth .art .mini b { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .55; margin-bottom: 2px; }
.err { color: var(--bad); font-size: 14px; min-height: 20px; }

.settings { max-width: 560px; display: grid; gap: 16px; }
.settings .card { padding: 24px; display: grid; gap: 16px; }
.settings h2 { font-size: 16px; }

@media (max-width: 960px) {
  .hero .wrap, .compare, .auth { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }

  .mock-price { right: 12px; }
  .steps, .plans, .feats { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 72px 0; }
  .top nav { display: none; }
  .flow { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .auth .art { display: none; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .top .wrap { gap: 12px; }
  .top .right .login { display: none; }
  .mock-body { grid-template-columns: 110px 32px 1fr; gap: 8px; padding: 14px; }
  .mock-fan { width: 32px; }

  .final form { flex-direction: column; }
  .app { grid-template-columns: 1fr; }
  .side { position: sticky; top: 0; z-index: 10; height: auto; flex-direction: row; align-items: center; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side .logo { padding: 0 8px 0 0; }
  .side .logo span { display: none; }
  .side nav { display: flex; gap: 2px; overflow-x: auto; min-width: 0; flex: 1; scrollbar-width: none; }
  .side nav a { padding: 6px 10px; font-size: 14px; }
  .side nav a svg, .side nav a .count { display: none; }
  .side .grow, .quota, .me .em { display: none; }
  .me { display: none; }
  .mobile-only { display: block !important; }
  .bar-top .btn.danger { padding: 0 8px; }
  .bar-top { padding: 14px 16px; min-height: 0; }
  .page { padding: 20px 16px 64px; }
  .search { width: 100%; }
  .details { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .auth .pane { padding: 24px 16px; }
}
.auth .google { gap: 10px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* fee calculator pages */
.fees-hero { padding: 64px 0 0; max-width: 860px; }
.fees-hero h1 { font-size: clamp(44px, 6vw, 72px); }
.fees-hero .lead { font-size: 19px; color: var(--ink-2); margin: 18px 0 32px; }
.calc { padding: 24px; }
.calc-in { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 20px; }
.calc-in input { font-size: 22px; font-weight: 600; height: 52px; }
.calc-in select { height: 52px; }
.calc-out, .fee-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.calc-out th, .fee-table th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.calc-out td, .fee-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.calc-out tr.best td { background: var(--brand-soft); }
.calc-out td:nth-child(2) b { font-size: 17px; }
.fee-table td a { color: var(--muted); font-size: 13px; }
@media (max-width: 760px) {
  .calc-in { grid-template-columns: 1fr; }
  .calc-out th:nth-child(4), .calc-out td:nth-child(4) { display: none; }
  .fee-table { font-size: 14px; }
}
/* try-without-account demo in the hero */
.demo-bar { display: flex; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.demo-try { cursor: pointer; border-style: dashed; }
.demo-try:hover { border-color: var(--brand); color: var(--brand); }
.demo-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--brand-soft); }
.demo-cta[hidden] { display: none; }
