:root {
  --white:#ffffff;
  --soft:#f7faff;
  --ink:#080a0d;
  --muted:#66707a;
  --line:#e8edf2;
  --blue:#70aceb;
  --blue2:#7c97bc;
  --orange:#f3793f;
  --max:1340px;
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0;
  color:var(--ink);
  background:var(--white);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a { color:inherit; text-decoration:none; }
::selection { background:#101216; color:#fff; }

.shell {
  width:min(var(--max),calc(100% - 82px));
  margin:0 auto;
}

.brand-line {
  position:fixed;
  inset:0 0 auto 0;
  height:3px;
  z-index:100;
  background:linear-gradient(90deg,var(--blue) 0%,#add5f5 38%,#efb47f 70%,var(--orange) 100%);
}

nav {
  position:fixed;
  top:3px;
  left:0;
  right:0;
  z-index:50;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(232,237,242,.88);
}

.nav {
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

.logo img {
  display:block;
  width:145px;
  height:auto;
}

.nav-links {
  display:flex;
  align-items:center;
  gap:34px;
  font-size:13px;
  color:#555d65;
}
.nav-links a {
  position:relative;
  padding:9px 0;
  transition:color .2s ease;
}
.nav-links a:hover { color:var(--ink); }

.hero {
  min-height:100svh;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
  padding:160px 0 90px;
  background:
    radial-gradient(circle at 80% 34%,rgba(112,172,235,.105),transparent 24%),
    radial-gradient(circle at 83% 68%,rgba(243,121,63,.07),transparent 21%),
    linear-gradient(180deg,#fff 0%,#fff 76%,#fbfdff 100%);
}

.hero::after {
  content:"";
  position:absolute;
  width:620px;
  height:620px;
  right:-230px;
  top:23%;
  border-radius:50%;
  border:1px solid rgba(112,172,235,.075);
  box-shadow:
    0 0 0 92px rgba(112,172,235,.018),
    0 0 0 184px rgba(243,121,63,.013);
  pointer-events:none;
}

.hero-inner {
  position:relative;
  z-index:2;
  max-width:1160px;
}

.accent-line {
  width:58px;
  height:2px;
  margin-bottom:32px;
  background:linear-gradient(90deg,var(--blue),var(--orange));
}

h1 {
  margin:0;
  max-width:1130px;
  font-size:clamp(61px,7.45vw,113px);
  line-height:.94;
  letter-spacing:-.063em;
  font-weight:500;
}

.hero-emphasis {
  background:linear-gradient(103deg,#5f9fe3 2%,#7aa7d6 31%,#d8a582 67%,#f07338 96%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.hero-copy {
  margin:38px 0 0;
  max-width:760px;
  color:var(--muted);
  font-size:clamp(18px,1.45vw,21px);
  line-height:1.55;
}

.text-link {
  display:inline-flex;
  align-items:center;
  gap:13px;
  margin-top:34px;
  padding-bottom:7px;
  border-bottom:1px solid var(--ink);
  font-size:14px;
}
.text-link span {
  display:inline-block;
  transition:transform .2s ease;
}
.text-link:hover span { transform:translateX(4px); }

.about {
  padding:158px 0 164px;
  border-top:1px solid var(--line);
  background:var(--soft);
}

.about-statement {
  max-width:1080px;
  font-size:clamp(32px,3.8vw,56px);
  line-height:1.12;
  letter-spacing:-.038em;
  font-weight:480;
}

.stanford-mit {
  background:linear-gradient(100deg,#5e9fe4 0%,#779fc8 39%,#dfa77d 70%,#f1783e 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.partner {
  padding:158px 0 160px;
  border-top:1px solid var(--line);
  background:#fff;
}

.partner-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:90px;
  align-items:end;
}

.partner h2 {
  margin:0;
  max-width:960px;
  font-size:clamp(48px,6.1vw,88px);
  line-height:.99;
  letter-spacing:-.057em;
  font-weight:500;
}

.partner-side {
  padding-bottom:7px;
}

.partner-side p {
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.62;
}

.partner-side .text-link { margin-top:30px; }

.section-label {
  margin-bottom:31px;
  color:#737b83;
  font-size:11px;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
}

/* The footer carries the company's legal identity: registered name and UEN
   (Companies Act s144) and a public Data Protection Officer contact (PDPA
   s11(5)). Footer text uses --muted, 5.0:1 on white; the previous #737b83
   was 4.3:1, under WCAG AA for text this small. The gradient top edge was
   the bottom of the removed hiring section; it moved here unchanged. */
footer {
  padding:36px 0 42px;
  background:#fff;
  color:var(--muted);
  font-size:12px;
  border-top:4px solid;
  border-image:linear-gradient(90deg,var(--blue),#acd4f4 42%,#efb37d 70%,var(--orange)) 1;
}

.footer {
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:40px 96px;
  align-items:start;
}

.footer-logo img {
  display:block;
  width:122px;
  height:auto;
}

.footer-block {
  font-size:13px;
  line-height:1.7;
  font-style:normal;
}

.footer-label {
  margin-bottom:10px;
  font-size:11px;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.footer-legal {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:baseline;
  gap:10px 32px;
  margin-top:30px;
  padding-top:20px;
  border-top:1px solid var(--line);
  line-height:1.6;
}

.footer-block a:hover,
.footer-legal a:hover { color:var(--ink); }

.js .reveal {
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1);
}
.js .reveal.visible {
  opacity:1;
  transform:none;
}

@media (max-width:950px) {
  .shell {
    width:min(var(--max),calc(100% - 42px));
  }
  .nav {
    min-height:78px;
  }
  .logo img {
    width:124px;
  }
  .nav-links {
    gap:22px;
    font-size:12px;
  }
  .hero {
    padding-top:130px;
  }
  h1 {
    font-size:56px;
  }
  .hero::after {
    opacity:.55;
    right:-360px;
  }
  .about,.partner {
    padding-top:108px;
    padding-bottom:105px;
  }
  .partner-grid {
    grid-template-columns:1fr;
    gap:44px;
  }
  .partner-side {
    max-width:560px;
  }
  .footer {
    grid-template-columns:1fr 1fr;
    gap:32px 48px;
  }
  .footer-logo {
    grid-column:1 / -1;
  }
}

@media (max-width:620px) {
  .shell {
    width:calc(100% - 34px);
  }
  .nav {
    min-height:72px;
  }
  .logo img {
    width:124px;
  }
  .nav-links {
    gap:15px;
  }
  .nav-links a:nth-child(2) {
    display:none;
  }
  .hero {
    padding-top:116px;
    min-height:auto;
    padding-bottom:105px;
  }
  h1 {
    font-size:49px;
    line-height:.96;
  }
  .hero-copy {
    font-size:17px;
  }
  .about-statement {
    font-size:31px;
    line-height:1.14;
  }
  .partner h2 {
    font-size:48px;
  }
  .footer {
    grid-template-columns:1fr;
    gap:28px;
  }
  .footer-legal {
    flex-direction:column;
    gap:10px;
  }
}

/* 404 page */
.notfound { max-width: 640px; margin: 18vh auto 0; padding: 0 24px; color: var(--ink); }
.notfound .eyebrow { color: var(--orange); font-weight: 600; letter-spacing: .08em; }
.notfound a { color: var(--blue); }

/* Privacy page. It sits after the site-wide media blocks, so its own
   breakpoints follow its base rules below; .legal h1 outranks the bare h1
   sizes set in those earlier blocks. */
.legal {
  padding:170px 0 130px;
}
.legal-body {
  max-width:720px;
}
.legal h1 {
  margin:0;
  font-size:clamp(40px,5vw,64px);
  line-height:1;
  letter-spacing:-.05em;
  font-weight:500;
  text-wrap:balance;
}
.legal-updated {
  margin:22px 0 0;
  color:var(--muted);
  font-size:14px;
}
.legal h2 {
  margin:56px 0 0;
  font-size:20px;
  letter-spacing:-.02em;
  font-weight:600;
}
.legal p {
  margin:14px 0 0;
  color:var(--muted);
  font-size:17px;
  line-height:1.62;
}
.legal p a {
  color:var(--ink);
  text-decoration:underline;
  text-underline-offset:3px;
}

@media (max-width:950px) {
  .legal {
    padding:130px 0 100px;
  }
}

@media (max-width:620px) {
  .legal {
    padding:116px 0 80px;
  }
  .legal p {
    font-size:16px;
  }
}
