/* FEEX landing page: emerald and white, Bungee for headings and buttons, DM Sans for text. */
:root {
  --emerald: #047857;
  --emerald-deep: #064E3B;
  --emerald-ink: #022C22;
  --emerald-hi: #10B981;
  --mint: #ECFDF5;
  --mint-2: #D1FAE5;
  --white: #FFFFFF;
  --text: #12352A;
  --muted: #4E6B60;
  --line: #D6EADF;
  --error: #B42318;
  --display: "Bungee", "Archivo Black", Impact, "Arial Black", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --radius: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--text); font-family: var(--body); line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--emerald-hi); outline-offset: 3px; }
.display { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; font-weight: 400; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Kente strip, woven in emerald and white */
.kente {
  height: 14px;
  background:
    repeating-linear-gradient(90deg, var(--emerald) 0 28px, var(--white) 28px 34px, var(--emerald-hi) 34px 58px, var(--white) 58px 64px, var(--emerald-deep) 64px 92px, var(--mint-2) 92px 98px);
}

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--white); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1160px; margin: 0 auto; padding: 14px max(24px, env(safe-area-inset-right)) 14px max(24px, env(safe-area-inset-left)); }
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--emerald); }

/* Buttons: Bungee, as on the original page, in a soft pill */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 14px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid var(--emerald);
  background: var(--emerald); color: var(--white); cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn:hover { background: var(--emerald-deep); border-color: var(--emerald-deep); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(4, 120, 87, .22); }
.btn.alt { background: var(--white); color: var(--emerald); }
.btn.alt:hover { background: var(--mint); color: var(--emerald-deep); }
.btn.small { font-size: 12px; padding: 10px 18px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, .16), rgba(16, 185, 129, 0) 65%);
  animation: drift 18s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-80px, 60px); } }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald); background: var(--mint); border-radius: 999px; padding: 7px 14px; margin-bottom: 26px; }
.hero .mark { height: 46px; width: auto; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 6.6vw, 84px); line-height: 1.02; margin-bottom: 20px; }
.hero h1 .w1 { color: var(--emerald); }
.hero h1 .w2 { color: var(--emerald-ink); }
.hero h1 .w3 { color: var(--emerald-hi); }
.hero .sub { font-size: 19px; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Photos: real pictures go in public/landing/. An empty slot shows a calm green panel. */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: linear-gradient(135deg, var(--mint-2), var(--mint)); aspect-ratio: 4 / 3; max-width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.empty img { display: none; }
.photo.empty::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpolygon points='24,6 42,22 42,42 6,42 6,22' fill='%23047857'/%3E%3Ccircle cx='24' cy='27' r='6' fill='%23ffffff'/%3E%3C/svg%3E") center / contain no-repeat;
}
.show-slots .photo.empty::after {
  content: "Your photo here: " attr(data-hint) " (" attr(data-slot) ")";
  position: absolute; left: 12px; right: 12px; top: 12px; font-size: 13px; font-weight: 700; line-height: 1.35;
  color: var(--emerald-deep); background: rgba(255, 255, 255, .85); border: 1px dashed var(--emerald); border-radius: 12px; padding: 8px 10px;
}
.hero-photo { aspect-ratio: 1 / 1; box-shadow: 0 30px 60px rgba(2, 44, 34, .12); }
.hero-photo img { object-position: 45% 50%; animation: slowzoom 22s ease-in-out infinite alternate; }
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.float-chip {
  position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--emerald-ink); font-weight: 700; font-size: 14px;
  padding: 10px 14px; border-radius: 999px; box-shadow: 0 10px 30px rgba(2, 44, 34, .15);
  animation: bob 5s ease-in-out infinite;
}
.float-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--emerald-hi); box-shadow: 0 0 0 4px rgba(16, 185, 129, .25); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Sections */
section { position: relative; }
.pad { padding: 96px 0; }
.mint { background: var(--mint); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald); margin-bottom: 12px; }
.kicker.light { color: var(--mint-2); }
h2.sec { font-size: clamp(28px, 4.4vw, 48px); line-height: 1.08; margin-bottom: 14px; color: var(--emerald-ink); text-wrap: balance; }
.lead { font-size: 18px; color: var(--muted); max-width: 600px; }

/* Hire and Rent cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 52px; }
.poster { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.poster:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(2, 44, 34, .1); }
.poster .photo { border-radius: 0; aspect-ratio: 4 / 3; }
.poster .photo[data-slot="hire.jpg"] img { object-position: 50% 40%; } /* the plumber: head down to the pipe */
/* Where each photo is centred when its frame trims it */
.photo[data-slot="rent.jpg"] img { object-position: 50% 55%; }
.photo[data-slot="listing.jpg"] img { object-position: 50% 30%; }
.photo[data-slot="trust.jpg"] img { object-position: 52% 45%; }
.photo[data-slot="trade-1.jpg"] img { object-position: 50% 35%; }
.photo[data-slot="trade-2.jpg"] img { object-position: 50% 35%; }
.photo[data-slot="trade-3.jpg"] img { object-position: 48% 50%; }
.photo[data-slot="trade-4.jpg"] img { object-position: 60% 40%; }
.photo[data-slot="trade-5.jpg"] img { object-position: 40% 30%; }
.photo[data-slot="trade-6.jpg"] img { object-position: 50% 35%; }
.poster-body { padding: 28px 28px 30px; position: relative; }
.poster .badge { width: 56px; height: 56px; border-radius: 16px; background: var(--emerald); display: flex; align-items: center; justify-content: center; margin: -56px 0 16px; border: 4px solid var(--white); }
.poster h3 { font-size: 32px; line-height: 1; margin-bottom: 8px; color: var(--emerald-ink); }
.poster .tag { font-weight: 700; color: var(--emerald); margin-bottom: 16px; }
.poster ul { list-style: none; margin-bottom: 22px; }
.poster li { padding: 10px 0 10px 28px; position: relative; border-top: 1px solid var(--line); font-size: 15.5px; }
.poster li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 9px; height: 9px; background: var(--emerald-hi); transform: rotate(45deg); }
.steps { display: flex; gap: 8px; flex-wrap: wrap; }
.steps span { font-family: var(--display); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; background: var(--mint); color: var(--emerald-deep); padding: 7px 11px; border-radius: 999px; }

/* Live tracking demo: a phone with a Port Harcourt map, an artisan travelling to the customer's home */
.live-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 72px; align-items: center; justify-content: center; margin-top: 52px; }
.phone { width: 100%; max-width: 360px; background: var(--emerald-ink); border-radius: 44px; padding: 12px; box-shadow: 0 40px 80px rgba(2, 44, 34, .25); justify-self: center; }
.phone-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px 10px; color: var(--white); }
.phone-brand { font-family: var(--display); font-size: 15px; letter-spacing: .04em; }
.live-pill { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .12); padding: 4px 10px; border-radius: 999px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-hi); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.map { position: relative; aspect-ratio: 360 / 440; border-radius: 32px 32px 0 0; overflow: hidden; background: #E3F6EC; }
.map svg { display: block; width: 100%; height: 100%; }
.home-pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.home-pin .ring { position: absolute; bottom: -10px; width: 22px; height: 22px; border-radius: 50%; background: rgba(4, 120, 87, .35); animation: ring 2s ease-out infinite; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(3); opacity: 0; } }
.home-pin svg { position: relative; filter: drop-shadow(0 4px 6px rgba(2, 44, 34, .25)); }
.pin-label { position: absolute; top: -26px; white-space: nowrap; font-size: 11px; font-weight: 700; background: var(--white); color: var(--emerald-ink); padding: 3px 8px; border-radius: 999px; box-shadow: 0 4px 10px rgba(2, 44, 34, .12); }
.rider { position: absolute; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 4px rgba(4, 120, 87, .35), 0 8px 16px rgba(2, 44, 34, .3); background: var(--emerald); transition: opacity .4s; }
.rider img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.rider .tool { position: absolute; right: -6px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--emerald); border: 2px solid var(--white); display: grid; place-items: center; }
.rider.hide { opacity: 0; }
.sheet { background: var(--white); border-radius: 0 0 32px 32px; padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.who { display: flex; align-items: center; gap: 10px; }
.who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.who-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.who-text b { color: var(--emerald-ink); font-size: 15px; }
.who-text span { color: var(--muted); font-size: 12.5px; }
.held { text-align: right; display: flex; flex-direction: column; line-height: 1.25; }
.held b { color: var(--emerald); font-size: 15px; }
.held span { color: var(--muted); font-size: 11.5px; }
.status { font-weight: 700; color: var(--emerald-ink); font-size: 15px; min-height: 3.1em; display: flex; align-items: center; }
.bar { height: 6px; border-radius: 999px; background: var(--mint-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--emerald); border-radius: 999px; transition: width .3s linear; }
.code { display: flex; gap: 8px; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .3s, transform .3s, visibility .3s; }
.code.show { opacity: 1; visibility: visible; transform: none; }
.code span { width: 42px; height: 48px; border-radius: 12px; background: var(--mint); color: var(--emerald-deep); font-family: var(--display); font-size: 22px; display: grid; place-items: center; border: 2px solid var(--emerald-hi); }
.live-steps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
.live-steps li { counter-increment: s; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 16px 18px; border-radius: 20px; border: 1.5px solid transparent; transition: background .3s, border-color .3s; }
.live-steps li::before { content: counter(s); grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 18px; background: var(--white); color: var(--emerald); border: 2px solid var(--mint-2); transition: background .3s, color .3s; }
.live-steps b { font-size: 18px; color: var(--emerald-ink); }
.live-steps span { color: var(--muted); font-size: 15px; }
.live-steps li.on { background: var(--white); border-color: var(--mint-2); box-shadow: 0 16px 30px rgba(2, 44, 34, .08); }
.live-steps li.on::before { background: var(--emerald); color: var(--white); border-color: var(--emerald); }

/* Trades */
.wall { display: flex; flex-wrap: wrap; gap: 12px 10px; justify-content: center; margin-top: 40px; }
.sticker { font-family: var(--display); text-transform: uppercase; font-size: 13px; letter-spacing: .04em; padding: 11px 18px; border-radius: 999px; transition: transform .2s; }
.sticker:hover { transform: translateY(-3px) rotate(-1deg); }
.s0 { background: var(--emerald); color: var(--white); }
.s1 { background: var(--mint-2); color: var(--emerald-deep); }
.s2 { background: var(--white); color: var(--emerald); border: 2px solid var(--emerald); }
.s3 { background: var(--emerald-deep); color: var(--white); }
.trade-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.trade-photos .photo { aspect-ratio: 4 / 5; }

/* Pricing previews */
.previews { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 52px; }
.listing { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative; }
.listing.paid { box-shadow: 0 24px 50px rgba(4, 120, 87, .14); border-color: var(--emerald-hi); }
.listing .state { position: absolute; top: 14px; left: 14px; z-index: 3; font-family: var(--display); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--white); color: var(--emerald-deep); }
.listing.paid .state { background: var(--emerald); color: var(--white); }
.listing .photo { border-radius: 0; aspect-ratio: 16 / 8; }
.listing .body { padding: 20px 22px 22px; }
.listing h4 { font-size: 19px; line-height: 1.2; margin-bottom: 4px; color: var(--emerald-ink); }
.listing .meta { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.listing .price { font-weight: 700; font-size: 20px; margin-bottom: 14px; color: var(--emerald-ink); }
.listing .price small { font-weight: 500; font-size: 13px; color: var(--muted); }
.minimap { position: relative; height: 112px; border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.minimap > svg { width: 100%; height: 100%; display: block; }
.minimap.locked > svg { filter: blur(4px); }
.minimap .lock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(6, 78, 59, .55); color: var(--white); font-family: var(--display); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.minimap .pin { animation: bob 3s ease-in-out infinite; transform-box: fill-box; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.chip.on { background: var(--mint-2); color: var(--emerald-deep); }
.chip.off { background: var(--white); color: #8AA399; border: 1px dashed #B9D3C7; }
.plans { display: flex; justify-content: center; margin-top: 56px; }
.plan { width: 320px; max-width: 100%; border-radius: var(--radius); padding: 28px; background: var(--emerald); color: var(--white); box-shadow: 0 24px 50px rgba(4, 120, 87, .25); }
.plan .name { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-2); }
.plan .amt { font-family: var(--display); font-size: 44px; margin: 6px 0 2px; }
.plan .per { font-size: 14px; color: var(--mint-2); margin-bottom: 16px; }
.plan ul { list-style: none; }
.plan li { font-size: 15px; padding: 7px 0 7px 22px; position: relative; border-top: 1px solid rgba(255, 255, 255, .18); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; background: var(--white); transform: rotate(45deg); }

/* Trust */
.trust-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.trust { display: flex; flex-direction: column; gap: 26px; margin-top: 36px; }
.trust .item { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; }
.trust .num { grid-row: span 2; font-family: var(--display); font-size: 36px; color: var(--emerald-hi); line-height: 1; }
.trust h4 { font-size: 20px; margin-bottom: 4px; color: var(--emerald-ink); }
.trust p { color: var(--muted); font-size: 15.5px; }
.trust-photo { aspect-ratio: 1 / 1; }

/* Waitlist */
.join { background: var(--emerald); color: var(--white); padding: 96px 0; overflow: hidden; }
.join::before { content: ""; position: absolute; width: 700px; height: 700px; left: -260px; bottom: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 65%); animation: drift 20s ease-in-out infinite alternate; pointer-events: none; }
.join-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.join h2.sec { color: var(--white); }
.join .lead { color: var(--mint-2); }
.perks { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.perks li { padding-left: 30px; position: relative; font-weight: 500; }
.perks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.join-card { background: var(--white); color: var(--text); border-radius: var(--radius); padding: 30px; box-shadow: 0 30px 70px rgba(2, 44, 34, .3); min-width: 0; }
.join-card form, .join-card .done { display: flex; flex-direction: column; gap: 16px; }
.join-card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 22px; color: var(--emerald-ink); }
.roles { border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.roles legend { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.roles label { position: relative; cursor: pointer; }
.roles input { position: absolute; opacity: 0; pointer-events: none; }
.roles span { display: flex; align-items: center; min-height: 46px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 14px; font-size: 14px; font-weight: 500; line-height: 1.25; transition: border-color .15s, background .15s; }
.roles label:hover span { border-color: var(--emerald-hi); }
.roles input:checked + span { border-color: var(--emerald); background: var(--mint); color: var(--emerald-deep); font-weight: 700; }
.roles input:focus-visible + span { outline: 3px solid var(--emerald-hi); outline-offset: 2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); min-width: 0; }
.field input { font: 500 16px var(--body); color: var(--text); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%; background: var(--white); }
.field input:focus { border-color: var(--emerald); outline: none; box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--emerald); flex: none; }
.error { color: var(--error); font-size: 14px; font-weight: 500; }
.done { text-align: center; align-items: center; padding: 16px 0; }
.done p { color: var(--muted); }
.done b { color: var(--emerald-ink); overflow-wrap: anywhere; }
.seal { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--emerald); box-shadow: 0 0 0 10px var(--mint); }

/* Footer */
footer { background: var(--emerald-ink); color: var(--mint-2); }
.foot { max-width: 1160px; margin: 0 auto; padding: 34px max(24px, env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.foot img { height: 20px; width: auto; }
.foot .links { display: flex; gap: 24px; font-size: 14px; }
.foot .links a:hover { color: var(--white); }
.foot .copy { font-size: 13px; }

/* Gentle entrance as sections scroll in. Visible by default; only a small lift is animated. */
.reveal { transition: transform .7s ease, opacity .7s ease; }
.js .reveal.below { transform: translateY(24px); opacity: .001; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding: 36px 0 56px; }
  .hero-grid, .join-grid, .trust-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero .sub { font-size: 17px; }
  .cards, .previews { grid-template-columns: minmax(0, 1fr); }
  .trade-photos { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 24px; margin-left: -24px; margin-right: -24px; padding: 0 24px 8px; scrollbar-width: none; }
  .trade-photos::-webkit-scrollbar { display: none; }
  .trade-photos .photo { flex: 0 0 62%; scroll-snap-align: start; }
  .trade-photos .photo { border-radius: 16px; }
  .pad, .join { padding: 68px 0; }
  .live-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .live-steps { max-width: none; }
  .trust-photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .nav .btn.small { padding: 9px 14px; font-size: 11px; }
  .roles, .two { grid-template-columns: minmax(0, 1fr); }
  .join-card { padding: 22px 18px; }
  .poster-body { padding: 24px 20px 24px; }
  .hero-ctas .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before, .join::before, .hero-photo img, .float-chip, .minimap .pin, .live-dot, .home-pin .ring { animation: none; }
  .reveal, .js .reveal.below { transition: none; transform: none; opacity: 1; }
}

/* Terms and Privacy pages */
.legal { max-width: 760px; padding-block: 40px 80px; display: flex; flex-direction: column; gap: 14px; }
.legal h1 { font-size: clamp(28px, 5vw, 40px); color: var(--emerald-ink); }
.legal h2 { font-size: 20px; color: var(--emerald-ink); margin-top: 14px; }
.legal p, .legal li { color: var(--text); font-size: 16px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: -8px; }
.legal .draft { background: #FEF3C7; color: #92400E; border-radius: 14px; padding: 12px 16px; font-size: 14px; font-weight: 500; }
.legal .clauses { padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.legal .clauses ol { padding-left: 22px; margin-top: 8px; display: flex; flex-direction: column; gap: 6px; list-style: lower-alpha; }
.legal b { color: var(--emerald-ink); }
.legal .tablewrap { overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--emerald-deep); background: var(--mint); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
