@font-face {
  font-family: "General Sans";
  src: url("./fonts/GeneralSans-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("./fonts/GeneralSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("./fonts/GeneralSans-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

/* Google Fonts Cormorant Garamond v21, wght@300..700. See ./fonts/cormorant-garamond-OFL.txt. */

/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(./fonts/cormorant-garamond-v21-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(./fonts/cormorant-garamond-v21-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(./fonts/cormorant-garamond-v21-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(./fonts/cormorant-garamond-v21-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(./fonts/cormorant-garamond-v21-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Google Fonts Cormorant Garamond v21, ital,wght@1,400. See ./fonts/cormorant-garamond-OFL.txt. */

/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/cormorant-garamond-v21-italic-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/cormorant-garamond-v21-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/cormorant-garamond-v21-italic-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/cormorant-garamond-v21-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/cormorant-garamond-v21-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ds-ui-font-sans: "General Sans", Arial, sans-serif;
  --ds-ui-font-serif: "Cormorant Garamond", Georgia, serif;
  --ds-ui-font-weight-light: 300;
  --ds-ui-font-weight-regular: 400;
  --ds-ui-font-weight-medium: 500;
  --ds-ui-type-compact-heading: clamp(1.15rem, 3vw, 1.43rem);
  --ds-ui-type-meta: .8125rem;
  --ds-ui-space-1: .25rem;
  --ds-ui-space-2: .5rem;
  --ds-ui-space-3: .75rem;
  --ds-ui-space-4: 1rem;
  --ds-ui-space-5: 1.5rem;
  --ds-ui-space-6: 2rem;
  --ds-ui-space-7: 3rem;
  --ds-ui-border-width: 1px;
  --ds-ui-radius-card: 24px;
  --ds-ui-radius-media: 20px;
  --ds-ui-radius-panel: 28px;
  --ds-ui-radius-cta: 32px;
  --ds-ui-radius-pill: 500px;
  --ds-ui-radius-field-compact: 10px;
  --ds-ui-focus-ring-dark: #c294d6;
  --ds-ui-focus-ring-light: #793596;
  --ds-ui-focus-width: 2px;
  --ds-ui-focus-offset: 3px;
  --ds-ui-touch-target-min: 44px;
  --ds-ui-field-spacious-height: 56px;
  --ds-ui-dropdown-chevron-inset: var(--ds-ui-space-4);
  --ds-ui-dropdown-chevron-size: .875rem;
  --ds-ui-icon-size: 20px;
  --ds-ui-icon-stroke: 1.5;
  --ds-ui-duration-fast: 160ms;
  --ds-ui-duration-normal: 220ms;
  --ds-ui-brand-purple: #8e44ad;
}

:root, [data-ds-theme="dark"] {
  --ds-ui-color-page: #000;
  --ds-ui-color-surface: #111;
  --ds-ui-color-surface-muted: #ffffff12;
  --ds-ui-color-text: #fff;
  --ds-ui-color-text-muted: #b0b0b0;
  --ds-ui-color-accent: var(--ds-ui-brand-purple);
  --ds-ui-color-accent-hover: #773691;
  --ds-ui-color-on-accent: #fff;
  --ds-ui-color-accent-soft: #8e44ad26;
  --ds-ui-color-link: var(--ds-ui-color-text);
  --ds-ui-color-border: #ffffff26;
  --ds-ui-color-field: #141414;
  --ds-ui-color-field-spacious: #ffffff12;
  --ds-ui-color-field-border: #8b8490;
  --ds-ui-color-field-focus: #bdbdbd;
  --ds-ui-color-field-error-border: var(--ds-ui-tone-danger-border);
  --ds-ui-color-placeholder: #b0a9b5;
  --ds-ui-focus-ring: var(--ds-ui-focus-ring-dark);
  --ds-ui-radius-field: 0px;
  --ds-ui-color-dialog-backdrop: #000b;
  --ds-ui-daisy-editable: #b78add;
  --ds-ui-daisy-selected: #c294d6;
  --ds-ui-daisy-proposed: #6dd9a3;
  --ds-ui-daisy-proposed-halo: #71e1a444;
  --ds-ui-tone-neutral-background: #242126;
  --ds-ui-tone-neutral-text: #e5dfe8;
  --ds-ui-tone-neutral-border: #6d626f;
  --ds-ui-tone-info-background: #261a32;
  --ds-ui-tone-info-text: #f2e0ff;
  --ds-ui-tone-info-border: #9365a9;
  --ds-ui-tone-success-background: #14251e;
  --ds-ui-tone-success-text: #daf4e5;
  --ds-ui-tone-success-border: #527b66;
  --ds-ui-tone-warning-background: #342617;
  --ds-ui-tone-warning-text: #ffe6ad;
  --ds-ui-tone-warning-border: #ad8447;
  --ds-ui-tone-danger-background: #28181e;
  --ds-ui-tone-danger-text: #ffdee6;
  --ds-ui-tone-danger-border: #b76d80;
  --ds-ui-danger-action: #a33151;
  --ds-ui-danger-action-hover: #83233e;
}

[data-ds-theme="dark"] { color-scheme: dark; }

[data-ds-theme="light"] {
  color-scheme: light;
  --ds-ui-color-page: #f5f3f9;
  --ds-ui-color-surface: #fff;
  --ds-ui-color-surface-muted: #f1edf6;
  --ds-ui-color-text: #231a31;
  --ds-ui-color-text-muted: #61596f;
  --ds-ui-color-accent: #4b2d91;
  --ds-ui-color-accent-hover: #392273;
  --ds-ui-color-on-accent: #fff;
  --ds-ui-color-accent-soft: #f1ebff;
  --ds-ui-color-link: var(--ds-ui-color-accent);
  --ds-ui-color-border: #e5dfee;
  --ds-ui-color-field: #fcfbfe;
  --ds-ui-color-field-spacious: var(--ds-ui-color-field);
  --ds-ui-color-field-border: #8b7b9e;
  --ds-ui-color-field-focus: #5f5f5f;
  --ds-ui-color-field-error-border: #ba5673;
  --ds-ui-color-placeholder: #6e647e;
  --ds-ui-focus-ring: var(--ds-ui-focus-ring-light);
  --ds-ui-radius-field: 10px;
  --ds-ui-color-dialog-backdrop: #171323a8;
  --ds-ui-daisy-editable: #6b42a7;
  --ds-ui-daisy-selected: #4b2d91;
  --ds-ui-daisy-proposed: #0a7449;
  --ds-ui-daisy-proposed-halo: #71e1a452;
  --ds-ui-tone-neutral-background: #f1edf3;
  --ds-ui-tone-neutral-text: #594c62;
  --ds-ui-tone-neutral-border: #d3c8d9;
  --ds-ui-tone-info-background: #f1ebff;
  --ds-ui-tone-info-text: #4b2d91;
  --ds-ui-tone-info-border: #d7c7f3;
  --ds-ui-tone-success-background: #e9f6ed;
  --ds-ui-tone-success-text: #286043;
  --ds-ui-tone-success-border: #b4d9c3;
  --ds-ui-tone-warning-background: #fcf0d8;
  --ds-ui-tone-warning-text: #7b4a16;
  --ds-ui-tone-warning-border: #e2c58e;
  --ds-ui-tone-danger-background: #fcebf0;
  --ds-ui-tone-danger-text: #84243f;
  --ds-ui-tone-danger-border: #e4afbd;
  --ds-ui-danger-action: #942744;
  --ds-ui-danger-action-hover: #76203a;
}

[data-ds-ui-field-variant="compact"] {
  --ds-ui-radius-field: var(--ds-ui-radius-field-compact);
}

@media (max-width: 767px) {
  :root {
    --ds-ui-radius-card: 20px;
    --ds-ui-radius-panel: 24px;
  }
}

@media (max-width: 599px) {
  :root { --ds-ui-radius-cta: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --ds-ui-duration-fast: 0ms;
    --ds-ui-duration-normal: 0ms;
  }
}
