/* refactry.ai holding page. Same token names as the Studio app. */
/* Refactry brand palette (see app/src/styles/theme.css for the contrast notes). */
:root {
  color-scheme: dark;
  --radius: 0.625rem;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --background: #0e1116;
  --foreground: #e8edf2;
  --muted-foreground: #9aa6b2;
  --primary: #00e0a4;
  --primary-foreground: #0e1116;
  --secondary: #1d242d;
  --secondary-foreground: #e8edf2;
  --border: #2a323d;
  --ring: #00e0a4;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --background: #ffffff;
    --foreground: #0e1116;
    --muted-foreground: #4a5562;
    --primary: #00805c;
    --primary-foreground: #ffffff;
    --secondary: #f3f5f8;
    --secondary-foreground: #0e1116;
    --border: #dde2e8;
    --ring: #00805c;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: var(--radius); }

.page { max-width: 64rem; margin: 0 auto; padding: 1.5rem; min-height: 100vh; display: flex; flex-direction: column; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; font-weight: 600; }
.logo { height: 2rem; width: auto; display: block; }
.accent { color: var(--primary); }

.hero { padding: 6rem 0 4rem; max-width: 42rem; }
.eyebrow { margin: 0 0 0.75rem; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-foreground); }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.1; letter-spacing: -0.02em; }
.lede { margin: 1.25rem 0 0; font-size: 1.125rem; color: var(--muted-foreground); }
.actions { margin: 2rem 0 0; }

.button {
  display: inline-block; padding: 0.625rem 1rem; border-radius: var(--radius);
  background: var(--primary); color: var(--primary-foreground);
  text-decoration: none; font-weight: 500; font-size: 0.9375rem;
}
.button.secondary { background: var(--secondary); color: var(--secondary-foreground); }

.pillars { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.pillars article { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.pillars h2 { margin: 0 0 0.5rem; font-size: 1rem; }
.pillars p { margin: 0; color: var(--muted-foreground); font-size: 0.9375rem; }

.foot { margin-top: auto; padding-top: 4rem; font-size: 0.875rem; color: var(--muted-foreground); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
