/* Macqrx legal site — Pastel Shell theme */
:root {
  --cream: #fff6ee;
  --cream-deep: #f5e6d8;
  --raspberry: #e86a8c;
  --raspberry-deep: #d45575;
  --pistachio: #7cb88a;
  --shell-ink: #3a2f2c;
  --muted: #8a736a;
  --blush: #fce4ec;
  --pistachio-wash: #e4f2e7;
  --white: #ffffff;
  --edge: #d9c4b8;
  --ring: #e8d5c8;
  --danger: #c4475a;
  --max: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--shell-ink);
  background:
    radial-gradient(ellipse 520px 420px at 100% -10%, rgba(232, 106, 140, 0.14), transparent 60%),
    radial-gradient(ellipse 480px 380px at -8% 100%, rgba(124, 184, 138, 0.16), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  background-attachment: fixed;
  line-height: 1.6;
}

a {
  color: var(--raspberry-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--raspberry);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 246, 238, 0.82);
  border-bottom: 1px solid rgba(217, 196, 184, 0.55);
}

.site-header__inner {
  max-width: calc(var(--max) + 64px);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 18%, transparent 19%),
    radial-gradient(circle at 50% 55%, var(--raspberry) 0 42%, var(--blush) 43% 70%, transparent 71%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.brand__name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--shell-ink);
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--raspberry-deep);
  background: var(--blush);
}

main {
  max-width: calc(var(--max) + 64px);
  margin: 0 auto;
  padding: 28px 24px 72px;
}

.hero {
  padding: 36px 0 28px;
  text-align: center;
}

.hero__brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--shell-ink);
}

.hero__lead {
  margin: 0 auto 28px;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--raspberry);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(232, 106, 140, 0.28);
}

.btn--primary:hover {
  background: var(--raspberry-deep);
  color: var(--white);
}

.btn--ghost {
  background: var(--white);
  color: var(--shell-ink);
  border-color: var(--edge);
}

.btn--ghost:hover {
  color: var(--raspberry-deep);
  border-color: var(--raspberry);
}

.panel {
  background: var(--white);
  border: 1px solid rgba(217, 196, 184, 0.7);
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 10px 28px rgba(58, 47, 44, 0.06);
}

.panel + .panel {
  margin-top: 16px;
}

.panel h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 650;
  margin: 0 0 8px;
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--raspberry);
  background: var(--blush);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.page-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.9rem, 5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 8px 0 8px;
  line-height: 1.15;
}

.page-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 28px;
}

.legal {
  background: var(--white);
  border: 1px solid rgba(217, 196, 184, 0.7);
  border-radius: 22px;
  padding: 28px 26px 36px;
  box-shadow: 0 10px 28px rgba(58, 47, 44, 0.06);
}

.legal h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 650;
  margin: 1.6rem 0 0.55rem;
  color: var(--shell-ink);
}

.legal h2:first-child {
  margin-top: 0;
}

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

.legal ul {
  padding-left: 1.15rem;
  margin: 0.4rem 0 0.8rem;
}

.legal li {
  margin: 0.35rem 0;
}

.legal strong {
  color: var(--shell-ink);
  font-weight: 800;
}

.note {
  margin-top: 1.2rem;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--pistachio-wash);
  border: 1px solid rgba(124, 184, 138, 0.28);
  color: var(--shell-ink);
  font-size: 0.95rem;
}

.contact-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  background: var(--blush);
  border: 1px solid rgba(232, 106, 140, 0.2);
}

.contact-card p {
  margin: 0 0 6px;
  color: var(--shell-ink);
}

.site-footer {
  max-width: calc(var(--max) + 64px);
  margin: 0 auto;
  padding: 0 24px 40px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.site-footer a {
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 560px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal,
  .panel {
    padding: 22px 18px;
  }
}
