/*
 * Cottagecore — tokens
 * Generated from data/internet/styles/cottagecore.json by design-ontology. Do not edit.
 * Use: put data-style="cottagecore" on <html> or on any container.
 */
[data-style="cottagecore"] {
  --color-bg: #F6EEDC;
  --color-surface: #FBF6EA;
  --color-text: #2F3B2A;
  --color-muted: #5B6652;
  --color-primary: #7D9170;
  --color-accent: #D9A5A0;
  --color-border: #DDD2B8;
  --font-sans: "Lora", "Crimson Pro", Georgia, serif;
  --font-display: "Cormorant Garamond", "Fraunces", Georgia, serif;
  --border-radius: 20px;
  --border-width: 1px;
  --shadow-elevation: 0 8px 24px rgba(47, 59, 42, 0.12);
  --backdrop-filter: none;
  --space-unit: 8px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration: 600ms;
  --type-ratio: 1.25;
  --size-small: 13.6px;
  --size-h3: 26.56px;
  --size-h2: 33.2px;
  --size-h1: 41.5px;
  --color-on-bg: #2F3B2A;
  --color-on-surface: #2F3B2A;
  --color-on-primary: #000000;
  --color-on-accent: #2F3B2A;
  --color-muted-on-bg: #5B6652;
  --color-muted-on-surface: #5B6652;
  --color-link: #2F3B2A;
  --color-link-on-surface: #2F3B2A;
  --display-weight: 600;
  --subhead-weight: 400;
  --body-weight: 400;
  --strong-weight: 600;
  --label-weight: 400;
  --display-tracking: 0.01em;
  --display-leading: 1.15;
  --display-case: none;
  --body-leading: 1.7;
  --body-size: 17px;
  --icon-stroke: 1.5;
  --ground: repeating-linear-gradient(90deg, color-mix(in oklab, var(--color-on-bg) 40%, transparent) 0 8px, transparent 8px 14px) 0 16px / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, color-mix(in oklab, var(--color-on-bg) 40%, transparent) 0 8px, transparent 8px 14px) 0 calc(100% - 16px) / 100% 1px no-repeat,
    linear-gradient(to bottom, rgba(255,255,255,.4), transparent 30%, rgba(0,0,0,.14)),
    radial-gradient(50% 60% at 82% 45%, color-mix(in oklab, var(--color-primary) 18%, transparent), transparent 70%),
    repeating-linear-gradient(0deg, color-mix(in oklab, var(--color-on-bg) 9%, transparent) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, color-mix(in oklab, var(--color-on-bg) 7%, transparent) 0 1px, transparent 1px 3px),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'220'%20height%3D'220'%3E%3Cfilter%20id%3D'n'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'.8'%20numOctaves%3D'3'%20stitchTiles%3D'stitch'%2F%3E%3CfeColorMatrix%20values%3D'0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.15%200%200%200%200'%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23n)'%2F%3E%3C%2Fsvg%3E") 0 0 / 220px 220px repeat,
    var(--color-bg);
}

/*
 * Reference rules. They show how the tokens combine; replace them with your own components.
 * Text takes the --color-on-* token of the field below it. Do not put --color-text on a field
 * other than the one the style wrote it for.
 */
[data-style="cottagecore"] {
  background: var(--color-bg);
  color: var(--color-on-bg);
  font-family: var(--font-sans);
  font-size: var(--body-size, 16px);
  font-weight: var(--body-weight, 400);
  line-height: var(--body-leading, 1.5);
}
[data-style="cottagecore"] :where(h1, h2, h3) {
  font-family: var(--font-display);
  font-weight: var(--display-weight, 700);
  letter-spacing: var(--display-tracking, 0);
  line-height: var(--display-leading, 1.1);
  text-transform: var(--display-case, none);
}
[data-style="cottagecore"] :where(h3) {
  font-weight: var(--subhead-weight, 600);
}
[data-style="cottagecore"] :where(strong, b) {
  font-weight: var(--strong-weight, 700);
}
[data-style="cottagecore"] :where(button, label, .label) {
  font-weight: var(--label-weight, 600);
}
[data-style="cottagecore"] :where(.surface) {
  padding: calc(var(--space-unit) * 3);
  background: var(--color-surface);
  color: var(--color-on-surface);
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-elevation);
  -webkit-backdrop-filter: var(--backdrop-filter);
  backdrop-filter: var(--backdrop-filter);
}
[data-style="cottagecore"] :where(.ground) {
  background: var(--ground, var(--color-bg));
  color: var(--color-on-bg);
}
[data-style="cottagecore"] :where(.ground-copy) {
  background: var(--color-bg);
  color: var(--color-on-bg);
  box-shadow: 0 0 1.25rem 1rem var(--color-bg);
  border-radius: .5rem;
}
[data-style="cottagecore"] :where(.action) {
  padding: calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 3);
  background: var(--color-primary);
  color: var(--color-on-primary);
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--border-radius);
  font: inherit;
  font-weight: var(--label-weight, 600);
  transition: all var(--duration) var(--ease);
}
[data-style="cottagecore"] :where(.muted) {
  color: var(--color-muted-on-bg);
}
[data-style="cottagecore"] :where(.surface .muted) {
  color: var(--color-muted-on-surface);
}
[data-style="cottagecore"] :where(a:not(.action)) {
  color: var(--color-link);
}
[data-style="cottagecore"] :where(.surface a:not(.action)) {
  color: var(--color-link-on-surface);
}
[data-style="cottagecore"] :where(.icon) {
  width: 1.5em;
  height: 1.5em;
  --icon-knock: var(--color-bg);
}
