:root {
  --ink: #15223b;
  --muted: #64748b;
  --paper: #f6f7f4;
  --card: #ffffff;
  --line: #dfe5e2;
  --brand: #0b6b57;
  --brand-dark: #074a3d;
  --accent: #e9a23b;
  --soft: #e8f3ef;
  --shadow: 0 18px 50px rgba(21, 34, 59, .08);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 2%, rgba(233, 162, 59, .14), transparent 24rem),
    linear-gradient(180deg, #fbfcfa 0, var(--paper) 32rem);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

.back-home {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(13, 35, 32, .2);
}
.back-home:hover { background: var(--brand); }

a { color: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 252, 250, .9);
  border-bottom: 1px solid rgba(223, 229, 226, .9);
  backdrop-filter: blur(14px);
}
.topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: var(--brand);
  box-shadow: 0 8px 20px rgba(11, 107, 87, .2);
}
.language-menu { position: relative; }
.language-menu summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-size: 14px;
  font-weight: 700;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-list {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 10px);
  width: 225px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
}
.language-list a { padding: 8px 10px; border-radius: 9px; font-size: 13px; text-decoration: none; }
.language-list a:hover, .language-list a[aria-current="page"] { color: var(--brand-dark); background: var(--soft); font-weight: 700; }

.hero { padding: 92px 0 58px; }
.eyebrow { color: var(--brand); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 920px; margin: 14px 0 22px; font-size: clamp(42px, 6.5vw, 78px); line-height: 1.02; letter-spacing: -.055em; }
.lede { max-width: 820px; margin: 0; color: #46556d; font-size: clamp(18px, 2.2vw, 23px); }
.journey {
  margin-top: 34px;
  padding: 17px 21px;
  border-inline-start: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: rgba(255,255,255,.68);
  color: #35435a;
  font-weight: 650;
}

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 42px; }
.metric { min-height: 145px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.metric.primary { color: white; border-color: transparent; background: linear-gradient(145deg, var(--brand), var(--brand-dark)); }
.metric-value { display: block; margin-bottom: 8px; font-size: clamp(23px, 3vw, 34px); line-height: 1.15; font-weight: 850; letter-spacing: -.035em; }
.metric-usd { display: block; margin-bottom: 10px; color: var(--brand); font-size: 14px; font-weight: 800; }
.primary .metric-usd { color: #bfe6da; }
.metric-label { color: var(--muted); font-size: 14px; line-height: 1.45; }
.primary .metric-label { color: #dcefe9; }

main section { padding: 68px 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; align-items: start; margin-bottom: 34px; }
h2 { margin: 0; font-size: clamp(29px, 4vw, 44px); line-height: 1.08; letter-spacing: -.04em; }
.section-head p { max-width: 720px; margin: 0; color: var(--muted); font-size: 17px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.card-index { color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.card h3 { margin: 13px 0 9px; font-size: 19px; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.phase-section { background: linear-gradient(180deg, rgba(232, 243, 239, .45), rgba(255, 255, 255, 0)); }
.phase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.phase-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}
.phase-top { display: flex; align-items: center; gap: 14px; }
.phase-index {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: var(--brand);
  font-size: 13px;
  font-weight: 900;
}
.phase-card h3 { margin: 0; font-size: 21px; line-height: 1.25; }
.phase-card > p { margin: 14px 0 20px; color: var(--muted); }
.phase-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; }
.phase-stats div { padding: 11px; border-radius: 13px; background: #f3f6f4; }
.phase-stats dt { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.phase-stats dd { margin: 3px 0 0; color: var(--brand-dark); font-size: 14px; font-weight: 900; }
.phase-total {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 20px;
  padding: 20px 24px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}
.phase-total span { margin-inline-end: auto; font-weight: 800; }
.phase-total strong { white-space: nowrap; }
.cost-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px 14px;
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px dashed rgba(11, 107, 87, .38);
  border-radius: 16px;
  color: var(--muted);
  background: var(--soft);
  font-size: 13px;
  font-weight: 750;
}
.cost-formula b { color: var(--accent); }
.cost-formula strong { color: var(--brand-dark); font-size: 16px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
th { color: #526176; background: #f3f6f4; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
td { font-size: 14px; }
tbody tr:last-child td { border-bottom: 0; }
tr.total td { color: var(--brand-dark); background: var(--soft); font-weight: 850; }
.num { white-space: nowrap; font-variant-numeric: tabular-nums; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { padding: 28px; border-radius: var(--radius); background: var(--ink); color: white; }
.panel.light { color: var(--ink); border: 1px solid var(--line); background: white; }
.panel h3 { margin: 0 0 13px; font-size: 23px; }
.panel p { margin: 0; color: #cdd5e2; }
.panel.light p { color: var(--muted); }
.panel ul { margin: 18px 0 0; padding-inline-start: 20px; }
.panel li + li { margin-top: 8px; }

.callout { padding: 34px; border-radius: 26px; color: white; background: linear-gradient(135deg, #0b6b57, #073e35); box-shadow: var(--shadow); }
.callout .big { display: block; margin: 8px 0; font-size: clamp(34px, 5vw, 58px); font-weight: 900; letter-spacing: -.05em; }
.callout p { max-width: 800px; margin: 0; color: #d8eee7; }

.source-list { color: var(--muted); font-size: 13px; }
.source-list a { color: var(--brand); text-underline-offset: 3px; }
.source-list li + li { margin-top: 6px; }
footer { padding: 36px 0 54px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }

[dir="rtl"] .journey { border-inline-start: 4px solid var(--accent); border-radius: 12px 0 0 12px; }

@media (max-width: 900px) {
  .metrics { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .phase-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1160px); }
  .topbar-inner { min-height: 62px; }
  .brand-text { display: none; }
  .hero { padding: 62px 0 42px; }
  .metrics, .card-grid, .split, .phase-grid { grid-template-columns: 1fr; }
  main section { padding: 48px 0; }
  .metric { min-height: 0; }
}

@media print {
  .topbar { position: static; }
  .language-menu { display: none; }
  body { background: white; }
  .metric, .table-wrap { box-shadow: none; }
  main section { break-inside: avoid; }
}
