:root {
  --accent: oklch(0.66 0.18 45);
  --deep: oklch(0.55 0.17 40);
  --ondark: oklch(0.74 0.16 50);
  --mid: oklch(0.84 0.09 52);
  --midh: oklch(0.8 0.11 50);
  --tint: oklch(0.95 0.035 55);
  --paper: oklch(0.985 0.008 60);
  --ink: oklch(0.24 0.04 265);
  --sa: oklch(0.9 0.05 55);
  --sb: oklch(0.93 0.04 55);
  --sl: oklch(0.45 0.08 45);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  font-family: Outfit, sans-serif;
  color: var(--ink);
}

a {
  color: var(--deep);
  text-decoration: none;
}
a:hover { color: var(--ink); }

.page { background: var(--paper); min-height: 100vh; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 0;
  display: flex;
  flex-direction: column;
}

/* nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}
.accent { color: var(--accent); }
.ondark { color: var(--ondark); }
.nav-links { display: flex; gap: 32px; font-size: 18px; font-weight: 600; }
.nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--deep); }
.nav-links .nav-cta { color: var(--deep); }

.palette-picker { position: relative; display: inline-flex; align-items: center; }
.swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sw);
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.swatch:hover { transform: scale(1.1); }
.swatch[aria-current="true"] { border-color: var(--ink); }

.swatch-trigger { border-color: var(--mid); }

.palette-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  flex-direction: row;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  z-index: 10;
}
.palette-popover.open { display: flex; }

/* hero */
.hero {
  padding: clamp(96px, 16vw, 180px) 0 clamp(80px, 12vw, 140px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero h1 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: .98;
  font-size: clamp(48px, 8vw, 96px);
}
.hero p {
  margin: 0;
  max-width: 520px;
  font-size: 20px;
  line-height: 1.5;
  text-wrap: pretty;
}

.hdy { display: inline-flex; align-items: baseline; white-space: nowrap; }
.hdy-pulse { animation: hdy-c 1.6s cubic-bezier(.65,0,.35,1) .15s 1 forwards; }
.hdy-e-wrap {
  display: inline-block;
  overflow: hidden;
  max-width: 0;
  letter-spacing: normal;
  transform-origin: 50% 80%;
  animation: hdy-e 1.6s cubic-bezier(.65,0,.35,1) .15s 1 forwards;
}
.hdy-e { display: inline-block; }

@keyframes hdy-e {
  0% { max-width: 0; opacity: 0; transform: translateY(.35em) scale(.4); }
  60%, 100% { max-width: .68em; opacity: 1; transform: none; }
}
@keyframes hdy-c {
  0% { color: var(--ink); }
  100% { color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) {
  .hdy * { animation: none !important; max-width: none !important; opacity: 1 !important; transform: none !important; }
}

/* apps: on the bench */
.apps { padding-bottom: 120px; }
.about h2 { margin: 0; text-align: center; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }

.bench {
  border-radius: 40px;
  background: var(--tint);
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.bench-copy { display: flex; flex-direction: column; gap: 20px; }
.bench-copy h2 { margin: 0; font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.bench-copy p { margin: 0; font-size: 18px; line-height: 1.5; opacity: .85; max-width: 440px; }

.bench-list { display: flex; flex-direction: column; gap: 16px; }
.bench-row {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--paper);
  border-radius: 24px;
  padding: 16px 22px;
}
.bench-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--accent); flex-shrink: 0; }
.bench-icon-light { background: var(--mid); }
.bench-progress { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.bench-name { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.bench-bar { height: 6px; border-radius: 999px; background: var(--mid); overflow: hidden; }
.bench-fill { height: 100%; border-radius: 999px; background: var(--accent); }
.bench-status { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 15px; font-weight: 600; color: var(--deep); flex-shrink: 0; }
.bench-pct { font-size: 13px; font-weight: 500; opacity: .65; }

@media (max-width: 760px) {
  .bench { grid-template-columns: 1fr; }
}

/* about */
.about { display: flex; flex-direction: column; gap: 28px; padding-bottom: 120px; }
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}
.about-card {
  border-radius: 32px;
  background: var(--mid);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--ink);
}
.about-card:hover { background: var(--midh); color: var(--ink); }
.about-letter {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--paper);
}
.about-name { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.about-role { font-size: 16px; }

/* contact */
.contact {
  border-radius: 40px;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(48px, 8vw, 88px) 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.contact h2 { margin: 0; font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.contact-cta {
  display: inline-flex;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--ondark);
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}
.contact-cta:hover { background: var(--paper); color: var(--ink); }

/* footer */
.footer {
  padding: 40px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1.6;
}
.legal { max-width: 560px; opacity: .75; }
.foot-links { display: flex; gap: 20px; }
.foot-links .copy { opacity: .6; }
