/* Lanhorz visual polish — premium black/gold finish, no placeholder slots */

.page-shell {
  width: min(100%, var(--max, 1180px));
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) clamp(18px, 3vw, 28px) clamp(64px, 8vw, 96px);
}

.page-hero p,
.security-hero p,
.strictness-hero p,
.demo-page-hero p {
  max-width: 720px;
  margin: 16px auto 0;
  text-align: center;
  color: var(--muted, #b9b1a1);
  line-height: 1.65;
  font-size: clamp(15px, 2vw, 17px);
}

/* About — intentional aside panels (no image placeholders) */
.story-aside {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 28px 24px;
  border: 1px solid rgba(228, 190, 110, 0.28);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(14, 13, 10, 0.94), rgba(2, 2, 2, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 16px 36px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.story-step-badge {
  justify-self: center;
  padding: 6px 14px;
  border: 1px solid rgba(244, 220, 160, 0.55);
  border-radius: 8px;
  color: #f4dca0;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 13px;
}

.story-aside-kicker {
  margin: 0;
  color: #e8c878;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
}

.story-flow-card {
  padding: 28px 24px;
  border: 1px solid rgba(228, 190, 110, 0.28);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(12, 11, 9, 0.94), rgba(0, 0, 0, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.story-flow-card h3 {
  margin: 0 0 18px;
  color: #f4dca0;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.story-flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.story-flow-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(228, 190, 110, 0.18);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  color: #f5f0e6;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.story-flow-list li::before {
  content: "→";
  color: #e8c878;
  font-weight: 700;
}

.story-flow-list li:first-child::before { content: "◈"; }

.story-card-text { align-items: start; }

.mission-orbit {
  min-height: 220px;
  display: grid;
  place-items: center;
}

/* Crowdfunding hero — emblem, no external image */
.crowdfunding-visual {
  min-height: 280px;
  border-radius: 16px;
  border: 1px solid rgba(228, 190, 110, 0.28);
  background:
    radial-gradient(circle at 50% 38%, rgba(228, 190, 110, 0.16), transparent 58%),
    linear-gradient(160deg, rgba(10, 10, 9, 0.96), rgba(0, 0, 0, 0.92));
  display: grid;
  place-items: center;
  padding: 32px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 48px rgba(0, 0, 0, 0.45);
}

.crowdfunding-emblem {
  text-align: center;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.crowdfunding-emblem p {
  margin: 0;
  color: #e8c878;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

.crowdfunding-emblem .logo-stage.large {
  filter: drop-shadow(0 0 28px rgba(228, 190, 110, 0.35));
}

/* Brand-aligned dashboard metrics (gold spectrum) */
.dashboard-metrics .metric-income span,
.dashboard-metrics .metric-income strong { color: #f4dca0; }
.dashboard-metrics .metric-bills span,
.dashboard-metrics .metric-bills strong { color: #c79a3c; }
.dashboard-metrics .metric-remaining span,
.dashboard-metrics .metric-remaining strong { color: #e8c878; }
.dashboard-metrics .metric-savings span,
.dashboard-metrics .metric-savings strong { color: #d4af52; }

.strictness-saved {
  border-color: rgba(228, 190, 110, 0.35) !important;
  background: rgba(228, 190, 110, 0.08) !important;
  color: #e8c878 !important;
}

/* Forms — unified premium inputs */
.login-card label,
.contact-form label,
.account-tools-form label {
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #e8c878;
}

.form-status {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(228, 190, 110, 0.22);
  background: rgba(8, 8, 7, 0.65);
  line-height: 1.5;
}

.form-status-error {
  border-color: rgba(255, 120, 120, 0.35);
  color: #ffb4b4;
  background: rgba(80, 20, 20, 0.25);
}

/* Section rhythm */
.home-hero,
.page-hero,
.security-hero,
.faq-hero,
.about-hero,
.contact-hero {
  margin-bottom: clamp(24px, 4vw, 40px);
}

.feature-grid,
.step-grid,
.faq-grid,
.pricing-grid,
.strictness-levels-grid,
.how-steps-grid {
  margin-bottom: clamp(32px, 5vw, 48px);
}

/* Hide legacy placeholder panels if any remain */
.image-panel { display: none !important; }

/* Strictness info bar — gold accent */
.strictness-info-bar {
  border-color: rgba(228, 190, 110, 0.35) !important;
  background: rgba(228, 190, 110, 0.06) !important;
}
.strictness-info-bar span {
  border-color: rgba(228, 190, 110, 0.5) !important;
  color: #e8c878 !important;
}

/* Account loading */
.account-shell > .form-status {
  text-align: center;
  max-width: 420px;
  margin: 80px auto;
  color: #e8c878;
}

/* Admin + finance tools inputs */
.account-tools-form input,
.account-tools-form select,
.account-tools-form textarea {
  border-radius: 10px !important;
  padding: 12px 14px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-tools-form input:focus,
.account-tools-form select:focus,
.account-tools-form textarea:focus {
  outline: none;
  border-color: rgba(244, 220, 160, 0.65) !important;
  box-shadow: 0 0 0 1px rgba(244, 220, 160, 0.2), 0 0 18px rgba(228, 190, 110, 0.12);
}

@media (max-width: 980px) {
  .story-card,
  .story-split {
    grid-template-columns: 1fr !important;
  }
  .story-aside { order: -1; }
  .strictness-levels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .strictness-levels-grid,
  .how-steps-grid,
  .crowdfunding-cards,
  .demo-footer-features {
    grid-template-columns: 1fr !important;
  }
}
