/* Palettes and type. Both palettes come from the Claude Design source; the
   data-theme attribute on <html> picks one. */

:root {
  color-scheme: light;
  --bg: #fcfcfc;
  --fg: #111111;
  --rule: rgba(17, 17, 17, 0.15);

  --select-bg: #111111;
  --select-fg: #ffffff;

  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0a0a;
  --fg: #f2f2f2;
  --rule: rgba(242, 242, 242, 0.2);

  --select-bg: #f2f2f2;
  --select-fg: #0a0a0a;
}


/* Page */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 48px;
  min-height: 100vh;
  min-height: 100svh;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  text-transform: lowercase;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--select-bg);
  color: var(--select-fg);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 96px;
}


/* Headline */

h1 {
  margin: 0;
  font-size: clamp(48px, 9vw, 128px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 12ch;
}

.tagline {
  margin: 32px 0 0;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  opacity: 0.55;
}


/* Apps */

.apps {
  max-width: 560px;
}

[data-apps="soon"] .apps-list {
  display: none;
}

[data-apps="live"] .apps-soon {
  display: none;
}

.apps-label {
  margin: 0 0 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  opacity: 0.4;
}

.apps-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.apps-list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.apps-list a:hover {
  opacity: 0.4;
}

.app-name {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.app-desc {
  font-size: 14px;
  opacity: 0.5;
}

.apps-soon {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  font-size: 18px;
  letter-spacing: -0.01em;
  opacity: 0.35;
}


/* Footer */

.say-hi {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.15s ease;
}

.say-hi:hover {
  opacity: 0.4;
}


/* Keyboard focus. The design only describes hover states. */

a:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 4px;
  border-radius: 2px;
}


/* Small screens: 48px of padding is too tight below ~600px. */

@media (max-width: 600px) {
  body {
    padding: 32px;
  }

  main {
    gap: 64px;
  }
}
