/* Same look as ptassets and pttools: shadcn neutral colours, Geist, follows the system light/dark setting. */
@font-face {
  font-family: 'Geist';
  src: url('/fonts/geist-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #ffffff;
  --foreground: #0a0a0a;
  --card: #ffffff;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --border: #e5e5e5;
  --primary: #171717;
  --primary-foreground: #fafafa;
  --ring: #a3a3a3;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #0a0a0a;
    --foreground: #fafafa;
    --card: #171717;
    --muted: #262626;
    --muted-foreground: #a1a1a1;
    --border: rgb(255 255 255 / 10%);
    --primary: #e5e5e5;
    --primary-foreground: #171717;
    --ring: #737373;
  }
}

* {
  box-sizing: border-box;
}

html {
  font-family: 'Geist', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

main {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 72px 16px 48px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 15px;
  line-height: 1;
  padding-bottom: 2px;
}

h1 {
  margin: 40px 0 0;
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lede {
  margin: 8px 0 0;
  color: var(--muted-foreground);
  font-size: 16px;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}

.card:hover {
  background: var(--muted);
}

.card:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--muted);
}

.card:hover .icon {
  background: var(--background);
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
}

.desc {
  color: var(--muted-foreground);
  font-size: 14px;
}

.badge {
  padding: 1px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 500;
}

.arrow {
  flex: none;
  color: var(--muted-foreground);
  transition: transform 0.15s, color 0.15s;
}

.card:hover .arrow {
  color: var(--foreground);
  transform: translateX(2px);
}

footer {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 16px 32px;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 12px;
}
