/* superawesome.shop: design tokens, fonts and base reset.
   Imported by both the customer site and admin. Phone first: base rules target
   360-430px wide; only min-width media queries belong anywhere in this project. */


:root {
  color-scheme: light;

  /* Her sign */
  --paper: #fdf8ea;
  --red: #c8202f;
  --red-deep: #9e1a26;
  --green: #2f5a2a;
  --gold: #c9a03c;
  --ink: #3a2f2a;

  /* Derived from the sign */
  --card: #fffdf6;              /* paper-white card fill */
  --ink-soft: #62544c;          /* secondary text, still 4.5:1+ on paper */
  --red-wash: #fbe9e4;          /* quiet red tint for notices */
  --green-wash: #edf1dd;        /* quiet green tint for good news */
  --on-red: #fffdf6;

  /* Type */
  --font-script: "Dancing Script", "Snell Roundhand", "Apple Chancery", cursive;
  --font-ui: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape: slightly uneven corners, like the hand-painted ribbon on the sign */
  --radius: 24px 20px 26px 19px / 20px 26px 19px 24px;
  --radius-sm: 14px 12px 15px 11px / 12px 15px 11px 14px;
  --ribbon: 2px solid var(--red);
  --ribbon-shadow: 0 1px 0 rgba(158, 26, 38, 0.28), 0 6px 16px rgba(120, 70, 40, 0.09);

  /* Layout */
  --tap: 48px;
  --gutter: 16px;
  --column: 480px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* The paper colour sits on html as well as body so that multiply-blended art
   always has it as a backdrop, whatever the browser does with the canvas. */
html {
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, p, ul, ol, figure, dl, dd {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

a {
  color: var(--red-deep);
  touch-action: manipulation;
}

[hidden] {
  display: none !important;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

/* All sign art and all designs use this, so white melts into whatever is behind.
   Do not put isolation, transform, filter or opacity < 1 on an ancestor of one of
   these unless the intended background is inside that ancestor. */
.blend {
  mix-blend-mode: multiply;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
