:root {
  --page: #ffffff;
  --surface: #f7f7f5;
  --surface-strong: #f0f0ed;
  --ink: #0e0f11;
  --ink-2: #565960;
  --ink-3: #8a8d93;
  --line: #e6e6e2;
  --line-strong: #d5d5cf;
  --accent: #e5672f;
  --accent-dark: #bd4d1d;
  --accent-soft: #fff1e9;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(229,103,47,.18); }
.wrap { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.mono { font-family: var(--mono); }

.site-nav { position: sticky; top: 0; z-index: 30; height: 64px; border-bottom: 1px solid rgba(230,230,226,.86); background: rgba(255,255,255,.88); backdrop-filter: blur(18px); }
.nav-inner { height: 100%; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; letter-spacing: -.025em; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; color: #fff; background: var(--accent); box-shadow: inset 0 0 0 1px rgba(0,0,0,.07); font-size: 13px; font-weight: 650; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 27px; }
.nav-link { color: var(--ink-2); font-size: 13px; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.active { font-weight: 600; }
.nav-signin { color: var(--ink); }
.nav-action { height: 36px; padding: 0 15px; display: inline-flex; align-items: center; border-radius: 8px; color: #fff; background: var(--ink); font-size: 13px; font-weight: 600; transition: transform .18s var(--ease), background .18s ease; }
.nav-action:hover { transform: translateY(-1px); background: #000; }

.primary-button { min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; color: #fff; background: var(--ink); font-size: 14px; font-weight: 600; transition: transform .18s var(--ease), box-shadow .18s ease, background .18s ease; }
.primary-button:hover { transform: translateY(-1px); background: #000; box-shadow: 0 12px 28px rgba(14,15,17,.12); }
.inline-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.inline-link:hover { color: var(--accent-dark); }
.section-label { margin: 0 0 13px; display: flex; align-items: center; gap: 8px; color: var(--accent-dark); font-size: 12px; font-weight: 600; }
.label-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.home-hero { position: relative; overflow: hidden; padding: 96px 0 82px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg,#fff 0%,#fdfdfc 100%); }
.home-hero::before { content: ''; position: absolute; top: -320px; right: -180px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle,rgba(229,103,47,.09),rgba(229,103,47,0) 68%); pointer-events: none; }
.home-hero::after { content: ''; position: absolute; inset: 0 0 0 52%; opacity: .34; background-image: linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg,transparent,#000 48%,transparent 95%); pointer-events: none; }
.home-hero .wrap { position: relative; z-index: 1; }
.home-hero h1 { margin: 0; max-width: 990px; font-size: clamp(56px, 6.4vw, 78px); line-height: .98; letter-spacing: -.062em; font-weight: 630; text-wrap: balance; }
.home-hero p { margin: 27px 0 0; max-width: 760px; color: var(--ink-2); font-size: 19px; line-height: 1.58; letter-spacing: -.012em; }
.hero-action { margin-top: 30px; }
.hero-principles { margin-top: 43px; display: flex; align-items: center; gap: 0; color: var(--ink-3); font-family: var(--mono); font-size: 10px; }
.hero-principles span { display: inline-flex; align-items: center; }
.hero-principles span + span::before { content: ''; width: 3px; height: 3px; margin: 0 13px; border-radius: 50%; background: var(--line-strong); }

.directory { padding: 82px 0 92px; }
.directory-head { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.directory-head h2 { margin: 0; font-size: 40px; line-height: 1.06; letter-spacing: -.045em; font-weight: 620; }
.directory-head p { margin: 14px 0 0; max-width: 620px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.benchmark-list { margin-top: 34px; border-top: 1px solid var(--line-strong); }
.benchmark-row { position: relative; min-height: 112px; padding: 20px 10px; display: grid; grid-template-columns: 52px minmax(210px,.7fr) minmax(310px,1.3fr) auto 22px; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); transition: background .16s ease, box-shadow .16s ease; }
.benchmark-row:hover { background: linear-gradient(90deg, transparent, var(--surface) 6%, var(--surface) 94%, transparent); }
.row-avatar { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-family: var(--mono); font-size: 13px; font-weight: 500; }
.row-title h3, .row-title h2 { margin: 0; font-size: 17px; line-height: 1.25; letter-spacing: -.025em; font-weight: 620; }
.row-publisher { margin-top: 6px; color: var(--ink-3); font-size: 11px; }
.row-summary { color: var(--ink-2); font-size: 13px; line-height: 1.55; }
.row-summary b { color: var(--ink); font-weight: 550; }
.row-date { min-width: 100px; color: var(--ink-3); font-family: var(--mono); font-size: 10px; text-align: right; }
.row-arrow { color: var(--ink-3); font-size: 15px; transition: color .16s ease, transform .16s var(--ease); }
.benchmark-row:hover .row-arrow { color: var(--ink); transform: translateX(2px); }

.value-loop { padding: 84px 0 88px; border-top: 1px solid var(--line); background: var(--surface); }
.value-loop h2 { margin: 0; max-width: 640px; font-size: 40px; line-height: 1.06; letter-spacing: -.045em; font-weight: 620; }
.loop-grid { margin-top: 45px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line-strong); }
.loop-step { padding: 30px 34px 2px 0; }
.loop-step + .loop-step { padding-left: 34px; border-left: 1px solid var(--line); }
.loop-number { color: var(--accent-dark); font-family: var(--mono); font-size: 11px; }
.loop-step h3 { margin: 22px 0 0; font-size: 20px; letter-spacing: -.027em; font-weight: 620; }
.loop-step p { margin: 10px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.62; }

.final-cta { padding: 78px 0 82px; border-top: 1px solid var(--line); text-align: center; }
.final-cta h2 { margin: 0; font-size: 42px; letter-spacing: -.045em; font-weight: 620; }
.final-cta p { margin: 15px auto 0; max-width: 560px; color: var(--ink-2); font-size: 15px; line-height: 1.62; }
.final-cta .primary-button { margin-top: 26px; }

.catalog-hero { padding: 65px 0 48px; }
.catalog-hero h1 { margin: 0; font-size: clamp(48px, 5.6vw, 66px); line-height: 1; letter-spacing: -.055em; font-weight: 620; }
.catalog-hero p { margin: 20px 0 0; max-width: 660px; color: var(--ink-2); font-size: 16px; line-height: 1.62; }
.catalog-body { padding: 0 0 92px; }
.catalog-controls { padding: 12px 0 18px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line-strong); }
.catalog-search { height: 44px; min-width: 290px; flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; }
.catalog-search span { color: var(--ink-3); font-size: 15px; }
.catalog-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.catalog-search input::placeholder { color: var(--ink-3); }
.filters { display: flex; align-items: center; gap: 4px; }
.filter { height: 34px; padding: 0 11px; border: 0; border-radius: 7px; color: var(--ink-2); background: transparent; font-size: 12px; cursor: pointer; }
.filter:hover { background: var(--surface); }
.filter[aria-pressed='true'] { color: var(--ink); background: var(--surface-strong); font-weight: 600; }
.result-line { margin: 20px 0 0; display: flex; align-items: center; justify-content: space-between; color: var(--ink-3); font-size: 11px; }
.catalog-list { margin-top: 10px; border-top: 1px solid var(--line-strong); }
.catalog-entry[hidden] { display: none; }
.empty-state { margin-top: 10px; padding: 64px 24px; border: 1px dashed var(--line-strong); color: var(--ink-2); background: var(--surface); text-align: center; font-size: 13px; }
.empty-state[hidden] { display: none; }

.site-footer { padding: 27px 0 38px; border-top: 1px solid var(--line); color: var(--ink-3); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 11px; }
.footer-links { display: flex; gap: 20px; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .benchmark-row { grid-template-columns: 52px minmax(190px,.8fr) minmax(260px,1.2fr) 22px; }
  .row-date { display: none; }
  .catalog-controls { align-items: stretch; flex-direction: column; }
  .filters { overflow-x: auto; width: 100%; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 30px,1180px); }
  .site-nav { height: 58px; }
  .nav-link, .nav-signin { display: none; }
  .nav-links { gap: 8px; }
  .nav-action { height: 34px; font-size: 12px; }
  .home-hero { padding: 62px 0 54px; }
  .home-hero::after { display: none; }
  .home-hero h1 { font-size: 47px; }
  .home-hero p { margin-top: 21px; font-size: 16px; }
  .hero-principles { margin-top: 30px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero-principles span { display: grid; grid-template-columns: 4px 1fr; gap: 9px; align-items: center; }
  .hero-principles span::before, .hero-principles span + span::before { content: ''; width: 3px; height: 3px; margin: 0; border-radius: 50%; background: var(--line-strong); }
  .primary-button { width: 100%; }
  .directory { padding: 62px 0 68px; }
  .directory-head { align-items: flex-start; flex-direction: column; gap: 18px; }
  .directory-head h2, .value-loop h2 { font-size: 35px; }
  .benchmark-list { margin-top: 25px; }
  .benchmark-row { min-height: 0; padding: 20px 4px; grid-template-columns: 44px 1fr 18px; gap: 13px; align-items: start; }
  .row-avatar { width: 40px; height: 40px; border-radius: 9px; font-size: 12px; }
  .row-summary { grid-column: 2 / -1; margin-top: -4px; }
  .row-arrow { grid-column: 3; grid-row: 1; }
  .value-loop { padding: 62px 0 68px; }
  .loop-grid { grid-template-columns: 1fr; border-top: 0; }
  .loop-step, .loop-step + .loop-step { padding: 24px 0; border-top: 1px solid var(--line); border-left: 0; }
  .final-cta { padding: 64px 0 68px; }
  .final-cta h2 { font-size: 36px; }
  .catalog-hero { padding: 52px 0 38px; }
  .catalog-hero h1 { font-size: 47px; }
  .catalog-hero p { font-size: 15px; }
  .catalog-body { padding-bottom: 68px; }
  .catalog-search { min-width: 0; }
  .filter { flex: 0 0 auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
