:root {
  --canvas: #f7f5f0;
  --card: #fff;
  --ink: #1e2421;
  --quiet: #505952;
  --line: #deded3;
  --green: #254d40;
  --mist: #e2ebe3;
  --orange: #ff8057;
  --blue: #e7ebfa;
  --round: 20px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  background: var(--canvas);
  color: var(--ink);
  font: 1rem/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #285bad; outline-offset: 4px; }
.skip {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-180%);
  background: white;
}
.skip:focus { transform: translateY(0); }
.header { border-bottom: 1px solid var(--line); }
.header-inner {
  width: min(1160px, calc(100% - 80px));
  min-height: 77px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.095em;
}
.brand-icon {
  display: grid;
  grid-auto-flow: column;
  place-items: center;
  gap: 2px;
  width: 33px;
  height: 33px;
  border-radius: 10px;
  padding: 8px;
  background: var(--ink);
}
.brand-icon i { width: 4px; height: 12px; background: var(--orange); transform: skew(-18deg); border-radius: 1px; }
.brand-icon i:nth-child(2) { height: 17px; }
.brand-icon i:nth-child(3) { height: 9px; }
.navigation, .filters { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.nav-button, .filter {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .55rem .9rem;
  background: transparent;
  color: var(--quiet);
  font-size: .875rem;
  font-weight: 680;
}
.nav-button:hover, .filter:hover { background: #edebe4; }
.nav-button[aria-pressed="true"] { background: var(--mist); color: var(--green); }
.location {
  display: flex;
  align-items: center;
  gap: .55rem;
  justify-self: end;
  color: var(--green);
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}
.location-pin {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 12px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 55% 55% 55% 0;
  transform: rotate(-45deg);
}
.location-pin::before { content: ''; width: 3px; height: 3px; border: 1px solid currentColor; border-radius: 100%; }
.main { width: min(1160px, calc(100% - 80px)); margin: 0 auto 72px; }
.demo { color: var(--quiet); display: flex; align-items: center; gap: .5rem; margin-block: 16px; font-size: .82rem; }
.demo > span { width: 7px; height: 7px; background: #a74620; border-radius: 100%; }
.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  min-height: 370px;
  display: grid;
  align-items: center;
  border: 1px solid #e66b45;
  border-radius: 28px;
  background: var(--orange);
}
.hero-content { position: relative; z-index: 1; padding: 36px 52px 42px; }
.hero h1, .activity-panel h1 {
  font-size: clamp(3.5rem, 7.2vw, 6.6rem);
  line-height: .86;
  letter-spacing: -.085em;
  font-weight: 900;
  margin: 0;
}
.hero p { max-width: 455px; margin-block: 20px 23px; font-size: 1.04rem; font-weight: 550; }
.button, .button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: .58rem .85rem;
  min-height: 42px;
  color: white;
  background: var(--green);
  font-size: .875rem;
  font-weight: 730;
  text-decoration: none;
}
.button:hover { background: #183a2f; }
.button-dark { background: var(--ink); padding: .7rem 1rem; }
.button-dark:hover { background: #324139; }
.button-dark > span { font-size: 1.24em; line-height: 1; }
.button-secondary { background: var(--canvas); border-color: var(--line); color: var(--ink); }
.button-secondary:hover { background: var(--mist); }
.hero-art { position: absolute; inset: -60px -90px -90px 53%; pointer-events: none; }
.map-grid {
  position: absolute;
  inset: 5% -13% 1% 4%;
  border-radius: 32px;
  transform: rotate(-30deg) scale(1.08);
  background: repeating-linear-gradient(0deg, transparent 0 48px, rgba(103, 36, 19, .14) 49px 50px),
  repeating-linear-gradient(90deg, transparent 0 69px, rgba(103, 36, 19, .14) 70px 71px);
}
.map-orbit { position: absolute; top: 52%; left: 43%; border: 1px solid #993d26; border-radius: 50%; transform: translate(-50%, -50%); aspect-ratio: 1; opacity: .6; }
.orbit-one { width: 42%; }
.orbit-two { width: 60%; opacity: .42; }
.orbit-three { width: 78%; opacity: .3; }
.map-marker {
  position: absolute;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(-45deg);
  border-radius: 50% 50% 50% 12%;
  border: 2px solid #36382c;
  box-shadow: -8px 9px 0 #9f432c;
}
.marker-main { top: 45%; left: 43%; width: 25%; background: #254d40; color: #fef9e8; }
.marker-main > span { font-size: clamp(2rem, 6vw, 5rem); font-weight: 900; line-height: 1; transform: rotate(45deg) translateX(1px); }
.marker-small { top: 26%; left: 67%; width: 7%; background: #ffefbd; box-shadow: -4px 5px 0 #a64a35; }
.marker-mid { top: 67%; left: 19%; width: 11%; background: #c8dfc5; box-shadow: -5px 6px 0 #a64a35; }
.market { margin-top: 38px; }
.market-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.market-top h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin: 0; line-height: 1; letter-spacing: -.055em; }
.filter { border-color: var(--line); }
.filter[aria-pressed="true"] { background: var(--green); color: white; border-color: var(--green); }
.market-section { margin-block: 25px 36px; }
.section-heading { display: flex; gap: .75rem; align-items: center; margin-bottom: 14px; }
.section-icon { display: grid; place-items: center; flex: 0 0 39px; height: 39px; border-radius: 11px; color: var(--green); }
.local-icon { background: var(--mist); }
.remote-icon { background: var(--blue); color: #3d478f; font-size: 1.15rem; }
.section-heading h3 { margin: 0; font-size: 1.14rem; letter-spacing: -.025em; line-height: 1.24; }
.section-heading p { margin: 2px 0 0; color: var(--quiet); font-size: .875rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: var(--round);
  background: var(--card);
  padding: 18px;
  min-width: 0;
  min-height: 175px;
  overflow-wrap: anywhere;
}
.card h3, .card h4, .card p { margin: 0; }
.card h3, .card h4 { line-height: 1.2; letter-spacing: -.025em; }
.card p { color: var(--quiet); }
.card-kicker, .card-meta { color: var(--quiet); font-size: .84rem; }
.card-kicker { color: var(--green); font-weight: 700; }
.card-bottom { width: 100%; margin-top: auto; padding-top: 7px; display: flex; align-items: center; justify-content: space-between; gap: 7px; flex-wrap: wrap; }
.reward { font-size: 1.14rem; font-weight: 850; letter-spacing: -.025em; color: var(--green); }
.activity-panel { padding-block: 30px; }
.activity-panel h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); margin-bottom: 1.5rem; }
.activity-list { display: grid; gap: 10px; }
.activity-list .card { min-height: 0; }
.empty { color: var(--quiet); margin: 0; }
dialog {
  width: min(540px, calc(100% - 28px));
  max-height: calc(100% - 28px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--round);
  color: var(--ink);
  box-shadow: 0 14px 48px #12191255;
  background: var(--card);
}
dialog::backdrop { background: #1420188c; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dialog-header h2 { margin: 0; font-size: 1.52rem; letter-spacing: -.045em; line-height: 1.13; }
.close { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 999px; border: 1px solid var(--line); background: var(--canvas); color: var(--ink); font-size: 1.45rem; }
form { display: grid; gap: 12px; }
form label { display: grid; gap: 5px; font-weight: 680; }
input:not([type="radio"]):not([type="checkbox"]), textarea, select {
  width: 100%;
  padding: .6rem .7rem;
  border: 1px solid #b4b9ad;
  border-radius: 9px;
  color: var(--ink);
  background: white;
}
textarea { resize: vertical; min-height: 5rem; }
#toast { position: fixed; z-index: 4; right: 1rem; bottom: 1rem; max-width: calc(100% - 2rem); padding: .75rem 1rem; border-radius: 12px; color: white; background: var(--green); box-shadow: 0 4px 22px #30362532; }
.no-script { padding: 1rem; color: #8e2519; }
@media (max-width: 900px) {
  .main, .header-inner { width: calc(100% - 40px); }
  .hero-content { padding-inline: 34px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .main, .header-inner { width: calc(100% - 28px); }
  .header-inner { min-height: 0; padding: 14px 0 9px; grid-template-columns: 1fr 1fr; gap: 12px; }
  .navigation { grid-column: 1 / -1; grid-row: 2; }
  .location { grid-column: 2; grid-row: 1; }
  .hero { border-radius: 20px; min-height: 0; }
  .hero h1 { font-size: clamp(2.2rem, 9.3vw, 3.6rem); line-height: .97; }
  .hero-content { padding: 30px 20px 28px; }
  .hero p { max-width: 30ch; font-size: 1rem; }
  .hero-art { inset: -100px -106px 25% 58%; opacity: .52; }
  .map-grid { left: -30%; }
  .market { margin-top: 27px; }
  .market-top { gap: 11px; }
  .card-grid { grid-template-columns: 1fr; gap: 10px; }
  .card { min-height: 0; }
}

.opportunity-heading,.opportunity-controls { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1rem; }
.opportunity-heading { padding:1.6rem 0 .9rem; }
.opportunity-heading h1 { font-size:clamp(1.8rem,5vw,3rem); line-height:1.08; margin:0 0 .55rem; }
.opportunity-heading p { margin:0; color:var(--quiet); }
.opportunity-controls { padding:1rem 0; border-block:1px solid var(--line); }
.opportunity-controls label,.opportunity-filters label,.op-form label { display:grid; gap:.25rem; }
.opportunity-filters { display:grid; grid-template-columns:repeat(auto-fit,minmax(132px,1fr)); gap:.8rem; margin:0 0 1.4rem; }
.opportunity-filters input,.opportunity-filters select,.opportunity-controls select,.op-form input,.op-form select,.op-form textarea {
  min-width:0; width:100%; padding:.65rem; border:1px solid var(--line); border-radius:.5rem; background:white; color:var(--ink);
}
.op-form { display:grid; gap:.85rem; }
.op-form label:has(input[type=checkbox]) { display:flex; align-items:flex-start; gap:.5rem; }
.op-form input[type=checkbox] { width:auto; margin-top:.35rem; }
.op-form .op-actions,.op-actions { display:flex; flex-wrap:wrap; gap:.55rem; margin-block:.6rem; }
.op-block { border:1px solid var(--line); border-radius:var(--round); padding:.9rem; margin:.85rem 0; overflow-wrap:anywhere; }
.op-block h3,.op-block p { margin:.3rem 0; }
.op-meta { color:var(--quiet); font-size:.94rem; }
.op-message { white-space:pre-wrap; overflow-wrap:anywhere; }
@media (max-width:450px) { .opportunity-controls { justify-content:flex-start; } .navigation { flex-wrap:wrap; } }
.social-layout { display:grid; grid-template-columns:minmax(0, 1fr) minmax(280px, .6fr); gap:clamp(16px, 4vw, 52px); align-items:start; }
.social-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; margin:1.1rem 0 1.4rem; }
.social-heading h1 { font-size:clamp(2rem, 6vw, 4rem); line-height:1; letter-spacing:-.065em; margin:0; }
.social-heading p { color:var(--quiet); margin:.55rem 0 0; }
.social-feed { display:grid; gap:1rem; margin-top:1.15rem; }
.social-post, .social-composer, .social-people { background:var(--card); border:1px solid var(--line); border-radius:var(--round); }
.social-post { overflow:hidden; }
.social-post-top, .social-people-row, .social-composer { display:flex; align-items:center; justify-content:space-between; gap:.75rem; padding:.85rem 1rem; }
.social-post-detail { padding: .75rem 1.15rem 1.25rem; }
.social-post-detail h2 { font-size:clamp(1.3rem, 3vw, 1.8rem); line-height:1.1; margin:.35rem 0 .55rem; letter-spacing:-.04em; overflow-wrap:anywhere; }
.social-post-detail p { margin:.35rem 0; overflow-wrap:anywhere; }
.social-identity { display:grid; text-align:left; gap:.1rem; min-width:0; overflow-wrap:anywhere; }
.social-identity > span, .social-muted { color:var(--quiet); font-size:.9rem; }
.social-avatar { display:grid; place-items:center; flex:0 0 45px; inline-size:45px; block-size:45px; border-radius:16px; font-weight:850; color:var(--ink); }
.avatar-coral { background:#ffb19c; } .avatar-lime { background:#d9eaaf; } .avatar-lilac { background:#ded3f7; } .avatar-sky { background:#d5eaf3; }
.social-person { display:flex; align-items:center; gap:.7rem; padding:0; border:0; background:transparent; color:var(--ink); min-width:0; }
.social-tag { color:var(--green); background:var(--mist); font-size:.85rem; font-weight:700; white-space:nowrap; padding:.35rem .55rem; border-radius:5px; }
.social-side { display:grid; gap:1rem; }
.social-banner { border-radius:var(--round); padding:1.2rem; background:var(--orange); }
.social-banner p { font-size:clamp(1.45rem, 3vw, 2.55rem); font-weight:900; line-height:1.04; letter-spacing:-.06em; margin:.65rem 0 1rem; }
.social-people h2 { margin:1rem 1rem .4rem; font-size:1.15rem; }
.social-people-row .button { flex-shrink:0; }
.social-profile { overflow-wrap:anywhere; }
.social-profile > .social-avatar { margin-bottom:.55rem; }
.social-options { border:1px solid var(--line); border-radius:.6rem; padding:.65rem; display:flex; flex-wrap:wrap; gap:.75rem; }
.social-options label { display:flex; flex-direction:row; gap:.35rem; align-items:center; }
.social-options input[type=radio] { width:auto; }
@media (max-width:750px) {
  .social-layout { grid-template-columns:1fr; gap:1rem; }
  .social-side { grid-row:2; }
}

.social-robot {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  filter:hue-rotate(var(--robot-hue, 0deg));
  transform:rotate(var(--robot-tilt, 0deg));
}
