:root {
  --ink: #1A1414;
  --ink-soft: #3A3030;
  --paper: #FFFDFC;
  --accent: #D7263D;
  --mint: #9FE2BF;

  --font-display: 'Momo Trust Display', sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Hero ---------- */

.hero {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  padding-block: clamp(48px, 8vw, 96px);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(24px, 3vw, 32px);
}

/* ---------- Block logo ---------- */

.logo-block {
  display: flex;
  align-items: center;
  gap: 0.22em;
  /* ~41px on a 375px phone, ~90px on iPad portrait, 128px on desktop */
  font-size: clamp(38px, 11vw, 128px);
}

.logo-block__text {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1em;
  line-height: 0.95;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.accent {
  color: var(--accent);
}

/* The peppermint is a button: click to spin (see main.js) */
.mint {
  flex: 0 0 auto;
  font-size: inherit; /* so 1.9em tracks the logo size */
  width: 1.9em;
  height: 1.9em;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

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

.mint__svg {
  display: block;
  width: 100%;
  height: 100%;
  will-change: transform;
}

/* ---------- Copy + CTA ---------- */

.intro {
  margin: 0;
  max-width: 30ch;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.intro strong {
  font-weight: 600;
  color: var(--ink);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.cta:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

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

/* ---------- Footer ---------- */

.site-footer {
  background: var(--mint);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding-block: 24px;
  font-size: 15px;
}

.site-footer p {
  margin: 0;
}

/* ---------- Breakpoints ---------- */

@media (max-width: 480px) {
  .cta {
    font-size: 17px;
    padding: 0 26px;
  }

  .site-footer__inner {
    flex-direction: column;
    font-size: 14px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
}

@media (min-width: 700px) {
  .intro {
    font-size: 24px;
  }
}

@media (min-width: 1200px) {
  .intro {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    transition: none;
  }
}
