/* Migrated from camonova-frontend/src/home.css. Account/member UI intentionally excluded. */
.home-site {
  --home-accent: #c8ed9c;
  --home-muted: #aaa9a0;
  background: #1b1d19;
  color: #f0f0e7;
  min-height: 100svh;
}
.home-header {
  min-height: 78px;
  padding: 16px 4vw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid #ffffff12;
}
.home-header .brand,
.home-footer .brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 24px;
  flex-shrink: 0;
}
.home-header .brand-mark,
.home-footer .brand-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
}
.home-header > .brand {
  justify-self: start;
}
.home-header > nav {
  justify-self: end;
}
.home-header nav,
.home-footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
}
.home-header nav a:hover,
.home-footer nav a:hover {
  color: var(--home-accent);
}
.home-nav-create {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.home-main {
  width: min(1440px, 92vw);
  margin: auto;
  padding: 0;
}
.home-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
  padding: 74px 0 88px;
}
.home-eyebrow {
  color: var(--home-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.home-site h1,
.home-site h2,
.home-site h3 {
  font-family: Manrope, sans-serif;
  font-weight: 500;
  letter-spacing: -0.05em;
}
.home-intro h1 {
  position: relative;
  font-size: clamp(62px, 6.8vw, 108px);
  line-height: 0.98;
  margin: 0 0 28px;
}
.home-art-heading {
  position: relative;
}
.home-heading-layer,
.home-heading-outline {
  display: none;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .home-site .home-pattern-heading {
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
  .home-heading-layer {
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.6s ease-in-out;
  }
  .home-heading-outline {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.35px rgb(245 255 233 / 65%);
    pointer-events: none;
  }
  .home-heading-outline em {
    visibility: hidden;
  }
  .home-heading-layer.is-active {
    opacity: 1;
    z-index: 1;
    animation: home-reveal 1.6s ease-in-out;
  }
  .home-heading-ink {
    display: block;
    background-size: 170% auto;
    background-position: 25% 35%;
    background-repeat: repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: home-heading-flow 40s ease-in-out infinite alternate;
  }
  .home-heading-preview .home-heading-ink {
    animation: none;
  }
  .home-pattern-heading > em {
    color: var(--home-accent);
    -webkit-text-fill-color: var(--home-accent);
  }
  .home-heading-ink em {
    visibility: hidden;
  }
}
@keyframes home-heading-flow {
  from {
    background-position: 25% 35%;
  }
  to {
    background-position: 75% 65%;
  }
}
@media (forced-colors: active) {
  .home-heading-layer,
  .home-heading-outline {
    display: none;
  }
  .home-site .home-pattern-heading,
  .home-pattern-heading em {
    background-image: none !important;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
}
.home-site em {
  font-style: normal;
  color: var(--home-accent);
}
.home-lead {
  font-size: clamp(19px, 1.65vw, 25px);
  line-height: 1.5;
  max-width: 440px;
}
.home-notices-summary,
.home-about-summary,
.home-license-summary {
  max-width: none;
}
.home-summary {
  font-size: 15px;
  line-height: 1.75;
  color: var(--home-muted);
  max-width: 380px;
  margin: 14px 0 30px;
}
.home-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: var(--home-accent);
  color: #20251c;
  border: 1px solid var(--home-accent);
  border-radius: 6px;
  padding: 16px 22px;
  font-size: 15px;
  font-weight: 600;
}
.home-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(rgb(255 255 255 / 38%), rgb(255 255 255 / 38%)),
    linear-gradient(
      var(--brand-gradient-angle),
      var(--brand-gradient-a) 5%,
      var(--brand-gradient-b) 48%,
      var(--brand-gradient-c) 95%
    );
  opacity: 0.7;
  animation: brand-gradient-shift 16s ease-in-out infinite;
}
.home-cta:hover {
  background: #d6ffac;
  transform: translateY(-2px);
}
.home-cta-note {
  display: block;
  margin-top: 15px;
  color: var(--home-muted);
  font-size: 11px;
}
.home-gallery {
  min-width: 0;
}
.home-hero-art {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: #262a23;
  border: 1px solid #ffffff14;
  isolation: isolate;
}
.home-hero-art > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  pointer-events: none;
}
.home-hero-art > img.is-active {
  opacity: 1;
  z-index: 1;
  animation: home-reveal 1.6s ease-in-out;
}
.home-hero-color-preview {
  position: absolute;
  inset: -8%;
  opacity: 1;
  transition: opacity 1.6s ease-in-out;
  pointer-events: none;
}
.home-hero-color-preview.is-resolved {
  opacity: 0;
}
.home-loading {
  position: absolute;
  bottom: 24px;
  width: 100%;
  text-align: center;
  color: #c7cebf;
  font-size: 13px;
}
.home-loading button {
  display: block;
  margin: 10px auto 0;
  text-decoration: underline;
  color: var(--home-accent);
}

.home-thumbnails {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
}
.home-thumbnails:empty::before {
  content: "";
  aspect-ratio: 1;
}
.home-thumbnails.is-ready {
  animation: home-thumbnail-reveal 1.2s ease-out both;
}
.home-thumbnails button {
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 5px;
  background: #30352b;
  font-size: 10px;
  color: #bdc4b4;
}
.home-thumbnails button[aria-pressed="true"] {
  border-color: var(--home-accent);
}
.home-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes home-thumbnail-reveal {
  from {
    opacity: 0;
    filter: blur(6px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}
.home-features {
  border-top: 1px solid #ffffff1a;
  padding: 70px 0;
}
.home-section-heading h2,
.home-uses h2,
.home-closing h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.15;
  margin: 0 0 16px;
}
.home-section-heading > p:last-child {
  color: var(--home-muted);
}
.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.home-feature-icon {
  display: flex;
  flex-direction: column;
  gap: 26px;
  color: var(--home-accent);
}
.home-feature-icon span {
  font-size: 11px;
  color: var(--home-muted);
}
.home-feature-grid h3 {
  letter-spacing: -0.025em;
  font-size: 18px;
  line-height: 1.4;
  margin: 14px 0 10px;
}
.home-feature-grid p {
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.75;
}
.home-uses {
  padding: 70px 0;
  border-top: 1px solid #ffffff1a;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
}
.home-uses p:not(.home-eyebrow) {
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 490px;
}
.home-use-list {
  padding-top: 20px;
}
.home-use-list > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 0;
  font-size: 21px;
  border-bottom: 1px solid #ffffff20;
}
.home-use-list > span svg {
  width: 18px;
  color: var(--home-accent);
}
.home-use-list > a {
  display: flex;
  gap: 15px;
  align-items: center;
  color: var(--home-accent);
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.7;
}
.home-closing {
  margin: 25px 0 75px;
  padding: 60px 24px;
  background: #252d20;
  border-radius: 12px;
  text-align: center;
}
.home-closing .home-cta {
  margin-top: 18px;
}
.home-footer {
  margin: 0;
  width: 100%;
  max-width: none;
  padding: 30px 4vw;
  border-top: 1px solid #ffffff1a;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}
.home-footer > span {
  font-size: 12px;
  color: var(--home-muted);
}
.home-footer nav {
  margin-left: auto;
  font-size: 11px;
}
.home-document {
  padding: 70px 0 100px;
  width: min(760px, 88vw);
  margin: auto;
}
.home-document h1 {
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.12;
  margin: 0 0 30px;
}
.home-document h2 {
  font-size: 24px;
  margin: 36px 0 14px;
  letter-spacing: -0.025em;
}
.home-document p {
  color: #b9bdb1;
  line-height: 1.85;
}
.home-document a:not(.home-cta) {
  color: var(--home-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home-document .home-cta {
  margin-top: 30px;
}
.home-text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
@keyframes home-reveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (min-width: 721px) {
  .home-hero {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .home-hero > .home-gallery {
    grid-column: 1;
    grid-row: 1;
  }
  .home-hero > .home-intro {
    grid-column: 2;
    grid-row: 1;
  }
}
@media (max-width: 1000px) {
  .home-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-header nav {
    gap: 18px;
  }
  .home-footer nav {
    margin-left: 0;
  }
}
@media (max-width: 720px) {
  .home-header {
    padding: 16px 6vw;
    gap: 12px;
    min-height: 72px;
  }
  .home-header .brand {
    font-size: 21px;
  }
  .home-header nav {
    gap: 16px;
  }
  .home-header nav > a:not(.home-nav-create) {
    display: none;
  }
  .home-main {
    width: 88vw;
  }
  .home-hero {
    grid-template-columns: 1fr;
    padding: 48px 0;
    gap: 40px;
  }
  .home-intro h1 {
    font-size: clamp(64px, 15vw, 90px);
  }
  .home-summary,
  .home-lead {
    max-width: 100%;
  }
  .home-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .home-features,
  .home-uses {
    padding: 45px 0;
  }
  .home-uses {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .home-feature-icon {
    gap: 16px;
  }
  .home-thumbnails {
    gap: 3px;
  }
  .home-thumbnails button {
    border-radius: 3px;
  }
  .home-closing {
    padding: 40px 18px;
    margin-bottom: 40px;
  }
  .home-footer {
    padding: 28px 6vw;
    gap: 20px;
  }
  .home-footer nav {
    flex-wrap: wrap;
    gap: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-site *,
  .home-site *::before,
  .home-site *::after {
    animation: none !important;
    transition: none !important;
  }
}

.home-notices section { margin-top: 48px; }
.home-notices h2 { font-size: 25px; }
.notices-download, .notice-body > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--home-accent);
  font-size: 13px;
}
.notice-item { border-bottom: 1px solid #ffffff20; }
.notice-item:first-of-type { border-top: 1px solid #ffffff20; }
.notice-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.notice-item summary::-webkit-details-marker { display: none; }
.notice-item summary:hover, .notice-item[open] > summary { color: var(--home-accent); }
.notice-item summary:focus-visible { outline: 2px solid var(--home-accent); outline-offset: 4px; }
.notice-item summary svg { flex-shrink: 0; transition: transform 200ms ease; }
.notice-item[open] > summary svg { transform: rotate(180deg); }
.notice-body { padding: 8px 20px 24px; margin-bottom: 16px; border-radius: 10px; background: #ffffff04; }
.notice-body pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; font-size: 13px; line-height: 1.85; color: var(--home-muted); }

.notice-title { display: flex; flex: 1; min-width: 0; align-items: center; justify-content: space-between; gap: 16px; }
.notice-title small { flex-shrink: 0; max-width: 48%; text-align: right; font-size: 11px; font-weight: 400; letter-spacing: 0.025em; color: var(--home-muted); }

.notice-name { min-width: 0; }
.notice-version { display: inline-block; margin-left: 8px; font-size: 11px; color: var(--home-muted); }
.notice-title .notice-license { padding: 3px 8px; border: 1px solid #ffffff18; border-radius: 5px; line-height: 1.5; }

.home-faq section { margin: 48px 0; scroll-margin-top: 24px; }
.home-faq details { border-bottom: 1px solid #ffffff20; }
.home-faq summary { padding: 22px 28px 22px 0; cursor: pointer; font-size: 17px; line-height: 1.5; }
.home-faq summary:hover, .home-faq details[open] > summary { color: var(--home-accent); }
.home-faq summary:focus-visible { outline: 2px solid var(--home-accent); outline-offset: 4px; }
.home-faq details p { margin: 0 0 22px; }
.home-faq details a { color: var(--home-accent); text-decoration: underline; text-underline-offset: 3px; }

.home-hero-action { position: absolute; right: 16px; bottom: 16px; z-index: 3; }
.home-hero-action button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 12px 18px; border: 1px solid #ffffff24; border-radius: 8px; background: rgb(32 37 30 / 65%); color: var(--home-accent); font: inherit; font-size: 13px; cursor: pointer; }
.home-hero-action button:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-hero-action button:focus-visible { outline: 2px solid var(--home-accent); outline-offset: 3px; }
