/* ==========================================================================
   Micro Wallet Folding Instructions — Un-Merch
   Pure CSS, no frameworks, no external assets.
   ========================================================================== */

:root {
  --color-bg: #f4f5f7;
  --color-surface: #ffffff;
  --color-text: #1f2328;
  --color-text-muted: #6b7280;
  --color-border: #eceef1;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 32px rgba(16, 24, 40, 0.08);
  /* Bumped 25 Jul (700 -> 900): the folding-steps image was unreadable on a
     large monitor at the old width — see .hero-image below. Card widened to
     give the bigger image room without crowding the edges. */
  --max-width: 900px;

  /* Site brand colours, matching un-merch.com / /shop/ — used by the new
     header + footer added 25 Jul so this page doesn't look like a orphaned
     standalone doc. */
  --brand-teal: #10B69A;
  --brand-navy: #2A2A5C;
  --brand-disp: "Tektur", sans-serif;
  --brand-body: "Inter", system-ui, sans-serif;
  --wrap: clamp(20px, 5vw, 80px);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 20px 72px;
}

.card {
  width: 100%;
  max-width: var(--max-width);
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 48px 40px 40px;
}

.title {
  margin: 0 0 36px;
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.image-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.hero-image {
  /* Real asset (added 25 Jul) is a tall multi-step sheet, ~9:16, not the
     3:4 this was originally written for — dropped the forced aspect-ratio
     and object-fit:cover so no folding step gets cropped off. */
  /* Widened 380 -> 700 (25 Jul): source file is 900x1600, so 380px displayed
     roughly 8 stacked folding-step captions at ~42% scale — illegible on a
     large monitor. 700px is ~78% of native width, close to full clarity,
     without the image dwarfing the surrounding page. */
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.10);
  background-color: var(--color-bg);
}

.content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.content p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--color-text);
}

.note {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ==========================================================================
   Header + footer — added 25 Jul to match un-merch.com / /shop/
   ========================================================================== */

.hdr {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 14px var(--wrap);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.hdr img {
  height: 18px;
  width: auto;
}
.hdr__tag {
  font-family: var(--brand-body);
  font-weight: 800;
  color: var(--brand-teal);
  letter-spacing: 0.02em;
  font-size: 15px;
  text-transform: uppercase;
}

.ftr {
  text-align: center;
  padding: clamp(40px, 6vw, 64px) var(--wrap) 40px;
}
.ftr__back {
  display: inline-block;
  color: var(--color-text-muted);
  font-family: var(--brand-body);
  font-size: 14px;
  text-decoration: none;
}
.ftr__back:hover {
  color: var(--brand-teal);
}
.ftr__legal {
  border-top: 1px solid var(--color-border);
  margin: 24px auto 0;
  padding-top: 24px;
  max-width: 640px;
  color: #aeb2b8;
  font-size: 12px;
  line-height: 1.9;
}

/* ==========================================================================
   Responsive adjustments
   ========================================================================== */

@media (max-width: 600px) {
  .page {
    padding: 28px 16px 56px;
  }

  .card {
    padding: 32px 22px 28px;
    border-radius: var(--radius-md);
  }

  .title {
    font-size: 1.6rem;
    margin-bottom: 28px;
  }

  .image-wrap {
    margin-bottom: 32px;
  }

  .hero-image {
    max-width: 340px;
  }

  .content {
    gap: 16px;
    margin-bottom: 28px;
  }

  .content p {
    font-size: 1rem;
  }
}

@media (max-width: 560px) {
  .hdr__tag {
    display: none;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .card {
    padding: 40px 32px 32px;
  }
}
