:root {
  --orange: #C87432;
  --orange-light: #E08A45;
  --orange-fill: #A95D22;
  --orange-fill-hover: #934F1B;
  --orange-ink: #95501C;
  --orange-soft: #F6E7DA;
  --ink: #1E2328;
  --gray: #5F656B;
  --muted: #80868C;
  --line: #E3E0DB;
  --paper: #FFFFFF;
  --paper-alt: #F6F4F1;
  --night: #0B1C25;
  --night-2: #12252F;
  --on-night: #F2F1EE;
  --on-night-2: rgba(242, 241, 238, .72);
  --on-night-line: rgba(242, 241, 238, .12);
  --positive: #2F7A47;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; margin: 0; }
h1, h2 { letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.icon { width: 18px; height: 18px; flex: none; }

.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); }

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 28, 37, .92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--on-night-line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--on-night); }
.logo span { font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.logo b { color: var(--orange-light); font-weight: 600; }

.main-nav { display: flex; gap: 28px; margin-right: auto; }
.main-nav a { color: var(--on-night-2); text-decoration: none; font-size: 15px; font-weight: 400; transition: color .15s var(--ease); }
.main-nav a:hover { color: var(--on-night); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang-toggle { display: inline-flex; gap: 2px; border: 1px solid var(--on-night-line); border-radius: 10px; padding: 3px; }
.lang-toggle button {
  border: 0; background: none; color: var(--on-night-2);
  font: 500 12px/1 var(--font-mono);
  height: 28px; padding: 0 8px; border-radius: 7px; cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.lang-toggle button:hover { color: var(--on-night); }
.lang-toggle button[aria-pressed="true"] { background: rgba(242, 241, 238, .14); color: var(--on-night); }

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 16px/1 var(--font-body);
  height: 48px; padding: 0 20px; border-radius: 10px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--orange-fill); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn-primary:hover { background: var(--orange-fill-hover); }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-ghost { color: var(--on-night); background: rgba(242, 241, 238, .06); border-color: rgba(242, 241, 238, .16); }
.btn-ghost:hover { background: rgba(242, 241, 238, .1); }
.btn-small { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; margin-top: 24px; }

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--on-night);
  min-height: min(860px, 100vh);
  display: flex;
  align-items: center;
  padding: 128px 0 96px;
}
.hero-art {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
}
.hero-art img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 28, 37, .75) 0%, rgba(11, 28, 37, .5) 38%, rgba(11, 28, 37, 0) 58%),
    linear-gradient(to top, rgba(11, 28, 37, .6) 0%, rgba(11, 28, 37, 0) 30%);
}
.hero-inner { position: relative; z-index: 2; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--on-night-2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-light); flex: none; }

.hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.04; letter-spacing: -0.03em; margin: 24px 0 24px; max-width: 13ch; }
.accent { color: var(--orange-light); }
.hero-lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--on-night-2); max-width: 34rem; }
.hero-lead + .hero-lead { margin-top: 16px; }
.hero-what { color: var(--on-night); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Sections */

.section { padding: 96px 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--night); color: var(--on-night); }

.section-head { margin-bottom: 40px; max-width: 760px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 12px; }
.section-head p { margin-top: 12px; color: var(--gray); font-size: 17px; }
.section-dark .section-head p { color: var(--on-night-2); }
.eyebrow { font: 400 13px/1 var(--font-mono); color: var(--orange-ink); font-variant-numeric: tabular-nums; }
.section-dark .eyebrow { color: var(--orange-light); }

/* Fields */

.field { display: block; margin-bottom: 24px; }
.field-label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 8px; }
.field-hint { display: block; font-size: 14px; color: var(--gray); margin-bottom: 12px; }

input[type="text"], input[type="email"], textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
input[type="text"], input[type="email"] { height: 48px; }
textarea { resize: vertical; min-height: 96px; }
input:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(200, 116, 50, .16); }

/* Groups: one row per group, subgroups open inside the row */

.group-list { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.group-row + .group-row { border-top: 1px solid var(--line); }
.group-head {
  display: flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 8px 16px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background-color .15s var(--ease);
}
.group-row:first-child, .group-row:first-child .group-head { border-radius: 11px 11px 0 0; }
.group-row:last-child, .group-row:last-child .group-head { border-radius: 0 0 11px 11px; }
.group-head:hover { background: var(--paper-alt); }
.group-head input { width: 20px; height: 20px; margin: 0; accent-color: var(--orange-fill); flex: none; }
.group-row:has(.group-head input:checked) { background: var(--paper-alt); }

.subgroup-panel {
  margin: 0; border: 0; min-width: 0;
  padding: 0 16px 16px 48px;
  animation: fade-in .24s var(--ease);
}

@keyframes fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center;
  height: 32px; padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.chip:hover span { border-color: var(--orange); }
.chip input:checked + span { background: var(--orange-soft); border-color: var(--orange); color: var(--orange-ink); }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

/* Cards */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card h3 { font-size: 20px; }
.card p { color: var(--gray); }

.state {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 13px; color: var(--gray);
}
.state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--muted); }
.state-live::before { background: var(--positive); }
.state-partial::before { background: var(--orange); }

.sell-card { gap: 14px; padding: 28px; }
.sell-top { display: flex; align-items: center; gap: 14px; }
.sell-icon { width: 40px; height: 40px; color: var(--orange); flex: none; }
.sell-card h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.sell-sub { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink) !important; }
.soon-pill {
  margin-left: auto;
  font-size: 13px; font-weight: 500; color: var(--orange-ink);
  padding: 3px 10px; border: 1px solid var(--orange); border-radius: 999px;
}

.checklist { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.checklist svg { width: 18px; height: 18px; margin-top: 3px; color: var(--orange); flex: none; }

.preview {
  margin-top: 8px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper-alt);
  padding: 6px 14px;
  font-size: 14px;
}
.pv-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.pv-row + .pv-row { border-top: 1px solid var(--line); }
.pv-row span { font-weight: 500; }
.pv-price {
  font-weight: 600; color: var(--orange-ink); white-space: nowrap;
  background: var(--orange-soft); border-radius: 6px; padding: 3px 8px;
}
.preview-tender { padding: 14px; text-align: center; }
.pv-meta { color: var(--ink) !important; font-weight: 500; }
.pv-locks { display: flex; justify-content: center; gap: 14px; margin: 10px 0; }
.pv-locks span {
  display: grid; place-items: center; width: 40px; height: 34px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--gray);
}
.pv-locks svg { width: 18px; height: 18px; }
.pv-bar { background: #DCE6EE; color: var(--night) !important; border-radius: 6px; padding: 6px 8px; font-weight: 500; }
.preview-auction { display: grid; grid-template-columns: 1fr 1fr; padding: 14px 0; text-align: center; }
.preview-auction > div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 10px; }
.preview-auction > div + div { border-left: 1px solid var(--line); }
.preview-auction span { color: var(--gray); font-size: 13px; }
.pv-timer {
  font: 500 18px/1 var(--font-mono); font-variant-numeric: tabular-nums;
  color: #fff; background: var(--night); border-radius: 6px; padding: 7px 10px;
}
.preview-auction .pv-price { font-size: 17px; padding: 5px 10px; }

.sell-card .state { margin-top: auto; padding-top: 4px; }
.interest { align-self: flex-start; margin-top: 4px; font-size: 16px; }
.interest input { width: 22px; height: 22px; }
.sell-card.is-soon { background: #fff; }

.day-one {
  margin-top: 28px; padding: 18px 22px;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--orange);
  border-radius: 12px; font-size: 16px; max-width: 760px;
}
.day-one b { font-weight: 600; }
.mock-note { margin-top: 14px; font-size: 13px; font-style: italic; color: var(--muted); }

/* Example listings: a working preview of the listing page */

.mock {
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--paper-alt); padding: 20px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filter {
  font: 500 15px/1 var(--font-body); color: var(--ink);
  height: 40px; padding: 0 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.filter:hover { border-color: var(--orange); }
.filter[aria-pressed="true"] { background: var(--orange-fill); border-color: var(--orange-fill); color: #fff; }

.listings { display: flex; flex-direction: column; gap: 12px; }
.listing {
  display: grid; grid-template-columns: 260px 1fr auto; gap: 28px; align-items: center;
  padding: 12px 28px 12px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  animation: fade-in .24s var(--ease);
}
.listing-img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 10px; display: block; }
.listing h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.listing-loc { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--gray); font-size: 15px; }
.listing-loc svg { width: 16px; height: 16px; }
.listing-specs { margin-top: 4px; color: var(--gray); font-size: 15px; }
.listing-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ltag {
  font-size: 13px; font-weight: 500; line-height: 1;
  padding: 7px 10px; border-radius: 6px;
  background: var(--paper-alt); color: var(--gray); border: 1px solid var(--line);
}
.ltag-dark { background: var(--night); color: #fff; border-color: var(--night); }
.ltag-orange { background: var(--orange-soft); color: var(--orange-ink); border-color: #EBCFB6; }
.ltag-teal { background: #E0F2EE; color: #1E6B5B; border-color: #C3E4DC; }
.ltag { display: inline-flex; align-items: center; gap: 5px; }
.ltag svg { width: 14px; height: 14px; flex: none; }
.listing-side { display: flex; flex-direction: column; gap: 4px; min-width: 210px; }
.listing-price { font-family: var(--font-head); font-weight: 600; font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; }
.listing-price small { font-size: 15px; font-weight: 600; }
.listing-note { color: var(--gray); font-size: 14px; }
.mock-btn {
  display: flex; align-items: center; justify-content: center;
  height: 44px; margin-top: 10px; border-radius: 10px;
  background: var(--orange-fill); color: #fff; font-weight: 500; font-size: 15px;
  user-select: none;
}

/* First users perks */

.perks {
  margin-bottom: 40px; padding: 24px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.perks h3 { font-size: 20px; margin-bottom: 12px; }
.perks .checklist li { font-size: 16px; }

.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 500; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--orange-fill); margin: 0; flex: none; }

/* Trust */

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.trust-item {
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--on-night-line);
}
.trust-item svg { width: 20px; height: 20px; color: var(--on-night-2); flex: none; }
.trust-item svg { margin-bottom: 4px; }
.trust-item h3 { font-size: 20px; line-height: 1.35; }
.trust-item p { color: var(--on-night-2); max-width: 22em; }

/* Form */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.consent { margin-top: 8px; font-weight: 400; }
.consent a { color: var(--orange-ink); }
.form-status { margin-top: 16px; font-weight: 500; min-height: 1.6em; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.stepper {
  display: flex; align-items: center; gap: 12px;
  list-style: none; margin: 0 0 32px; padding: 0;
  font-size: 14px; color: var(--gray);
}
.stepper li { display: flex; align-items: center; gap: 8px; }
.stepper li + li::before { content: ''; width: 48px; height: 1px; background: var(--line); margin-right: 4px; }
.step-num {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  font: 500 12px/1 var(--font-mono);
}
.stepper .is-active { color: var(--ink); font-weight: 500; }
.stepper .is-active .step-num { background: var(--ink); border-color: var(--ink); color: #fff; }
.stepper .is-done .step-num { background: var(--positive); border-color: var(--positive); color: #fff; }

.form-done {
  padding: 16px 20px; margin-bottom: 32px;
  background: var(--orange-soft); border-radius: 12px;
  color: var(--ink);
}
.form-done b { font-weight: 600; }
.form-done:focus { outline: none; }
.more-title { font-size: 24px; margin-bottom: 24px; }
.more-title:focus { outline: none; }
.optional { font: 400 15px/1 var(--font-body); color: var(--gray); }
.methods { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.methods legend { padding: 0; }
.form-actions { display: flex; gap: 12px; margin-top: 8px; }
.form-actions .btn { width: auto; }
.form-actions .btn-primary { flex: 2 1 0; }
.form-actions .btn-secondary { flex: 1 1 0; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--gray); }

/* Bottom join bar on phone and tablet */

.sticky-cta { display: none; }
.form-status.is-success { color: var(--positive); }
.form-status.is-error { color: #B3261E; }

/* Footer */

.site-footer { background: var(--night); color: var(--on-night-2); padding: 40px 0; font-size: 14px; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-note { margin-right: auto; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--on-night); }

/* Privacy page */

.page { padding: 128px 0 96px; }
.page h1 { font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 32px; }
.page h2 { font-size: 18px; margin: 32px 0 8px; }
.page p { color: #3A4046; }
.page mark { background: var(--orange-soft); color: var(--orange-ink); padding: 0 4px; border-radius: 4px; }
.page-back { display: inline-block; margin-bottom: 24px; color: var(--orange-ink); font-weight: 500; text-decoration: none; }
.page-header { background: var(--night); }
.page-date { margin: -20px 0 8px; font-size: 14px; color: var(--gray) !important; }

html[data-lang="sr"] [data-only="en"],
html[data-lang="en"] [data-only="sr"] { display: none; }

/* Responsive */

@media (max-width: 1280px) {
  .hero-art {
    left: 30%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%);
    mask-image: linear-gradient(to right, transparent 0%, #000 30%);
  }
  .hero-lead { max-width: 30rem; }
}

@media (max-width: 960px) {
  .main-nav { display: none; }
  .hide-tablet { display: none; }
  .sticky-cta {
    display: block;
    position: fixed; inset: auto 0 0; z-index: 9;
    padding: 12px 24px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transform: translateY(100%);
    transition: transform .25s var(--ease);
  }
  .sticky-cta .btn { width: 100%; }
  .sticky-cta.is-visible { transform: none; }
  .is-joined .sticky-cta { display: none; }

  .header-actions { margin-left: auto; }
  .cards, .trust { grid-template-columns: 1fr; }
  .trust { gap: 24px; }
  .hero { flex-direction: column; align-items: stretch; padding-bottom: 0; min-height: 0; }
  .hero::before { display: none; }
  .hero-art {
    position: relative; inset: auto; order: 2;
    margin-top: -10vw;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 22%);
  }
  .hero-art img { height: auto; }
  .listing { grid-template-columns: 200px 1fr; padding-right: 20px; gap: 20px; }
  .listing-side {
    grid-column: 1 / -1; min-width: 0;
    display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px;
    padding: 12px 8px 4px; border-top: 1px solid var(--line);
  }
  .listing-note { grid-column: 1; }
  .mock-btn { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; padding: 0 20px; }
}

@media (max-width: 640px) {
  .hide-mobile { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 112px 0 0; }
  .hero-art { margin-top: -36vw; }
  .btn { width: 100%; }
  .btn-small { width: auto; }
  .subgroup-panel { padding-left: 16px; }
  .sticky-cta { padding-inline: 16px; }
  .stepper li + li::before { width: 24px; }
  .mock { padding: 12px; border-radius: 16px; }
  .listing { grid-template-columns: 1fr; gap: 14px; padding: 10px; }
  .listing-main { padding: 0 6px; }
  .listing h3 { font-size: 19px; }
  .listing-side { padding: 12px 6px 4px; grid-template-columns: 1fr; }
  .mock-btn { grid-column: 1; grid-row: auto; margin-top: 10px; }
  .sell-card { padding: 22px; }
  .perks { padding: 20px; }
}
