/* Cheeky Pixel — shared design system
   Professional, but with a grin. */

:root {
  --bg-top: #e89a7c;
  --bg-bot: #cf7350;
  --ink: #241a16;
  --ink-soft: #6b554b;
  --cream: #fff7f1;
  --cream-edge: rgba(36, 26, 22, 0.08);

  /* mascot rainbow */
  --r-green:  #2fb96a;
  --r-blue:   #37a8e6;
  --r-purple: #8b5cf6;
  --r-yellow: #f7b733;
  --r-pink:   #ec4d78;

  --shadow: 0 18px 40px -22px rgba(36, 26, 22, 0.55);
  --radius: 22px;
  --maxw: 1080px;

  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body: "Figtree", system-ui, -apple-system, sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  color: var(--ink);
  line-height: 1.6;
  background: linear-gradient(160deg, var(--bg-top) 0%, var(--bg-bot) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

/* ---- eyebrow / labels ---- */
.eyebrow {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.72;
  margin: 0 0 1.1rem;
}

/* ---- headings ---- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
}

/* signature: logo-style chromatic offset */
.glitch {
  color: var(--ink);
  text-shadow:
    0.035em 0.045em 0 var(--r-green),
    0.075em 0.09em 0 var(--r-blue),
    0.115em 0.135em 0 var(--r-pink);
}

/* ---- header ---- */
.site-header {
  padding: 26px 0 4px;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand .chip { width: 22px; height: 22px; }
.top-nav {
  display: flex;
  gap: 22px;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.top-nav a {
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.15s ease;
}
.top-nav a:hover { opacity: 1; }

/* ---- hero ---- */
.hero {
  text-align: center;
  padding: 40px 0 66px;
}
.hero .logo {
  width: 560px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 30px;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(36, 26, 22, 0.28));
  animation: float 6s ease-in-out infinite;
}
.hero-headline {
  font-size: clamp(2.1rem, 6.2vw, 4rem);
  max-width: 15ch;
  margin: 0 auto 22px;
}
.hero-lead {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0 auto 34px;
}

/* ---- buttons ---- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.btn {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  display: inline-block;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 10px 22px -12px rgba(36, 26, 22, 0.9);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -12px rgba(36, 26, 22, 0.9);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 247, 241, 0.4);
}

/* ---- sections ---- */
.section {
  padding: 30px 0;
}
.section-head {
  max-width: 46ch;
  margin: 0 0 30px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-top: 8px;
}

/* ---- cards ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--cream);
  border: 1px solid var(--cream-edge);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.card .chip {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
}
.card h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* rounded-square "pixel" chip */
.chip {
  display: inline-block;
  border-radius: 30%;
  background: linear-gradient(150deg, var(--r-blue), var(--r-pink));
}
.chip.c-green  { background: linear-gradient(150deg, var(--r-green), var(--r-blue)); }
.chip.c-purple { background: linear-gradient(150deg, var(--r-purple), var(--r-pink)); }
.chip.c-yellow { background: linear-gradient(150deg, var(--r-yellow), var(--r-pink)); }

/* ---- call-to-action panel ---- */
.cta-panel {
  background: var(--cream);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 54px 40px;
  text-align: center;
  margin: 30px 0 10px;
}
.cta-panel h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: 14px;
}
.cta-panel p {
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0 auto 28px;
  font-size: 1.08rem;
}
.mail-link {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(1.05rem, 3vw, 1.5rem);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--r-pink);
  padding-bottom: 3px;
  word-break: break-word;
}
.mail-link:hover { border-bottom-color: var(--ink); }

/* ---- support-specific ---- */
.support-hero {
  text-align: center;
  padding: 40px 0 20px;
}
.support-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin-bottom: 16px;
}
.support-hero p {
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto;
  font-size: 1.1rem;
}
.faq {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin: 10px auto 0;
}
.faq details {
  background: var(--cream);
  border: 1px solid var(--cream-edge);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 4px 24px;
}
.faq summary {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.5rem;
  color: var(--r-pink);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 0 0 20px;
  color: var(--ink-soft);
}
.tip-line {
  text-align: center;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 26px auto 0;
  font-size: 0.98rem;
}

/* ---- footer ---- */
.site-footer {
  margin-top: 40px;
  padding: 40px 0 48px;
}
.pixel-rule {
  height: 8px;
  border-radius: 999px;
  margin-bottom: 30px;
  background: linear-gradient(90deg,
    var(--r-green), var(--r-blue), var(--r-purple),
    var(--r-yellow), var(--r-pink));
  opacity: 0.9;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.foot-nav a { text-decoration: none; opacity: 0.78; }
.foot-nav a:hover { opacity: 1; }
.copy {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---- motion / a11y ---- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
a:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  .hero .logo { animation: none; }
  * { scroll-behavior: auto; }
}

/* ---- responsive ---- */
@media (max-width: 800px) {
  .cards { grid-template-columns: 1fr; }
  .top-nav { display: none; }
}
@media (max-width: 480px) {
  .cta-panel { padding: 40px 24px; }
}
