/* Fold My Laundry site: the game's care-label cards on its linen tablecloth. */
@font-face {
  font-family: "Fredoka";
  src: url("assets/Fredoka.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --cream: #fcf5e6;
  --ink: #24304a;
  --teal: #1a7a87;
  --gold: #faba29;
  --cloth: #b9cbe2;
  --muted: rgba(36, 48, 74, 0.68);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cloth) url("assets/cloth.jpg") center / 900px repeat;
  font: 18px/1.55 "Fredoka", ui-rounded, -apple-system, system-ui, sans-serif;
}

a { color: var(--teal); font-weight: 600; }

main { max-width: 760px; margin: 0 auto; padding: 48px 16px 64px; }

/* A care label: cream card, dashed teal stitching just inside the edge. */
.card {
  position: relative;
  background: var(--cream);
  border-radius: 22px;
  padding: 36px 32px;
  margin: 0 0 28px;
  box-shadow: 0 8px 24px rgba(20, 30, 50, 0.22);
}
.card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px dashed rgba(26, 122, 135, 0.75);
  border-radius: 15px;
  pointer-events: none;
}

.caps {
  margin: 0 0 6px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 700; }
h1 { font-size: clamp(44px, 9vw, 68px); }
h2 { font-size: 30px; margin-bottom: 14px; }
h3 { font-size: 21px; margin-bottom: 4px; }

.stitch { border: 0; border-top: 2px dashed rgba(26, 122, 135, 0.6); margin: 24px 0; }

/* Hero */
.hero { text-align: center; padding-top: 8px; }
.pile { display: flex; flex-direction: column; align-items: center; margin-bottom: -6px; }
.pile img { display: block; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.2)); }
.pile img + img { margin-top: -62px; }
/* Stacked a little crooked, like the pile on the game's title screen. */
.pile img:nth-child(1) { transform: rotate(2deg) translateX(5px); }
.pile img:nth-child(2) { transform: rotate(-4deg) translateX(-3px); }
.pile img:nth-child(3) { transform: rotate(3deg) translateX(7px); }
.pile img:nth-child(4) { transform: rotate(-2deg) translateX(-5px); }
.hero .card { text-align: left; }
.hero-top { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.hero-top img { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.lede { font-size: 21px; color: var(--muted); margin: 16px 0 24px; }

.button {
  display: block;
  text-align: center;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-size: 21px;
  font-weight: 600;
  border-radius: 999px;
  padding: 15px 24px;
}
.button.outline { background: transparent; color: var(--teal); border: 2px solid var(--teal); margin-top: 12px; font-size: 18px; padding: 11px 24px; }

/* What you do */
.steps { display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; }
.step img { width: 96px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.18)); }
.step p { margin: 0; color: var(--muted); }

/* Customer quotes, in the game's review-card style */
.quotes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.quote { margin: 0; padding: 18px 20px; border-radius: 16px; background: rgba(26, 122, 135, 0.08); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 20px; }
.stars .off { color: rgba(36, 48, 74, 0.2); }
.quote blockquote { margin: 6px 0 4px; font-size: 18px; }
.quote figcaption { color: var(--muted); font-size: 15px; }
.note { color: var(--muted); font-size: 15px; margin: 14px 0 0; }

/* Support */
.faq h3 { margin-top: 22px; }
.faq h3:first-of-type { margin-top: 0; }
.faq p { margin: 4px 0 0; color: var(--muted); }

/* Plain text pages (privacy) */
.prose h2 { font-size: 23px; margin: 28px 0 6px; }
.prose p { margin: 0 0 12px; }
.date { color: var(--muted); margin-top: 8px; }

footer { text-align: center; color: var(--ink); font-size: 15px; }
footer a { margin: 0 8px; }
.back { display: inline-block; margin-bottom: 18px; color: var(--ink); text-decoration: none; }

@media (max-width: 520px) {
  main { padding-top: 28px; }
  .card { padding: 30px 22px; }
  .step { grid-template-columns: 72px 1fr; gap: 14px; }
  .step img { width: 72px; }
  .pile img + img { margin-top: -48px; }
}
