html {
  --color-background: #ffffff;
  --color-surface: #ffffff;
  --color-on-background: #000000;
  --color-on-surface: #111827;
  --color-primary: #030712;
  --color-on-primary: #ffffff;
  --color-secondary: #f4f4f5;
  --color-on-secondary: #18181b;
  --color-accent: #d60017;
  --color-on-accent: #ffffff;
  --color-outline: rgba(0, 0, 0, 0.16);
  --bg: var(--color-background);
  --surface: var(--color-surface);
  --text: var(--color-on-surface);
  --muted: #4b5563;
  --accent: var(--color-accent);

  min-height: 100%;
  background: var(--color-background);
  color: var(--color-on-background);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  color: inherit;
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
}

:where(h1, h2, h3, h4, h5, h6, p) {
  margin: 0;
}

.bodySmall {
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.caption {
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
}

.bodyLarge {
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
}

.bodyMedium {
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.titleSmall {
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 600;
}

.titleMedium {
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
}

.titleLarge {
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 600;
}

.card {
  padding: 1rem;
  border: 1px solid var(--color-outline);
  border-radius: 14px;
  background: var(--color-surface);
  color: inherit;
  text-decoration: none;
}

.input {
  min-height: 40px;
  border: 1px solid var(--color-outline);
  border-radius: 10px;
  background: var(--color-surface);
  color: inherit;
  font: inherit;
  padding: 0 0.75rem;
}

.icon {
  width: 20px;
  height: 20px;
  display: block;
}

.textNowrap {
  white-space: nowrap;
}

.button {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 48px;
  min-height: 48px;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, filter 0.2s ease, transform 0.15s ease;
}

@media (any-pointer: fine) {
  .button {
    min-width: 32px;
    min-height: 40px;
  }
}

.button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.button-primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 600;
}

.button-primary:hover {
  background: color-mix(in srgb, var(--color-primary) 88%, white);
}

.button-ghost:hover {
  background: var(--color-secondary);
}

.button-icon {
  min-width: 48px;
  min-height: 48px;
  padding: 0.5rem;
}

.button-icon.colorMuted {
  color: var(--muted);
}

.button-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

@media (any-pointer: fine) {
  .button-icon {
    min-width: 40px;
    min-height: 40px;
  }
}

.button-outlined {
  border: 1px solid var(--color-outline);
  background: var(--color-surface);
  color: var(--color-on-surface);
}

.button-outlined:hover {
  background: var(--color-secondary);
}

.colorMuted {
  color: var(--muted);
}

.headerSmall,
.headerMedium,
.headerLarge {
  font-family: "Plus Jakarta Sans", "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

.headerSmall {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
}

.headerMedium {
  font-size: 2.75rem;
  line-height: 1.08;
  font-weight: 700;
}

.headerLarge {
  font-size: 4.4rem;
  line-height: 1.05;
  font-weight: 700;
}

.eyebrow {
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 700;
}

@media (max-width: 900px) {
  .headerLarge {
    font-size: 3.25rem;
  }
}
