/* ecke.lt Design System v1
 *
 * Public, versioned foundation for ecke.lt and Deskleaf web surfaces.
 * Import this file only; individual token files are implementation details.
 */
@import url("./tokens/fonts.css");
@import url("./tokens/colors.css");
@import url("./tokens/typography.css");
@import url("./tokens/spacing.css");

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

html {
  font-size: var(--font-root);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  line-height: var(--leading-body);
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring-focus);
}

button,
input,
select,
textarea {
  font: inherit;
}

.ecke-display,
.ecke-heading {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-heading);
}

.ecke-eyebrow {
  color: var(--accent);
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.ecke-card {
  background: var(--surface);
  border: var(--border-hairline);
  border-radius: var(--radius-xl);
}

.ecke-button {
  align-items: center;
  background: var(--surface);
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  color: var(--text);
  display: inline-flex;
  font-weight: var(--weight-medium);
  gap: var(--space-2);
  justify-content: center;
  padding: var(--space-2) var(--space-3);
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}

.ecke-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.ecke-tag {
  background: var(--badge-cloud-bg);
  border-radius: var(--radius-pill);
  color: var(--badge-cloud);
  display: inline-flex;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  padding: var(--space-1) var(--space-2);
}
