/* Rightbox — design tokens + styles
   Style: vibrant & block-based marketplace. Brand blue from logo, container-orange accent. */
:root {
  --blue-700: #0b5a94;
  --blue-600: #1175bd;   /* logo blue */
  --blue-500: #2a8fd8;
  --blue-100: #dcecf8;
  --blue-50:  #f0f7fd;
  --navy-900: #0a2236;
  --navy-800: #0f3050;
  --orange-500: #f97316;  /* CTA, navy text on it = 6.5:1 */
  --orange-600: #ea580c;
  --orange-100: #ffedd5;
  --green-600: #15803d;
  --ink: #0a2236;
  --ink-2: #3b5166;       /* 7:1 on white */
  --line: #d7e3ee;
  --bg: #ffffff;
  --surface: #f5f9fc;
  --card: #ffffff;
  --on-dark: #e8f1f8;

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px;
  --shadow-1: 0 1px 2px rgba(10,34,54,.06), 0 4px 14px rgba(10,34,54,.06);
  --shadow-2: 0 10px 40px rgba(10,34,54,.14);
  --ease: cubic-bezier(.22,.8,.3,1);
  --font-head: "Lexend", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --container: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-700); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); font-weight: 650; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 6px; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--surface); }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .8rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--orange-500); border-radius: 2px; }
.section--dark .eyebrow { color: #8cc8f2; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.section--dark .lead { color: #b6cbdc; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--font-head); text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s, color .2s;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--orange-500); color: var(--navy-900); box-shadow: 0 6px 18px rgba(249,115,22,.35); }
.btn--primary:hover { background: #fb8a3c; box-shadow: 0 8px 24px rgba(249,115,22,.45); }
.btn--blue { background: var(--blue-600); color: #fff; }
.btn--blue:hover { background: var(--blue-700); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue-600); color: var(--blue-700); }
.btn--ghost-dark { color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-dark:hover { border-color: #fff; color: #fff; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(10,34,54,.05); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { flex: none; }
.brand img { height: 40px; width: auto; max-width: none; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) {
  padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--ink);
  font: 500 .95rem/1 var(--font-head); transition: background-color .2s, color .2s;
}
.nav-links a:not(.btn):hover { background: var(--blue-50); color: var(--blue-700); }
.nav-links a[aria-current="true"]:not(.btn) { color: var(--blue-700); background: var(--blue-50); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 12px; place-items: center; }
.menu-btn:hover { background: var(--blue-50); }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px);
  background:
    radial-gradient(900px 500px at 85% -10%, var(--blue-100), transparent 60%),
    linear-gradient(180deg, var(--blue-50), #fff 80%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1);
  font: 500 .88rem/1 var(--font-head); color: var(--ink-2); margin-bottom: 22px;
}
.pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange-500); box-shadow: 0 0 0 4px var(--orange-100); }
.hero h1 em { font-style: normal; color: var(--blue-600); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .16em; background: var(--orange-500); border-radius: 4px; z-index: -1; opacity: .85; }
.hero .lead { margin: 20px 0 30px; }
.search {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px;
  box-shadow: var(--shadow-2); display: grid; grid-template-columns: 1.1fr 1fr 1fr auto; gap: 8px;
}
.search label { display: block; padding: 8px 14px 6px; border-radius: var(--r-md); transition: background-color .2s; }
.search label:hover, .search label:focus-within { background: var(--blue-50); }
.search label span { display: block; font: 600 .72rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.search select, .search input {
  width: 100%; border: 0; background: transparent; font: 500 1rem/1.4 var(--font-body); padding: 4px 0; min-height: 28px; outline: none; appearance: none;
}
.search select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233b5166' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center; padding-right: 24px; }
.search .btn { align-self: stretch; border-radius: var(--r-md); padding-inline: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.chips > span { font: 500 .88rem var(--font-head); color: var(--ink-2); margin-right: 4px; }
.chip {
  min-height: 40px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font: 500 .9rem/1 var(--font-head); text-decoration: none; color: var(--ink); display: inline-flex; align-items: center;
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-700); }
.hero-visual { position: relative; aspect-ratio: 1/1.02; }
.stack { position: absolute; inset: 0; }
.stack svg { position: absolute; filter: drop-shadow(0 18px 24px rgba(10,34,54,.22)); }
.stack .c1 { width: 78%; left: 0; top: 4%; color: var(--blue-600); animation: float 7s ease-in-out infinite; }
.stack .c2 { width: 78%; right: 0; top: 30%; color: var(--orange-500); animation: float 8s ease-in-out -2s infinite; }
.stack .c3 { width: 78%; left: 6%; top: 56%; color: var(--navy-800); animation: float 9s ease-in-out -4s infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.badge {
  position: absolute; z-index: 2; background: #fff; border-radius: var(--r-md); padding: 12px 16px;
  box-shadow: var(--shadow-2); display: flex; align-items: center; gap: 12px; font: 600 .9rem/1.2 var(--font-head);
}
.badge small { display: block; font: 400 .8rem var(--font-body); color: var(--ink-2); }
.badge .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-700); }
.badge--a { left: -4%; bottom: 8%; }
.badge--b { right: -2%; top: 2%; }
.badge--b .ic { background: var(--orange-100); color: var(--orange-600); }

/* Trust strip */
.strip { background: var(--navy-900); color: var(--on-dark); }
.strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip li { padding: 22px 20px; display: flex; align-items: center; gap: 14px; border-left: 1px solid rgba(255,255,255,.1); font: 500 .95rem/1.3 var(--font-head); }
.strip li:first-child { border-left: 0; }
.strip .icon { color: var(--orange-500); width: 28px; height: 28px; }
.strip small { display: block; font: 400 .85rem var(--font-body); color: #9fb8cc; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px;
  text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--blue-500); }
.cat .art { height: 84px; display: grid; place-items: center; background: var(--blue-50); border-radius: var(--r-md); color: var(--blue-600); }
.cat .art svg { width: 78%; }
.cat h3 { margin: 0; display: flex; justify-content: space-between; align-items: center; }
.cat p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.cat .arrow { width: 20px; height: 20px; color: var(--blue-600); transition: transform .2s; }
.cat:hover .arrow { transform: translateX(4px); }

/* Steps */
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin-bottom: 36px; }
.tab { border: 0; background: transparent; padding: 12px 24px; border-radius: 999px; font: 600 .95rem/1 var(--font-head); color: var(--ink-2); min-height: 44px; transition: background-color .2s, color .2s; }
.tab[aria-selected="true"] { background: var(--blue-600); color: #fff; }
.tab:not([aria-selected="true"]):hover { color: var(--blue-700); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; position: relative; }
.step::before {
  counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--orange-500); color: var(--navy-900); font: 700 1.1rem var(--font-head); margin-bottom: 18px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: .98rem; }
[role="tabpanel"][hidden] { display: none; }

/* Listings */
.list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 .92rem/1 var(--font-head); transition: all .2s; }
.filter:hover { border-color: var(--blue-600); }
.filter[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card .media { aspect-ratio: 16/10; display: grid; place-items: center; background: linear-gradient(180deg, var(--blue-50), #e4eef7); position: relative; }
.card .media svg { width: 72%; filter: drop-shadow(0 10px 12px rgba(10,34,54,.2)); }
.tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; font: 600 .78rem/1 var(--font-head); background: #fff; color: var(--ink); }
.tag--new { background: var(--green-600); color: #fff; }
.tag--used { background: var(--orange-500); color: var(--navy-900); }
.card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; font-size: 1.1rem; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink-2); font-size: .92rem; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta .icon { width: 16px; height: 16px; }
.price { font: 700 1.4rem/1 var(--font-head); margin-top: auto; padding-top: 6px; font-variant-numeric: tabular-nums; }
.price small { font: 400 .85rem var(--font-body); color: var(--ink-2); }
.card .btn { width: 100%; margin-top: 8px; }
.note { margin-top: 24px; padding: 14px 18px; border-radius: var(--r-md); background: var(--orange-100); color: #7c2d05; font-size: .95rem; display: flex; gap: 12px; align-items: flex-start; }
.note .icon { margin-top: 2px; }

/* Sizes table */
.size-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.table-scroll { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid rgba(255,255,255,.14); }
table { border-collapse: collapse; width: 100%; min-width: 520px; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.1); font-variant-numeric: tabular-nums; }
th { font: 600 .78rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: #8cc8f2; background: rgba(255,255,255,.04); }
tr:last-child td { border-bottom: 0; }
td:first-child { font: 600 1rem var(--font-head); color: #fff; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.why .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-700); margin-bottom: 18px; }
.why:nth-child(3n+2) .ic { background: var(--orange-100); color: var(--orange-600); }
.why p { margin: 0; color: var(--ink-2); }

/* Uses */
.uses { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.use { text-align: center; padding: 22px 12px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); font: 500 .95rem/1.3 var(--font-head); display: grid; gap: 10px; justify-items: center; }
.use .icon { width: 32px; height: 32px; color: var(--blue-600); }

/* Sell CTA */
.sell { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; background: var(--blue-600); border-radius: 32px; padding: clamp(32px, 5vw, 64px); color: #fff; position: relative; overflow: hidden; }
.sell::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.08); }
.sell h2 { color: #fff; }
.sell p { color: #dbeafb; }
.sell ul { display: grid; gap: 12px; margin: 22px 0 30px; }
.sell li { display: flex; gap: 12px; align-items: flex-start; }
.sell li .icon { color: var(--orange-500); margin-top: 2px; }
.mock { position: relative; z-index: 1; background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-2); }
.mock h3 { font-size: 1rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.mock .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.mock .row span:first-child { color: var(--ink-2); }
.mock .row span:last-child { font-weight: 600; }
.mock .row:last-of-type { border: 0; }
.mock .btn { width: 100%; margin-top: 12px; }

/* Early access form */
.signup { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.perks { display: grid; gap: 14px; margin-top: 24px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; color: #cfe0ee; }
.perks .icon { color: var(--orange-500); margin-top: 2px; }
.contact-box { margin-top: 32px; padding: 22px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); display: grid; gap: 12px; }
.contact-box a { color: #fff; display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font: 500 1rem var(--font-head); min-height: 44px; }
.contact-box a:hover { color: var(--orange-500); }
form.card-form { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-2); }
.role { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; border: 0; padding: 0; }
.role legend { font: 600 .9rem var(--font-head); margin-bottom: 8px; padding: 0; }
.role label { position: relative; }
.role input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border: 2px solid var(--line); border-radius: var(--r-md); font: 600 .95rem var(--font-head); transition: all .2s; }
.role input:checked + span { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-700); }
.role input:focus-visible + span { outline: 3px solid var(--orange-500); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font: 600 .9rem var(--font-head); margin-bottom: 6px; }
.field .req { color: var(--orange-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #9db3c6; border-radius: var(--r-sm); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px var(--blue-100); }
.field .hint { font-size: .85rem; color: var(--ink-2); margin-top: 4px; }
.field .err { display: none; font-size: .88rem; color: #b91c1c; margin-top: 4px; font-weight: 600; }
.field.invalid input, .field.invalid select { border-color: #b91c1c; }
.field.invalid .err { display: block; }
.form-ok { display: none; text-align: center; padding: 20px 8px; }
.form-ok.show { display: block; }
.form-ok .ok-ic { width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: var(--green-600); display: grid; place-items: center; margin: 0 auto 16px; }
.fine { font-size: .85rem; color: var(--ink-2); margin: 12px 0 0; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s; }
.faq details[open] { border-color: var(--blue-500); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font: 600 1.05rem/1.35 var(--font-head); display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s var(--ease); color: var(--blue-600); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .ans { padding: 0 24px 22px; color: var(--ink-2); }
.faq .ans p { margin: 0; }

/* Footer */
.site-footer { background: var(--navy-900); color: #b6cbdc; padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer img { height: 38px; width: auto; max-width: none; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer li { margin-bottom: 4px; }
.site-footer a { color: #b6cbdc; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .9rem; }

/* Floating WhatsApp */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #128c4a; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.28); transition: transform .2s; }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 28px; height: 28px; fill: currentColor; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .size-wrap, .signup, .sell { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .cat-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .uses { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .search { grid-template-columns: 1fr 1fr; }
  .search .btn { grid-column: 1 / -1; min-height: 52px; }
}
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(10,34,54,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px; font-size: 1.05rem; }
  .why-grid { grid-template-columns: 1fr; }
  .strip ul { grid-template-columns: 1fr 1fr; }
  .strip li:nth-child(3) { border-left: 0; }
  .strip li { border-top: 1px solid rgba(255,255,255,.1); }
  .strip li:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cat-grid, .listing-grid, .steps { grid-template-columns: 1fr; }
  .uses { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .search { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .badge--b { right: 0; } .badge--a { left: 0; }
  .nav-cta .btn--primary { padding-inline: 16px; }
  .tabs { display: flex; } .tab { flex: 1; padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Photography */
.hero-visual img, .card .media img, .cat .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-main { position: absolute; inset: 0 0 12% 10%; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-2); }
.photo-second { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-2); }
.card .media { background: var(--blue-100); }
.card .media img { aspect-ratio: 16/10; transition: transform .5s var(--ease); }
.card:hover .media img { transform: scale(1.04); }
.card .media { overflow: hidden; }
.card .media .tag { z-index: 1; }
.cat .art { height: auto; aspect-ratio: 16/9; overflow: hidden; background: var(--blue-100); }
.cat .art img { transition: transform .5s var(--ease); }
.cat:hover .art img { transform: scale(1.05); }
.badge--a { left: 4%; bottom: 20%; }
