/* Better Claude's page. System fonts, one accent (jade), nothing loaded from anywhere else. */

:root {
  --ground: #f6f6f4;
  --surface: #ffffff;
  --ink: #161718;
  --muted: #5f6368;
  --faint: #8a8d92;
  --rule: #e3e3df;
  --fill: #ececea;
  --accent: #0b7d59;
  --accent-ink: #ffffff;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 24px 60px -24px rgb(0 0 0 / 0.28);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #161718;
    --surface: #1e1f21;
    --ink: #ecece9;
    --muted: #a3a6ab;
    --faint: #75787d;
    --rule: #2c2e31;
    --fill: #26282b;
    --accent: #2eb27e;
    --accent-ink: #ffffff;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 30px 70px -28px rgb(0 0 0 / 0.8);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

code {
  font: 0.88em ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--fill);
  border-radius: 6px;
  padding: 0.1em 0.4em;
}

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10;
}
.skip:focus { left: 16px; }

/* Bar */

.bar {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 70%, transparent);
}
.bar-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 650; font-size: 15px; }
.brand .mark { color: var(--accent); }
.bar-nav { display: flex; gap: 22px; font-size: 14px; }
.bar-nav a { color: var(--muted); text-decoration: none; }
.bar-nav a:hover { color: var(--ink); }

/* Hero */

.hero { text-align: center; padding: 96px 0 40px; }
.hero h1 {
  margin: 0;
  font: 700 clamp(44px, 7.4vw, 84px)/1.02 -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  letter-spacing: -0.035em;
}
.lede {
  max-width: 640px; margin: 24px auto 0;
  font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); line-height: 1.5;
}
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 34px 0 0; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 600; text-decoration: none;
  background: var(--fill); color: var(--ink);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.button:hover { filter: brightness(0.97); }
.button:active { transform: scale(0.97); }
.button.primary { background: var(--accent); color: var(--accent-ink); }
.fine { margin: 16px 0 0; color: var(--faint); font-size: 14px; }

/* Screenshots */

.stage { margin-top: 48px; margin-bottom: 0; }
.stage img, .feature img, .trio img {
  display: block; width: 100%; height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow);
  background: var(--surface);
}

/* Features */

.section-title {
  margin: 0 auto 56px; max-width: 760px; text-align: center;
  font: 700 clamp(30px, 4.2vw, 46px)/1.1 -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  letter-spacing: -0.025em;
}

.features { padding: 120px 0 40px; }
.feature { margin-bottom: 96px; }
.feature h3 { margin: 0 0 12px; font-size: 26px; line-height: 1.2; letter-spacing: -0.015em; }
.feature p { margin: 0; color: var(--muted); }
.feature:not(.split) .copy { max-width: 680px; margin: 0 auto; text-align: center; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.split.flip .copy { order: 2; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 16px; }
.trio figure { margin: 0; }
.trio figcaption { margin-top: 16px; color: var(--muted); font-size: 15px; }
.trio figcaption strong { color: var(--ink); font-weight: 600; }

/* Parallex */

.parallex {
  max-width: 760px; text-align: center;
  padding: 56px 32px; margin-top: 64px; margin-bottom: 64px;
  background: var(--surface); border-radius: 24px; box-shadow: var(--shadow);
}
.parallex h2 { margin: 0 0 10px; font-size: 26px; letter-spacing: -0.015em; }
.parallex p { margin: 0; color: var(--muted); }
.parallex a { color: var(--accent); text-decoration: none; font-weight: 600; }

/* Trust */

.trust { padding: 80px 0 32px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; max-width: 920px; margin: 0 auto; }
.facts div { border-top: 1px solid var(--rule); padding-top: 18px; }
.facts dt { font-weight: 650; margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--muted); font-size: 16px; }

/* Notes */

.notes { max-width: 760px; padding: 64px 0 24px; }
.notes h2 { font-size: 22px; margin: 0 0 16px; letter-spacing: -0.01em; }
.notes ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 16px; }
.notes li { margin-bottom: 10px; }

/* Footer */

.foot { border-top: 1px solid var(--rule); margin-top: 48px; padding: 28px 0 56px; color: var(--faint); font-size: 14px; }
.foot p { margin: 0 0 4px; }
.foot a { color: var(--muted); }

/* Narrow screens */

@media (max-width: 820px) {
  .hero { padding-top: 64px; }
  .bar-nav a:not(:last-child) { display: none; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split.flip .copy { order: 0; }
  .feature:not(.split) .copy { margin-top: 0; }
  .features { padding-top: 80px; }
  .feature { margin-bottom: 64px; }
  .trio { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .parallex { padding: 40px 20px; }
}
