/* GatherUp premium theme — marketing / support site */

:root {
  --bg: #fafaf8;
  --bg-secondary: #f3f4f1;
  --surface: #ffffff;
  --text: #1c1c1e;
  --text-secondary: #6d6d72;
  --accent: #e9b44c;
  --accent-hover: #d9a63f;
  --sea: #78b8b5;
  --sage: #a9b89a;
  --coral: #f27d72;
  --border: rgba(28, 28, 30, 0.08);
  --shadow: 0 12px 40px rgba(28, 28, 30, 0.08);
  --shadow-lg: 0 24px 64px rgba(28, 28, 30, 0.12);
  --radius: 20px;
  --radius-lg: 28px;
  --max: 720px;
  --max-wide: 960px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  isolation: isolate;
  overflow: hidden;
  border-bottom: none;
}

/* Organic moodboard wash — soft colour clouds; teal/blue ↔ magenta/coral, less yellow */
.site-header__wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #78b8b5;
  background-image:
    radial-gradient(ellipse 75% 130% at 0% 40%, rgba(196, 74, 140, 0.92) 0%, transparent 58%),
    radial-gradient(ellipse 65% 110% at 18% 95%, rgba(242, 125, 114, 0.95) 0%, transparent 55%),
    radial-gradient(ellipse 50% 90% at 32% 15%, rgba(232, 96, 120, 0.72) 0%, transparent 50%),
    /* soft amber bridge between magenta/coral and teal/blue */
    radial-gradient(ellipse 48% 85% at 48% 45%, rgba(233, 180, 76, 0.55) 0%, transparent 58%),
    radial-gradient(ellipse 35% 60% at 52% 80%, rgba(240, 197, 106, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse 70% 120% at 78% 20%, rgba(120, 184, 181, 0.95) 0%, transparent 55%),
    radial-gradient(ellipse 60% 100% at 100% 75%, rgba(95, 126, 167, 0.9) 0%, transparent 52%),
    radial-gradient(ellipse 45% 80% at 62% 100%, rgba(88, 150, 160, 0.55) 0%, transparent 55%);
}

.site-header__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 20px 24px 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 16px;
  text-decoration: none;
  color: #fafaf8;
  flex-shrink: 0;
  min-width: 0;
}

.brand:hover {
  color: #ffffff;
}

.brand__fox {
  width: 160px;
  height: auto;
  max-width: 28vw;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  /* drop-shadow causes muddy fringing on thin wireframe lines */
  filter: none;
  image-rendering: auto;
  -webkit-user-drag: none;
}

.brand__name {
  font-family: var(--font);
  font-weight: 650;
  font-size: clamp(36px, 5.5vw, 55px);
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: #fafaf8;
  text-shadow: 0 1px 2px rgba(28, 28, 30, 0.12);
  padding-bottom: 2px;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  min-width: 0;
  padding-bottom: 6px;
}

.nav a {
  text-decoration: none;
  color: rgba(250, 250, 248, 0.9);
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(28, 28, 30, 0.18);
}

.nav a:hover {
  color: #ffffff;
}

.nav a[aria-current="page"] {
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 640px) {
  .site-header__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 16px 18px;
  }

  .brand {
    width: 100%;
    gap: 12px;
    align-items: flex-end;
  }

  .brand__fox {
    width: 96px;
    max-width: none;
  }

  .brand__name {
    font-size: 34px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 4px;
    font-size: 13px;
    padding-bottom: 0;
    align-items: center;
  }

  .nav a {
    flex: 1 1 auto;
    text-align: center;
    padding: 6px 4px;
  }
}

main {
  min-height: 60vh;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 24px 64px;
  background: var(--bg);
}

.hero__inner {
  position: relative;
  max-width: var(--max-wide);
  margin: 0 auto;
}

@media (min-width: 800px) {
  .hero {
    padding: 72px 24px 80px;
  }

  .hero__copy {
    max-width: 38em;
  }
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.hero__lead {
  margin: 0 0 28px;
  max-width: 34em;
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: default;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--text);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--text);
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--border);
}

.btn--secondary:hover {
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px rgba(28, 28, 30, 0.2);
}

.btn--muted {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: default;
}

.btn--muted:hover {
  color: var(--text-secondary);
}

.section {
  padding: 48px 24px;
}

.section--alt {
  background: var(--bg-secondary);
}

.section__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.section__intro {
  margin: 0 0 28px;
  max-width: 36em;
  color: var(--text-secondary);
}

.feature-grid {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  box-shadow: 0 4px 20px rgba(28, 28, 30, 0.04);
}

.feature__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 18px;
  background: rgba(233, 180, 76, 0.2);
}

.feature:nth-child(2) .feature__icon {
  background: rgba(120, 184, 181, 0.22);
}

.feature:nth-child(3) .feature__icon {
  background: rgba(169, 184, 154, 0.3);
}

.feature:nth-child(4) .feature__icon {
  background: rgba(95, 126, 167, 0.18);
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.support-card {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.support-card h2 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.025em;
}

.support-card p {
  margin: 0 0 16px;
  color: var(--text-secondary);
}

.support-card ul {
  margin: 0 0 20px;
  padding-left: 1.2em;
  color: var(--text-secondary);
}

.support-card li {
  margin-bottom: 6px;
}

.support-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(233, 180, 76, 0.18);
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

.support-email:hover {
  background: rgba(233, 180, 76, 0.28);
  color: var(--text);
}

.site-footer {
  padding: 36px 24px 48px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.site-footer__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer__brand strong {
  font-size: 15px;
}

.site-footer__brand span {
  font-size: 13px;
  color: var(--text-secondary);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 14px;
}

.site-footer__links a {
  text-decoration: none;
  color: var(--text-secondary);
}

.site-footer__links a:hover {
  color: var(--text);
}

/* Legal pages */
.legal-hero {
  padding: 48px 24px 24px;
  background: var(--bg);
}

.legal-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.legal-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.legal-meta {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.legal {
  padding: 8px 24px 64px;
}

.legal__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.legal__lede {
  margin: 0 0 28px;
  color: var(--text-secondary);
}

.legal h2 {
  margin: 36px 0 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal h3 {
  margin: 24px 0 8px;
  font-size: 17px;
  font-weight: 600;
}

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

.legal p {
  margin: 0 0 14px;
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 1.25em;
}

.legal li {
  margin-bottom: 8px;
}

.legal hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.legal .disclaimer {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
}

.legal a {
  color: var(--text);
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
