:root {
  --paper: #fbfaf7;
  --white: #fff;
  --ink: #171717;
  --muted: #66635f;
  --line: #e6e2dc;
  --soft: #f2efe9;
  --coral: #e17d73;
  --coral-dark: #c85f55;
  --blue: #5ca1cf;
  --green: #71bc3b;
  --font: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.wordmark-mark {
  width: 16px;
  height: 16px;
  border: 2px solid var(--ink);
  background: var(--coral);
  box-shadow: 3px 3px 0 var(--ink);
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a:hover,
nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--coral-dark); }

.nav-contact {
  padding: 10px 14px;
  border: 1px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.nav-contact:hover,
.nav-contact:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.hero {
  min-height: 690px;
  padding-block: 74px 86px;
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  align-items: center;
  gap: 70px;
}

h1, h2, p { text-wrap: pretty; }

h1 {
  margin: 0;
  font-size: clamp(3.8rem, 7.1vw, 6.7rem);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: -0.095em;
}

.hero h1,
.support-title {
  color: var(--coral);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1;
  white-space: nowrap;
}

.hero-intro {
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.button {
  min-height: 54px;
  padding: 13px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border: 2px solid var(--ink);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 5px 5px 0 var(--coral);
}

.button:hover,
.button:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--coral);
}

.hero-art {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  isolation: isolate;
  border: 2px solid var(--ink);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}

.pixel-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.6;
  background-image: linear-gradient(var(--soft) 1px, transparent 1px), linear-gradient(90deg, var(--soft) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: auto 12% 8% 12%;
  z-index: -1;
  height: 22px;
  border-radius: 50%;
  background: rgba(23, 23, 23, 0.09);
  filter: blur(8px);
}

.hero-art img {
  position: absolute;
  z-index: 1;
  width: 105%;
  height: auto;
  max-width: none;
  left: -4%;
  top: 2%;
  animation: float 5s ease-in-out infinite;
}

.pixel {
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 12px;
}

.pixel-coral { background: var(--coral); }
.pixel-blue { background: var(--blue); }
.pixel-green { background: var(--green); }
.pixel-one { right: 11%; top: 10%; }
.pixel-two { left: 9%; bottom: 13%; }
.pixel-three { right: 9%; top: 38%; }

.contact-section h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: -0.08em;
}

.contact-section {
  padding-block: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.contact-card {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--coral);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 var(--ink);
}

.contact-card small,
.contact-card strong { display: block; }

.contact-card small {
  margin-bottom: 3px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card strong { font-size: clamp(0.9rem, 1.5vw, 1.1rem); }

.contact-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-size: 1.15rem;
  font-weight: 900;
}

.site-footer {
  padding-block: 54px;
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: end;
}

.footer-wordmark .wordmark-mark {
  border-color: var(--white);
  box-shadow: 3px 3px 0 var(--white);
}

.footer-inner > div:first-child p {
  margin: 18px 0 0;
  color: #aaa6a0;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copyright {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 28px;
  border-top: 1px solid #333;
  color: #77736e;
  font-size: 0.68rem;
}

.legal-page {
  min-height: calc(100vh - 88px);
  padding-block: 90px 120px;
}

.legal-page header {
  max-width: 760px;
  margin-bottom: 64px;
}

.legal-page h1 { font-size: clamp(3rem, 7vw, 5.5rem); }

.legal-page .lede {
  max-width: 700px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-content {
  max-width: 760px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.legal-content section + section { margin-top: 42px; }

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}

.legal-content p,
.legal-content li { color: var(--muted); }

.legal-content a {
  color: var(--coral-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.back-link {
  display: inline-block;
  margin-top: 58px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reveal { animation: reveal 650ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.delay-one { animation-delay: 120ms; }

@keyframes reveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-9px) rotate(1deg); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 66px 84px;
    gap: 60px;
  }

  .hero-copy { max-width: 760px; }

  .hero-art {
    width: min(580px, 100%);
    min-height: 500px;
    margin-inline: auto;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .wrap { width: min(calc(100% - 32px), 1180px); }
  .site-header { min-height: 76px; }
  nav { gap: 0; }

  .hero {
    min-height: auto;
    padding-block: 52px 72px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-art {
    min-height: 390px;
    border-radius: 24px;
  }

  .hero-art img {
    width: 112%;
    left: -7%;
    top: 0;
  }

  .contact-section { padding-block: 80px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links { flex-wrap: wrap; }
  .legal-page { padding-block: 64px 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
