:root {
  color-scheme: light;
  --ink: #18211f;
  --muted: #5d6864;
  --paper: #fbf8ef;
  --panel: #fffdf7;
  --teal: #0f766e;
  --teal-dark: #064e49;
  --coral: #c85d4b;
  --gold: #d59f39;
  --line: rgba(24, 33, 31, 0.14);
  --shadow: 0 18px 48px rgba(18, 31, 29, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.hero {
  min-height: 74vh;
  padding: 24px clamp(20px, 5vw, 72px) 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(90deg, rgba(8, 29, 28, 0.86), rgba(8, 29, 28, 0.58) 44%, rgba(8, 29, 28, 0.22)),
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Singapore_Financial_District_skyline_from_across_Marina_Bay.jpg/1280px-Singapore_Financial_District_skyline_from_across_Marina_Bay.jpg")
      center / cover no-repeat;
  color: #fffdf7;
}

.topbar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.topbar a {
  border: 1px solid rgba(255, 253, 247, 0.34);
  border-radius: 999px;
  padding: 8px 13px;
  color: #fffdf7;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.hero__content {
  max-width: 790px;
  padding-top: 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4c96b;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.23rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.lede {
  max-width: 720px;
  margin-bottom: 26px;
  color: rgba(255, 253, 247, 0.9);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  background: #fffdf7;
  color: var(--teal-dark);
  padding: 0 18px;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.button--light {
  background: transparent;
  border: 1px solid rgba(255, 253, 247, 0.58);
  color: #fffdf7;
  box-shadow: none;
}

.section-band {
  padding: clamp(40px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.page-grid,
.restaurant-grid,
.workflow-grid,
.rent-snapshot,
.area-grid,
.stats-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

.signal-card,
.restaurant-card,
.workflow-card,
.guardrail-box,
.rent-card,
.area-card,
.stats-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.signal-card {
  padding: 20px;
}

.signal-card span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 900;
}

.signal-card h2 {
  margin-bottom: 8px;
  font-size: 1.28rem;
}

.signal-card p,
.restaurant-card p,
.workflow-card p,
.guardrail-box p,
.rent-card p,
.area-card p,
.stats-panel p,
.closing p,
.section-heading p {
  color: var(--muted);
}

.section-heading {
  width: min(900px, 100%);
  margin: 0 auto 26px;
}

.section-heading--wide {
  width: min(1000px, 100%);
}

.neighbourhoods {
  background: #f5efe1;
}

.rent-snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.rent-card {
  padding: 22px;
}

.rent-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rent-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

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

.area-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 22px;
}

.area-card dl {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
}

.area-card dt {
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.area-card dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.stats-panel {
  margin-top: 18px;
  padding: 22px;
}

.stats-panel h3 {
  max-width: 820px;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.table-scroll {
  margin-top: 18px;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 11px 10px;
  text-align: left;
}

th {
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

td:first-child,
th:first-child {
  padding-left: 0;
}

td:last-child,
th:last-child {
  padding-right: 0;
}

.source-note {
  max-width: 820px;
  margin: 14px 0 0;
  font-size: 0.92rem;
}

.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.restaurant-card {
  min-height: 290px;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.restaurant-card--featured {
  grid-column: span 3;
  background: #fff7e5;
  border-color: rgba(213, 159, 57, 0.4);
}

.restaurant-card:nth-child(2) {
  grid-column: span 3;
}

.tag,
.icon-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #edf4f2;
  color: var(--teal-dark);
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 850;
}

.tag--strong {
  background: #0f766e;
  color: #fffdf7;
}

.restaurant-card a {
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration-color: rgba(15, 118, 110, 0.35);
  text-underline-offset: 4px;
}

.openclaw-section {
  background: #edf1eb;
}

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

.workflow-card {
  padding: 22px;
}

.workflow-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.workflow-card li + li {
  margin-top: 8px;
}

.icon-pill {
  background: rgba(200, 93, 75, 0.12);
  color: #8d3427;
}

.guardrail-box {
  width: min(1180px, 100%);
  margin: 18px auto 0;
  padding: 22px;
  background: #1f2927;
  color: #fffdf7;
}

.guardrail-box p {
  color: rgba(255, 253, 247, 0.8);
}

.closing {
  background: var(--teal-dark);
  color: #fffdf7;
}

.closing > div {
  width: min(960px, 100%);
  margin: 0 auto;
}

.closing .eyebrow {
  color: #f4c96b;
}

.closing p {
  max-width: 720px;
  color: rgba(255, 253, 247, 0.78);
  font-size: 1.1rem;
}

.source-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 36px clamp(18px, 5vw, 72px);
  background: #121817;
  color: rgba(255, 253, 247, 0.76);
}

.source-footer h2 {
  margin-bottom: 12px;
  color: #fffdf7;
  font-size: 1.15rem;
}

.source-footer ul {
  display: flex;
  gap: 10px 16px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-footer a {
  color: #fffdf7;
  text-underline-offset: 4px;
}

.source-footer p {
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero {
    min-height: 78vh;
    padding-bottom: 42px;
  }

  .hero__content {
    padding-top: 62px;
  }

  .page-grid--three,
  .workflow-grid,
  .rent-snapshot,
  .area-grid {
    grid-template-columns: 1fr;
  }

  .restaurant-grid {
    grid-template-columns: 1fr;
  }

  .restaurant-card,
  .restaurant-card--featured,
  .restaurant-card:nth-child(2) {
    min-height: auto;
    grid-column: span 1;
  }

  .source-footer {
    grid-template-columns: 1fr;
  }

  .source-footer p {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 720px;
    padding-inline: 18px;
  }

  .topbar {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(2.35rem, 10.5vw, 3rem);
    line-height: 0.98;
  }

  h2 {
    font-size: 2rem;
  }

  .topbar a {
    padding: 7px 10px;
    font-size: 0.8rem;
  }

  .button {
    width: 100%;
  }

  .rent-card,
  .area-card,
  .stats-panel {
    padding: 18px;
  }

  .area-card {
    min-height: auto;
  }
}
