/* MindWorked landing page styles */
:root {
  --ink: #2C3A4B;
  --deep: #3F6E87;
  --mid: #5E8FA8;
  --brand: #8CB2C5;
  --violet-dark: #5E6283;
  --mist: #F0F4F7;
  --white: #FFFFFF;
  --line: #D5DEE4;
  --on-ink: #DCE6EC;
  --on-ink-soft: #A9BCC8;
  --ink-line: #44546A;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.6;
}
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* Shared */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.eyebrow-line {
  width: 56px;
  height: 2px;
  background: var(--mid);
  border-radius: 2px;
  margin-bottom: 36px;
}

/* 1. Hero */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--mist);
  display: flex;
  align-items: center;
  padding: 96px 0;
  text-align: center;
}
.hero .logo {
  display: block;
  width: min(560px, 90vw);
  height: auto;
  margin: 0 auto 56px;
}
.hero h1 {
  font-size: clamp(42px, 7.2vw, 88px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 0 auto 28px;
}
.hero .support {
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--violet-dark);
  max-width: 30ch;
  margin: 0 auto 48px;
  line-height: 1.45;
}
.hero .support { margin-bottom: 32px; }
.hero .intro {
  font-size: clamp(17px, 1.9vw, 20px);
  color: var(--ink);
  font-weight: 600;
  max-width: 44ch;
  margin: 0 auto 40px;
  line-height: 1.5;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}
.hero .pill { color: var(--deep); }
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s;
}
.btn:hover, .btn:focus-visible { background: var(--ink); }
.btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--deep); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--white); color: var(--ink); }
html { scroll-behavior: smooth; }

/* 2. Work is human */
.human { padding: clamp(96px, 14vw, 176px) 0; }
.human h2 {
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.human .words {
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.25;
  font-weight: 600;
  color: var(--mid);
  letter-spacing: -0.01em;
  margin-bottom: clamp(56px, 8vw, 96px);
}
.human .split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 80px;
  align-items: start;
}
.human .key {
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.human .body { font-size: 19px; color: var(--ink); padding-top: 6px; }
.human .body p + p { margin-top: 20px; }
.human .body .strong { font-weight: 700; color: var(--deep); }

/* 3. Understand. Apply. Change. */
.uac {
  background: var(--ink);
  color: var(--white);
  padding: clamp(96px, 12vw, 152px) 0;
}
.uac ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.uac li { border-top: 2px solid var(--ink-line); padding-top: 32px; }
.uac .num {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--brand);
  margin-bottom: 20px;
}
.uac h3 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.uac p { color: var(--on-ink); font-size: 19px; max-width: 24ch; }

/* Inside MindWorked */
.inside { padding: clamp(96px, 12vw, 152px) 0; }
.inside h2 {
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.inside h2, .employers h2 { max-width: 20ch; }
.inside .lead, .employers .lead { font-size: clamp(19px, 2.2vw, 23px); color: var(--violet-dark); max-width: 40ch; margin-bottom: clamp(48px, 6vw, 72px); }
.features {
  list-style: none; margin: 0 0 clamp(64px, 8vw, 96px); padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.features li { border-top: 2px solid var(--brand); padding-top: 24px; }
.features h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.features p { font-size: 17px; color: var(--violet-dark); line-height: 1.5; }
.showcases { display: grid; gap: clamp(72px, 9vw, 112px); }
.showcase { margin: 0; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.showcase.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); }
.showcase.flip .frame { order: 2; }
.showcase figcaption .label { font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--deep); margin-bottom: 16px; }
.showcase figcaption h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.showcase figcaption p { font-size: 17px; color: var(--violet-dark); line-height: 1.55; }
.frame {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(44, 58, 75, 0.45), 0 2px 6px rgba(44, 58, 75, 0.06);
}
.frame .bar { display: flex; gap: 7px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: var(--mist); }
.frame .bar span { width: 10px; height: 10px; border-radius: 50%; background: #CBD5DC; }
.app { padding: 22px 24px 24px; font-size: 14px; line-height: 1.4; }
.app-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.app-kicker { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--violet-dark); margin-bottom: 4px; }
.app-title { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.lang { display: inline-flex; flex: none; border: 1px solid var(--line); border-radius: 999px; background: var(--white); padding: 3px; font-size: 12px; }
.lang b, .lang i { font-style: normal; padding: 4px 11px; border-radius: 999px; }
.lang b { background: var(--ink); color: var(--white); font-weight: 700; }
.lang i { color: var(--violet-dark); font-weight: 600; }
.player { position: relative; border-radius: 12px; overflow: hidden; background: var(--ink); }
.player img { display: block; width: 100%; height: auto; }
.controls { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; background: var(--ink); }
.c-play { width: 0; height: 0; border-left: 10px solid var(--white); border-top: 6px solid transparent; border-bottom: 6px solid transparent; flex: none; }
.c-track { flex: 1; height: 4px; border-radius: 4px; background: var(--ink-line); overflow: hidden; }
.c-track span { display: block; height: 100%; background: var(--brand); }
.c-time { font-size: 11px; color: var(--on-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.c-chip { font-size: 10px; font-weight: 800; color: var(--ink); background: var(--on-ink); border-radius: 4px; padding: 1px 5px; }
.tabs { display: flex; align-items: center; gap: 6px; margin: 14px 0 18px; flex-wrap: wrap; }
.tabs span { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; color: var(--violet-dark); background: var(--mist); }
.tabs .on { background: var(--deep); color: var(--white); }
.tabs .presenter { margin-left: auto; background: none; padding: 0; font-weight: 600; }
.mini-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--violet-dark); margin-bottom: 8px; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.thumb img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.thumb span { display: block; font-size: 11px; font-weight: 700; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.stage { background: var(--mist); border-radius: 10px; padding: 10px 12px; }
.stage b { display: block; font-size: 13px; margin-bottom: 8px; }
.stage em { display: block; font-style: normal; font-size: 11px; color: var(--violet-dark); font-weight: 600; margin-top: 6px; }
.stage.now { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--mid); }
.s-bar, .t-bar { display: block; height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; }
.s-bar span, .t-bar span { display: block; height: 100%; border-radius: 5px; background: var(--deep); }

.hr { display: grid; grid-template-columns: 132px minmax(0, 1fr); font-size: 13px; line-height: 1.4; }
.side { background: var(--ink); padding: 18px 10px; display: flex; flex-direction: column; gap: 2px; }
.side-logo { padding: 0 8px 16px; }
.side-logo img { display: block; border-radius: 6px; }
.side span:not(.side-logo) { color: var(--on-ink-soft); font-weight: 600; font-size: 12px; padding: 8px 10px; border-radius: 8px; }
.side .on { background: rgba(255, 255, 255, 0.08); color: var(--white) !important; }
.hr-main { padding: 20px 22px 22px; background: var(--mist); }
.hr-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.tag { font-size: 11px; font-weight: 700; color: var(--deep); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.kpis { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.kpi, .chart { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.kpi { display: flex; flex-direction: column; justify-content: center; }
.kpi b { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.kpi span { font-size: 11px; color: var(--violet-dark); font-weight: 600; }
.kpi-donut { flex-direction: row; align-items: center; gap: 12px; padding: 10px 12px; }
.kpi-donut b { font-size: 16px; display: block; white-space: nowrap; }
.donut { display: block; flex: none; }
.d-big { font: 800 20px 'Nunito Sans', system-ui, sans-serif; fill: var(--ink); }
.d-sub { font: 600 10px 'Nunito Sans', system-ui, sans-serif; fill: var(--violet-dark); }
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.c-title { font-size: 12px; font-weight: 800; margin-bottom: 10px; }
.c-body { display: flex; align-items: center; gap: 12px; }
.c-body .donut { width: 78px; height: 78px; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; flex: 1; min-width: 0; }
.legend li { white-space: nowrap; display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--ink); }
.legend i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.legend b { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; }
.teams-chart { margin-bottom: 12px; }
.teams { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.teams li { display: grid; grid-template-columns: 100px minmax(0, 1fr) 36px; align-items: center; gap: 12px; }
.t-name { font-weight: 700; font-size: 12px; }
.t-num { font-size: 12px; font-weight: 800; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.private { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; color: var(--violet-dark); }
.lock { position: relative; flex: none; width: 11px; height: 9px; background: var(--violet-dark); border-radius: 2px; margin-top: 4px; }
.lock::before { content: ""; position: absolute; left: 2px; top: -6px; width: 7px; height: 7px; border: 2px solid var(--violet-dark); border-bottom: 0; border-radius: 5px 5px 0 0; box-sizing: border-box; }
.inside .note { margin-top: 40px; font-size: 14px; color: var(--violet-dark); }

/* English and Khmer band */
.lang-band { background: var(--deep); color: var(--white); padding: clamp(64px, 8vw, 104px) 0; text-align: center; }
.lang-band h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.lang-band p { font-size: clamp(18px, 2vw, 21px); color: var(--white); max-width: 36ch; margin: 0 auto; }

.inside .lead { margin-bottom: 20px; }
.inside .lead-2 { font-size: 18px; color: var(--ink); max-width: 52ch; margin-bottom: clamp(48px, 6vw, 72px); }

/* Why it matters */
.why { background: var(--ink); color: var(--white); padding: clamp(96px, 12vw, 152px) 0; }
.why h2 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; max-width: 18ch; margin-bottom: 28px; }
.why-body { font-size: clamp(19px, 2vw, 22px); color: var(--on-ink); max-width: 46ch; margin-bottom: clamp(48px, 6vw, 72px); }
.why-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.why-split > div { border-top: 2px solid var(--ink-line); padding-top: 28px; }
.why .label { font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.why-point { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }

/* Built around your organisation */
.employers { padding: clamp(96px, 12vw, 152px) 0; }
.employers h2 {
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.options { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.options li { background: var(--mist); border-radius: 20px; padding: 36px 32px 40px; }
.options .num { display: block; font-size: 14px; font-weight: 700; letter-spacing: 3px; color: var(--deep); margin-bottom: 20px; }
.options h3 { font-size: clamp(24px, 2.4vw, 28px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.options p { font-size: 17px; color: var(--violet-dark); line-height: 1.5; }

/* 4. Start with what matters */
.matters { background: var(--mist); padding: clamp(96px, 12vw, 152px) 0; }
.matters h2 {
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.topics { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.topics li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 8px 40px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.topics h3 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.topics p { font-size: 19px; color: var(--violet-dark); }
.more {
  margin-top: 36px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--deep);
}

/* 5. Psychology you can put to work */
.work { padding: clamp(96px, 14vw, 176px) 0; text-align: center; }
.work h2 {
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 0 auto 24px;
}
.work .cred { font-size: clamp(18px, 2vw, 21px); color: var(--violet-dark); max-width: 40ch; margin-left: auto; margin-right: auto; margin-bottom: clamp(48px, 7vw, 80px); }
.work .values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--deep);
  margin-bottom: clamp(48px, 7vw, 80px);
}
.work .closing { font-size: clamp(19px, 2.2vw, 23px); font-weight: 600; }

/* 6. Final CTA */
.final {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: clamp(96px, 12vw, 152px) 0 clamp(72px, 9vw, 112px);
}
.final h2 {
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 15ch;
  margin: 0 auto clamp(56px, 8vw, 88px);
}
.final .logo { display: block; width: min(220px, 56vw); height: auto; margin: 0 auto 24px; }
.final .tagline { color: var(--on-ink); font-size: 20px; margin-bottom: 40px; }
.final .pill { color: var(--brand); }
.final .pilot { color: var(--on-ink); font-size: 18px; max-width: 36ch; margin: 48px auto 24px; }
.final .pilot strong { color: var(--white); font-size: 21px; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover, .btn-light:focus-visible { background: var(--brand); color: var(--ink); }
.final .contact { margin-top: 24px; font-size: 17px; }
.final .contact a { color: var(--brand); text-decoration: none; border-bottom: 1px solid var(--ink-line); }
footer {
  background: var(--ink);
  color: var(--on-ink-soft);
  font-size: 14px;
  text-align: center;
  padding: 0 0 40px;
}
footer .wrap { border-top: 1px solid var(--ink-line); padding-top: 28px; }

@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase, .showcase.flip { grid-template-columns: minmax(0, 1fr); }
  .showcase.flip .frame { order: 0; }
}
@media (max-width: 760px) {
  body { font-size: 18px; }
  .wrap { padding: 0 22px; }
  .hero { padding: 72px 0; }
  .hero .logo { margin-bottom: 48px; }
  .human .split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .uac ol { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .topics li { grid-template-columns: minmax(0, 1fr); padding: 24px 0; }
  .work .values { flex-direction: column; gap: 6px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .options { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .why-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .app { padding: 16px; }
  .tabs .presenter { display: none; }
  .thumb span { font-size: 10px; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hr { grid-template-columns: minmax(0, 1fr); }
  .side { flex-direction: row; overflow: hidden; padding: 10px; align-items: center; }
  .side-logo { padding: 0 6px 0 0; }
  .side span:not(.side-logo):nth-child(n+5) { display: none; }
  .hr-main { padding: 14px; }
  .kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kpi-donut { grid-column: 1 / -1; }
  .charts { grid-template-columns: minmax(0, 1fr); }
  .teams li { grid-template-columns: 92px minmax(0, 1fr) 34px; }
}
