:root {
  --ink: #071015;
  --panel: #0d141b;
  --panel-2: #111c24;
  --paper: #f4f0e8;
  --muted: #adb4b7;
  --line: rgba(255,255,255,.14);
  --line-dark: rgba(8,14,18,.12);
  --teal: #13bfc0;
  --teal-dark: #0d8d92;
  --coral: #ff5a3d;
  --gold: #e4b833;
  --purple: #7f55d7;
  --green: #31cf84;
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(0,0,0,.38);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

a { color: inherit; text-decoration: none; }

.page {
  min-height: 100vh;
  overflow: hidden;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.dark-band {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7,16,21,.58), rgba(7,16,21,.92) 36%, rgba(7,16,21,.78)),
    radial-gradient(circle at 8% 16%, rgba(19,191,192,.32), transparent 28%),
    radial-gradient(circle at 92% 38%, rgba(255,90,61,.2), transparent 24%),
    #071015;
}

.dark-band::before,
.dark-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dark-band::before {
  background:
    linear-gradient(180deg, rgba(7,16,21,.02), rgba(7,16,21,.92)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 80px);
  opacity: .62;
}

.dark-band::after {
  background-image:
    linear-gradient(115deg, transparent 0 16%, rgba(228,184,51,.85) 16% 17%, transparent 17% 100%),
    linear-gradient(105deg, transparent 0 83%, rgba(127,85,215,.68) 83% 84%, transparent 84% 100%);
  mix-blend-mode: screen;
  opacity: .38;
}

.site-header,
.hero {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 0 16px;
}

.brand {
  display: inline-grid;
  gap: 0;
  color: var(--white);
  font-family: "Anton", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-style: italic;
  letter-spacing: .02em;
  line-height: .76;
  text-transform: uppercase;
  transform: skewX(-7deg);
}

.brand span {
  color: var(--teal);
  padding-left: .9em;
}

.brand small {
  width: 112px;
  height: 8px;
  margin: 5px 0 0 46px;
  background: linear-gradient(90deg, var(--coral), var(--gold), transparent);
  transform: skewX(-20deg);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  color: rgba(255,255,255,.82);
  padding: 8px 0;
}

.nav a:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid transparent;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255,90,61,.22);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(19,191,192,.22);
}

.btn-ghost {
  border-color: rgba(255,255,255,.55);
  color: var(--white);
  background: rgba(255,255,255,.04);
}

.hero {
  width: min(1610px, calc(100% - 100px));
  display: grid;
  grid-template-columns: 220px 540px minmax(0, 1fr);
  align-items: start;
  gap: 36px;
  min-height: 570px;
  padding: 0 0 34px;
}

.hero::before {
  content: "";
  position: absolute;
  left: max(-110px, -8vw);
  bottom: 0;
  width: clamp(210px, 32vw, 430px);
  height: min(540px, 76%);
  background:
    linear-gradient(145deg, rgba(19,191,192,.18), transparent 48%),
    linear-gradient(35deg, rgba(255,90,61,.24), transparent 52%),
    rgba(255,255,255,.035);
  clip-path: polygon(5% 8%, 56% 0, 88% 20%, 94% 74%, 54% 98%, 12% 87%, 0 42%);
  border: 1px solid rgba(255,255,255,.08);
}

.hero-copy {
  position: relative;
  width: 100%;
  max-width: 540px;
  padding-top: 24px;
}

.portrait-placeholder {
  position: relative;
  align-self: start;
  left: auto;
  top: auto;
  width: 100%;
  height: 570px;
  min-height: 0;
  border: 0;
  background: transparent;
  padding: 0;
  margin-top: -12px;
  overflow: hidden;
}

.portrait-placeholder img {
  object-position: center;
  filter: drop-shadow(12px 12px 22px rgba(0,0,0,.28));
}

h1,
h2,
h3,
.metric strong {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  line-height: .94;
  letter-spacing: .01em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 14px;
  max-width: 480px;
  color: var(--white);
  font-size: clamp(3rem, 3.7vw, 3.55rem);
  line-height: .98;
}

.teal { color: var(--teal); }
.coral { color: var(--coral); }

.hero-copy p {
  max-width: 440px;
  margin: 0 0 18px;
  color: rgba(255,255,255,.78);
  font-size: .94rem;
}

.hero-actions,
.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions .btn {
  min-height: 42px;
  padding: 0 18px;
  font-size: .84rem;
}

.metrics {
  margin-top: 22px;
  flex-wrap: nowrap;
  gap: 14px;
}

.metric {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: 28px auto;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: rgba(255,255,255,.82);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.metric i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--teal);
  font-style: normal;
  font-size: 1.6rem;
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-size: 1.12rem;
}

.app-frame {
  position: relative;
  width: 100%;
  min-height: 500px;
  max-width: 636px;
  justify-self: start;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  background: #0b1117;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.app-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 48% 34%, rgba(19,191,192,.15), transparent 32%);
  pointer-events: none;
}

.app-sidebar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 104px;
  padding: 28px 18px;
  border-right: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.025);
}

.mini-logo {
  margin-bottom: 28px;
  font-family: "Anton", sans-serif;
  font-size: 1.7rem;
  font-style: italic;
  line-height: .8;
  text-transform: uppercase;
}

.app-menu {
  display: grid;
  gap: 15px;
  color: rgba(255,255,255,.64);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.app-menu span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-menu span:first-child {
  color: var(--teal);
}

.app-content {
  position: relative;
  z-index: 1;
  margin-left: 104px;
  padding: 26px 25px;
}

.search {
  height: 34px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 4px;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: .82rem;
}

.map {
  position: relative;
  height: 160px;
  margin-top: 14px;
  border-radius: 8px;
  border: 1px dashed rgba(255,255,255,.24);
  background:
    linear-gradient(34deg, transparent 0 47%, rgba(255,255,255,.16) 47% 48%, transparent 48%),
    linear-gradient(94deg, transparent 0 31%, rgba(255,255,255,.12) 31% 32%, transparent 32%),
    linear-gradient(145deg, transparent 0 61%, rgba(255,255,255,.1) 61% 62%, transparent 62%),
    #18222b;
  overflow: hidden;
}

.pin {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(19,191,192,.12);
}

.pin::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--white);
}

.pin:nth-child(1) { left: 14%; top: 24%; }
.pin:nth-child(2) { left: 42%; top: 18%; background: var(--gold); box-shadow: 0 0 0 6px rgba(228,184,51,.12); }
.pin:nth-child(3) { left: 72%; top: 30%; background: var(--coral); box-shadow: 0 0 0 6px rgba(255,90,61,.12); }
.pin:nth-child(4) { left: 83%; top: 12%; background: var(--purple); box-shadow: 0 0 0 6px rgba(127,85,215,.12); }

.app-title-row,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.app-title-row h3,
.section-head h2 {
  margin: 0;
}

.app-title-row {
  margin: 18px 0 10px;
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.app-title-row a,
.text-link {
  color: var(--teal);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mini-card {
  min-height: 122px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel-2);
  border: 1px solid rgba(255,255,255,.08);
}

.image-slot {
  display: block;
  position: relative;
  min-height: 96px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.025);
  overflow: hidden;
}

.light .image-slot {
  border-color: rgba(8,14,18,.22);
  background: rgba(8,14,18,.035);
}

.image-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot-hero { min-height: 100%; }
.slot-mini { height: 74px; min-height: 74px; }
.slot-event { height: 92px; min-height: 92px; }
.slot-benefit { min-height: 210px; }
.slot-highlight { min-height: 146px; }

.mini-card strong,
.event-info strong {
  display: block;
  padding: 9px 10px 0;
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .92rem;
  line-height: 1;
  text-transform: uppercase;
}

.mini-card small,
.event-info small {
  display: block;
  padding: 3px 10px 10px;
  color: rgba(255,255,255,.54);
  font-size: .74rem;
}

.event-row {
  display: grid;
  grid-template-columns: 128px 1fr auto;
  align-items: stretch;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.event-info {
  align-self: center;
}

.event-info strong,
.event-info small {
  padding-left: 0;
  padding-right: 0;
}

.tag-btn {
  align-self: end;
  padding: 9px 13px;
  border: 0;
  background: var(--purple);
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.steps-band {
  background: var(--paper);
  border-bottom: 1px solid var(--line-dark);
  color: var(--ink);
}

.steps {
  width: min(1610px, calc(100% - 100px));
  display: grid;
  grid-template-columns: 220px repeat(4, 1fr);
  gap: 16px;
  padding: 28px 0 30px;
}

.section-title {
  position: relative;
  align-self: center;
  padding-left: 0;
}

.section-title h2 {
  margin: 0;
  max-width: 190px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.7rem, 3vw, 3.2rem);
  font-weight: 800;
  line-height: .88;
  letter-spacing: -.02em;
}

.paint-stroke {
  width: 138px;
  height: 9px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--teal), transparent);
  transform: skewX(-18deg);
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: 62px auto 1fr;
  column-gap: 10px;
  min-height: 194px;
  padding: 16px 18px 14px;
  border: 1px solid rgba(8,14,18,.09);
  background: rgba(255,255,255,.28);
}

.step-card:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -18px;
  top: 50%;
  z-index: 2;
  color: rgba(8,14,18,.38);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.7rem;
  font-weight: 500;
  transform: translateY(-50%);
}

.step-number {
  color: var(--teal);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.step-card:nth-child(3) .step-number { color: var(--coral); }
.step-card:nth-child(4) .step-number { color: var(--purple); }
.step-card:nth-child(5) .step-number { color: var(--gold); }

.step-icon {
  align-self: start;
  height: 58px;
  margin-top: -4px;
  font-size: 3rem;
  line-height: 1;
  filter: saturate(.82) contrast(1.05);
}

.step-card h3 {
  grid-column: 1 / -1;
  margin: 2px 0 7px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.02;
}

.step-card p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(8,14,18,.7);
  font-size: .82rem;
  line-height: 1.35;
}

.journey {
  width: min(1450px, calc(100% - 100px));
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 220px repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  padding: 42px 0;
}

.journey-intro {
  display: flex;
  flex-direction: column;
  padding: 4px 18px 0 0;
}

.journey-intro h2 {
  max-width: 210px;
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.8rem, 3.3vw, 3.35rem);
  font-weight: 800;
  line-height: .86;
  letter-spacing: -.02em;
}

.journey-intro p {
  max-width: 200px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  line-height: 1.55;
}

.journey-card {
  display: grid;
  grid-template-rows: 28px 70px 1fr;
  min-height: 310px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.journey-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--teal);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1;
}

.journey-card:nth-child(3) h3 { color: var(--coral); }
.journey-card:nth-child(4) h3 { color: var(--purple); }
.journey-card:nth-child(5) h3 { color: var(--gold); }

.journey-card p {
  align-self: start;
  min-height: 0;
  margin: 10px 0 12px;
  color: rgba(255,255,255,.72);
  font-size: .88rem;
  line-height: 1.45;
}

.card-body {
  align-self: start;
  display: flex;
  flex-direction: column;
  min-height: 218px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0,0,0,.18);
}

.card-body .card-copy {
  padding: 12px 12px 10px;
  text-align: left;
}

.card-copy strong {
  display: block;
  margin: 0 0 4px;
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  line-height: 1.08;
  text-transform: uppercase;
}

.card-copy small {
  display: block;
  color: rgba(255,255,255,.56);
  font-size: .82rem;
  line-height: 1.4;
}

.outline-btn {
  margin-top: auto;
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--teal);
  background: transparent;
  color: var(--teal);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.check-circle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 20px auto 12px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 800;
}

.points {
  margin-bottom: 8px;
  color: var(--purple);
  font-family: "Anton", sans-serif;
  font-size: 1.5rem;
  text-align: center;
  text-transform: uppercase;
}

.share-icons {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 12px;
}

.share-icons span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  font-size: .8rem;
  font-weight: 800;
}

.benefits {
  padding: 34px 0 28px;
  background: var(--paper);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  min-height: 246px;
  padding: 16px;
  background: rgba(255,255,255,.5);
  border: 1px solid var(--line-dark);
}

.benefit-card h3 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 8px 0 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.02;
}

.benefit-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(8,14,18,.74);
  font-size: .9rem;
}

.benefit-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--teal-dark);
  font-weight: 800;
}

.highlights {
  padding: 0 0 38px;
  background: var(--paper);
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.highlight-card {
  overflow: hidden;
  border-radius: 6px;
  background: var(--panel);
  color: var(--white);
  box-shadow: 0 14px 26px rgba(8,14,18,.18);
}

.highlight-card .copy {
  padding: 15px;
}

.highlight-card h3 {
  margin: 0 0 6px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.highlight-card p {
  min-height: 40px;
  margin: 0 0 12px;
  color: rgba(255,255,255,.68);
  font-size: .85rem;
}

.card-meta {
  display: flex;
  gap: 12px;
  color: rgba(255,255,255,.78);
  font-size: .8rem;
  font-weight: 700;
}

.cta {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7,16,21,.76), rgba(7,16,21,.44), rgba(7,16,21,.82)),
    #0a1117;
  overflow: hidden;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22%;
  background: linear-gradient(120deg, var(--gold), var(--coral));
  opacity: .85;
  clip-path: polygon(0 12%, 100% 0, 72% 100%, 0 82%);
}

.cta::before { left: 0; }
.cta::after {
  right: -6%;
  background: linear-gradient(120deg, var(--purple), var(--teal));
  clip-path: polygon(24% 0, 100% 16%, 100% 86%, 0 100%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px 0;
}

.cta h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 4.3vw, 4.2rem);
}

.footer {
  color: rgba(255,255,255,.72);
  background: #071015;
  border-top: 1px solid rgba(255,255,255,.09);
}

.footer-inner {
  display: grid;
  grid-template-columns: 210px repeat(4, 1fr);
  gap: 36px;
  padding: 36px 0 28px;
}

.footer h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .94rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 8px;
  color: rgba(255,255,255,.62);
  font-size: .86rem;
}

.newsletter {
  display: flex;
  height: 42px;
  border: 1px solid rgba(255,255,255,.16);
}

.newsletter input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--white);
  padding: 0 12px;
}

.newsletter button {
  width: 46px;
  border: 0;
  background: var(--teal);
  color: var(--white);
  font-size: 1.15rem;
}

@media (max-width: 1300px) {
  .hero {
    width: min(1240px, calc(100% - 40px));
    grid-template-columns: 170px 440px minmax(430px, 1fr);
    gap: 24px;
  }

  .portrait-placeholder {
    height: 520px;
  }

  .hero-copy {
    max-width: 440px;
  }

  .hero-copy h1 {
    font-size: clamp(2.85rem, 4vw, 3.35rem);
  }
}

@media (max-width: 1060px) {
  .nav { display: none; }

  .hero {
    width: min(1160px, calc(100% - 40px));
    grid-template-columns: 130px minmax(310px, .9fr) minmax(390px, 1.1fr);
    gap: 18px;
    padding-top: 20px;
  }

  .hero-copy {
    max-width: 430px;
    padding-top: 24px;
  }

  .portrait-placeholder {
    width: 100%;
    height: 430px;
    margin-top: 0;
  }

  .app-frame {
    max-width: 500px;
  }

  .steps,
  .journey {
    width: min(1160px, calc(100% - 40px));
    grid-template-columns: 1fr 1fr;
  }

  .section-title,
  .journey-intro {
    grid-column: 1 / -1;
  }

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

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

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 150px 1fr;
    gap: 34px;
    padding-top: 28px;
  }

  .hero-copy {
    max-width: 640px;
    padding-top: 24px;
  }

  .portrait-placeholder {
    width: 100%;
    height: 440px;
  }

  .app-frame {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 640px;
  }
}

@media (max-width: 700px) {
  .wrap {
    width: min(100% - 24px, 1160px);
  }

  .site-header {
    align-items: flex-start;
  }

  .site-header .btn {
    display: none;
  }

  .hero {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 18px;
  }

  .hero > *,
  .community-hero > *,
  .explore-layout > *,
  .mission-grid > * {
    min-width: 0;
  }

  .hero-copy {
    display: grid;
    max-width: none;
    padding-top: 0;
    padding-left: 0;
    min-width: 0;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 11.5vw, 2.8rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .portrait-placeholder {
    position: relative;
    left: auto;
    top: auto;
    width: min(220px, 66vw);
    height: 300px;
    margin: 0 auto 22px;
    transform: none;
    overflow: hidden;
  }

  .hero-copy {
    grid-column: 1 / -1;
  }

  .hero-actions,
  .metrics,
  .cta-inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .app-frame {
    width: 100%;
    min-width: 0;
    min-height: 690px;
  }

  .app-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

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

  .app-content {
    min-width: 0;
    margin-left: 0;
    padding: 18px;
  }

  .app-grid,
  .steps,
  .journey,
  .benefit-grid,
  .highlight-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .event-row,
  .benefit-card {
    grid-template-columns: 1fr;
  }

  .step-card::after {
    display: none;
  }
}

/* Culttech participation layer */
.eyebrow,
.card-kicker {
  color: var(--teal);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.four-es {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 20%, rgba(49,207,132,.12), transparent 30%),
    radial-gradient(circle at 92% 80%, rgba(127,85,215,.12), transparent 26%),
    #08151c;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.four-es::before {
  content: "4E";
  position: absolute;
  right: -2vw;
  top: -80px;
  color: rgba(255,255,255,.018);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(18rem, 36vw, 42rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.four-es-shell {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;
  padding: 86px 0 72px;
}

.four-es-heading {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(300px, .55fr);
  align-items: end;
  gap: 30px 80px;
  margin-bottom: 42px;
}

.four-es-heading .eyebrow {
  grid-column: 1 / -1;
  color: var(--green);
}

.four-es-heading h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(4.2rem, 8vw, 8rem);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.four-es-heading h2 span {
  color: var(--green);
}

.four-es-heading p {
  max-width: 520px;
  margin: 0;
  padding-left: 22px;
  color: rgba(255,255,255,.62);
  border-left: 2px solid var(--green);
  font-size: 1.02rem;
  line-height: 1.7;
}

.four-es-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(19,191,192,.24);
  border-radius: 10px;
  overflow: hidden;
}

.four-e-card {
  --e-color: var(--gold);
  position: relative;
  min-height: 350px;
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
  background: rgba(5,15,21,.58);
  border-right: 1px solid rgba(19,191,192,.2);
  transition: background .25s ease, transform .25s ease;
}

.four-e-card:last-child {
  border-right: 0;
}

.four-e-card:hover {
  background: rgba(255,255,255,.045);
  transform: translateY(-5px);
}

.four-e-understand { --e-color: var(--teal); }
.four-e-explore { --e-color: var(--coral); }
.four-e-engage { --e-color: var(--purple); }

.four-e-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.four-e-top span {
  color: var(--e-color);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.four-e-top b {
  margin: -24px -8px 0 0;
  color: color-mix(in srgb, var(--e-color) 13%, transparent);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 8.2rem;
  font-weight: 900;
  line-height: .8;
}

.four-e-card h3 {
  margin: auto 0 16px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.35rem;
  line-height: .95;
  text-transform: uppercase;
}

.four-e-card p {
  min-height: 116px;
  margin: 0;
  color: rgba(255,255,255,.68);
  line-height: 1.65;
}

.four-e-card small {
  margin-top: 24px;
  padding-top: 14px;
  color: var(--e-color);
  border-top: 1px solid rgba(255,255,255,.1);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.four-es-caption {
  padding-top: 22px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,.42);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.four-es-caption i {
  color: var(--green);
  font-style: normal;
}

@media (max-width: 1100px) {
  .four-es-shell {
    width: min(100% - 40px, 760px);
  }

  .four-es-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .four-es-heading .eyebrow {
    grid-column: auto;
  }

  .four-es-heading p {
    max-width: 620px;
  }

  .four-es-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .four-e-card:nth-child(2) {
    border-right: 0;
  }

  .four-e-card:nth-child(-n+2) {
    border-bottom: 1px solid rgba(19,191,192,.2);
  }
}

@media (max-width: 700px) {
  .four-es-shell {
    width: min(100% - 24px, 760px);
    padding: 58px 0 50px;
  }

  .four-es-heading {
    margin-bottom: 30px;
  }

  .four-es-heading h2 {
    font-size: clamp(3.8rem, 20vw, 5.6rem);
  }

  .four-es-flow {
    grid-template-columns: 1fr;
  }

  .four-e-card {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid rgba(19,191,192,.2);
  }

  .four-e-card:nth-child(3) {
    border-bottom: 1px solid rgba(19,191,192,.2);
  }

  .four-e-card:last-child {
    border-bottom: 0;
  }

  .four-e-card p {
    min-height: 0;
  }

  .four-es-caption {
    justify-content: flex-start;
  }
}

.city-pulse {
  color: var(--white);
  background: #091217;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.pulse-shell,
.lab-shell {
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;
}

.pulse-shell {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 70px;
  padding: 76px 0;
}

.pulse-heading h2,
.lab-copy h2 {
  margin: 12px 0 18px;
  font-size: clamp(3.2rem, 5vw, 5.8rem);
}

.pulse-heading p,
.lab-copy p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 1rem;
  line-height: 1.65;
}

.pulse-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.pulse-tab,
.micro-action,
.vote-option {
  cursor: pointer;
  font: inherit;
}

.pulse-tab {
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 100px;
  color: rgba(255,255,255,.62);
  background: transparent;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pulse-tab.is-active {
  border-color: var(--teal);
  color: #041116;
  background: var(--teal);
}

.pulse-stream {
  display: grid;
  border-top: 1px solid rgba(255,255,255,.12);
}

.pulse-item {
  display: grid;
  grid-template-columns: 58px 12px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: opacity .2s ease, transform .2s ease;
}

.pulse-item.is-hidden {
  display: none;
}

.pulse-item time {
  color: rgba(255,255,255,.46);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(255,255,255,.04);
}

.teal-bg { background: var(--teal); }
.coral-bg { background: var(--coral); }
.gold-bg { background: var(--gold); }
.purple-bg { background: var(--purple); }

.pulse-item strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.18rem;
  text-transform: uppercase;
}

.pulse-item p {
  margin: 3px 0 0;
  color: rgba(255,255,255,.5);
  font-size: .82rem;
}

.micro-action {
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  background: transparent;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.micro-action.is-done {
  border-color: var(--teal);
  color: var(--teal);
}

.civic-lab {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 26%, rgba(127,85,215,.18), transparent 25%),
    linear-gradient(135deg, #10151b, #071015 62%);
}

.lab-shell {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 70px;
  padding: 92px 0;
}

.lab-copy {
  position: sticky;
  top: 40px;
  align-self: start;
}

.lab-copy .btn {
  margin-top: 26px;
}

.participation-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.participation-card {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  box-shadow: 0 22px 50px rgba(0,0,0,.16);
}

.participation-card h3 {
  margin: 12px 0 18px;
  font-size: 1.7rem;
}

.proposal-card {
  grid-row: span 2;
}

.vote-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  width: 100%;
  margin: 9px 0;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.11);
  color: rgba(255,255,255,.76);
  background: rgba(0,0,0,.18);
  text-align: left;
}

.vote-option:hover,
.vote-option.is-voted {
  border-color: var(--coral);
  color: var(--white);
}

.vote-option strong {
  color: var(--coral);
}

.proposal-card > small {
  display: block;
  margin-top: 18px;
  color: rgba(255,255,255,.42);
}

.impact-orbit {
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
}

.impact-orbit strong {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border: 2px solid var(--purple);
  border-radius: 50%;
  color: var(--purple);
  font-family: "Anton", sans-serif;
  font-size: 2.6rem;
  font-weight: 400;
}

.impact-orbit span {
  color: rgba(255,255,255,.66);
  line-height: 1.5;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.impact-stats span {
  color: rgba(255,255,255,.5);
  font-size: .72rem;
  line-height: 1.25;
}

.impact-stats b {
  display: block;
  color: var(--white);
  font-family: "Anton", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
}

.memory-card blockquote {
  margin: 22px 0;
  color: rgba(255,255,255,.86);
  font-size: 1.05rem;
  line-height: 1.55;
}

.memory-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.memory-author > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
}

.memory-author p {
  margin: 0;
}

.memory-author strong,
.memory-author small {
  display: block;
}

.memory-author small {
  color: rgba(255,255,255,.42);
}

.manifesto-strip {
  overflow: hidden;
  padding: 18px 0;
  color: var(--ink);
  background: var(--gold);
}

.manifesto-track {
  display: flex;
  justify-content: center;
  gap: 24px;
  min-width: max-content;
  font-family: "Anton", sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 2.5rem);
  text-transform: uppercase;
}

.manifesto-track i {
  color: var(--coral);
  font-style: normal;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  max-width: 320px;
  padding: 13px 16px;
  color: var(--white);
  background: #101a20;
  border: 1px solid var(--teal);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.andre-spotlight {
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(19,191,192,.08), transparent 32%),
    var(--paper);
}

.andre-shell {
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;
  padding: 78px 0;
}

.andre-intro {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 330px auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 32px;
}

.andre-intro h2 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(3rem, 5vw, 5.4rem);
}

.andre-intro p {
  margin: 0;
  color: rgba(8,14,18,.62);
  line-height: 1.6;
}

.andre-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 14px;
}

.andre-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.48);
}

.andre-card h3 {
  margin: 8px 0 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
}

.andre-card p {
  color: rgba(8,14,18,.64);
  line-height: 1.5;
}

.andre-card > strong {
  display: block;
  color: var(--teal-dark);
  font-family: "Anton", sans-serif;
  font-size: 3rem;
  font-weight: 400;
}

.andre-card a {
  display: inline-block;
  margin-top: 14px;
  color: var(--teal-dark);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.andre-paranapiacaba {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7,16,21,.6), rgba(7,16,21,.94)),
    url("images/img-destaque-rota-murais.jpg") center / cover;
}

.andre-paranapiacaba p {
  color: rgba(255,255,255,.72);
}

.andre-action {
  color: var(--white);
  background: var(--coral);
}

.andre-action .card-kicker,
.andre-action a {
  color: var(--white);
}

.andre-action p {
  color: rgba(255,255,255,.78);
}

.andre-event {
  color: var(--white);
  background: linear-gradient(120deg, rgba(20,191,199,.06), transparent 42%), #0a1319;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.andre-event-shell {
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
}

.andre-event-visual {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
}

.andre-event-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,12,16,.04) 35%, rgba(5,12,16,.82));
}

.andre-event-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-status,
.event-date {
  position: absolute;
  z-index: 1;
}

.event-status {
  top: 22px;
  left: 22px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(7,16,21,.88);
  border: 1px solid rgba(255,255,255,.2);
  font-family: var(--font-display);
  font-size: .9rem;
  text-transform: uppercase;
}

.event-status i {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255,83,57,.18);
}

.event-date {
  right: 22px;
  bottom: 22px;
  min-width: 142px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  background: var(--coral);
}

.event-date strong {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: .82;
}

.event-date span {
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.andre-event-content {
  padding: 44px clamp(28px, 4vw, 62px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(16,27,34,.76);
  border: 1px solid rgba(255,255,255,.16);
  border-left: 0;
}

.andre-event-content h2 {
  max-width: 740px;
  margin: 12px 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: .88;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.andre-event-content > p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 1.05rem;
  line-height: 1.65;
}

.event-details {
  margin: 26px 0 22px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.event-details span {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-content: start;
  color: rgba(255,255,255,.88);
  font-size: .88rem;
  line-height: 1.35;
}

.event-details b {
  grid-row: span 2;
  color: var(--teal);
  font-size: 1.1rem;
}

.event-details small {
  margin-bottom: 4px;
  color: rgba(255,255,255,.42);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.event-lineup {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 10px;
  font-size: .82rem;
  text-transform: uppercase;
}

.event-lineup span {
  width: 100%;
  margin-bottom: 3px;
  color: rgba(255,255,255,.42);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.event-lineup strong {
  color: rgba(255,255,255,.82);
}

.event-lineup i {
  color: var(--coral);
  font-style: normal;
  font-weight: 900;
}

.event-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.event-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.32);
  background: transparent;
}

.event-ghost:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.event-actions > span {
  margin-left: auto;
  color: rgba(255,255,255,.48);
  font-size: .8rem;
}

.event-actions > span b {
  color: var(--white);
}

@media (max-width: 1100px) {
  .pulse-shell,
  .lab-shell,
  .andre-event-shell {
    width: min(100% - 40px, 760px);
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .andre-event-shell {
    gap: 0;
  }

  .andre-event-content {
    border-left: 1px solid rgba(255,255,255,.16);
    border-top: 0;
  }

  .andre-shell {
    width: min(100% - 40px, 760px);
  }

  .andre-intro,
  .andre-grid {
    grid-template-columns: 1fr 1fr;
  }

  .andre-intro h2,
  .andre-intro p {
    grid-column: 1 / -1;
  }

  .lab-copy {
    position: static;
  }
}

@media (max-width: 700px) {
  .pulse-shell,
  .lab-shell,
  .andre-event-shell {
    width: min(100% - 24px, 760px);
    padding: 56px 0;
  }

  .andre-event-visual {
    min-height: 280px;
  }

  .andre-event-content {
    padding: 28px 18px;
  }

  .event-details {
    grid-template-columns: 1fr;
  }

  .event-actions > span {
    width: 100%;
    margin-left: 0;
  }

  .andre-shell {
    width: min(100% - 24px, 760px);
    padding: 56px 0;
  }

  .andre-intro,
  .andre-grid {
    grid-template-columns: 1fr;
  }

  .andre-intro h2,
  .andre-intro p {
    grid-column: auto;
  }

  .pulse-item {
    grid-template-columns: 48px 9px 1fr;
  }

  .micro-action {
    grid-column: 3;
    justify-self: start;
  }

  .participation-board,
  .impact-stats {
    grid-template-columns: 1fr;
  }
}

/* Connected illustrative pages */
.portal-page,
.city-console {
  min-height: 100vh;
  color: var(--white);
  background: #071015;
}

.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 34px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.portal-header .brand {
  font-size: 2rem;
}

.portal-header nav {
  display: flex;
  gap: 28px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-header nav a {
  color: rgba(255,255,255,.5);
}

.portal-header nav a.is-active {
  color: var(--teal);
}

.portal-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  font-weight: 700;
}

.portal-profile span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
}

.explore-layout {
  display: grid;
  grid-template-columns: 390px 1fr;
  min-height: calc(100vh - 81px);
}

.explore-panel {
  padding: 48px 34px;
  border-right: 1px solid rgba(255,255,255,.1);
  background: #0b141a;
}

.explore-panel h1,
.community-hero h1,
.console-header h1 {
  margin: 12px 0 24px;
  font-size: clamp(3.2rem, 5vw, 5.2rem);
}

.portal-search {
  display: flex;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.16);
  color: var(--teal);
}

.portal-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
}

.filter-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 34px;
}

.filter-cloud button {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 99px;
  color: rgba(255,255,255,.6);
  background: transparent;
}

.filter-cloud button.is-active {
  color: var(--ink);
  background: var(--teal);
}

.explore-panel h2 {
  font-size: 1.4rem;
}

.route-result {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.route-result > span {
  color: var(--coral);
  font-family: "Anton", sans-serif;
}

.route-result strong,
.route-result small {
  display: block;
}

.route-result small {
  color: rgba(255,255,255,.42);
}

.live-map {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  background: #14212a;
}

.map-grid {
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(32deg, transparent 0 74px, rgba(255,255,255,.08) 75px 78px),
    repeating-linear-gradient(112deg, transparent 0 110px, rgba(255,255,255,.06) 111px 114px);
  transform: rotate(-5deg);
}

.culture-pin {
  position: absolute;
  width: 58px;
  height: 58px;
  border: 7px solid rgba(255,255,255,.18);
  border-radius: 50% 50% 50% 0;
  color: var(--white);
  background: var(--teal);
  transform: rotate(-45deg);
}

.culture-pin span {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  transform: rotate(45deg);
}

.pin-a { left: 20%; top: 18%; }
.pin-b { left: 55%; top: 26%; background: var(--coral); }
.pin-c { left: 72%; top: 14%; background: var(--purple); }
.pin-d { left: 42%; top: 54%; background: var(--gold); }

.map-story {
  position: absolute;
  right: 34px;
  bottom: 34px;
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(720px, calc(100% - 68px));
  padding: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(7,16,21,.92);
}

.map-story img {
  width: 130px;
  height: 88px;
  object-fit: cover;
}

.map-story h2,
.map-story p {
  margin: 4px 0;
}

.community-main {
  width: min(1360px, calc(100% - 80px));
  margin: 0 auto;
  padding: 70px 0;
}

.community-hero {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: end;
  gap: 70px;
  margin-bottom: 54px;
}

.community-hero p {
  max-width: 700px;
  color: rgba(255,255,255,.62);
  font-size: 1.1rem;
}

.community-score {
  padding: 26px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
}

.community-score strong,
.community-score small,
.community-score span {
  display: block;
}

.community-score strong {
  color: var(--teal);
  font-family: "Anton", sans-serif;
  font-size: 5rem;
  font-weight: 400;
}

.community-score div {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  color: rgba(255,255,255,.5);
  font-size: .76rem;
}

.community-score b {
  color: var(--white);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 16px;
}

.mission {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
}

.mission-featured {
  color: var(--ink);
  background: var(--paper);
}

.mission h2,
.mission h3 {
  margin: 14px 0;
  font-size: 1.7rem;
}

.mission p {
  color: rgba(255,255,255,.56);
}

.mission-featured p {
  color: rgba(8,14,18,.62);
}

.mission .btn,
.mission .outline-btn {
  margin-top: auto;
}

.mission-icon {
  color: var(--teal);
  font-size: 2.6rem;
}

.mission-progress {
  height: 7px;
  margin: 20px 0 8px;
  background: rgba(8,14,18,.12);
}

.mission-progress i {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--coral);
}

.voices {
  margin-top: 70px;
}

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

.voice-grid blockquote {
  margin: 0;
  padding: 28px;
  border-top: 3px solid var(--gold);
  background: rgba(255,255,255,.04);
  font-size: 1.2rem;
  line-height: 1.5;
}

.voice-grid cite {
  display: block;
  margin-top: 20px;
  color: var(--teal);
  font-size: .78rem;
  font-style: normal;
}

.city-console {
  display: grid;
  grid-template-columns: 230px 1fr;
}

.console-nav {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 28px;
  border-right: 1px solid rgba(255,255,255,.1);
  background: #091217;
}

.console-nav .mini-logo {
  color: var(--white);
}

.console-nav > span {
  margin: 40px 0 12px;
  color: rgba(255,255,255,.35);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.console-nav nav {
  display: grid;
  gap: 8px;
}

.console-nav nav a {
  padding: 11px;
  color: rgba(255,255,255,.54);
}

.console-nav nav a.is-active {
  color: var(--teal);
  background: rgba(19,191,192,.08);
}

.console-nav > a:last-child {
  margin-top: auto;
  color: rgba(255,255,255,.4);
}

.console-main {
  padding: 38px;
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.console-header h1 {
  margin-bottom: 10px;
}

.console-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 30px 0 18px;
}

.console-metrics article,
.console-card {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}

.console-metrics span,
.console-metrics small {
  display: block;
  color: rgba(255,255,255,.45);
}

.console-metrics strong {
  display: block;
  margin: 8px 0;
  color: var(--teal);
  font-family: "Anton", sans-serif;
  font-size: 2.8rem;
  font-weight: 400;
}

.console-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}

.console-card h2 {
  margin: 0 0 18px;
  font-size: 1.65rem;
}

.territory-card {
  grid-row: span 2;
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  min-height: 310px;
}

.heatmap i {
  border-radius: 6px;
  background: rgba(19,191,192,.18);
}

.heatmap i:nth-child(3n) { background: rgba(255,90,61,.72); }
.heatmap i:nth-child(4n) { background: rgba(127,85,215,.55); }
.heatmap i:nth-child(5n) { background: rgba(228,184,51,.6); }

.territory-card p,
.action-card p {
  color: rgba(255,255,255,.5);
}

.live-badge {
  color: var(--teal);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.list-ranking {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-ranking li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.65);
}

.list-ranking span,
.list-ranking b {
  color: var(--coral);
}

.signal {
  display: flex;
  gap: 12px;
  padding: 10px 0;
}

.signal > span {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
}

.signal p,
.signal small {
  display: block;
  margin: 0;
}

.signal small {
  color: rgba(255,255,255,.4);
}

@media (max-width: 1100px) {
  .explore-layout,
  .city-console {
    grid-template-columns: 1fr;
  }

  .console-nav {
    min-height: auto;
  }

  .console-nav nav {
    grid-template-columns: repeat(5, auto);
  }

  .community-hero,
  .mission-grid,
  .console-metrics,
  .console-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .portal-header nav,
  .portal-profile {
    display: none;
  }

  .explore-panel,
  .console-main {
    padding: 28px 18px;
  }

  .map-story,
  .community-hero,
  .mission-grid,
  .voice-grid,
  .console-metrics,
  .console-grid {
    grid-template-columns: 1fr;
  }

  .community-main {
    width: min(100% - 24px, 1360px);
    padding: 42px 0;
  }

  .community-hero {
    gap: 28px;
  }

  .community-hero h1,
  .explore-panel h1,
  .console-header h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, 12vw, 2.9rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .community-hero p {
    max-width: 100%;
    font-size: .96rem;
  }

  .community-score {
    min-width: 0;
  }

  .community-score strong {
    font-size: 4rem;
  }

  .live-map {
    min-height: 620px;
  }

  .map-story {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .map-story img {
    width: 100%;
    height: 130px;
  }

  .console-nav nav {
    grid-template-columns: 1fr 1fr;
  }
}
