:root {
  --fj-background-sand: #f5f2eb;
  --fj-midnight-teal: #121c1a;
  --deep-forest: #0f2c29;
  --deep-teal: #1e5751;
  --evergreen-teal: #10473e;
  --warm-sand: #f0dbc3;
  --soft-dune: #ede0c1;
  --fresh-lime: #9fe779;
  --sky-blue: #6ab6f4;
  --gold: #ffd05b;
  --orange: #ff5c1c;
  --white: #ffffff;
  --radius: 8px;
  --pill: 999px;
  --shadow: 0 24px 70px rgba(18, 28, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  --page: var(--fj-background-sand);
  --page-soft: #fffaf1;
  --ink: #10251f;
  --muted: #66746f;
  --panel: rgba(255, 250, 241, 0.76);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(15, 44, 41, 0.14);
  --hero: var(--fj-background-sand);
  --hero-ink: var(--deep-forest);
  --accent: var(--deep-teal);
  --icon-bg: rgba(30, 87, 81, 0.1);
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: "Tajawal", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

body[data-theme="night"] {
  --page: var(--fj-midnight-teal);
  --page-soft: #182621;
  --ink: #fff4df;
  --muted: rgba(255, 244, 223, 0.66);
  --panel: rgba(255, 250, 241, 0.08);
  --panel-strong: rgba(255, 250, 241, 0.12);
  --line: rgba(255, 250, 241, 0.14);
  --hero: var(--fj-midnight-teal);
  --hero-ink: #fff4df;
  --accent: var(--fresh-lime);
  --icon-bg: rgba(255, 250, 241, 0.08);
}

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

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.orbit-map img,
.discovery-stack img,
.business-cards img,
.panel-heading img,
.legal-card img,
.icon-list img,
.market-grid img,
.mini-card img {
  filter: brightness(0) saturate(100%) invert(22%) sepia(25%) saturate(1074%) hue-rotate(124deg) brightness(91%) contrast(90%);
}

body[data-theme="night"] .orbit-map img,
body[data-theme="night"] .discovery-stack img,
body[data-theme="night"] .business-cards img,
body[data-theme="night"] .panel-heading img,
body[data-theme="night"] .legal-card img,
body[data-theme="night"] .icon-list img,
body[data-theme="night"] .market-grid img,
body[data-theme="night"] .mini-card img {
  filter: brightness(0) saturate(100%) invert(89%) sepia(18%) saturate(484%) hue-rotate(343deg) brightness(101%) contrast(94%);
}

.lang-en {
  display: none !important;
}

body[data-lang="en"] {
  direction: ltr;
}

body[data-lang="en"] .lang-ar {
  display: none !important;
}

body[data-lang="en"] .lang-en {
  display: inline !important;
}

.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 5vw, 58px);
  background: color-mix(in srgb, var(--page) 84%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px);
}

.site-header.is-elevated {
  border-color: var(--line);
  box-shadow: 0 14px 34px rgba(18, 28, 26, 0.1);
}

.brand,
.nav-links,
.header-actions,
.hero-actions,
.hero-points,
.panel-heading,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: fit-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 15px;
  background: var(--deep-forest);
  box-shadow: 0 12px 30px rgba(18, 28, 26, 0.16);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.12;
}

.brand small {
  color: var(--muted);
}

.nav-links {
  gap: clamp(12px, 2vw, 24px);
  color: var(--muted);
  font-weight: 800;
}

.nav-links a:hover,
.nav-button:hover {
  color: var(--ink);
}

.header-actions {
  gap: 10px;
}

.theme-toggle,
.language-toggle,
.nav-button,
.secondary-action,
.primary-action {
  cursor: pointer;
}

.theme-toggle,
.language-toggle {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  color: var(--ink);
  background: var(--panel);
  font-weight: 900;
}

.nav-button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font-weight: 900;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 74px);
  padding: clamp(48px, 7vw, 92px) 0 clamp(58px, 8vw, 105px);
  background:
    radial-gradient(circle at 16% 22%, rgba(159, 231, 121, 0.2), transparent 25%),
    radial-gradient(circle at 88% 20%, rgba(255, 208, 91, 0.18), transparent 25%),
    var(--hero);
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: -8%;
  bottom: -80px;
  height: 150px;
  border-radius: 50% 50% 0 0;
  background: var(--page);
  transform: rotate(-1.1deg);
}

.hero-glow {
  position: absolute;
  width: 42vw;
  max-width: 620px;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.12;
  filter: blur(12px);
  pointer-events: none;
}

.hero-glow-one {
  inset-inline-start: -18%;
  top: -12%;
  background: var(--fresh-lime);
}

.hero-glow-two {
  inset-inline-end: -10%;
  bottom: 6%;
  background: var(--gold);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--hero-ink);
  font-size: clamp(3.8rem, 7vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.2vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
  line-height: 1.25;
}

.hero-lede,
.section-copy,
.story-card p,
.discovery-stack p,
.category-panel p,
.business-cards p,
.faq-group p,
.legal-card li {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-lede {
  max-width: 600px;
  font-size: clamp(1.16rem, 1.5vw, 1.45rem);
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--pill);
  padding: 10px 20px;
  font-weight: 900;
}

.primary-action {
  border: 1px solid var(--deep-forest);
  color: var(--warm-sand);
  background: var(--deep-forest);
  box-shadow: 0 18px 42px rgba(18, 28, 26, 0.18);
}

body[data-theme="night"] .primary-action {
  border-color: var(--warm-sand);
  color: var(--deep-forest);
  background: var(--warm-sand);
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--panel);
}

.hero-points {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-points span {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 8px 13px;
  color: var(--muted);
  background: var(--panel);
  font-weight: 800;
}

.hero-product {
  min-height: min(650px, 70svh);
}

.orbit-map {
  position: relative;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.8), rgba(240, 219, 195, 0.44)),
    repeating-linear-gradient(45deg, rgba(16, 71, 62, 0.08) 0 44px, rgba(255, 208, 91, 0.08) 44px 88px);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

body[data-theme="night"] .orbit-map {
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.08), rgba(30, 87, 81, 0.2)),
    repeating-linear-gradient(45deg, rgba(255, 250, 241, 0.05) 0 44px, rgba(159, 231, 121, 0.05) 44px 88px);
}

.orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(64deg);
  border: 4px solid;
  opacity: 0.9;
}

.orbit-near {
  width: 34%;
  aspect-ratio: 1;
  border-color: rgba(159, 231, 121, 0.74);
}

.orbit-mid {
  width: 58%;
  aspect-ratio: 1;
  border-color: rgba(255, 208, 91, 0.7);
}

.orbit-wide {
  width: 86%;
  aspect-ratio: 1;
  border-color: rgba(106, 182, 244, 0.62);
}

.map-card {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 8px 12px;
  color: var(--ink);
  background: color-mix(in srgb, var(--page-soft) 88%, transparent);
  box-shadow: 0 16px 36px rgba(18, 28, 26, 0.12);
  font-weight: 900;
}

.map-card img {
  width: 20px;
  height: 20px;
}

.map-card-food {
  inset-inline-end: 10%;
  top: 22%;
}

.map-card-store {
  inset-inline-start: 9%;
  top: 36%;
}

.map-card-tailor {
  inset-inline-start: 18%;
  bottom: 20%;
}

.map-card-dokhoon {
  inset-inline-end: 28%;
  top: 12%;
}

.phone-shell {
  position: absolute;
  z-index: 4;
  inset-inline: 0;
  bottom: 4%;
  margin: auto;
  width: clamp(220px, 36%, 286px);
  aspect-ratio: 0.49;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 46px;
  background:
    linear-gradient(145deg, #050706, #1b2421 44%, #050706);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.06),
    inset 0 0 0 9px #080d0c,
    0 32px 72px rgba(18, 28, 26, 0.42);
}

.phone-shell::before {
  content: "";
  position: absolute;
  z-index: 8;
  top: 16px;
  left: 50%;
  width: 86px;
  height: 26px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 72% 50%, #1d2825 0 5px, transparent 6px),
    linear-gradient(180deg, #050706, #101715);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 1px 8px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
}

.phone-shell::after {
  content: "";
  position: absolute;
  inset: 10px 10px auto auto;
  width: 42%;
  height: 58%;
  border-radius: 38px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16), transparent 52%);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.45;
}

.iphone-side {
  position: absolute;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #303b37, #070a09);
}

.iphone-side-left {
  inset-inline-start: -5px;
  top: 18%;
  height: 88px;
}

.iphone-side-right {
  inset-inline-end: -5px;
  top: 28%;
  height: 118px;
}

.phone-speaker {
  display: none;
}

body[dir="rtl"] .phone-shell::before {
  transform: translateX(-50%);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.08);
  border-radius: 34px;
  padding: 48px 12px 12px;
  color: var(--warm-sand);
  background:
    radial-gradient(circle at 20% 14%, rgba(159, 231, 121, 0.16), transparent 30%),
    var(--fj-midnight-teal);
}

.app-topbar,
.mini-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.app-topbar small {
  color: var(--fresh-lime);
  font-weight: 800;
}

.app-search {
  border-radius: var(--pill);
  padding: 8px 11px;
  color: rgba(255, 244, 223, 0.58);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
}

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

.app-tabs span {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.82rem;
  font-weight: 800;
}

.mini-card {
  justify-content: flex-start;
  border-radius: 18px;
  padding: 10px;
  background: rgba(159, 231, 121, 0.12);
}

.mini-card.muted {
  background: rgba(255, 255, 255, 0.08);
}

.mini-card img {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 12px;
  background: rgba(255, 250, 241, 0.12);
}

.mini-card strong,
.mini-card small {
  display: block;
}

.mini-card small {
  color: rgba(255, 244, 223, 0.62);
  font-size: 0.76rem;
}

.intro-section,
.categories-section,
.faq-section,
.legal-section {
  padding: clamp(82px, 10vw, 132px) 0;
}

.section-kicker {
  max-width: 880px;
  margin-bottom: 34px;
}

.intro-grid,
.business-cards,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.story-card,
.category-panel,
.discovery-stack article,
.business-cards article,
.faq-group,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 16px 48px rgba(18, 28, 26, 0.07);
}

.story-card {
  min-height: 260px;
  padding: 26px;
}

.story-number {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 50%;
  color: var(--warm-sand);
  background: var(--deep-forest);
  font-weight: 900;
}

body[data-theme="night"] .story-number {
  color: var(--deep-forest);
  background: var(--warm-sand);
}

.discover-band,
.business-section {
  padding: clamp(82px, 10vw, 132px) 0;
  background: var(--page-soft);
}

.split-section,
.business-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
}

.discovery-stack {
  display: grid;
  gap: 16px;
}

.discovery-stack article,
.business-cards article {
  padding: 26px;
}

.discovery-stack img,
.business-cards img,
.panel-heading img,
.legal-card img {
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 14px;
  background: var(--icon-bg);
}

.category-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
}

.category-panel {
  padding: clamp(22px, 4vw, 36px);
}

.panel-heading {
  gap: 14px;
  margin-bottom: 26px;
}

.panel-heading h3 {
  margin-bottom: 0;
}

.icon-list,
.market-grid {
  display: grid;
  gap: 12px;
}

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

.icon-list span,
.market-grid span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--panel-strong);
}

.icon-list img,
.market-grid img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.market-panel {
  background:
    radial-gradient(circle at 14% 18%, rgba(159, 231, 121, 0.12), transparent 28%),
    var(--panel);
}

.business-section {
  background:
    radial-gradient(circle at 14% 12%, rgba(159, 231, 121, 0.12), transparent 28%),
    var(--fj-midnight-teal);
  color: var(--warm-sand);
}

.business-section .section-copy,
.business-section .business-cards p {
  color: rgba(255, 244, 223, 0.72);
}

.business-section .business-cards article {
  background: rgba(255, 250, 241, 0.08);
  border-color: rgba(255, 250, 241, 0.15);
}

.faq-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-group,
.legal-card {
  padding: clamp(20px, 3vw, 30px);
}

.faq-group details {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.faq-group details + details {
  margin-top: 14px;
}

.faq-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-weight: 900;
}

.faq-group summary::-webkit-details-marker {
  display: none;
}

.faq-group summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  color: var(--warm-sand);
  background: var(--deep-teal);
}

.faq-group details[open] summary::after {
  content: "-";
}

.faq-group p {
  margin: 12px 0 0;
}

.legal-section {
  background: var(--page-soft);
}

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

.legal-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-card li {
  position: relative;
  padding-inline-start: 22px;
}

.legal-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.75em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.legal-card p {
  color: var(--muted);
  font-size: 1.06rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 8px 16px;
  color: var(--warm-sand);
  background: var(--deep-forest);
  font-weight: 900;
}

body[data-theme="night"] .text-link {
  color: var(--deep-forest);
  background: var(--warm-sand);
}

.coming-soon-page {
  min-height: 100svh;
}

.coming-header {
  position: relative;
}

.quiet-link {
  color: var(--muted);
  font-weight: 900;
}

.quiet-link:hover {
  color: var(--ink);
}

.coming-soon-main {
  min-height: calc(100svh - 150px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 14%, rgba(159, 231, 121, 0.2), transparent 25%),
    radial-gradient(circle at 86% 22%, rgba(255, 208, 91, 0.16), transparent 24%),
    var(--page);
}

.coming-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 0.86fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  padding: clamp(48px, 8vw, 96px) 0;
}

.coming-copy {
  max-width: 720px;
}

.coming-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.coming-status span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 8px 14px;
  color: var(--muted);
  background: var(--panel);
  font-weight: 900;
}

.coming-visual {
  min-height: min(590px, 68svh);
}

.coming-map {
  min-height: 560px;
}

.coming-footer {
  background: var(--page);
}

.legal-page-main {
  padding: clamp(48px, 7vw, 86px) 0 clamp(78px, 10vw, 126px);
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.42fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: end;
  padding: clamp(34px, 7vw, 82px) 0 clamp(28px, 5vw, 52px);
}

.legal-hero h1 {
  max-width: 900px;
}

.legal-meta {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--muted);
  background: var(--panel);
}

.legal-meta .lang-ar,
.legal-meta .lang-en {
  display: grid;
  gap: 10px;
}

.legal-meta p {
  margin: 0;
}

body[data-lang="en"] .legal-meta .lang-en {
  display: grid !important;
}

.legal-meta strong {
  color: var(--ink);
}

.legal-document {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: start;
}

.legal-document > .legal-content {
  min-width: 0;
  max-width: 100%;
}

.legal-content.lang-en {
  display: none !important;
}

body[data-lang="en"] .legal-content.lang-ar {
  display: none !important;
}

body[data-lang="en"] .legal-content.lang-en {
  display: grid !important;
}

body[data-lang="en"] .legal-toc.legal-content.lang-en {
  display: grid !important;
}

.legal-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--panel);
}

.legal-toc a {
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.legal-toc a:hover {
  color: var(--ink);
}

.legal-article {
  display: grid;
  gap: 18px;
  justify-items: stretch;
}

.legal-block {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-self: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 34px);
  background: var(--panel);
}

.legal-block h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.45rem);
}

.legal-block h3 {
  margin-top: 1.2em;
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
}

.legal-block p,
.legal-block li,
.legal-block td,
.legal-block th {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.95;
}

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

.legal-block p + p,
.legal-block ul + p,
.legal-table-wrap + p {
  margin-top: 14px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--page);
}

.legal-table-wrap table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.legal-table-wrap th,
.legal-table-wrap td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}

.legal-table-wrap th {
  color: var(--ink);
  font-weight: 900;
  background: color-mix(in srgb, var(--panel), var(--accent-soft) 26%);
}

.legal-table-wrap tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(18px, 5vw, 58px);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 4px 0 0;
  color: var(--muted);
}

.operator-note {
  font-weight: 800;
}

.footer-links {
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 1040px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-layout,
  .split-section,
  .business-layout,
  .coming-hero {
    grid-template-columns: 1fr;
  }

  .hero-product {
    min-height: auto;
  }

  .coming-visual {
    min-height: auto;
  }

  .orbit-map {
    min-height: 560px;
  }

  .intro-grid,
  .business-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .section-shell {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 5rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero {
    min-height: auto;
  }

  .hero-actions,
  .header-actions {
    align-items: stretch;
  }

  .hero-actions,
  .primary-action,
  .secondary-action,
  .coming-status span {
    width: 100%;
  }

  .orbit-map {
    min-height: 520px;
  }

  .coming-map {
    min-height: 500px;
  }

  .phone-shell {
    width: min(56%, 220px);
    border-radius: 38px;
    padding: 9px;
  }

  .map-card {
    font-size: 0.85rem;
  }

  .map-card-food {
    inset-inline-end: 4%;
  }

  .map-card-dokhoon {
    inset-inline-end: 16%;
  }

  .intro-grid,
  .category-columns,
  .market-grid,
  .business-cards,
  .faq-layout,
  .legal-grid,
  .legal-hero,
  .legal-document {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 1ms !important;
  }
}

/* Furjan public landing */
.landing-page {
  overflow-x: hidden;
}

.landing-header {
  position: sticky;
}

.landing-header .nav-links {
  flex: 1 1 auto;
  justify-content: center;
}

.map-hero {
  overflow: hidden;
  background: var(--page);
}

.map-stage {
  position: relative;
  min-height: calc(100svh + clamp(74px, 8vh, 120px));
  overflow: hidden;
  isolation: isolate;
}

.map-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.1);
  transform-origin: center;
  opacity: 0.96;
}

body[data-theme="night"] .map-art {
  filter: invert(0.9) hue-rotate(150deg) saturate(0.42) brightness(0.5) contrast(1.12);
  opacity: 0.9;
}

.map-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(245, 242, 235, 0.02) 0%, rgba(245, 242, 235, 0.08) 38%, rgba(245, 242, 235, 0.36) 78%, rgba(245, 242, 235, 0.62) 100%),
    linear-gradient(180deg, rgba(245, 242, 235, 0.82) 0%, rgba(245, 242, 235, 0.08) 22%, rgba(245, 242, 235, 0.08) 72%, rgba(245, 242, 235, 0.68) 100%);
}

body[data-theme="night"] .map-tint {
  background:
    radial-gradient(circle at 38% 50%, rgba(159, 231, 121, 0.08), transparent 34%),
    linear-gradient(90deg, rgba(18, 28, 26, 0.08) 0%, rgba(18, 28, 26, 0.28) 52%, rgba(18, 28, 26, 0.56) 100%),
    linear-gradient(180deg, rgba(18, 28, 26, 0.66) 0%, rgba(18, 28, 26, 0.04) 30%, rgba(18, 28, 26, 0.58) 100%);
}

.range-layer,
.pin-layer,
.user-marker,
.range-legend,
.detail-sheet {
  position: absolute;
}

.range-layer,
.pin-layer {
  inset: 0;
}

.range-layer {
  z-index: 2;
}

.pin-layer {
  z-index: 4;
}

.range-ring {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: min(calc(var(--size) * 1vw), calc(var(--size) * 1.4vh));
  aspect-ratio: 1;
  border: clamp(2px, 0.26vw, 4px) solid var(--ring-color);
  border-radius: 50%;
  translate: -50% -50%;
  opacity: 0.54;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 999px color-mix(in srgb, var(--ring-color) 9%, transparent),
    0 0 26px color-mix(in srgb, var(--ring-color) 16%, transparent);
}

.range-ring--near {
  --ring-color: #2fbf50;
}

.range-ring--mid {
  --ring-color: var(--gold);
}

.range-ring--wide {
  --ring-color: #2b8bd0;
}

.project-pin {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  display: grid;
  place-items: center;
  width: clamp(48px, 4.4vw, 66px);
  height: clamp(48px, 4.4vw, 66px);
  border: 2px solid rgba(16, 71, 62, 0.32);
  border-radius: 50%;
  color: var(--evergreen-teal);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(18, 28, 26, 0.18);
  translate: -50% -50%;
  cursor: pointer;
  transition: width 180ms ease, height 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.project-pin::after {
  content: "";
  position: absolute;
  top: 5px;
  inset-inline-end: 2px;
  width: clamp(12px, 1.4vw, 18px);
  aspect-ratio: 1;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: var(--fresh-lime);
  box-shadow: 0 8px 18px rgba(18, 28, 26, 0.18);
}

.project-pin img {
  width: 50%;
  height: 50%;
  filter: brightness(0) saturate(100%) invert(19%) sepia(25%) saturate(1257%) hue-rotate(125deg) brightness(90%) contrast(91%);
}

.project-pin.is-active {
  z-index: 6;
  width: clamp(78px, 6.8vw, 112px);
  height: clamp(78px, 6.8vw, 112px);
  border-color: rgba(255, 255, 255, 0.88);
  background: var(--evergreen-teal);
  box-shadow: 0 24px 58px rgba(18, 28, 26, 0.34);
  transform: translateY(-4px);
}

.project-pin.is-active img {
  width: 44%;
  height: 44%;
  filter: brightness(0) invert(1);
}

body[data-theme="night"] .project-pin {
  border-color: rgba(255, 250, 241, 0.42);
  background: rgba(16, 71, 62, 0.88);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

body[data-theme="night"] .project-pin img {
  filter: brightness(0) invert(1);
}

body[data-theme="night"] .project-pin.is-active {
  border-color: rgba(255, 250, 241, 0.95);
  background: rgba(255, 250, 241, 0.96);
}

body[data-theme="night"] .project-pin.is-active img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(25%) saturate(1257%) hue-rotate(125deg) brightness(90%) contrast(91%);
}

.user-marker {
  z-index: 3;
  left: 49%;
  top: 55%;
  display: grid;
  place-items: center;
  width: clamp(30px, 2.8vw, 42px);
  height: clamp(30px, 2.8vw, 42px);
  border-radius: 50%;
  background: rgba(18, 28, 26, 0.94);
  box-shadow:
    0 16px 30px rgba(18, 28, 26, 0.24),
    0 0 0 8px rgba(16, 71, 62, 0.1);
  translate: -50% -50%;
  pointer-events: none;
}

.user-marker::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(16, 71, 62, 0.24);
  border-radius: inherit;
  animation: userPulse 2.6s ease-out infinite;
}

.user-marker span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}

body[data-theme="night"] .user-marker::before {
  border-color: rgba(255, 255, 255, 0.52);
}

@keyframes userPulse {
  0% {
    opacity: 0.7;
    transform: scale(0.82);
  }

  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

.range-legend {
  z-index: 8;
  left: 50%;
  top: clamp(90px, 11vh, 120px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100% - 190px);
  transform: translateX(-50%);
}

.range-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(18, 28, 26, 0.12);
  border-radius: var(--pill);
  color: var(--fj-midnight-teal);
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 12px 28px rgba(18, 28, 26, 0.08);
  font-weight: 900;
  backdrop-filter: blur(18px);
}

body[data-theme="night"] .range-legend span {
  border-color: rgba(255, 250, 241, 0.12);
  color: #fffaf1;
  background: rgba(18, 28, 26, 0.66);
}

.legend-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.legend-dot--near {
  background: #2fbf50;
}

.legend-dot--mid {
  background: var(--gold);
}

.legend-dot--wide {
  background: #2b8bd0;
}

.detail-sheet {
  z-index: 10;
  right: clamp(18px, 4vw, 60px);
  top: clamp(640px, 72svh, 820px);
  bottom: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 1.7vw, 20px);
  width: min(500px, calc(100% - 36px));
  min-height: 92px;
  padding: 14px clamp(16px, 2vw, 24px);
  border: 1px solid rgba(18, 28, 26, 0.12);
  border-radius: 28px;
  color: var(--fj-midnight-teal);
  background: #fffaf1;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: sheetIn 260ms ease both;
}

.detail-sheet[hidden] {
  display: none;
}

@keyframes sheetIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body[data-theme="night"] .detail-sheet {
  border-color: rgba(255, 250, 241, 0.12);
  color: #fffaf1;
  background: rgba(18, 28, 26, 0.96);
}

.sheet-icon {
  display: grid;
  place-items: center;
  width: clamp(54px, 4.2vw, 66px);
  height: clamp(54px, 4.2vw, 66px);
  border-radius: 20px;
  background: rgba(16, 71, 62, 0.09);
}

.sheet-icon img {
  width: 46%;
  filter: brightness(0) saturate(100%) invert(19%) sepia(25%) saturate(1257%) hue-rotate(125deg) brightness(90%) contrast(91%);
}

body[data-theme="night"] .sheet-icon {
  background: rgba(255, 250, 241, 0.94);
}

.sheet-copy h2 {
  margin: 0;
  font-size: clamp(1.24rem, 1.55vw, 1.65rem);
  line-height: 1.25;
}

.sheet-copy p {
  margin: 4px 0 0;
  color: rgba(18, 28, 26, 0.62);
  font-size: clamp(0.94rem, 1.15vw, 1.02rem);
  line-height: 1.55;
  font-weight: 800;
}

body[data-theme="night"] .sheet-copy p {
  color: rgba(255, 250, 241, 0.72);
}

.sheet-action {
  min-width: 82px;
  min-height: 50px;
  border: 0;
  border-radius: var(--pill);
  color: #fffaf1;
  background: var(--evergreen-teal);
  font-weight: 900;
  cursor: pointer;
}

.map-intro {
  position: relative;
  z-index: 12;
  margin: clamp(-98px, -8vh, -70px) auto 0;
  padding: clamp(32px, 5vw, 68px) clamp(22px, 5vw, 72px) clamp(34px, 5.5vw, 76px);
  border: 1px solid rgba(18, 28, 26, 0.1);
  border-radius: clamp(30px, 4vw, 52px) clamp(30px, 4vw, 52px) 0 0;
  text-align: center;
  background: var(--page);
  box-shadow:
    0 -22px 70px rgba(18, 28, 26, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

body[data-theme="night"] .map-intro {
  border-color: rgba(255, 250, 241, 0.1);
  box-shadow:
    0 -22px 70px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 250, 241, 0.08);
}

.hero-kicker {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 15px 9px;
  border: 1px solid rgba(16, 71, 62, 0.16);
  border-radius: var(--pill);
  color: var(--evergreen-teal);
  background: rgba(255, 250, 241, 0.8);
  box-shadow: 0 14px 32px rgba(18, 28, 26, 0.08);
  font-weight: 900;
}

body[data-theme="night"] .hero-kicker {
  border-color: rgba(255, 250, 241, 0.12);
  color: var(--fresh-lime);
  background: rgba(18, 28, 26, 0.72);
}

.map-intro h1 {
  margin: 0;
  color: var(--hero-ink);
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.map-intro p:not(.hero-kicker) {
  max-width: 790px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.9;
  font-weight: 800;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  min-width: 190px;
  min-height: 62px;
  padding: 10px 16px;
  border: 1px solid rgba(18, 28, 26, 0.12);
  border-radius: 18px;
  color: #fffaf1;
  background: var(--fj-midnight-teal);
  box-shadow: 0 16px 38px rgba(18, 28, 26, 0.16);
  cursor: default;
}

.store-badge svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  flex: 0 0 auto;
}

.store-badge small,
.store-badge strong {
  display: block;
  line-height: 1.12;
}

.store-badge small {
  color: rgba(255, 250, 241, 0.68);
  font-weight: 800;
}

.store-badge strong {
  margin-top: 3px;
  font-size: 1.05rem;
  font-weight: 900;
}

.store-badge--light {
  color: var(--fj-midnight-teal);
  background: #fffaf1;
}

.store-badge--light small {
  color: rgba(18, 28, 26, 0.62);
}

.content-section {
  padding: clamp(78px, 10vw, 132px) 0;
}

.split-copy,
.category-layout,
.business-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.rich-copy {
  color: var(--muted);
  font-size: clamp(1.12rem, 1.5vw, 1.34rem);
  font-weight: 700;
}

.rich-copy p {
  margin-bottom: 18px;
}

.why-section,
.download-section {
  background: var(--page-soft);
}

.value-grid,
.range-cards,
.business-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.value-card,
.range-card,
.download-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 16px 48px rgba(18, 28, 26, 0.07);
}

.value-card,
.range-card {
  min-height: 250px;
  padding: clamp(22px, 3vw, 30px);
}

.value-card > span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--warm-sand);
  background: var(--deep-forest);
  font-weight: 900;
}

body[data-theme="night"] .value-card > span {
  color: var(--deep-forest);
  background: var(--warm-sand);
}

.value-card p,
.range-card p {
  color: var(--muted);
  font-size: 1.04rem;
}

.range-card i {
  display: block;
  width: 78px;
  aspect-ratio: 1;
  margin-bottom: 24px;
  border: 3px solid var(--range-color);
  border-radius: 50%;
  background: color-mix(in srgb, var(--range-color) 11%, transparent);
}

.range-card--near {
  --range-color: #2fbf50;
}

.range-card--mid {
  --range-color: var(--gold);
}

.range-card--wide {
  --range-color: #2b8bd0;
}

.category-panels {
  display: grid;
  gap: 18px;
}

.business-section {
  background:
    radial-gradient(circle at 14% 12%, rgba(159, 231, 121, 0.12), transparent 28%),
    var(--fj-midnight-teal);
  color: var(--warm-sand);
}

.business-section .eyebrow,
.business-section h2 {
  color: var(--warm-sand);
}

.business-section .section-copy,
.business-section .business-cards p {
  color: rgba(255, 244, 223, 0.72);
}

.business-section .business-cards {
  grid-template-columns: 1fr;
}

.business-section .business-cards article {
  background: rgba(255, 250, 241, 0.08);
  border-color: rgba(255, 250, 241, 0.15);
}

.faq-hero {
  max-width: 900px;
  margin-bottom: 34px;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(26px, 5vw, 52px);
}

.download-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.rich-footer {
  align-items: flex-start;
  background: var(--page);
}

.footer-brand {
  max-width: 430px;
}

.rich-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 760px;
  gap: 12px 18px;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.instagram-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 1040px) {
  .landing-header .nav-links {
    justify-content: flex-start;
  }

  .split-copy,
  .category-layout,
  .business-layout {
    grid-template-columns: 1fr;
  }

  .map-art {
    width: 176%;
    transform: translateX(18%) scale(1.05);
  }

  .range-legend {
    top: 104px;
    max-width: calc(100% - 34px);
  }

  .range-ring {
    width: calc(var(--mobile-size) * 1vw);
  }

  .project-pin.is-secondary {
    display: none;
  }
}

@media (max-width: 760px) {
  .legal-shortcut {
    display: none;
  }

  .map-stage {
    min-height: calc(100svh + 74px);
  }

  .range-legend {
    gap: 7px;
  }

  .range-legend span {
    min-height: 38px;
    padding: 7px 12px;
    font-size: 0.86rem;
  }

  .project-pin {
    width: 54px;
    height: 54px;
  }

  .project-pin.is-active {
    width: 92px;
    height: 92px;
  }

  .user-marker {
    left: 48%;
    top: 52%;
    width: 34px;
    height: 34px;
  }

  .detail-sheet {
    grid-template-columns: 54px 1fr 64px;
    right: 12px;
    top: clamp(520px, 64svh, 590px);
    bottom: auto;
    gap: 8px;
    width: min(430px, calc(100% - 24px));
    min-height: 94px;
    padding: 12px;
    border-radius: 24px;
  }

  .sheet-icon {
    width: 54px;
    height: 54px;
    border-radius: 17px;
  }

  .sheet-copy h2 {
    font-size: 1.18rem;
  }

  .sheet-copy p {
    font-size: 0.84rem;
  }

  .sheet-action {
    min-width: 64px;
    min-height: 48px;
  }

  .map-intro {
    width: calc(100% - 24px);
    margin-top: -78px;
    padding: 28px 18px 46px;
    border-radius: 30px 30px 0 0;
  }

  .map-intro h1 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .map-intro p:not(.hero-kicker) {
    font-size: 1rem;
    line-height: 1.75;
  }

  .store-actions,
  .store-badge,
  .download-panel .store-actions {
    width: 100%;
  }

  .store-badge {
    min-width: 0;
  }

  .value-grid,
  .range-cards,
  .business-cards,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-panel {
    display: grid;
  }

  .rich-footer .footer-links {
    justify-content: flex-start;
  }
}
