/* Home V0 — F0: marketing header + hero (pvmarket-ui-3h parity) */

/* ── Marketing header ── */
.home-v0-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in oklch, var(--home-v0-border) 70%, transparent);
  background: color-mix(in oklch, var(--home-v0-background) 85%, transparent);
  backdrop-filter: blur(12px);
}

.home-v0-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--home-v0-max-w);
  margin: 0 auto;
  padding: 0 1rem;
  height: 4rem;
}

@media (min-width: 640px) {
  .home-v0-header-inner {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .home-v0-header-inner {
    padding: 0 2rem;
  }
}

.home-v0-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: inherit;
}

.home-v0-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: var(--home-v0-primary);
  color: var(--home-v0-primary-fg);
}

.home-v0-brand-mark svg {
  width: 1.25rem;
  height: 1.25rem;
}

.home-v0-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.home-v0-brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-v0-brand-tag {
  margin-top: 0.125rem;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--home-v0-muted-fg);
}

.home-v0-nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .home-v0-nav-desktop {
    display: flex;
  }
}

.home-v0-nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--home-v0-muted-fg);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.home-v0-nav-link:hover {
  background: var(--home-v0-secondary);
  color: var(--home-v0-foreground);
}

.home-v0-header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .home-v0-header-actions {
    display: flex;
  }
}

.home-v0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.home-v0-btn--sm {
  padding: 0.375rem 0.875rem;
  min-height: 2.25rem;
}

.home-v0-btn--lg {
  padding: 0 1.5rem;
  min-height: 3rem;
  font-size: 1rem;
}

.home-v0-btn--primary {
  background: var(--home-v0-primary);
  color: var(--home-v0-primary-fg);
}

.home-v0-btn--primary:hover {
  filter: brightness(1.05);
}

.home-v0-btn--ghost {
  background: transparent;
  color: var(--home-v0-foreground);
}

.home-v0-btn--ghost:hover {
  background: var(--home-v0-secondary);
}

.home-v0-btn--outline-light {
  background: color-mix(in oklch, white 5%, transparent);
  border: 1px solid color-mix(in oklch, white 30%, transparent);
  color: white;
}

.home-v0-btn--outline-light:hover {
  background: color-mix(in oklch, white 15%, transparent);
  color: white;
}

.home-v0-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--home-v0-foreground);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .home-v0-menu-toggle {
    display: none;
  }
}

.home-v0-mobile-nav {
  display: none;
  border-top: 1px solid var(--home-v0-border);
  background: var(--home-v0-background);
}

.home-v0-mobile-nav.is-open {
  display: block;
}

.home-v0-mobile-nav-inner {
  max-width: var(--home-v0-max-w);
  margin: 0 auto;
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.home-v0-mobile-nav .home-v0-nav-link {
  padding: 0.625rem 0.75rem;
  color: var(--home-v0-foreground);
}

.home-v0-mobile-auth {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--home-v0-border);
}

/* ── Hero ── */
.home-v0-hero {
  position: relative;
  overflow: hidden;
}

.home-v0-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5rem;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--home-v0-background)
  );
  pointer-events: none;
  z-index: 1;
}

.home-v0-hero-bg {
  position: absolute;
  inset: 0;
}

.home-v0-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-v0-hero-overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in oklch, oklch(0.24 0.03 250) 85%, transparent);
}

.home-v0-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    color-mix(in oklch, oklch(0.2 0.03 250) 100%, transparent) 0%,
    color-mix(in oklch, oklch(0.22 0.03 250) 80%, transparent) 45%,
    transparent 100%
  );
}

.home-v0-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  gap: 3rem;
  max-width: var(--home-v0-max-w);
  margin: 0 auto;
  padding: 4rem 1rem 5rem;
}

@media (min-width: 640px) {
  .home-v0-hero-grid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .home-v0-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    padding: 6rem 2rem 7rem;
  }
}

.home-v0-hero-copy {
  max-width: 36rem;
}

.home-v0-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid color-mix(in oklch, white 20%, transparent);
  background: color-mix(in oklch, white 10%, transparent);
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
  backdrop-filter: blur(4px);
}

.home-v0-hero-eyebrow-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--home-v0-solar);
}

.home-v0-hero-title {
  margin: 1.5rem 0 0;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: white;
  text-wrap: pretty;
}

.home-v0-hero-title-accent {
  display: block;
  margin-top: 0.15em;
  background: linear-gradient(
    to right,
    oklch(0.78 0.14 78),
    oklch(0.7 0.13 45)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-v0-hero-lead {
  margin: 1.5rem 0 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: color-mix(in oklch, white 75%, transparent);
  text-wrap: pretty;
}

.home-v0-hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .home-v0-hero-ctas {
    flex-direction: row;
  }
}

.home-v0-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: color-mix(in oklch, white 70%, transparent);
}

.home-v0-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.home-v0-hero-trust svg {
  width: 1rem;
  height: 1rem;
  color: var(--home-v0-solar);
  flex-shrink: 0;
}

.home-v0-hero-stats {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: color-mix(in oklch, white 65%, transparent);
}

.home-v0-hero-stats strong {
  font-weight: 700;
  color: white;
}

.home-v0-hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

@media (min-width: 640px) {
  .home-v0-hero-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-v0-hero-metrics > div {
  padding: 0.75rem 0.875rem;
  border-radius: var(--home-v0-radius-lg);
  border: 1px solid color-mix(in oklch, white 15%, transparent);
  background: color-mix(in oklch, white 8%, transparent);
}

.home-v0-hero-metrics dt {
  font-size: 0.6875rem;
  color: color-mix(in oklch, white 65%, transparent);
}

.home-v0-hero-metrics dd {
  margin: 0.25rem 0 0;
  font-family: var(--home-v0-font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

.home-v0-hero-metrics dd span {
  margin-left: 0.125rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: color-mix(in oklch, white 70%, transparent);
}

.home-v0-asset-card-label {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in oklch, white 60%, transparent);
  text-align: center;
}

@media (min-width: 1024px) {
  .home-v0-asset-card-label {
    text-align: left;
  }
}

/* ── Hero asset card ── */
.home-v0-asset-card-wrap {
  position: relative;
}

.home-v0-asset-card {
  max-width: 28rem;
  margin: 0 auto;
  border-radius: var(--home-v0-radius-2xl);
  border: 1px solid color-mix(in oklch, white 15%, transparent);
  background: var(--home-v0-card);
  color: var(--home-v0-card-foreground);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.home-v0-asset-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--home-v0-border);
}

.home-v0-asset-card-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-v0-asset-card-meta {
  margin: 0.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  font-size: 0.75rem;
  color: var(--home-v0-muted-fg);
}

.home-v0-asset-card-meta svg {
  width: 0.75rem;
  height: 0.75rem;
}

.home-v0-asset-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: color-mix(in oklch, var(--home-v0-primary) 10%, transparent);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--home-v0-primary);
}

.home-v0-asset-badge-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--home-v0-primary);
}

.home-v0-asset-gen {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 0;
}

.home-v0-asset-gen-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  color: var(--home-v0-muted-fg);
}

.home-v0-asset-gen-label svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--home-v0-solar-fg);
}

.home-v0-asset-gen-value {
  margin: 0.25rem 0 0;
  font-family: var(--home-v0-font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-v0-asset-gen-value span {
  margin-left: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--home-v0-muted-fg);
}

.home-v0-asset-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  height: 3rem;
}

.home-v0-asset-bars span {
  width: 0.375rem;
  border-radius: 2px 2px 0 0;
  background: color-mix(in oklch, var(--home-v0-solar) 80%, transparent);
}

.home-v0-asset-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 1.25rem;
  border-top: 1px solid var(--home-v0-border);
  border-bottom: 1px solid var(--home-v0-border);
  background: var(--home-v0-border);
}

.home-v0-asset-metrics > div {
  padding: 0.75rem 1.25rem;
  background: var(--home-v0-card);
}

.home-v0-asset-metrics dt {
  font-size: 0.6875rem;
  color: var(--home-v0-muted-fg);
}

.home-v0-asset-metrics dd {
  margin: 0.125rem 0 0;
  font-family: var(--home-v0-font-mono);
  font-size: 1rem;
  font-weight: 700;
}

.home-v0-asset-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: color-mix(in oklch, var(--home-v0-primary) 5%, transparent);
}

.home-v0-asset-value-row dt {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--home-v0-muted-fg);
}

.home-v0-asset-value-row dd {
  margin: 0.125rem 0 0;
  font-family: var(--home-v0-font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--home-v0-primary);
}

.home-v0-asset-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: color-mix(in oklch, var(--home-v0-primary) 10%, transparent);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--home-v0-primary);
}

.home-v0-asset-chip {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin: 0 1.25rem 1.25rem;
  padding: 0.5rem 0.75rem;
  width: fit-content;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in oklch, var(--home-v0-solar) 25%, var(--home-v0-border));
  background: color-mix(in oklch, var(--home-v0-solar) 10%, var(--home-v0-card));
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--home-v0-foreground);
}

@media (min-width: 640px) {
  .home-v0-asset-chip {
    display: flex;
  }
}

.home-v0-asset-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: color-mix(in oklch, var(--home-v0-solar) 15%, transparent);
  color: var(--home-v0-solar-fg);
}

/* ── Marketing footer (F0 compact V0 style) ── */
.home-v0-footer {
  border-top: 1px solid var(--home-v0-border);
  background: color-mix(in oklch, var(--home-v0-secondary) 40%, transparent);
}

.home-v0-footer-inner {
  max-width: var(--home-v0-max-w);
  margin: 0 auto;
  padding: 2.5rem 1rem 1.5rem;
}

@media (min-width: 640px) {
  .home-v0-footer-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .home-v0-footer-inner {
    padding: 3.5rem 2rem 1.5rem;
  }
}

.home-v0-footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .home-v0-footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.home-v0-footer-tagline {
  margin: 1rem 0 0;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--home-v0-muted-fg);
}

.home-v0-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.home-v0-footer-links a {
  font-size: 0.875rem;
  color: var(--home-v0-muted-fg);
  text-decoration: none;
}

.home-v0-footer-links a:hover {
  color: var(--home-v0-foreground);
}

.home-v0-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--home-v0-border);
  font-size: 0.75rem;
  color: var(--home-v0-muted-fg);
}

@media (min-width: 640px) {
  .home-v0-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.home-v0-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.home-v0-footer-legal a {
  color: var(--home-v0-muted-fg);
  text-decoration: none;
}

.home-v0-footer-legal a:hover {
  color: var(--home-v0-foreground);
}

/* F1+ placeholder strip (hidden when empty) */
.home-v0-sections-pending {
  display: none;
}

/* ── Shared section head ── */
.home-v0-section-head {
  margin-bottom: 2rem;
}

.home-v0-section-head--center {
  text-align: center;
}

.home-v0-section-eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--home-v0-primary);
}

.home-v0-section-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: pretty;
  color: var(--home-v0-foreground);
}

.home-v0-section-lead {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--home-v0-muted-fg);
}

/* ── Primary journeys ── */
.home-v0-journeys {
  background: color-mix(in oklch, var(--home-v0-primary) 4%, var(--home-v0-background));
  border-top: 1px solid var(--home-v0-border);
}

.home-v0-journeys-inner {
  max-width: var(--home-v0-max-w);
  margin: 0 auto;
  padding: 3.5rem 1rem 4rem;
}

@media (min-width: 1024px) {
  .home-v0-journeys-inner {
    padding: 4.5rem 2rem 5rem;
  }
}

.home-v0-journey-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .home-v0-journey-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.home-v0-journey-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: var(--home-v0-radius-xl);
  border: 1px solid var(--home-v0-border);
  background: var(--home-v0-card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.home-v0-journey-card--search .home-v0-journey-icon {
  background: color-mix(in oklch, var(--home-v0-primary) 14%, transparent);
  color: var(--home-v0-primary);
}

.home-v0-journey-card--manage .home-v0-journey-icon {
  background: color-mix(in oklch, var(--home-v0-blue-chip) 12%, transparent);
  color: var(--home-v0-blue-chip-fg);
}

.home-v0-journey-card--market .home-v0-journey-icon {
  background: color-mix(in oklch, var(--home-v0-solar) 18%, transparent);
  color: var(--home-v0-solar-fg);
}

.home-v0-journey-card:hover {
  border-color: color-mix(in oklch, var(--home-v0-primary) 35%, var(--home-v0-border));
  box-shadow: 0 12px 24px -12px color-mix(in oklch, var(--home-v0-primary) 12%, transparent);
  transform: translateY(-2px);
}

.home-v0-journey-card--search:hover {
  border-color: color-mix(in oklch, var(--home-v0-primary) 40%, var(--home-v0-border));
}

.home-v0-journey-card--manage:hover {
  border-color: color-mix(in oklch, var(--home-v0-blue-chip) 35%, var(--home-v0-border));
}

.home-v0-journey-card--market:hover {
  border-color: color-mix(in oklch, var(--home-v0-solar) 40%, var(--home-v0-border));
}

.home-v0-journey-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--home-v0-radius-lg);
}

.home-v0-journey-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.home-v0-journey-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--home-v0-muted-fg);
}

.home-v0-journey-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--home-v0-foreground);
}

.home-v0-journey-desc {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--home-v0-muted-fg);
}

.home-v0-journey-stat {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--home-v0-foreground);
}

.home-v0-journey-stat strong {
  font-family: var(--home-v0-font-mono);
  font-weight: 700;
}

.home-v0-journey-cta {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--home-v0-primary);
}

.home-v0-journey-card--manage .home-v0-journey-cta {
  color: var(--home-v0-blue-chip-fg);
}

.home-v0-journey-card--market .home-v0-journey-cta {
  color: var(--home-v0-solar-fg);
}

.home-v0-layer-card--primary .home-v0-layer-num {
  color: var(--home-v0-primary);
}

/* ── F1 Architecture layers ── */
.home-v0-architecture {
  background: color-mix(in oklch, var(--home-v0-primary) 4%, var(--home-v0-background));
  border-top: 1px solid var(--home-v0-border);
}

.home-v0-architecture-inner {
  max-width: var(--home-v0-max-w);
  margin: 0 auto;
  padding: 3.5rem 1rem 4.5rem;
}

@media (min-width: 1024px) {
  .home-v0-architecture-inner {
    padding: 4.5rem 2rem 6rem;
  }
}

.home-v0-layer-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .home-v0-layer-stack {
    flex-direction: row;
    align-items: stretch;
    gap: 0.75rem;
  }
}

.home-v0-layer-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: var(--home-v0-radius-xl);
  border: 1px solid var(--home-v0-border);
  background: var(--home-v0-card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.home-v0-layer-card:hover {
  border-color: color-mix(in oklch, var(--home-v0-primary) 35%, var(--home-v0-border));
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.12);
}

.home-v0-layer-card--primary {
  border-color: color-mix(in oklch, var(--home-v0-primary) 25%, var(--home-v0-border));
  background: color-mix(in oklch, var(--home-v0-primary) 4%, var(--home-v0-card));
}

.home-v0-layer-num {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--home-v0-primary);
}

.home-v0-layer-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--home-v0-foreground);
}

.home-v0-layer-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--home-v0-muted-fg);
}

.home-v0-layer-list {
  margin: 0.5rem 0 0;
  padding-left: 1.125rem;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--home-v0-foreground);
}

.home-v0-layer-link {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--home-v0-primary);
}

.home-v0-layer-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--home-v0-muted-fg);
}

.home-v0-layer-arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 1024px) {
  .home-v0-layer-arrow {
    display: flex;
    width: 1.5rem;
  }
}

/* ── V1 Product story sections ── */
.home-v0-story {
  border-top: 1px solid var(--home-v0-border);
  background: var(--home-v0-background);
}

.home-v0-story--workspace,
.home-v0-story--marketplace {
  background: var(--home-v0-card);
}

.home-v0-story--ai,
.home-v0-story--maintenance {
  background: color-mix(in oklch, var(--home-v0-primary) 4%, var(--home-v0-background));
}

.home-v0-story-inner {
  max-width: var(--home-v0-max-w);
  margin: 0 auto;
  padding: 3.5rem 1rem 4rem;
}

@media (min-width: 640px) {
  .home-v0-story-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .home-v0-story-inner {
    padding: 4.5rem 2rem 5rem;
  }
}

.home-v0-story-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .home-v0-story-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3rem;
  }

  .home-v0-story-grid--reverse .home-v0-story-copy {
    order: 2;
  }

  .home-v0-story-grid--reverse .home-v0-story-visual {
    order: 1;
  }
}

.home-v0-story-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-v0-primary);
}

.home-v0-story--ai .home-v0-story-eyebrow {
  color: var(--home-v0-blue-chip-fg);
}

.home-v0-story--maintenance .home-v0-story-eyebrow {
  color: var(--home-v0-solar-fg);
}

.home-v0-story--marketplace .home-v0-story-eyebrow {
  color: color-mix(in oklch, var(--home-v0-solar) 85%, var(--home-v0-foreground));
}

.home-v0-story-title {
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--home-v0-foreground);
}

.home-v0-story-lead {
  margin: 0.85rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--home-v0-muted-fg);
}

.home-v0-story-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.home-v0-story-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--home-v0-foreground);
}

.home-v0-story-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--home-v0-primary);
}

.home-v0-story--ai .home-v0-story-list li::before {
  background: var(--home-v0-blue-chip);
}

.home-v0-story--maintenance .home-v0-story-list li::before {
  background: var(--home-v0-solar);
}

.home-v0-story-steps {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.home-v0-story-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--home-v0-foreground);
}

.home-v0-story-step-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.35rem;
  border-radius: var(--home-v0-radius);
  background: color-mix(in oklch, var(--home-v0-solar) 16%, transparent);
  color: var(--home-v0-solar-fg);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--home-v0-font-mono);
}

.home-v0-story-cta-wrap {
  margin: 1.35rem 0 0;
}

.home-v0-story-visual {
  min-width: 0;
}

.home-v0-story-showcase {
  margin: 0;
  border-radius: var(--home-v0-radius-xl);
  border: 1px solid var(--home-v0-border);
  background: var(--home-v0-card);
  box-shadow: 0 20px 40px -16px color-mix(in oklch, var(--home-v0-foreground) 14%, transparent);
  overflow: hidden;
}

.home-v0-story-showcase-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--home-v0-border);
  background: color-mix(in oklch, var(--home-v0-secondary) 80%, var(--home-v0-card));
}

.home-v0-story-showcase-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: color-mix(in oklch, var(--home-v0-muted-fg) 35%, transparent);
}

.home-v0-story-showcase-dot:nth-child(1) {
  background: #f87171;
}

.home-v0-story-showcase-dot:nth-child(2) {
  background: #fbbf24;
}

.home-v0-story-showcase-dot:nth-child(3) {
  background: #34d399;
}

.home-v0-story-showcase-label {
  margin-left: auto;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--home-v0-muted-fg);
}

.home-v0-story-showcase-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.home-v0-story-showcase--panel {
  padding: 0.85rem;
  background: color-mix(in oklch, var(--home-v0-secondary) 50%, var(--home-v0-card));
}

.home-v0-story-caption {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  text-align: center;
  color: var(--home-v0-muted-fg);
}

/* AI valuation panel (story visual) */
.home-v0-valuation-panel {
  border-radius: var(--home-v0-radius-lg);
  border: 1px solid var(--home-v0-border);
  background: var(--home-v0-card);
  color: var(--home-v0-card-foreground);
  overflow: hidden;
}

.home-v0-valuation-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--home-v0-border);
}

.home-v0-valuation-facility {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-v0-valuation-meta {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--home-v0-muted-fg);
}

.home-v0-valuation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in oklch, var(--home-v0-blue-chip) 12%, transparent);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--home-v0-blue-chip-fg);
}

.home-v0-valuation-hero {
  padding: 1rem 1.1rem 0.85rem;
  border-bottom: 1px solid var(--home-v0-border);
  background: color-mix(in oklch, var(--home-v0-blue-chip) 5%, var(--home-v0-card));
}

.home-v0-valuation-label {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--home-v0-muted-fg);
}

.home-v0-valuation-value {
  margin: 0.25rem 0 0;
  font-family: var(--home-v0-font-mono);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--home-v0-foreground);
}

.home-v0-valuation-range {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--home-v0-muted-fg);
}

.home-v0-valuation-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-bottom: 1px solid var(--home-v0-border);
}

.home-v0-valuation-metrics > div {
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--home-v0-border);
}

.home-v0-valuation-metrics > div:nth-child(odd) {
  border-right: 1px solid var(--home-v0-border);
}

.home-v0-valuation-metrics > div:nth-last-child(-n + 2) {
  border-bottom: none;
}

.home-v0-valuation-metrics dt {
  margin: 0;
  font-size: 0.6875rem;
  color: var(--home-v0-muted-fg);
}

.home-v0-valuation-metrics dd {
  margin: 0.2rem 0 0;
  font-family: var(--home-v0-font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--home-v0-foreground);
}

.home-v0-valuation-confidence {
  color: var(--home-v0-primary);
}

.home-v0-valuation-chart {
  padding: 0.85rem 1.1rem 0.65rem;
}

.home-v0-valuation-chart-label {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  color: var(--home-v0-muted-fg);
}

.home-v0-valuation-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  height: 3.25rem;
}

.home-v0-valuation-bars span {
  flex: 1;
  min-width: 0;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(
    180deg,
    color-mix(in oklch, var(--home-v0-blue-chip) 85%, transparent),
    color-mix(in oklch, var(--home-v0-blue-chip) 55%, transparent)
  );
}

.home-v0-valuation-foot {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 1.1rem 0.85rem;
  font-size: 0.6875rem;
  color: var(--home-v0-muted-fg);
  background: var(--home-v0-secondary);
}

@media (min-width: 640px) {
  .home-v0-valuation-foot {
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
  }
}

/* ── Desktop first screen: hero fills viewport, journeys start on scroll ── */
@media (min-width: 1024px) {
  .home-v0-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100svh - 4rem);
    min-height: calc(100dvh - 4rem);
  }

  .home-v0-hero::after {
    height: 4rem;
  }

  .home-v0-hero-grid {
    width: 100%;
    padding: 2.75rem 2rem 3.25rem;
  }

  .home-v0-hero-title {
    margin-top: 1rem;
    font-size: clamp(2.125rem, 3.1vw, 3.25rem);
    line-height: 1.1;
  }

  .home-v0-hero-lead {
    margin-top: 1rem;
    font-size: 1.0625rem;
    line-height: 1.6;
  }

  .home-v0-hero-ctas {
    margin-top: 1.35rem;
  }

  .home-v0-hero-trust {
    margin-top: 1.35rem;
    gap: 0.5rem 1.25rem;
    font-size: 0.8125rem;
  }

  .home-v0-hero-metrics {
    margin-top: 1rem;
    gap: 0.5rem;
  }

  .home-v0-hero-metrics > div {
    padding: 0.5rem 0.75rem;
  }

  .home-v0-hero-metrics dd {
    font-size: 1rem;
  }

  .home-v0-hero-stats {
    margin-top: 0.6rem;
    font-size: 0.75rem;
  }

  .home-v0-asset-card {
    max-width: 26rem;
  }
}

@media (min-width: 1280px) {
  .home-v0-hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem 1rem;
  }

  .home-v0-hero-trust span {
    align-items: flex-start;
  }
}

/* 27" 1080p / 1440p など高さが限られるワイド画面 */
@media (min-width: 1200px) and (max-height: 960px) {
  .home-v0-hero-grid {
    padding: 2rem 2rem 2.5rem;
    gap: 1.75rem;
  }

  .home-v0-hero-title {
    font-size: clamp(1.95rem, 2.6vw, 2.75rem);
  }

  .home-v0-hero-lead {
    margin-top: 0.75rem;
    font-size: 1rem;
  }

  .home-v0-hero-ctas {
    margin-top: 1rem;
  }

  .home-v0-hero-trust {
    margin-top: 1rem;
  }

  .home-v0-hero-metrics {
    margin-top: 0.75rem;
  }

  .home-v0-asset-card-head,
  .home-v0-asset-gen {
    padding-top: 1rem;
    padding-bottom: 0;
  }

  .home-v0-asset-value-row dd {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .home-v0-journeys-inner {
    padding-top: 3.25rem;
  }
}
