/* Booth 77: support site in the app's Pop ’64 style.
   Mobile first: the 390 px phone is the base, 320 px tightens it, wider screens open it up.
   Pure CSS: inks, 3 px ink outlines, hard offset shadows (no blur), Ben-Day dots from radial gradients. */

/* Fonts: Anton and Archivo (SIL OFL), downloaded from Google Fonts and served from this site,
   so pages make no third-party requests. Licences sit next to the files. */
@font-face {
  font-family: "Anton";
  src: url("fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-500-800.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #FFC531;
  --ink: #111111;
  --pink: #FF4FA3;
  --turquoise: #18C1C7;
  --white: #FFFFFF;
  --paper: #F1EADB;
  --ink-soft: #3A3A3A;
  --gutter: 20px;
  --maxw: 1080px;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --text: "Archivo", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --dots-pink: radial-gradient(var(--pink) 1.7px, rgba(255, 79, 163, 0) 2.1px);
}

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

html {
  background: var(--yellow);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--text);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}

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

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 3px;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

b {
  font-weight: 800;
}

sup {
  position: relative;
  top: -0.45em;
  font-size: 0.72em;
  line-height: 0;
  vertical-align: baseline;
}

p,
li {
  text-wrap: pretty; /* no one-word last lines where supported */
}

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

.email {
  font-weight: 800;
  overflow-wrap: anywhere;
}

/* ---------- Header: brand, and the language switch where the app keeps its gear ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px var(--gutter);
}
.top--dots {
  padding-bottom: 18px;
  background-image: var(--dots-pink);
  background-size: 9px 9px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
}
.brand img {
  width: 40px;
  height: 40px;
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
}
.brand span {
  font-family: var(--display);
  font-size: 1.875rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 var(--pink);
  white-space: nowrap;
}

.lang {
  display: flex;
  gap: 8px;
  padding: 0 3px 3px 0; /* room for the chips' shadows */
}
.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 9px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--display);
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.lang a[aria-current="page"] {
  background: var(--pink);
}
.lang a:focus-visible {
  outline-offset: 6px;
}
.lang a:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

/* ---------- Home: the booth ---------- */

.home-main {
  display: flex;
  flex-direction: column;
}

.hero {
  --art-w: clamp(92px, 30vw, 124px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--art-w);
  grid-template-areas:
    "title art"
    "lead  art"
    "list  art";
  grid-template-rows: auto auto 1fr;
  column-gap: 12px;
  padding: 20px var(--gutter) 34px;
}

.hero h1 {
  grid-area: title;
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 9.8vw + 0.1rem, 2.875rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 var(--pink);
  text-wrap: balance;
}

.lead {
  grid-area: lead;
  margin: 14px 0 0;
  font-weight: 700;
  line-height: 1.38;
}

.checks {
  grid-area: list;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  align-content: start;
}
.checks li {
  position: relative;
  min-height: 28px;
  padding: 2px 0 0 38px;
  font-weight: 700;
  line-height: 1.3;
}
/* The Pass sheet's bullet: an ink check in a pink disc with an ink outline. */
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 12.5l4.2 4.2L18.5 7.8' fill='none' stroke='%23111111' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* The print: real black-and-white paper, framed on screen with an ink outline and a hard shadow. */
.hero-art {
  grid-area: art;
  position: relative;
  padding-top: 6px;
}
.strip {
  width: 84%;
  margin: 0 auto;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  transform: rotate(-4deg);
}
.strip svg {
  width: 100%;
  height: auto;
}
.strip-foot {
  font-family: "Courier Prime", "Courier New", Courier, monospace;
  font-size: 19px;
  letter-spacing: 1.4px;
  fill: #141414;
  fill-opacity: 0.85;
}

/* « 4 POSES! »: the app's 16-spike starburst, pink with an ink stroke, turned +12°. */
.burst {
  --size: clamp(66px, 21vw, 86px);
  position: absolute;
  z-index: 1;
  top: -30px;
  right: -6px;
  width: var(--size);
  height: var(--size);
  transform: rotate(12deg);
}
.burst svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.burst polygon {
  fill: var(--pink);
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linejoin: round;
}
.burst span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--display);
  font-size: calc(var(--size) * 0.2);
  line-height: 0.95;
  text-transform: uppercase;
}

/* One moment on load: the strip develops, then the starburst stamps in. */
@media (prefers-reduced-motion: no-preference) {
  .strip .photos {
    animation: develop 2.2s cubic-bezier(0.5, 0, 0.6, 1) 0.3s both;
  }
  .burst {
    animation: stamp 0.5s cubic-bezier(0.3, 1.5, 0.6, 1) 2.2s both;
  }
}
@keyframes develop {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes stamp {
  from {
    opacity: 0;
    transform: scale(0.4) rotate(0deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(12deg);
  }
}

/* The deck: turquoise, white dots that fade out before the text, a 4 px ink top border. */
.deck {
  padding: 26px var(--gutter) 6px;
  border-top: 4px solid var(--ink);
  background-color: var(--turquoise);
  background-image:
    linear-gradient(rgba(24, 193, 199, 0), var(--turquoise) 34px),
    radial-gradient(rgba(255, 255, 255, 0.35) 1.4px, rgba(255, 255, 255, 0) 1.8px);
  background-size: auto, 10px 10px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 5px);
  min-height: 60px;
  padding: 10px 16px;
  background: var(--pink);
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--display);
  font-size: 1.375rem;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  text-wrap: balance;
}
.btn:active {
  transform: translate(5px, 5px);
  box-shadow: none;
}
.btn:focus-visible {
  outline-offset: 9px; /* clears the 5 px hard shadow, so the ring reads on every side */
}

.price {
  margin: 18px 0 0;
  font-weight: 700;
  line-height: 1.4;
}

.foot {
  flex: 1 0 auto; /* the turquoise runs to the bottom of the screen, as the app's deck does */
  padding: 4px var(--gutter) 20px;
  background: var(--turquoise);
}
.foot ul,
.sheet-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}
.foot a,
.sheet-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

/* ---------- Privacy and Support: the app's white sheet ---------- */

.sheet {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  margin-top: 2px;
  background: var(--white);
  border: 4px solid var(--ink);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
}
.sheet main {
  flex: 1 0 auto;
}

.sheet-head {
  padding: 26px var(--gutter) 20px;
  border-radius: 22px 22px 0 0;
  background-image: var(--dots-pink);
  background-size: 9px 9px;
}
.sheet-head h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.25rem, 8vw + 0.6rem, 3.5rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 var(--pink);
  text-wrap: balance;
}

.tag {
  display: inline-block;
  margin: 14px 0 0;
  padding: 3px 8px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  font-weight: 800;
  font-size: 0.75rem;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag--ink {
  background: var(--ink);
  color: var(--yellow);
}

.sheet-body {
  width: 100%;
  max-width: 44rem;
  padding: 6px var(--gutter) 32px;
}
.sheet-body p {
  margin: 0 0 12px;
}
.sheet-body h2 {
  margin: 32px 0 8px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 var(--pink);
  text-wrap: balance;
}

/* The intro card of the app: white, ink outline, pink hard shadow. */
.plate {
  margin: 16px 6px 26px 0;
  padding: 18px 18px 20px;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--pink);
}
.sheet-body .plate h2 {
  margin: 0 0 10px;
  font-size: 1.875rem;
  text-shadow: 3px 3px 0 var(--pink);
}
.plate p:last-child {
  margin-bottom: 0;
}
.label-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.9375rem;
}
.label-line .tag {
  margin: 0;
}

.intro {
  font-weight: 700;
}

.bullets {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.bullets li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 24px;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.5em;
  width: 11px;
  height: 11px;
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

/* Support: questions separated by ink rules, like the app's Settings rows. */
.qa {
  padding: 22px 0 10px;
  border-top: 2px solid var(--ink);
}
.qa:first-child {
  margin-top: 22px;
}
.sheet-body .qa h2 {
  margin: 0 0 10px;
  font-family: var(--text);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: none;
}

/* Real sequences only: pink numbered discs, like the app's first-launch steps. */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 4px 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.steps li {
  counter-increment: step;
  position: relative;
  min-height: 28px;
  padding: 1px 0 0 40px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
  font-family: var(--display);
  font-size: 0.9375rem;
  line-height: 1;
}

.sheet-body .plate--help {
  margin-top: 26px;
}

.sheet-foot {
  padding: 10px var(--gutter) 22px;
  border-top: 2px solid var(--ink);
}
.sheet-foot a[aria-current="page"] {
  text-decoration: none;
}

/* ---------- 320 px tier ---------- */

@media (max-width: 359px) {
  :root {
    --gutter: 16px;
  }
  .brand {
    gap: 8px;
  }
  .brand img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }
  .brand span {
    font-size: 1.625rem;
  }
  .hero {
    --art-w: 86px;
    column-gap: 10px;
    padding-bottom: 28px;
    grid-template-areas:
      "title art"
      "lead  art"
      "list  list";
  }
  .lead {
    font-size: 1rem;
  }
  .btn {
    font-size: 1.25rem;
  }
  .plate {
    padding: 16px 14px 18px;
  }
  .sheet-body .plate h2 {
    font-size: 1.625rem;
  }
}

/* French runs longer: a slightly smaller headline sets as three clean lines on phones. */
@media (max-width: 599px) {
  .hero h1:lang(fr) {
    font-size: clamp(1.8rem, 8.6vw + 0.1rem, 2.6rem);
  }
}

/* ---------- Wider screens ---------- */

@media (min-width: 600px) {
  :root {
    --gutter: 32px;
  }
  .top,
  .hero,
  .deck,
  .foot {
    padding-left: max(var(--gutter), calc((100% - var(--maxw)) / 2));
    padding-right: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  }
  .top {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .top--dots {
    padding-bottom: 22px;
  }
  .hero {
    --art-w: 168px;
    column-gap: 40px;
    padding-top: 40px;
    padding-bottom: 52px;
  }
  .hero h1 {
    font-size: clamp(3rem, 6.4vw + 0.6rem, 4.25rem);
  }
  .lead {
    margin-top: 20px;
    font-size: 1.3125rem;
  }
  .checks {
    margin-top: 24px;
    font-size: 1.125rem;
  }
  .burst {
    --size: 104px;
    top: -26px;
    right: -12px;
  }
  .deck {
    padding-top: 34px;
  }
  .btn {
    display: inline-flex;
    width: auto;
    padding: 12px 30px;
    font-size: 1.5rem;
  }
  .price {
    font-size: 1.125rem;
  }
  .sheet {
    width: calc(100% - 2 * var(--gutter));
    max-width: 48rem;
    margin: 6px auto 0;
    box-shadow: 8px 0 0 var(--ink);
  }
  .sheet-head {
    padding-top: 34px;
    padding-bottom: 24px;
  }
  .sheet-body {
    padding-bottom: 44px;
  }
  .sheet-body h2 {
    font-size: 1.875rem;
  }
}

@media (min-width: 960px) {
  .hero {
    --art-w: 200px;
    grid-template-columns: minmax(0, 640px) var(--art-w);
    column-gap: clamp(48px, 8vw, 128px);
    padding-top: 56px;
    padding-bottom: 72px;
  }
  .hero h1 {
    font-size: 5.75rem;
  }
  .burst {
    --size: 120px;
    top: -34px;
    right: -16px;
  }
  .deck {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    gap: 18px 32px;
    padding-top: 40px;
  }
  .price {
    margin: 0;
  }
}
