:root {
  --bg: #fafaf8;
  --bg-2: #ffffff;
  --bg-3: #f2f3f0;
  --line: #e6e7e3;
  --line-2: #d5d7d1;
  --text: #0e1013;
  --text-2: #545a63;
  --text-3: #8b9099;
  --accent: #c8f169;
  --accent-ink: #4d7c0f;
  --accent-dim: rgba(101, 163, 13, 0.12);
  --on-accent: #0a0b0d;
  --warn: #b45309;
  --header: rgba(250, 250, 248, 0.85);
  --shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.25);
  --sans: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* nav */
header { position: sticky; top: 0; z-index: 10; background: var(--header); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: 0.14em; font-size: 14px; }
.brand svg { width: 26px; height: 26px; }
.brand b { color: var(--accent-ink); font-weight: 700; }
.mk-ink { stroke: var(--text); } .mk-dot { fill: var(--accent-ink); }
.nav ul { display: flex; gap: 28px; list-style: none; font-size: 14px; color: var(--text-2); }
.nav ul a:hover { color: var(--text); }
.nav-r { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 8px; background: transparent; color: var(--text); place-items: center; cursor: pointer; }
.menu-btn .cross { display: none; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
.menu-btn[aria-expanded="true"] .cross { display: block; }
.nav ul .nav-cta { display: none; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 14px; }
.btn:hover { filter: brightness(1.05); }
.btn.sec { background: transparent; color: var(--text); border: 1px solid var(--line-2); font-weight: 500; }
.btn.sec:hover { border-color: var(--text-3); }

/* hero */
.hero { position: relative; padding: 128px 0 120px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 30%, transparent 75%); opacity: 0.6; pointer-events: none; }
.hero .wrap { position: relative; text-align: center; }
.hero h1 { font-size: clamp(42px, 7vw, 84px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; margin: 0 auto 24px; max-width: 15ch; }
.dim { color: var(--text-3); }
.hero p.lead { font-size: 19px; color: var(--text-2); max-width: 60ch; margin: 0 auto 36px; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* section scaffolding */
section.s { padding: 120px 0; border-top: 1px solid var(--line); }
.label { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); letter-spacing: 0.08em; text-transform: uppercase; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; margin: 16px 0 18px; max-width: 20ch; }
.sub { color: var(--text-2); font-size: 18px; max-width: 60ch; }
.head-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: end; }
.head-split .sub { margin-bottom: 18px; }

/* bordered grids (template 2's cell grid) */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 56px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.cell { background: var(--bg-2); padding: 28px 26px 32px; }
.cell .n { font-family: var(--mono); font-size: 12px; color: var(--text-3); text-transform: lowercase; }
.cell h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; margin: 40px 0 10px; }
.cell p { color: var(--text-2); font-size: 15px; }
.cell .tag { font-family: var(--mono); font-size: 11.5px; color: var(--accent-ink); text-transform: uppercase; letter-spacing: 0.06em; }
.cell .tag + h3 { margin-top: 16px; font-size: 22px; }
.q { font-family: var(--mono); font-size: 28px; line-height: 1; color: var(--accent-ink); }

/* operating picture */
.picture { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.link { display: inline-flex; gap: 10px; align-items: center; margin-top: 28px; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; }
.link:hover { border-color: var(--text); }
.pane { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow); }
.pane-h { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-bottom: 16px; }
.pane-h .live { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); }
.pane-h .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-ink); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--bg); }
.kpi small { display: block; font-size: 12.5px; color: var(--text-2); }
.kpi b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; margin: 6px 0 4px; }
.kpi b em { font-style: normal; font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--text-3); letter-spacing: 0; margin-left: 4px; }
.kpi span { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.kpi span.w { color: var(--warn); }
.chart { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 10px; background: var(--bg); }
.chart .pane-h { margin-bottom: 8px; color: var(--text-2); }
.chart svg { display: block; width: 100%; height: auto; }
.c-grid { stroke: var(--line); }
.c-line { stroke: var(--accent-ink); }
.c-band { fill: var(--accent-dim); }
.c-txt { fill: var(--text-3); font-family: var(--mono); font-size: 11px; }
.note { font-family: var(--mono); font-size: 11px; color: var(--text-3); margin-top: 12px; }

/* team */
.group-h { font-family: var(--mono); font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; margin: 56px 0 14px; }
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.member { display: grid; grid-template-columns: 112px 1fr; gap: 24px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.member.lg { grid-template-columns: 168px 1fr; padding: 28px; }
.photo { aspect-ratio: 4 / 5; border-radius: 10px; background: var(--bg-3); border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--mono); font-size: 26px; color: var(--accent-ink); overflow: hidden; }
.member.lg .photo { font-size: 36px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.m-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.member h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.member.lg h3 { font-size: 24px; }
.member .role { font-family: var(--mono); font-size: 11.5px; color: var(--accent-ink); text-transform: uppercase; letter-spacing: 0.05em; margin: 4px 0 14px; }
.member p { color: var(--text-2); font-size: 14.5px; }
.li { width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-3); }
.li:hover { color: var(--text); border-color: var(--text-3); }
.focus { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.focus li { font-family: var(--mono); font-size: 11px; color: var(--text-2); background: var(--bg-3); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }

/* closing */
.cta { position: relative; padding: 140px 0; border-top: 1px solid var(--line); text-align: center; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 70%); opacity: 0.5; pointer-events: none; }
.cta .wrap { position: relative; }
.cta h2 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.035em; margin: 16px auto 0; max-width: 16ch; }
.cta .sub { margin: 28px auto 36px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--text-3); font-size: 13px; }
footer .wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
footer .mono { font-family: var(--mono); }

@media (max-width: 980px) {
  .nav { position: relative; }
  .menu-btn { display: grid; }
  .nav ul { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 4px 28px 20px; background: var(--bg-2); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px -20px rgba(15, 23, 42, 0.25); font-size: 16px; }
  .nav ul.open { display: flex; }
  .nav ul li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav ul li.nav-cta a { display: inline-flex; border-bottom: 0; padding: 0 18px; margin-top: 16px; color: var(--on-accent); }
  .head-split, .picture { grid-template-columns: 1fr; gap: 32px; }
  .g3 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr; }
  section.s { padding: 88px 0; }
  .hero { padding: 88px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .g4 { grid-template-columns: 1fr; }
  .member, .member.lg { grid-template-columns: 1fr; }
  .photo { width: 120px; }
  .kpis { grid-template-columns: 1fr; }
  .nav-r .btn { display: none; }
  .nav ul { padding: 4px 18px 20px; }
  .nav ul .nav-cta { display: block; }
}

/* multi-page additions */
.nav ul a.active { color: var(--text); font-weight: 500; }
.page-hero { position: relative; padding: 112px 0 72px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 80% at 30% 20%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 20%, #000 20%, transparent 70%); opacity: 0.5; pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; margin: 16px 0 20px; max-width: 18ch; }
.page-hero .sub { font-size: 19px; }
section.s.first { border-top: 0; padding-top: 24px; }
section.s.first .grid, section.s.first .group-h:first-child { margin-top: 0; }

/* use-case detail */
a.cell { display: block; color: inherit; }
a.cell:hover { background: var(--bg); }
.more { display: inline-block; margin-top: 18px; font-family: var(--mono); font-size: 12px; color: var(--accent-ink); }
section.uc { scroll-margin-top: 64px; }
.uc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.uc-lists { display: grid; gap: 14px; }
.uc-lists .pane { box-shadow: none; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 15px; }
.ticks li::before { position: absolute; left: 0; top: 0; font-family: var(--mono); font-size: 13px; }
.ticks.in li::before { content: "→"; color: var(--text-3); }
.ticks.out li::before { content: "✓"; color: var(--accent-ink); }
.ask { margin-top: 32px; padding: 18px 20px; border-left: 2px solid var(--accent-ink); background: var(--bg-2); border-radius: 0 10px 10px 0; font-size: 17px; font-weight: 500; color: var(--text); }
.ask span { display: block; font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
@media (max-width: 980px) { .uc-grid { grid-template-columns: 1fr; gap: 32px; } }
