:root {
  --ink: #13221d;
  --muted: #64716b;
  --line: #dbe4de;
  --paper: #fbfbf7;
  --panel: #ffffff;
  --green: #1f7a64;
  --green-dark: #125846;
  --gold: #cc9942;
  --red: #c94b38;
  --rose: #fff1ee;
  --sage: #e9f2ed;
  --shadow: 0 20px 50px rgba(28, 43, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 251, 247, 0.92);
  border-bottom: 1px solid rgba(219, 228, 222, 0.9);
  backdrop-filter: blur(16px);
}

.brand-row {
  width: min(1280px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-cluster {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  width: min(260px, 52vw);
  height: 66px;
  overflow: hidden;
  text-decoration: none;
}

.logo-brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.compact-logo {
  width: min(240px, 50vw);
  height: 60px;
}

.header-social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.youtube-header-link,
.social-header-link {
  width: 38px;
  height: 38px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(31, 122, 100, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(28, 43, 36, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.youtube-header-link:hover,
.youtube-header-link:focus-visible,
.social-header-link:hover,
.social-header-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(31, 122, 100, 0.42);
  box-shadow: 0 12px 26px rgba(28, 43, 36, 0.12);
}

.youtube-header-link img,
.social-header-link img {
  width: 25px;
  height: 25px;
  display: block;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--gold));
  font-size: 0.8rem;
}

.source-nav {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.88rem;
  color: var(--muted);
  white-space: nowrap;
}

.source-nav a,
.nav-trigger {
  text-decoration: none;
}

.source-nav a:hover,
.nav-trigger:hover,
.nav-dropdown:hover .nav-trigger,
.nav-dropdown:focus-within .nav-trigger {
  color: var(--green-dark);
}

.nav-dropdown {
  position: relative;
}

.nav-trigger {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-weight: inherit;
}

.nav-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 20;
  width: min(390px, calc(100vw - 32px));
  padding: 10px;
  display: none;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 42px rgba(28, 43, 36, 0.16);
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  display: grid;
}

.nav-menu::before {
  content: "";
  position: absolute;
  top: -15px;
  right: 0;
  left: 0;
  height: 15px;
}

.nav-menu a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.25;
  white-space: normal;
}

.nav-menu a:hover {
  color: var(--green-dark);
  background: var(--sage);
}

.compact-menu {
  width: min(280px, calc(100vw - 32px));
}

.landing-header .brand-row {
  min-height: 84px;
}

.landing-nav {
  align-items: center;
}

.hero-band {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("assets/singapore-property-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(251, 251, 247, 0.96) 0%, rgba(251, 251, 247, 0.84) 38%, rgba(251, 251, 247, 0.18) 68%),
    linear-gradient(180deg, rgba(251, 251, 247, 0.16), rgba(251, 251, 247, 0.82));
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 92px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 640px;
  margin-bottom: 12px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 550px;
  color: #394740;
  font-size: 1.08rem;
}

.hero-metrics {
  width: min(570px, 100%);
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(31, 122, 100, 0.22);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 34px rgba(28, 43, 36, 0.1);
}

.hero-metrics div {
  min-height: 94px;
  padding: 18px;
  border-right: 1px solid rgba(31, 122, 100, 0.18);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics span {
  display: block;
  color: var(--green-dark);
  font-size: 1.8rem;
  font-weight: 850;
  line-height: 1;
}

.hero-metrics small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.calculator-section {
  width: min(1180px, calc(100% - 32px));
  margin: -52px auto 0;
  position: relative;
  z-index: 2;
}

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  gap: 22px;
  align-items: start;
}

.input-panel,
.results-panel,
.rule-card,
.source-strip {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.input-panel {
  padding: 26px;
}

.panel-heading {
  margin-bottom: 22px;
}

fieldset {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

legend {
  width: 100%;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-weight: 850;
}

.field-grid {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  padding: 0 13px;
  border: 1px solid #cfd9d3;
  border-radius: 6px;
  color: var(--ink);
  background: white;
  font: inherit;
}

input,
select {
  min-height: 46px;
}

textarea {
  min-height: 150px;
  padding-top: 12px;
  resize: vertical;
}

input.field-error {
  border-color: var(--red);
  background: var(--rose);
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible {
  outline: 3px solid rgba(31, 122, 100, 0.25);
  outline-offset: 2px;
  border-color: var(--green);
}

.field-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

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

button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.primary-button {
  color: white;
  background: var(--green);
}

.primary-button:hover {
  background: var(--green-dark);
}

.ghost-button {
  color: var(--green-dark);
  background: var(--sage);
}

.ghost-button:hover {
  background: #dcebe4;
}

.button-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.button-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.results-panel {
  position: sticky;
  top: 90px;
  padding: 18px;
}

.status-card {
  min-height: 142px;
  padding: 22px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.status-card.warning {
  color: var(--ink);
  background: linear-gradient(135deg, #ffe8df, #fff7da);
}

.status-card.fail {
  color: white;
  background: linear-gradient(135deg, #8f2f24, var(--red));
}

.status-card h2 {
  margin-bottom: 8px;
}

.status-card p:last-child {
  margin-bottom: 0;
}

.ratio-stack {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.ratio-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fcfdfb;
}

.ratio-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.ratio-topline span {
  color: var(--muted);
  font-weight: 850;
}

.ratio-topline strong {
  font-size: 1.55rem;
}

.meter {
  height: 12px;
  margin: 12px 0 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3e8e4;
}

.meter span {
  width: 0%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--green);
  transition: width 180ms ease, background-color 180ms ease;
}

.meter span.warning {
  background: var(--gold);
}

.meter span.fail {
  background: var(--red);
}

.limit-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.result-list {
  margin: 14px 0 0;
}

.result-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.result-list div:last-child {
  border-bottom: 0;
}

.result-list dt {
  color: var(--muted);
  font-weight: 750;
}

.result-list dd {
  margin: 0;
  font-weight: 900;
  text-align: right;
}

.cpf-cash-info {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(31, 122, 100, 0.24);
  border-radius: 8px;
  background: #f5fbf7;
}

.cpf-cash-info h3 {
  margin-bottom: 10px;
}

.cpf-scenario-label {
  margin-bottom: 14px;
}

.cpf-scenario-text {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--green-dark);
  background: var(--sage);
  font-size: 0.9rem;
  font-weight: 850;
}

.cpf-cash-results {
  margin: 0;
}

.cpf-cash-results div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(31, 122, 100, 0.16);
}

.cpf-cash-results div:last-child {
  border-bottom: 0;
}

.cpf-cash-results dt {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.cpf-cash-results dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.cpf-cash-note {
  margin: 12px 0 0;
  color: #3b4a43;
  font-size: 0.88rem;
}

.cpf-cash-info ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.cpf-cash-info li {
  position: relative;
  padding-left: 18px;
  color: #3b4a43;
  font-size: 0.9rem;
}

.cpf-cash-info li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.cpf-cash-info a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--green-dark);
  font-weight: 850;
}

.info-section {
  margin-top: 70px;
  padding: 58px 0 70px;
  background: #eef4ef;
}

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

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

.rule-card {
  padding: 22px;
  box-shadow: none;
}

.rule-card p {
  color: #3b4a43;
}

code {
  display: block;
  min-height: 50px;
  padding: 12px;
  border-radius: 6px;
  color: #174e40;
  background: var(--sage);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  white-space: normal;
}

.formula-card {
  margin-top: 16px;
}

.ltv-table-wrap,
.guideline-table-wrap {
  margin-top: 18px;
  padding: 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.ltv-table-wrap h3 {
  margin-bottom: 14px;
}

.ltv-table-wrap p {
  margin: 14px 0 0;
  color: #3b4a43;
}

.ltv-table,
.guideline-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ltv-table th,
.ltv-table td,
.guideline-table th,
.guideline-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.ltv-table th,
.guideline-table th {
  color: var(--green-dark);
  background: var(--sage);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.ltv-table tr:last-child td,
.guideline-table tr:last-child td {
  border-bottom: 0;
}

.source-strip {
  margin-top: 18px;
  padding: 20px 22px;
  box-shadow: none;
}

.source-strip p {
  margin-bottom: 8px;
  color: #3b4a43;
}

.source-strip p:last-child {
  margin-bottom: 0;
}

.source-strip a {
  color: var(--green-dark);
  font-weight: 800;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 82px);
  overflow: hidden;
  display: grid;
  align-items: center;
}

.home-hero-media,
.home-hero-shade {
  position: absolute;
  inset: 0;
}

.home-hero-media {
  background-image: url("assets/singapore-property-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.home-hero-shade {
  background:
    linear-gradient(90deg, rgba(251, 251, 247, 0.98) 0%, rgba(251, 251, 247, 0.91) 42%, rgba(251, 251, 247, 0.3) 75%),
    linear-gradient(180deg, rgba(251, 251, 247, 0.16), rgba(251, 251, 247, 0.9));
}

.home-hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 112px;
}

.home-hero h1 {
  max-width: 800px;
  margin-bottom: 14px;
  font-size: clamp(3rem, 7.5vw, 6.8rem);
}

.home-logo-title {
  width: min(640px, 92vw);
  max-width: none;
}

.home-logo-title img {
  width: 100%;
  height: auto;
  display: block;
}

.home-hero p {
  max-width: 610px;
  color: #394740;
  font-size: 1.1rem;
}

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

.primary-link-button,
.secondary-link-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 850;
  text-decoration: none;
}

.primary-link-button {
  color: white;
  background: var(--green);
}

.primary-link-button:hover {
  background: var(--green-dark);
}

.secondary-link-button {
  color: var(--green-dark);
  background: var(--sage);
}

.secondary-link-button:hover {
  background: #dcebe4;
}

.trust-row {
  width: min(960px, 100%);
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(31, 122, 100, 0.22);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(28, 43, 36, 0.1);
}

.trust-row div {
  min-height: 96px;
  padding: 18px;
  border-right: 1px solid rgba(31, 122, 100, 0.18);
}

.trust-row div:last-child {
  border-right: 0;
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  color: var(--green-dark);
  font-size: 1.2rem;
}

.trust-row span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.intro-band,
.process-band,
.services-section {
  padding: 64px 0;
}

.intro-layout,
.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
}

.intro-layout p,
.process-layout > div p {
  color: #3b4a43;
  font-size: 1.02rem;
}

.feature-row {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(28, 43, 36, 0.08);
}

.feature-card {
  padding: 22px;
}

.feature-card span,
.service-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  color: white;
  background: var(--green);
}

.feature-card svg,
.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.feature-card p,
.service-card p {
  margin-bottom: 0;
  color: #3b4a43;
}

.process-band {
  background: #eef4ef;
}

.process-photo {
  margin: 26px 0 0;
  overflow: hidden;
  border: 1px solid rgba(31, 122, 100, 0.18);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(28, 43, 36, 0.08);
}

.process-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  object-position: center;
}

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

.process-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.process-list span {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green-dark);
  font-weight: 900;
}

.process-list h3 {
  margin-bottom: 4px;
}

.process-list p {
  margin-bottom: 0;
  color: #3b4a43;
}

.service-heading {
  width: min(680px, 100%);
  margin-bottom: 26px;
}

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

.service-card {
  min-height: 190px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card h3 {
  min-height: 48px;
  margin-bottom: 8px;
}

.featured-service {
  border-color: rgba(31, 122, 100, 0.36);
  background: linear-gradient(135deg, #ffffff, #edf7f1);
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(31, 122, 100, 0.36);
  box-shadow: 0 18px 42px rgba(28, 43, 36, 0.14);
}

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

.blog-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: white;
  box-shadow: 0 14px 34px rgba(28, 43, 36, 0.08);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.blog-card:hover,
.blog-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(31, 122, 100, 0.36);
  box-shadow: 0 18px 42px rgba(28, 43, 36, 0.14);
}

.blog-card-media {
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(31, 122, 100, 0.14), rgba(204, 153, 66, 0.18)),
    #f7faf5;
}

.blog-card-media.photo-media {
  padding: 0;
  overflow: hidden;
}

.blog-card-media.photo-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.stamp-thumb {
  width: min(310px, 100%);
  aspect-ratio: 1.35;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(31, 122, 100, 0.24);
  border-radius: 8px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(28, 43, 36, 0.08);
}

.stamp-thumb span,
.stamp-thumb strong {
  display: inline-grid;
  place-items: center;
  min-height: 76px;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 950;
}

.stamp-thumb span {
  color: white;
  background: var(--green);
}

.stamp-thumb strong {
  color: var(--gold);
  font-size: 2.2rem;
}

.stamp-thumb small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.blog-card-body {
  display: grid;
  align-content: center;
  padding: 28px;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.blog-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--sage);
  font-size: 0.78rem;
  font-weight: 850;
}

.blog-card h3 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: 1.45rem;
  line-height: 1.18;
}

.blog-card p {
  max-width: 720px;
  color: #3b4a43;
}

.blog-date {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
}

.blog-read-more {
  color: var(--green-dark);
  font-weight: 900;
}

.article-hero h1 {
  max-width: 980px;
  font-size: clamp(2.35rem, 4.6vw, 4.4rem);
  line-height: 1;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.article-meta-row span {
  padding: 7px 11px;
  border: 1px solid rgba(31, 122, 100, 0.22);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
}

.article-body .content-panel {
  scroll-margin-top: 112px;
}

.article-body p {
  color: #3b4a43;
}

.article-callout {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid rgba(31, 122, 100, 0.24);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: #f5fbf7;
}

.article-callout strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
}

.article-callout p:last-child,
.article-card-row p:last-child,
.faq-stack p:last-child {
  margin-bottom: 0;
}

.site-example {
  margin-top: 22px;
  padding: 22px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.site-example h3,
.site-example p {
  color: white;
}

.example-lines {
  margin: 18px 0 0;
}

.example-lines div,
.stamp-results dl div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.example-lines div:last-child {
  border-bottom: 0;
}

.example-lines dt,
.example-lines dd,
.stamp-results dt,
.stamp-results dd {
  margin: 0;
}

.example-lines dd {
  font-weight: 950;
}

.example-total {
  color: #ffe8b8;
  font-size: 1.08rem;
  font-weight: 950;
}

.article-card-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.article-card-row article,
.timeline-list article,
.faq-stack article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fcfdfb;
}

.timeline-list {
  display: grid;
  gap: 12px;
}

.timeline-list article {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
}

.timeline-list span {
  color: var(--green-dark);
  font-weight: 950;
}

.timeline-list p {
  margin-bottom: 0;
}

.stamp-calculator-form {
  margin-top: 20px;
}

.stamp-calculator-form .primary-button {
  margin-top: 18px;
}

.stamp-results {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(31, 122, 100, 0.26);
  border-radius: 8px;
  background: #fcfdfb;
}

.stamp-results h3 {
  margin-bottom: 12px;
}

.stamp-results dl {
  margin: 0;
}

.stamp-results dl div {
  border-bottom-color: var(--line);
}

.stamp-results dd {
  font-weight: 950;
}

.stamp-total {
  color: var(--green-dark);
  font-size: 1.12rem;
  font-weight: 950;
}

.stamp-results p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.source-panel a {
  color: var(--green-dark);
  font-weight: 850;
}

.market-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.market-stat-grid article {
  padding: 18px;
  border: 1px solid rgba(31, 122, 100, 0.22);
  border-radius: 8px;
  background: #f5fbf7;
}

.market-stat-grid strong {
  display: block;
  color: var(--green-dark);
  font-size: 1.9rem;
  line-height: 1;
}

.market-stat-grid span {
  display: block;
  margin-top: 8px;
  color: #3b4a43;
  font-weight: 750;
}

.article-figure {
  margin: 22px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fcfdfb;
}

.article-figure img {
  width: 100%;
  max-height: 520px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.article-figure figcaption {
  padding: 12px 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.article-figure a {
  color: var(--green-dark);
  font-weight: 850;
}

.landing-footer {
  padding: 42px 0 34px;
  border-top: 1px solid var(--line);
  background: #13221d;
  color: white;
}

.footer-standard {
  display: grid;
  gap: 28px;
}

.footer-columns {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(2, minmax(190px, 0.7fr));
  gap: 28px;
  align-items: start;
}

.footer-block h2,
.footer-disclaimer h2 {
  margin-bottom: 12px;
  color: white;
  font-size: 1.08rem;
}

.footer-block p,
.footer-disclaimer p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact-list,
.footer-link-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-contact-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
}

.footer-contact-list img {
  width: 18px;
  height: 18px;
  filter: invert(1);
  opacity: 0.88;
}

.footer-block a {
  color: white;
  text-decoration: none;
}

.footer-contact-list a {
  font-weight: 850;
}

.footer-link-list a {
  font-weight: 500;
}

.footer-social-heading {
  margin: 12px 0 2px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 850;
}

.footer-social-link,
.footer-youtube-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.footer-social-link img,
.footer-youtube-link img {
  width: 22px;
  height: 22px;
  display: block;
}

.footer-block a:hover {
  color: #dcebe4;
}

.footer-disclaimer {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-disclaimer p {
  max-width: 1120px;
  margin-bottom: 10px;
  font-size: 0.88rem;
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 14px 34px rgba(28, 43, 36, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(28, 43, 36, 0.28);
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
  display: block;
}

.service-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: grid;
  align-items: center;
}

.service-hero-media,
.service-hero-shade {
  position: absolute;
  inset: 0;
}

.service-hero-media {
  background-image: url("assets/singapore-property-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.service-hero-shade {
  background:
    linear-gradient(90deg, rgba(251, 251, 247, 0.97) 0%, rgba(251, 251, 247, 0.88) 46%, rgba(251, 251, 247, 0.28) 78%),
    linear-gradient(180deg, rgba(251, 251, 247, 0.08), rgba(251, 251, 247, 0.82));
}

.service-hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 68px 0 84px;
}

.service-hero h1 {
  max-width: 800px;
  margin-bottom: 16px;
  font-size: clamp(2.6rem, 5.8vw, 5rem);
}

.service-hero p {
  max-width: 710px;
  color: #394740;
  font-size: 1.06rem;
}

.content-section {
  padding: 58px 0 74px;
}

.content-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.content-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.content-sidebar a {
  padding: 11px 12px;
  border-radius: 6px;
  color: var(--green-dark);
  font-weight: 850;
  text-decoration: none;
}

.content-sidebar a:hover {
  background: var(--sage);
}

.content-stack {
  display: grid;
  gap: 18px;
}

.content-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(28, 43, 36, 0.08);
}

.content-panel > p {
  color: #3b4a43;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.detail-grid article,
.split-guideline article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fcfdfb;
}

.detail-grid p,
.split-guideline p {
  margin-bottom: 0;
  color: #3b4a43;
}

.split-guideline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.check-list,
.document-list {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.check-list li,
.document-list li {
  position: relative;
  padding-left: 28px;
  color: #3b4a43;
}

.check-list li::before,
.document-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.document-list.compact {
  margin-top: 10px;
}

.accent-panel {
  color: white;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.accent-panel .eyebrow,
.accent-panel p {
  color: rgba(255, 255, 255, 0.86);
}

.accent-panel .guideline-table-wrap {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.36);
}

.accent-panel .guideline-table th {
  color: var(--green-dark);
  background: #e4f2ed;
}

.accent-panel .guideline-table td {
  color: #22362f;
  background: white;
}

.accent-link-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 0 18px;
  border-radius: 6px;
  color: var(--green-dark);
  background: white;
  font-weight: 850;
  text-decoration: none;
}

.accent-link-button:hover,
.accent-link-button:focus-visible {
  background: var(--sage);
}

.contact-cta-panel {
  margin-top: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.contact-visual {
  position: sticky;
  top: 104px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(28, 43, 36, 0.08);
}

.contact-visual img {
  width: 100%;
  height: min(720px, calc(100vh - 138px));
  min-height: 560px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.contact-card-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fcfdfb;
}

.contact-card-grid a {
  color: var(--green-dark);
  font-size: 1.18rem;
  font-weight: 900;
  text-decoration: none;
}

.contact-form {
  margin-top: 20px;
}

.message-field {
  margin-top: 14px;
}

.recaptcha-wrap {
  min-height: 78px;
  margin-top: 18px;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.form-status.success {
  color: var(--green-dark);
}

.form-status.error {
  color: var(--red);
}

.contact-form .primary-button {
  margin-top: 10px;
}

.trade-cycle-figure {
  margin: 22px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f8f5;
}

.trade-cycle-figure img {
  width: 100%;
  max-height: 540px;
  display: block;
  object-fit: contain;
  background: white;
}

.trade-cycle-figure figcaption {
  padding: 14px 16px;
  color: #3b4a43;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.calculator-panel .commercial-calculator-form {
  margin-top: 20px;
}

.gearing-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 850;
}

.checkbox-label input {
  width: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--green);
}

.commercial-calculator-form .primary-button {
  margin-top: 20px;
}

.assessment-results {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(31, 122, 100, 0.26);
  border-radius: 8px;
  background: #fcfdfb;
}

.assessment-results-heading {
  margin-bottom: 10px;
}

.assessment-results-heading h3 {
  margin-bottom: 0;
}

.assessment-status {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.assessment-status.success {
  color: var(--green-dark);
}

.assessment-status.warning {
  color: var(--gold);
}

.assessment-status.danger {
  color: var(--red);
}

.assessment-status.strong {
  font-weight: 950;
}

.assessment-status.neutral {
  color: var(--muted);
}

.final-outcome-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.final-outcome-card .assessment-status {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.final-outcome-card p {
  margin-bottom: 0;
  color: #3b4a43;
}

.final-outcome-card.success {
  border-color: rgba(31, 122, 100, 0.34);
  background: #f1faf5;
}

.final-outcome-card.warning {
  border-color: rgba(204, 153, 66, 0.42);
  background: #fff8e5;
}

.final-outcome-card.danger {
  border-color: rgba(201, 75, 56, 0.42);
  background: var(--rose);
}

@media (max-width: 980px) {
  .calculator-grid,
  .rule-grid,
  .intro-layout,
  .process-layout,
  .feature-row,
  .blog-card,
  .content-grid,
  .contact-layout,
  .contact-card-grid,
  .detail-grid,
  .split-guideline,
  .article-card-row,
  .market-stat-grid {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    position: static;
  }

  .contact-visual {
    position: static;
  }

  .contact-visual img {
    height: auto;
    min-height: 0;
    max-height: 520px;
  }

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

  .results-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .brand-row {
    min-height: 74px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }

  .source-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    font-size: 0.86rem;
    overflow-x: auto;
  }

  .header-social-links {
    gap: 6px;
  }

  .youtube-header-link,
  .social-header-link {
    width: 34px;
    height: 34px;
  }

  .youtube-header-link img,
  .social-header-link img {
    width: 22px;
    height: 22px;
  }

  .nav-dropdown {
    position: static;
  }

  .nav-menu {
    top: auto;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .logo-brand,
  .compact-logo {
    width: min(310px, 82vw);
  }

  .hero-band {
    min-height: 500px;
  }

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

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

  .home-hero-shade {
    background:
      linear-gradient(180deg, rgba(251, 251, 247, 0.98) 0%, rgba(251, 251, 247, 0.82) 55%, rgba(251, 251, 247, 0.94) 100%);
  }

  .home-hero-inner {
    padding: 54px 0 82px;
  }

  .service-hero-inner {
    padding: 50px 0 72px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(251, 251, 247, 0.96) 0%, rgba(251, 251, 247, 0.76) 54%, rgba(251, 251, 247, 0.92) 100%);
  }

  .hero-content {
    padding: 48px 0 100px;
  }

  h1 {
    font-size: 3.4rem;
  }

  .hero-metrics,
  .trust-row,
  .field-grid.two {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: 76px;
    border-right: 0;
    border-bottom: 1px solid rgba(31, 122, 100, 0.18);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .trust-row div {
    min-height: 78px;
    border-right: 0;
    border-bottom: 1px solid rgba(31, 122, 100, 0.18);
  }

  .trust-row div:last-child {
    border-bottom: 0;
  }

  .calculator-section {
    margin-top: -68px;
  }

  .input-panel {
    padding: 20px;
  }

  .result-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .timeline-list article,
  .example-lines div,
  .stamp-results dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .result-list dd {
    text-align: left;
  }

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

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}
