:root {
  --sage: #b4d2a3;
  --sand: #dfb989;
  --slate: #95a7b7;
  --oxide: #773c25;
  --paper: #d8d0bd;
  --warm: #d49b71;
}

#profiles,
.themes,
.telemetry,
.capture,
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

#profiles::before,
.themes::before,
.telemetry::before,
.capture::before,
.cta::before {
  content: none;
}

#profiles {
  background:
    linear-gradient(90deg, rgba(12, 23, 18, .83) 0%, rgba(16, 34, 25, .57) 48%, rgba(16, 34, 25, .20) 100%),
    url("assets/optimized/higgsfield-terrain-pine-1344.webp") center / cover no-repeat,
    #15201b;
}

#profiles .intro h2 span { color: var(--sage); }
#profiles .intro .eyebrow { color: var(--sand); }
#profiles .intro p { color: #c6d0c5; }
#profiles .profile:nth-child(1) { background: linear-gradient(145deg, #193125, #18271f); border-top-color: var(--sage); }
#profiles .profile:nth-child(2) { background: linear-gradient(145deg, #202c32, #172329); border-top-color: var(--slate); }
#profiles .profile:nth-child(3) { background: linear-gradient(145deg, #332b23, #242018); border-top-color: var(--sand); }
#profiles .profile:nth-child(1) h3 { color: var(--sage); }
#profiles .profile:nth-child(2) h3 { color: var(--slate); }
#profiles .profile:nth-child(3) h3 { color: var(--sand); }
#profiles .when { color: #c6d0c5; }

.themes {
  background:
    linear-gradient(rgba(221, 213, 196, .65), rgba(211, 201, 181, .65)),
    url("assets/optimized/higgsfield-terrain-paper-1344.webp") center / cover no-repeat,
    #d8d0bd;
}

.themes .theme-head h2 { color: #173128; }
.themes .theme-head h2 span { color: var(--oxide); }
.themes .theme-head .eyebrow,
.themes .theme-demo > div > .eyebrow { color: #303e2f; }
.themes .tabs button[aria-pressed="true"] {
  box-shadow: inset 0 -3px 0 var(--oxide);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.themes .theme-demo p { color: #25342d; }
.themes .note { color: #4b564d; }
.themes .instrument { background: #17241d; }
.themes .instrument .caption { background: rgba(20, 33, 26, .94); color: #d9dfd3; padding: .55rem .75rem; margin: 0; }

.telemetry {
  background:
    radial-gradient(630px 400px at 92% 15%, rgba(153, 168, 185, .14), transparent 70%),
    linear-gradient(115deg, #111d1a 0%, #17252a 52%, #101a1c 100%);
}

.telemetry h2 span { color: var(--warm); }
.telemetry .eyebrow { color: #b4c4ca; }
.telemetry .benefit strong { color: #d4e0d9; }

.capture {
  background:
    linear-gradient(rgba(14, 24, 28, .88) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 24, 28, .88) 1px, transparent 1px),
    linear-gradient(130deg, #101a1e, #152228);
  background-size: 28px 28px, 28px 28px, auto;
}

.capture .feature-grid article:nth-child(1) .eyebrow { color: var(--sage); }
.capture .feature-grid article:nth-child(2) .eyebrow { color: var(--slate); }
.capture .feature-grid article:nth-child(3) .eyebrow { color: var(--sand); }
.capture .feature-grid article:nth-child(4) .eyebrow { color: #cfb3bb; }

.cta {
  background:
    linear-gradient(90deg, rgba(10, 35, 27, .74) 0%, rgba(20, 67, 52, .84) 42%, rgba(20, 67, 52, .84) 58%, rgba(10, 35, 27, .74) 100%),
    url("assets/optimized/higgsfield-terrain-pine-1344.webp") center / cover no-repeat,
    #1e4b3e;
}

.cta .btn--quiet { border-color: rgba(243, 238, 226, .55); }

footer { background: #d9d1be; color: #314238; }
footer .footer-links { display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px; }
footer .footer-links a { min-height:44px; display:inline-flex; align-items:center; margin-left:0; }

@media (max-width: 720px) {
  #profiles {
    background-image: linear-gradient(180deg, rgba(12,23,18,.72) 0, rgba(12,23,18,.72) 290px, rgba(12,23,18,.18) 460px), url("assets/optimized/higgsfield-terrain-pine-1344.webp");
    background-position: center, right top, center;
    background-size: auto, auto 700px, auto;
    background-repeat: no-repeat;
  }
}
