/* Values come from Figma frames 92:558 (mobile) and 81:320 (desktop).
   Fonts and colours are copied from the Shopify theme's assets/. */

@font-face {
  font-family: 'Stack Sans Text';
  src: url('/fonts/StackSansText-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --color-ink: #111;
  --color-green: #a1da83;
  --page-padding: 24px;
  --group-gap: 16px;
  --text-size: 18px;

  color-scheme: light;
  background: var(--color-green);
  color: var(--color-ink);
  font-family: 'Stack Sans Text', system-ui, sans-serif;
  font-size: var(--text-size);
  text-size-adjust: 100%;
}

@media (min-width: 768px) {
  :root {
    --page-padding: 64px;
    --group-gap: 24px;
    --text-size: 24px;
  }
}

* {
  box-sizing: border-box;
}

body,
h1,
p {
  margin: 0;
}

h1 {
  display: flex;
  justify-content: center;
  width: 100%;
  font: inherit;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: var(--page-padding);
  min-height: 100svh;
  padding: var(--page-padding);
  text-align: center;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

.group {
  display: flex;
  flex-direction: column;
  gap: var(--group-gap);
  text-wrap: balance;
}

a {
  display: inline-block;
  padding-block: 0.5em;
  margin-block: -0.5em;
  color: inherit;
  text-decoration: none;
}

a span {
  text-decoration: underline;
  text-decoration-thickness: from-font;
  text-underline-position: from-font;
}

a:hover span {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
