/* Design tokens, reset and global typography. */

@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/archivo-black-latin-ext-9e873e05.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/archivo-black-latin-e6dca12e.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;
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 500 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/nunito-sans-latin-ext-1860afb6.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 500 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/nunito-sans-latin-b4b42f2f.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 {
  --app-width: 1120px;
  --background: oklch(0.975 0.014 225);
  --surface: oklch(0.995 0.004 85);
  --surface-sunk: oklch(0.97 0.018 225);
  --surface-meta: oklch(0.975 0.014 225);
  --interactive-soft: oklch(0.94 0.035 245);
  --ink: oklch(0.19 0.04 255);
  --muted-ink: oklch(0.47 0.035 255);
  --border: oklch(0.78 0.035 235);
  --primary: oklch(0.52 0.19 255);
  --primary-dark: oklch(0.43 0.18 255);
  --review: oklch(0.72 0.16 55);
  --review-soft: oklch(0.94 0.055 62);
  --success: oklch(0.62 0.15 148);
  --success-soft: oklch(0.93 0.07 148);
  --coral: oklch(0.76 0.16 30);
  --green: oklch(0.76 0.13 145);
  --blue: oklch(0.74 0.13 240);
  --danger: oklch(0.52 0.19 28);
  --danger-soft: oklch(0.94 0.055 28);
  --panel-inline: 20px;
  --panel-body: 24px;
  --page-title-size: clamp(36px, 4vw, 46px);
  --shadow-control: 4px 4px 0 var(--ink);
  --shadow-panel: 6px 7px 0 oklch(0.74 0.06 240 / 0.55);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  color: var(--ink);
  background: var(--background);
  font-family: "Nunito Sans", ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--background);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2,
.brand {
  font-family: "Archivo Black", "Arial Black", "Nunito Sans", ui-rounded, sans-serif;
  letter-spacing: -0.035em;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: max(14px, calc((100vw - var(--app-width)) / 2));
  padding: 9px 13px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 13px;
  font-weight: 900;
  translate: 0 calc(-100% - 18px);
}

.skip-link:focus {
  translate: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.brand-mark {
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 11px 8px 12px 8px;
  color: white;
  background: var(--primary);
  box-shadow: 3px 3px 0 var(--ink);
  rotate: -5deg;
}

.kicker,
.dialog-sticker {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--review-soft);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
