:root {
  --lf-gold: #734e0f;
}

.hero-headline {
  font-size: 195%;
  font-family: "Libertinus Sans", system-ui, -apple-system, "Segoe UI",
    sans-serif;
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.origin-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  padding: 1rem 0;
}

@media (min-width: 640px) {
  .origin-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;
    column-gap: 1.25rem;
    text-align: left;
  }

  .origin-media {
    justify-content: flex-end;
  }
}

.origin-media {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.origin-square {
  width: clamp(11rem, 56vw, 16rem);
  height: clamp(11rem, 56vw, 16rem);
  border-radius: 1.25rem;
  object-fit: cover;
  display: block;
  background: #e2e8f0;
}

@media (min-width: 640px) {
  .origin-square {
    width: clamp(5rem, 25vw, 8rem);
    height: clamp(5rem, 25vw, 8rem);
  }
}

.origin-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.preview-section {
  position: relative;
  background-image: url("../web/preview_bg.fa9d99438283.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.6),
    rgba(15, 23, 42, 0.7)
  );
}

.preview-canvas-wrap {
  position: relative;
}

.preview-canvas {
  width: 100%;
  height: auto;
  max-width: 480px;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.12);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.preview-loading,
.preview-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.preview-loading {
  backdrop-filter: blur(6px);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
}

.preview-error {
  color: #fee2e2;
  background: rgba(185, 28, 28, 0.2);
}

.preview-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease,
    color 150ms ease, border-color 150ms ease;
}

.preview-btn-outline {
  color: #ffffff;
  border: 2px solid #ffffff;
  background: transparent;
}

.preview-btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-color: #cc850a;
  color: #cc850a;
  background: rgba(255, 255, 255, 0.08);
}

.preview-btn-solid {
  background: #ffffff;
  color: #0f172a;
  border: 2px solid #ffffff;
}

.preview-btn-gold-solid {
  background: #ffffff;
  color: #0f172a;
  border: 2px solid #cc850a;
}

.preview-btn-gold-text {
  color: #cc850a;
  border: 2px solid #cc850a;
  background: transparent;
}

.hero-copy {
  font-family: "Libertinus Sans", system-ui, -apple-system, "Segoe UI",
    sans-serif;
  word-spacing: 0.1em;
  line-height: 1.2em;
}

.hero-copy p {
  margin: 1.5em 0;
  text-indent: 1rem;
  line-height: 1.6;
}

.hero-link {
  margin-top: 0.5rem;
}

.hero-link-gold {
  color: #cc850a;
}

.preview-btn-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.preview-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.social-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.social-avatar {
  width: 90px;
  height: 90px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid #e2e8f0;
  margin: 0 auto 0.75rem auto;
  display: block;
}

.social-stars {
  display: inline-flex;
  gap: 0.2rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.social-star {
  width: 18px;
  height: 18px;
  stroke-width: 0.5;
  fill: #c67a1a;
  stroke: #c67a1a;
}

.social-quote {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0.25rem 0;
}

.social-name {
  font-weight: 700;
  margin: 0.25rem 0 0;
}

#buy-btn {
  font-variant: small-caps;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding-top: calc(0.75rem * 1.05);
  padding-bottom: calc(0.75rem * 1.05);
}
