/* Design tokens. The reference screen is 375 design px wide, so 1 design px
   scales with the viewport and stops growing once the viewport reaches 375px. */
:root {
  --px: min(calc(100vw / 375), 1px);

  /* palette */
  --accent: #ff4f33;
  --accent-soft: #ff6a45;
  --accent-orange: #ff7a40;
  --accent-ring: #ffc1b7;
  --tag-bg: #fff0ec;
  --tab-from: #fff4f0;
  --tab-to: #ffeae2;
  --bg: #f5f5f5;
  --bg-outer: #ebebeb;
  --surface: #ffffff;
  --text: #222222;
  --text-body: #333333;
  --text-muted: #666666;
  --text-faint: #999999;
  --line-dash: #dddddd;
  --line-track: #f5f5f5;
  --dot-idle: #e5e5e5;
  --control-line: #dcdcdc;
  --control-bg: #fafafa;
  --buy-from: #ff8042;
  --buy-to: #ff6333;

  /* type */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;

  /* motion */
  --dur-fast: 120ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* layout */
  --gutter: calc(8 * var(--px));
  --card-pad: calc(12 * var(--px));
  --radius-card: calc(12 * var(--px));
  --bar-height: calc(56 * var(--px));
  --column: calc(375 * var(--px));
}
