@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap");
@import url("https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.1/src/regular/style.css");

/*
 * Dolo v1 design system.
 *
 * Keep this file framework-independent. Components use semantic custom
 * properties so the same server-rendered HTML works in light and dark modes.
 */

:root {
  --dolo-font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --dolo-font-display: Sora, "Avenir Next", ui-sans-serif, sans-serif;
  --dolo-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --dolo-radius-card: 1.25rem;
  --dolo-radius-control: 0.75rem;
  --dolo-motion: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/*
 * Framework-independent v1 baseline.
 *
 * Product surfaces used to inherit these browser normalizations from
 * Tailwind's preflight even after their presentation moved to the v1 system.
 * Keep the reset scoped so documentation and other purpose-built layouts own
 * their own canvas while every Dolo v1 surface starts from the same semantics.
 */
.dolo-v1-surface,
.dolo-v1-surface *,
.dolo-v1-surface::before,
.dolo-v1-surface::after,
.dolo-v1-surface *::before,
.dolo-v1-surface *::after,
.dolo-v1-surface::backdrop,
.dolo-v1-surface *::backdrop,
.dolo-v1-surface::file-selector-button,
.dolo-v1-surface *::file-selector-button {
  box-sizing: border-box;
  margin: 0;
  border: 0 solid;
  padding: 0;
}

.dolo-v1-surface {
  margin: 0;
  font-family: var(--dolo-font-body);
  font-feature-settings: normal;
  font-variation-settings: normal;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

.dolo-v1-surface :where(h1, h2, h3, h4, h5, h6) {
  font-size: inherit;
  font-weight: inherit;
}

.dolo-v1-surface :where(a) {
  color: inherit;
  text-decoration: inherit;
}

.dolo-v1-surface :where(ol, ul, menu) {
  list-style: none;
}

.dolo-v1-surface :where(table) {
  border-color: inherit;
  border-collapse: collapse;
  text-indent: 0;
}

.dolo-v1-surface :where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
  vertical-align: middle;
}

.dolo-v1-surface :where(img, video) {
  max-width: 100%;
  height: auto;
}

.dolo-v1-surface :where(button, input, select, optgroup, textarea, ::file-selector-button) {
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  letter-spacing: inherit;
  opacity: 1;
}

.dolo-v1-surface :where(button, input[type="button"], input[type="reset"], input[type="submit"], ::file-selector-button) {
  appearance: button;
}

.dolo-v1-surface :where(textarea) {
  resize: vertical;
}

.dolo-v1-surface :where([hidden]:not([hidden="until-found"])) {
  display: none !important;
}

/* Behavioral and accessibility state classes used by server-rendered views. */
.dolo-v1-surface .hidden {
  display: none !important;
}

.dolo-v1-surface .overflow-hidden {
  overflow: hidden !important;
}

.dolo-v1-surface .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  border-width: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(50%);
}
