:root {
  --color-bg: #ffffff;
  --color-paper: #f4f4f2;
  --color-mist: #eaeae8;
  --color-line: #e5e5e3;
  --color-ink: #0a0a0a;
  --color-muted: #3d3d3d;
  --color-ghost: #9e9e9a;
  --color-btn: #f0f0ee;
  --color-btn-hover: #e7e7e4;
  --color-error: #a31b16;
  --color-watermark: #dededb;

  --font: Inter, Helvetica, Arial, sans-serif;
  --header-height: 72px;
  --touch-min: 44px;
  --radius: 0;

  --section-x: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --rhythm: clamp(2.5rem, 5vw, 4.5rem);
  --container: min(80rem, calc(100% - 2 * var(--section-x)));
  --container-narrow: min(62.5rem, calc(100% - 2 * var(--section-x)));
  --container-form: min(30rem, calc(100% - 2 * var(--section-x)));

  --text: 1.125rem;
  --lead: 1.125rem;
  --small: 1rem;
  --h1: clamp(3.5rem, 12vw, 7.5rem);
  --h2: clamp(2.5rem, 6vw, 4.75rem);
  --h3: 1.1875rem;
  --h-close: clamp(2.5rem, 6vw, 5.25rem);

  --z-page: 1;
  --z-nav: 55;
  --z-header: 60;
  --z-toggle: 70;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --duration: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration: 0.01ms;
  }
}

@media (max-width: 576px) {
  :root {
    --header-height: 56px;
    --section-x: 1.35rem;
    --section-y: 3.25rem;
    --rhythm: 1.75rem;
    --text: 1.0625rem;
    --lead: 1.0625rem;
    --small: 0.9375rem;
    --h1: clamp(2.85rem, 12.5vw, 3.4rem);
    --h2: clamp(2.15rem, 9vw, 2.6rem);
    --h3: 1.125rem;
    --h-close: clamp(2.2rem, 9.5vw, 2.75rem);
  }
}

@media (min-width: 577px) and (max-width: 767px) {
  :root {
    --header-height: 60px;
    --section-x: 1.6rem;
    --section-y: 3.6rem;
    --rhythm: 2rem;
    --text: 1.0625rem;
    --lead: 1.0625rem;
    --h1: clamp(3rem, 9vw, 3.6rem);
    --h2: clamp(2.35rem, 6vw, 2.85rem);
    --h3: 1.1875rem;
    --h-close: clamp(2.4rem, 6vw, 3rem);
  }
}

@media (min-width: 1441px) {
  :root {
    --container: min(80rem, calc(100% - 8rem));
    --container-narrow: min(62.5rem, calc(100% - 8rem));
    --section-x: 4rem;
  }
}
