/* Minimal home layout — Chromatic Guide */

.page-home {
  background: #ffffff;
  color: #1a1a1a;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 300;
  margin: 0;
  min-height: 100vh;
}

.page-home h1,
.page-home h2,
.page-home h3,
.page-home .home-logo-text {
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 300;
}

.page-home a {
  color: inherit;
  text-decoration: none;
}

.home-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Header ── */
.home-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem clamp(1.25rem, 4vw, 3rem) 0;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.home-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  justify-self: start;
}

.home-logo-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: conic-gradient(
    from 120deg,
    #e83828,
    #f0a818,
    #38a838,
    #2868c8,
    #8828a8,
    #e83828
  );
}

.home-logo-text {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.home-nav-end {
  justify-self: end;
}

.home-pill {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.home-pill:hover {
  border-color: #1a1a1a;
  background: #fafafa;
}

.home-pill[aria-current="page"] {
  border-color: #1a1a1a;
  background: #1a1a1a;
  color: #fff;
}

/* ── Main ── */
.home-main {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem) 3rem;
  width: 100%;
}

.home-headline {
  font-size: clamp(1.75rem, 4.2vw, 3.15rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  max-width: 16em;
  margin: 0;
  font-weight: 300;
  color: #1a1a1a;
}

/* Circular Pantone fan — bottom-right, partially cropped */
.home-wheel {
  position: fixed;
  right: -10%;
  bottom: -12%;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  pointer-events: none;
  z-index: 1;
}

.home-wheel img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Footer ── */
.home-foot {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  width: 100%;
  border-top: 1px solid #ececec;
  font-size: 0.88rem;
  color: #888;
  font-weight: 300;
}

.home-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.home-foot-links a {
  color: #666;
  border-bottom: 1px solid transparent;
}

.home-foot-links a:hover {
  color: #1a1a1a;
  border-bottom-color: #1a1a1a;
}

/* ── Inner page content ── */
.home-content {
  max-width: 38rem;
}

.home-page-title {
  font-size: clamp(1.75rem, 4.2vw, 3.15rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  max-width: 16em;
  margin: 0 0 0.5rem;
  font-weight: 300;
}

.home-page-lead {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #666;
  max-width: 34rem;
}

.home-prose h2 {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 2rem 0 0.65rem;
  color: #1a1a1a;
}

.home-prose h3 {
  font-size: 0.98rem;
  font-weight: 400;
  margin: 1.5rem 0 0.35rem;
  color: #1a1a1a;
}

.home-prose p {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: #444;
}

.home-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: #444;
  line-height: 1.65;
}

.home-prose li {
  margin-bottom: 0.35rem;
}

.home-prose li::marker {
  color: #aaa;
}

.home-prose a {
  color: #1a1a1a;
  border-bottom: 1px solid #ccc;
}

.home-prose a:hover {
  border-bottom-color: #1a1a1a;
}

.home-note {
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #ececec;
  font-size: 0.92rem;
  color: #888;
}

/* Resource link list */
.home-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 38rem;
  border-top: 1px solid #ececec;
}

.home-link-list li {
  border-bottom: 1px solid #ececec;
}

.home-link-list a {
  display: block;
  padding: 1.15rem 0;
  transition: opacity 0.15s ease;
}

.home-link-list a:hover {
  opacity: 0.72;
}

.home-link-list-title {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 400;
  color: #1a1a1a;
}

.home-link-list-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #777;
}

/* Use cases & prompts */
.home-use-case {
  padding: 1.25rem 0;
  border-bottom: 1px solid #ececec;
  max-width: 38rem;
}

.home-use-case:first-of-type {
  padding-top: 0;
}

.home-use-case h3 {
  margin: 0 0 0.35rem;
}

.home-use-case-meta {
  font-size: 0.85rem;
  color: #888;
  margin: 0.5rem 0 0;
}

.home-prompt-block {
  margin: 0.65rem 0 0;
  padding: 0.75rem 0.9rem;
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .home-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .home-nav {
    justify-content: flex-start;
  }

  .home-nav-end {
    justify-self: start;
  }

  .home-wheel {
    right: -26%;
    bottom: -20%;
    width: min(92vw, 480px);
    height: min(92vw, 480px);
    opacity: 0.92;
  }
}

@media (min-width: 1100px) {
  .home-wheel {
    right: -5%;
    bottom: -8%;
    width: 700px;
    height: 700px;
  }
}
