/* Hatched! — marketing site (layout aligned with other app sites in this repo) */

:root {
  --ink: #f7ead1;
  --paper: #0a100c;
  --cream: #121a14;
  --card: rgba(18, 26, 20, 0.88);
  --card-solid: #162019;
  --stroke: rgba(247, 234, 209, 0.14);
  --muted: rgba(247, 234, 209, 0.74);
  --faint: rgba(247, 234, 209, 0.48);
  --link: #8fdf9a;
  --link-hover: #b8f5c4;
  --green: #5cb86a;
  --highlight: rgba(92, 184, 106, 0.18);
  --radius: 18px;
  --max: 72rem;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(900px 600px at 10% -8%, rgba(247, 234, 209, 0.08), transparent),
    radial-gradient(800px 520px at 100% 12%, rgba(92, 184, 106, 0.14), transparent),
    linear-gradient(180deg, #0e1610 0%, var(--paper) 100%);
  color: var(--ink);
  line-height: 1.55;
}

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

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--green);
  color: var(--paper);
  z-index: 100;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--stroke);
  background: rgba(18, 26, 20, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(92, 184, 106, 0.22);
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--link);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.hero {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0 2rem;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
  }
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 0.85rem;
  max-width: 14ch;
  color: var(--ink);
  font-size: clamp(2.45rem, 7vw, 4.9rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.lede {
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin: 1.75rem 0 0;
}

.app-store-badge {
  display: inline-block;
  line-height: 0;
}

.app-store-badge img {
  width: 150px;
  height: auto;
  border-radius: 6px;
}

.secondary-link {
  color: var(--link);
  font-weight: 800;
}

.hero-card {
  padding: 0.6rem;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: rgba(18, 26, 20, 0.65);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  transform: rotate(1.5deg);
}

.hero-card img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(38vh, 300px);
  margin: 0 auto;
  height: auto;
  border-radius: 22px;
  object-fit: contain;
}

.pillars,
.feature-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 720px) {
  .pillars,
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar,
.feature-card,
.panel {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.pillar,
.feature-card {
  padding: 1.15rem 1.2rem 1.2rem;
}

.pillar-icon {
  margin-bottom: 0.5rem;
  font-size: 1.45rem;
}

.pillar h3,
.feature-card h3 {
  margin: 0 0 0.4rem;
  color: var(--green);
  font-size: 1rem;
}

.pillar p,
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.panel {
  padding: 1.35rem;
  margin: 1.5rem 0;
}

.panel h2,
h2.section-title {
  margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.split {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin: 2rem 0;
}

@media (min-width: 780px) {
  .split {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

.sell-hero-logo {
  padding: 0.6rem;
  border-radius: 24px;
  border: 1px solid var(--stroke);
  background: rgba(247, 234, 209, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sell-hero-logo img {
  width: min(100%, 280px);
  height: auto;
  border-radius: 16px;
}

.features {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.features li {
  margin-bottom: 0.7rem;
}

.features strong {
  color: var(--ink);
}

.prose {
  max-width: 48rem;
}

.prose .hero {
  display: block;
  padding-bottom: 1rem;
}

.prose h1 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.prose h2 {
  margin: 1.75rem 0 0.6rem;
  color: var(--green);
  font-size: 1.12rem;
}

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

.prose .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: var(--faint);
  font-size: 0.85rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(143, 223, 154, 0.45);
  background: var(--card-solid);
  color: var(--link);
  font-weight: 800;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--highlight);
  color: var(--link-hover);
}

.btn-mail {
  display: inline-flex;
  margin-top: 0.5rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid rgba(143, 223, 154, 0.35);
  border-radius: 12px;
  background: var(--card-solid);
  color: var(--link);
  font-weight: 800;
  text-decoration: none;
}

.btn-mail:hover {
  background: var(--highlight);
}

/* Long-form disclosures (disclosures.html) */
.disclosures-wrap h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: none;
}

.disclosures-wrap .subtitle {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.disclosures-wrap .banner {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1rem 1.15rem;
  margin-bottom: 1.75rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.disclosures-wrap .banner strong {
  color: var(--green);
}

.disclosures-wrap nav.toc {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.1rem 1.25rem;
  margin-bottom: 2rem;
}

.disclosures-wrap nav.toc h2 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.75rem;
  color: var(--faint);
}

.disclosures-wrap nav.toc ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.disclosures-wrap nav.toc li {
  margin: 0.35rem 0;
}

.disclosures-wrap section {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.35rem 1.35rem 1.5rem;
  margin-bottom: 1.25rem;
  scroll-margin-top: 5rem;
}

.disclosures-wrap section h2 {
  font-size: 1.22rem;
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--stroke);
  color: var(--ink);
}

.disclosures-wrap section h3 {
  font-size: 1rem;
  margin: 1.35rem 0 0.5rem;
  color: var(--green);
}

.disclosures-wrap p,
.disclosures-wrap ul {
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.disclosures-wrap ul {
  padding-left: 1.2rem;
}

.disclosures-wrap .placeholder {
  background: var(--highlight);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-weight: 600;
  color: var(--ink);
}

.disclosures-wrap .mono,
.disclosures-wrap code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  color: var(--ink);
}

.disclosures-wrap .muted {
  color: var(--faint);
  font-size: 0.9rem;
}

.disclosures-wrap footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stroke);
  font-size: 0.85rem;
  color: var(--faint);
}

@media print {
  .site-header,
  .site-footer,
  .skip {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .disclosures-wrap section,
  .disclosures-wrap nav.toc,
  .disclosures-wrap .banner {
    border-color: #ccc;
    background: #fff;
    box-shadow: none;
  }
  main {
    max-width: none;
    padding: 0;
  }
}
