/* The front door's styles. Colors, fonts and sizes come from tokens.css, which is the portfolio
   site's own file (apps/portfolio_optimizer/web_app/styles/tokens.css), served here unchanged. */
* { box-sizing: border-box; }
body { margin: 0; background: var(--color-page); color: var(--color-text); font-family: var(--font-body);
  font-size: var(--text-body); line-height: 1.55; }
.page { max-width: var(--page-width-wide); margin: 0 auto; padding: var(--space-4) var(--space-3) var(--space-5); }
.site-header { margin-bottom: var(--space-4); }
.wordmark { font-weight: 700; letter-spacing: 0.02em; }
.hero { padding: var(--space-5) 0 var(--space-4); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: var(--text-eyebrow); font-weight: 600;
  color: var(--color-accent); margin: 0 0 var(--space-3); }
.hero-title { font-size: var(--text-hero); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 var(--space-3);
  max-width: 14ch; }
.hero-lead { font-size: var(--text-lead); color: var(--color-muted); max-width: 36rem; margin: 0; }
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: var(--space-3);
  padding: var(--space-4) 0 var(--space-5); }
.tool { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: calc(var(--radius) * 1.5);
  color: inherit; text-decoration: none; transition: border-color 120ms, box-shadow 120ms, transform 120ms; }
a.tool:hover, a.tool:focus-visible { border-color: var(--color-accent); box-shadow: var(--shadow-card);
  transform: translateY(-2px); }
.tool-mark { width: 7.5rem; height: auto; border-radius: var(--radius); background: var(--color-accent-soft);
  padding: var(--space-2); }
.tool-mark-curve { fill: none; stroke: var(--chart-1); stroke-width: 3; stroke-linecap: round; }
.tool-mark-star { fill: var(--chart-2); }
.tool-text { display: flex; flex-direction: column; gap: var(--space-1); }
.tool-name { font-size: var(--text-heading); font-weight: 700; }
.tool-about { color: var(--color-muted); }
.tool-link { color: var(--color-accent); font-weight: 600; margin-top: var(--space-2); }
.tool-soon { border-style: dashed; justify-content: center; background: transparent; }
.maker { display: flex; align-items: center; gap: var(--space-3); padding: 0 0 var(--space-4); }
.maker-mark { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem;
  flex: none; border-radius: 50%; background: var(--color-accent-soft); color: var(--color-accent);
  font-size: var(--text-heading); font-weight: 700; }
.maker-text { margin: 0; font-size: var(--text-lead); }
.site-footer { border-top: 1px solid var(--color-border); padding-top: var(--space-3); color: var(--color-muted);
  font-size: var(--text-small); }
