/* Isla's help and privacy pages, in the game's own look: Lilita One headings, cream paper on wooden edges, gold
   accents, deep red-brown and leaf-green buttons (never pale), and the game's rendered art. No scripts. */
@font-face { font-family: 'Island Display'; src: url('./assets/juice/LilitaOne-Regular.ttf') format('truetype'); font-display: swap; }
:root {
  color-scheme: light;
  --display: 'Island Display', 'Trebuchet MS', system-ui, sans-serif;
  --ink: #3a2a1d; --ink-soft: #4f3b29; --paper: #fff2d6; --sand: #fbe7bf; --cream: #fffaf0;
  --wood: #895b32; --wood-dark: #674426; --gold: #f3cf6a; --gold-deep: #e3b658;
  --red: #8b3628; --red-dark: #6b251c; --green: #2f5a2c; --green-dark: #1f441d; --teal: #1f5f57; --sea: #2c8f8a;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--sand);
}
* { box-sizing: border-box; }
body { margin: 0; background: linear-gradient(180deg, #bfe8e0 0, var(--sand) 24rem, var(--sand) 100%); line-height: 1.6; }
a { color: var(--teal); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 2px; }
a:hover { color: var(--red); }
a:focus-visible, .button:focus-visible, .topic:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 12px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; color: var(--ink); line-height: 1.15; }

/* Buttons: solid, dark enough for cream text, with a wooden lip like the game's plates. */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.25rem; border-radius: 999px;
  font-family: var(--display); font-size: 1.1rem; font-weight: 400; text-decoration: none; color: var(--cream); border: 3px solid var(--wood-dark);
  box-shadow: 0 4px 0 var(--wood-dark), 0 8px 18px #3a2a1d33; transition: transform .12s ease, box-shadow .12s ease; }
.button:hover { color: var(--cream); transform: translateY(-1px); }
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--wood-dark), 0 3px 8px #3a2a1d33; }
.button-primary { background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.button-green { background: var(--green); }
.button-green:hover { background: var(--green-dark); }

/* The help page. */
.hero { background: var(--teal); border-bottom: 6px solid var(--wood); }
.hero-art { display: block; max-width: 1280px; margin: 0 auto; }
.hero-art img { display: block; width: 100%; height: auto; }
.hero-band { display: grid; justify-items: center; gap: .5rem; padding: 1.25rem 1rem 3rem; text-align: center; color: var(--cream);
  background: linear-gradient(180deg, var(--teal) 0%, #164a44 100%); }
.hero h1 { margin: 0; font-size: clamp(2.1rem, 7vw, 3.2rem); color: var(--cream); text-shadow: 0 3px 0 #0d2f2a, 0 6px 14px #0006; }
.hero-lead { max-width: 34rem; margin: 0; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: .75rem 0 0; }
.button-quiet { background: var(--wood-dark); border-color: #4a2f19; box-shadow: 0 4px 0 #4a2f19, 0 8px 18px #3a2a1d33; }
.button-quiet:hover { background: #553720; }

.support-main { max-width: 56rem; margin: -1.75rem auto 0; padding: 0 1rem 3rem; position: relative; }
.intro { margin: 0 auto 1.5rem; padding: 1rem 1.25rem; max-width: 44rem; text-align: center; background: var(--paper); border: 3px solid var(--wood);
  border-radius: 18px; box-shadow: 0 6px 0 var(--wood-dark), 0 12px 24px #3a2a1d22; }

.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 0 0 2rem; }
.topic { display: grid; justify-items: center; gap: .35rem; padding: 1rem .5rem .9rem; text-align: center; text-decoration: none; color: var(--ink);
  background: var(--cream); border: 3px solid var(--wood); border-radius: 18px; box-shadow: 0 5px 0 var(--wood-dark);
  transition: transform .15s ease, box-shadow .15s ease; }
.topic:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 8px 0 var(--wood-dark); }
.topic img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 3px 2px #52351d33); }
.topic span { font-family: var(--display); font-size: 1.05rem; line-height: 1.2; }

.card { margin: 0 0 1.5rem; padding: 1.25rem 1.25rem 1.1rem; background: var(--paper); border: 3px solid var(--wood); border-radius: 22px;
  box-shadow: 0 6px 0 var(--wood-dark), 0 14px 28px #3a2a1d1f; scroll-margin-top: 1rem; }
.card h2 { display: flex; align-items: center; gap: .6rem; margin: 0 0 .75rem; font-size: 1.65rem; }
.card h2 img { width: 44px; height: 44px; object-fit: contain; flex: none; filter: drop-shadow(0 3px 2px #52351d33); }
.card p { margin: 0 0 .8rem; }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.steps li { counter-increment: step; position: relative; padding: .7rem .9rem .7rem 3.4rem; background: var(--cream); border-radius: 14px; border: 2px solid #d6bd8e; }
.steps li::before { content: counter(step); position: absolute; left: .7rem; top: .62rem; width: 2rem; height: 2rem; display: grid; place-items: center;
  font-family: var(--display); color: var(--ink); background: var(--gold); border: 2px solid var(--wood); border-radius: 50%; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before { content: ''; position: absolute; left: .2rem; top: .45rem; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe9a8, var(--gold-deep) 60%, #b98a2e); box-shadow: 0 1px 0 var(--wood-dark); }

.contact { display: grid; gap: 1rem; align-items: center; background: linear-gradient(135deg, var(--paper), #ffe7b3); }
.contact-marco { width: 132px; height: auto; justify-self: center; filter: drop-shadow(0 8px 10px #3a2a1d55); }
.contact h2 { margin-top: 0; }
.fine { font-size: .95rem; color: var(--ink-soft); }

.site-footer { padding: 1.5rem 1rem 2.5rem; text-align: center; font-size: .95rem; color: var(--ink-soft); border-top: 4px solid var(--wood); background: #f5d9a3; }

@media (min-width: 720px) {
  .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact { grid-template-columns: 170px 1fr; }
  .contact-marco { width: 160px; }
  .card { padding: 1.6rem 1.8rem 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { .button, .topic { transition: none; } .topic:hover, .button:hover { transform: none; } }

/* The privacy page (and any page without the help layout): one paper sheet on a wooden edge. */
body:not(.support-page) main { max-width: 46rem; margin: 2rem auto; padding: 1.5rem 1.4rem 2rem; background: var(--paper); border: 3px solid var(--wood);
  border-radius: 22px; box-shadow: 0 6px 0 var(--wood-dark), 0 14px 28px #3a2a1d1f; }
body:not(.support-page) main h1 { font-size: 2.3rem; margin: .5rem 0 .25rem; }
body:not(.support-page) main h2 { font-size: 1.45rem; margin: 1.6rem 0 .4rem; }
.brand { display: inline-block; font-family: var(--display); font-size: 1.15rem; font-weight: 400; color: var(--cream); text-decoration: none; padding: .35rem .9rem;
  background: var(--teal); border: 2px solid var(--wood-dark); border-radius: 999px; }
.brand:hover { color: var(--cream); background: #164a44; }
body:not(.support-page) footer { margin-top: 2rem; padding-top: 1rem; border-top: 2px solid #d6bd8e; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 480px) { body:not(.support-page) main { margin: 1rem .75rem; padding: 1.2rem 1rem 1.5rem; } }
