/* يو سوريا public website
   Brand direction: Damascus Blue + Syrian tricolor accents */

:root {
  color-scheme: light;
  --blue-900: oklch(22% 0.09 260);
  --blue-800: oklch(31% 0.13 260);
  --blue-700: oklch(39% 0.15 260);
  --blue-600: oklch(45% 0.16 260);
  --blue-100: oklch(93% 0.035 260);
  --paper: oklch(96% 0.012 84);
  --paper-strong: oklch(99% 0.006 84);
  --ink: oklch(19% 0.018 260);
  --muted: oklch(43% 0.025 260);
  --line: oklch(88% 0.012 84);
  --green: oklch(46% 0.15 153);
  --red: oklch(48% 0.19 25);
  --saffron: oklch(72% 0.15 78);
  --coral: oklch(50% 0.16 43);
  --shadow-soft: 0 18px 48px oklch(22% 0.09 260 / 0.12);
  --shadow-strong: 0 28px 80px oklch(22% 0.09 260 / 0.22);
  --shadow-market: 0 34px 90px oklch(16% 0.08 260 / 0.34);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 34px;
  --wrap: min(1180px, calc(100vw - 40px));
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Tajawal", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% -10%, oklch(93% 0.035 260), transparent 32rem),
    linear-gradient(180deg, var(--paper-strong), var(--paper));
  direction: rtl;
  text-align: right;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }

a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 3px solid oklch(72% 0.15 78 / 0.75);
  outline-offset: 4px;
}

.site-shell { overflow: clip; position: relative; }
.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(90deg, oklch(22% 0.09 260 / 0.045) 1px, transparent 1px),
    linear-gradient(180deg, oklch(22% 0.09 260 / 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 78%, transparent);
}
.wrap { width: var(--wrap); margin-inline: auto; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(99% 0.006 84 / 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(150%);
}

.nav-inner {
  width: var(--wrap);
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-link,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--blue-900);
}

.brand-link img,
.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  transition: background 220ms var(--ease-out), color 220ms var(--ease-out);
}

.nav-links a:hover {
  background: var(--blue-100);
  color: var(--blue-800);
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    background 220ms var(--ease-out),
    color 220ms var(--ease-out);
}

.btn svg { width: 22px; height: 22px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--paper-strong);
  background: var(--blue-700);
  box-shadow: 0 16px 34px oklch(31% 0.13 260 / 0.24);
}
.btn-primary:hover { background: var(--blue-800); color: var(--paper-strong); }
.btn-light {
  color: var(--blue-900);
  background: var(--paper-strong);
  box-shadow: 0 18px 40px oklch(22% 0.09 260 / 0.18);
}
.btn-light:hover { color: var(--blue-900); }
.btn-secondary {
  color: var(--blue-900);
  background: transparent;
  border-color: oklch(75% 0.04 260);
}
.btn-secondary:hover { background: var(--blue-100); color: var(--blue-900); }
.btn-store-sub {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
}

.hero {
  scroll-margin-top: 120px;
  position: relative;
  color: var(--paper-strong);
  background:
    linear-gradient(120deg, oklch(12% 0.035 260 / 0.72) 0 28%, transparent 28% 100%),
    radial-gradient(circle at 18% 22%, oklch(56% 0.17 252 / 0.44), transparent 18rem),
    radial-gradient(circle at 75% 12%, oklch(72% 0.15 78 / 0.24), transparent 22rem),
    linear-gradient(135deg, oklch(19% 0.11 260), var(--blue-700));
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 78px;
  background: linear-gradient(180deg, transparent, var(--paper-strong));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, oklch(99% 0.006 84 / 0.045) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, oklch(99% 0.006 84 / 0.035) 0 1px, transparent 1px 120px);
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: min(820px, calc(100vh - 76px));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  padding-block: clamp(62px, 8vw, 118px);
}

.hero-copy { max-width: 720px; }
.hero-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 9px 14px;
  border: 1px solid oklch(94% 0.02 260 / 0.28);
  border-radius: 999px;
  color: oklch(94% 0.02 260);
  background: oklch(99% 0.006 84 / 0.08);
}

.hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: -12px 0 0 var(--red), -24px 0 0 var(--red);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(50px, 7.4vw, 104px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 800;
}

.hero h1 span {
  display: block;
}

.hero h1 strong {
  display: block;
  color: var(--saffron);
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.12;
  font-weight: 800;
}

.hero-lead {
  max-width: 660px;
  margin-top: 24px;
  color: oklch(92% 0.018 260);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  color: oklch(91% 0.02 260);
  font-size: 14px;
}

.hero-proof span {
  padding: 7px 12px;
  border-radius: 999px;
  background: oklch(99% 0.006 84 / 0.1);
}

.market-board {
  position: relative;
  display: grid;
  gap: 18px;
  align-items: stretch;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid oklch(99% 0.006 84 / 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 18%, oklch(72% 0.15 78 / 0.17), transparent 11rem),
    linear-gradient(145deg, oklch(99% 0.006 84 / 0.18), oklch(99% 0.006 84 / 0.05));
  box-shadow: var(--shadow-market), inset 0 1px 0 oklch(99% 0.006 84 / 0.16);
}

.board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.board-head span {
  display: block;
  color: oklch(92% 0.018 260);
  font-size: 13px;
  font-weight: 800;
}

.board-head strong {
  display: block;
  margin-top: 4px;
  color: var(--paper-strong);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.22;
}

.board-head em {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue-900);
  background: var(--saffron);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.city-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  color: oklch(92% 0.018 260);
  font-size: 12px;
  font-weight: 800;
}

.city-line span {
  padding-top: 8px;
  border-top: 2px solid oklch(99% 0.006 84 / 0.2);
}

.city-line span:nth-child(2) { border-color: var(--saffron); }
.city-line span:nth-child(3) { border-color: var(--green); }
.city-line span:nth-child(4) { border-color: var(--red); }

.board-stage {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(240px, 1fr);
  gap: 16px;
  align-items: start;
}

.board-map {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid oklch(99% 0.006 84 / 0.22);
  border-radius: 18px;
  overflow: hidden;
  background: var(--blue-900);
  box-shadow: 0 24px 70px oklch(12% 0.035 260 / 0.4);
}

.board-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-deck {
  display: grid;
  gap: 12px;
  align-content: stretch;
}

.listing-card {
  border: 1px solid oklch(99% 0.006 84 / 0.16);
  background: oklch(99% 0.006 84 / 0.92);
  color: var(--ink);
  box-shadow: 0 18px 46px oklch(12% 0.035 260 / 0.18);
  backdrop-filter: blur(14px);
}

.market-board .listing-card h2 { color: var(--ink); }

.card-main {
  padding: clamp(18px, 2vw, 24px);
  border-radius: 8px;
}

.listing-city {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 800;
}

.listing-card h2 {
  color: var(--ink);
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 1.2;
}

.listing-card strong {
  display: block;
  margin-top: 16px;
  color: var(--coral);
  font-size: clamp(21px, 2vw, 25px);
}

.card-small {
  padding: 16px 18px;
  border-radius: 8px;
}

.card-small.alt {
  background: oklch(99% 0.006 84 / 0.84);
}

.card-small h2 {
  font-size: 18px;
}

.board-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid oklch(99% 0.006 84 / 0.12);
  border-radius: 12px;
  background: oklch(12% 0.035 260 / 0.22);
}

.board-foot p {
  max-width: 340px;
  color: oklch(91% 0.018 260);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 700;
}

.qr-panel {
  width: 142px;
  padding: 12px;
  border-radius: 8px;
  color: var(--blue-900);
  background: var(--paper-strong);
  box-shadow: 0 18px 40px oklch(12% 0.035 260 / 0.22);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.qr-panel #qr canvas,
.qr-panel #qr img {
  width: 108px !important;
  height: 108px !important;
  margin-inline: auto;
  border-radius: 6px;
}

@keyframes spin {
  to { transform: rotate(1turn); }
}

.section {
  scroll-margin-top: 120px;
  position: relative;
  padding-block: clamp(76px, 10vw, 132px);
}

.hero .btn-secondary,
.error-hero .btn-secondary {
  color: var(--paper-strong);
  border-color: oklch(94% 0.02 260 / 0.42);
  background: oklch(99% 0.006 84 / 0.06);
}

.hero .btn-secondary:hover,
.error-hero .btn-secondary:hover {
  color: var(--paper-strong);
  background: oklch(99% 0.006 84 / 0.13);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.section-title {
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(34px, 5.6vw, 70px);
  line-height: 1.08;
  font-weight: 800;
}

.section-lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
}

.features-band {
  background: var(--paper-strong);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.feature-statement {
  position: sticky;
  top: 112px;
  padding: clamp(28px, 5vw, 46px);
  border-radius: var(--radius-lg);
  color: var(--paper-strong);
  background:
    radial-gradient(circle at 20% 10%, oklch(72% 0.15 78 / 0.18), transparent 12rem),
    var(--blue-900);
  box-shadow: var(--shadow-soft);
}

.feature-statement h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
}

.feature-statement p {
  margin-top: 18px;
  color: oklch(90% 0.018 260);
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row:last-child { border-bottom: 0; }
.feature-mark {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: var(--paper-strong);
  background: var(--blue-700);
}
.feature-row:nth-child(2) .feature-mark { background: var(--green); }
.feature-row:nth-child(3) .feature-mark { background: var(--red); }
.feature-mark svg { width: 28px; height: 28px; }
.feature-row h3 {
  margin-bottom: 6px;
  font-size: clamp(22px, 2.4vw, 30px);
}
.feature-row p { color: var(--muted); }

.category-river {
  background:
    linear-gradient(180deg, var(--paper), var(--paper-strong));
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 14px;
}

.category-item {
  position: relative;
  min-height: 164px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--paper-strong);
  overflow: hidden;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}

.category-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.category-item img {
  width: 74px;
  height: 74px;
  margin-bottom: 20px;
  border-radius: 24px;
  object-fit: cover;
}

.category-item h3 {
  position: relative;
  z-index: 1;
  color: var(--blue-900);
  font-size: 18px;
}

.category-item small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.category-item::after {
  content: "";
  position: absolute;
  inset-inline-start: -30px;
  bottom: -36px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--blue-100);
}

.flow {
  color: var(--paper-strong);
  background:
    radial-gradient(circle at 80% 20%, oklch(72% 0.15 78 / 0.18), transparent 18rem),
    var(--blue-900);
}

.flow .section-title,
.flow .eyebrow { color: var(--paper-strong); }
.flow .section-lead { color: oklch(88% 0.018 260); }

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: oklch(99% 0.006 84 / 0.18);
}

.flow-step {
  min-height: 280px;
  padding: clamp(24px, 4vw, 38px);
  background: oklch(99% 0.006 84 / 0.08);
}

.flow-step strong {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 36px;
  border-radius: 50%;
  color: var(--blue-900);
  background: var(--saffron);
}

.flow-step h3 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
}

.flow-step p {
  margin-top: 14px;
  color: oklch(90% 0.018 260);
}

.seller-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.seller-steps {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.seller-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-strong);
  font-weight: 800;
}

.seller-steps span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper-strong);
  background: var(--blue-700);
}

.phone-poster {
  position: relative;
  width: min(360px, 100%);
  margin-inline: auto;
  padding: 14px;
  border-radius: 44px;
  background: var(--ink);
  box-shadow: var(--shadow-strong);
}

.phone-screen {
  min-height: 600px;
  padding: 28px 22px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, var(--paper-strong), var(--paper));
}

.phone-notch {
  width: 74px;
  height: 7px;
  margin: 0 auto 26px;
  border-radius: 999px;
  background: var(--line);
}

.phone-photo {
  height: 210px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 62% 36%, oklch(72% 0.15 78 / 0.35), transparent 5rem),
    linear-gradient(135deg, var(--blue-100), var(--paper));
  border: 1px solid var(--line);
}

.phone-price {
  margin-top: 26px;
  color: var(--coral);
  font-size: 28px;
  font-weight: 800;
}

.phone-lines {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.phone-lines span {
  height: 12px;
  border-radius: 999px;
  background: var(--line);
}

.phone-lines span:nth-child(1) { width: 94%; }
.phone-lines span:nth-child(2) { width: 70%; }
.phone-lines span:nth-child(3) { width: 84%; }

.phone-button {
  margin-top: 46px;
  min-height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--paper-strong);
  background: var(--blue-700);
  font-weight: 800;
}

.safety {
  background: var(--paper-strong);
}

.safety-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.safety-list {
  display: grid;
  gap: 14px;
}

.safety-list li {
  list-style: none;
  padding: 18px 20px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
}

.safety-list strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
}

.faq-section {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper-strong);
  overflow: hidden;
}

.faq-list summary {
  min-height: 66px;
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--paper-strong);
  background: var(--blue-700);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list p {
  padding: 0 22px 20px;
  color: var(--muted);
}

.download-band {
  color: var(--paper-strong);
  background:
    radial-gradient(circle at 22% 20%, oklch(72% 0.15 78 / 0.18), transparent 16rem),
    linear-gradient(135deg, var(--blue-800), var(--blue-900));
}

.download-inner {
  min-height: 380px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.download-inner h2 {
  font-size: clamp(36px, 6vw, 78px);
  line-height: 1.04;
}

.download-inner p {
  max-width: 620px;
  margin-top: 16px;
  color: oklch(88% 0.018 260);
}

.site-footer {
  color: oklch(82% 0.018 260);
  background: oklch(17% 0.022 260);
  padding-block: 58px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(4, minmax(130px, 0.7fr));
  gap: 34px;
}

.footer-brand {
  color: var(--paper-strong);
  margin-bottom: 14px;
}

.footer-grid p {
  max-width: 360px;
  font-size: 15px;
}

.footer-title {
  margin-bottom: 12px;
  color: var(--paper-strong);
  font-size: 15px;
  font-weight: 800;
}

.footer-grid ul {
  display: grid;
  gap: 8px;
  list-style: none;
}

.footer-grid a {
  color: oklch(82% 0.018 260);
  font-size: 14px;
  transition: color 180ms var(--ease-out);
}

.footer-grid a:hover { color: var(--paper-strong); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid oklch(99% 0.006 84 / 0.1);
  font-size: 13px;
}

.legal-hero,
.error-hero {
  color: var(--paper-strong);
  background:
    radial-gradient(circle at 74% 0%, oklch(72% 0.15 78 / 0.16), transparent 20rem),
    var(--blue-900);
}

.legal-hero .wrap,
.error-hero .wrap {
  padding-block: clamp(64px, 10vw, 126px);
}

.legal-hero h1,
.error-hero h1 {
  max-width: 850px;
  font-size: clamp(44px, 7vw, 90px);
  line-height: 1.05;
}

.legal-hero p,
.error-hero p {
  max-width: 680px;
  margin-top: 18px;
  color: oklch(88% 0.018 260);
  font-size: clamp(18px, 2vw, 23px);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 108px;
  padding: 24px;
  border-radius: var(--radius-lg);
  color: var(--paper-strong);
  background: var(--blue-800);
}

.legal-aside strong {
  display: block;
  font-size: 24px;
}

.legal-aside p {
  margin-top: 10px;
  color: oklch(90% 0.018 260);
  font-size: 15px;
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-block {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper-strong);
}

.legal-block h2 {
  margin-bottom: 12px;
  color: var(--blue-900);
  font-size: clamp(24px, 3vw, 34px);
}

.legal-block p,
.legal-block li {
  color: var(--muted);
}

.legal-block ul {
  display: grid;
  gap: 8px;
  padding-inline-start: 22px;
}

.info-list {
  display: grid;
  gap: 10px;
}

.info-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr;
  gap: 16px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child { border-bottom: 0; }
.info-row strong { color: var(--ink); }
.info-row span { color: var(--muted); }

.legal-note {
  padding: 18px 20px;
  border-radius: 22px;
  color: var(--blue-900);
  background: var(--blue-100);
  font-weight: 700;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.error-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.error-card {
  padding: 22px;
  border-radius: 24px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
}

.error-card h2 {
  color: var(--blue-900);
  font-size: 22px;
}

.error-card p { color: var(--muted); }

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
}

.hero-copy,
.market-board {
  animation: enter 760ms var(--ease-out) both;
}
.market-board { animation-delay: 120ms; }

@keyframes enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1020px) {
  .hero-grid,
  .board-stage,
  .section-head,
  .feature-layout,
  .seller-grid,
  .safety-grid,
  .faq-grid,
  .download-inner,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .feature-statement,
  .legal-aside {
    position: static;
  }

  .category-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  :root { --wrap: min(100vw - 28px, 1180px); }
  body { font-size: 16px; }

  .nav-inner {
    min-height: auto;
    padding-block: 12px;
    flex-wrap: wrap;
  }

  .brand-link { width: 100%; justify-content: center; }
  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
    gap: 4px;
    font-size: 13px;
    padding-bottom: 2px;
  }

  .nav-links a { min-height: 38px; padding: 0 10px; }
  .nav-links .btn {
    width: 100%;
    max-width: 310px;
    min-height: 42px;
    padding-inline: 14px;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 44px 72px;
  }

  .hero-copy { text-align: center; }
  .hero-badge,
  .hero-actions,
  .hero-proof {
    justify-content: center;
    margin-inline: auto;
  }

  .btn { width: 100%; max-width: 310px; }
  .market-board {
    padding: 18px;
    border-radius: 22px;
  }
  .board-head {
    flex-direction: column;
  }
  .board-head em {
    align-self: flex-start;
  }
  .city-line {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 10px;
  }
  .board-map {
    min-height: 0;
  }
  .listing-deck {
    width: 100%;
  }
  .card-main { padding: 18px; }
  .card-small {
    width: 100%;
  }
  .board-foot {
    grid-template-columns: 1fr;
  }
  .board-foot p {
    max-width: none;
    text-align: center;
  }
  .qr-panel {
    margin-inline: auto;
  }

  .section { padding-block: 64px; }
  .section-head { gap: 18px; margin-bottom: 30px; }
  .feature-row { grid-template-columns: 1fr; }
  .category-strip { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: 1fr; }
  .flow-step { min-height: auto; }
  .phone-screen { min-height: 520px; }
  .download-inner { text-align: center; }
  .download-inner .btn { margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { justify-content: center; text-align: center; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .error-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .category-strip { gap: 10px; }
  .category-item { min-height: 148px; padding: 14px; }
  .category-item img { width: 58px; height: 58px; }
  .footer-grid { grid-template-columns: 1fr; }
  .seller-steps li { border-radius: 22px; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
