/* Zero Effort Platform - Homepage Specific Styles
 * Used exclusively by index.html
 * Extracted: 2025-11-20
 */

/* ========================================
   PAGE LAYOUT
   ======================================== */

.page {
  flex: 1;
  margin: 0 auto;
  width: 100%;
  max-width: var(--maxw);
  padding: clamp(56px, 10vh, 112px) clamp(16px,3vw,32px) 32px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 28px;
  position: relative;
  z-index: 1;
}

/* ========================================
   STAGE (Logo Section)
   ======================================== */

.stage {
  display: grid;
  place-items: center;
  gap: clamp(20px, calc(2 * 0.95rem * 1.2), 44px);
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* Logo area - matched to links.html background positioning */
.logo-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.logo-wrap > a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Match links.html background opacity (10% visible) */
  opacity: 0.1;
  transition: opacity 1s var(--easing);
  will-change: opacity;
}

.logo-wrap:hover .logo,
.logo:focus-visible {
  opacity: 1;
  outline: none;
}

/* ========================================
   MODAL OVERRIDES (Simple Homepage Style)
   ======================================== */

/* Override contact modal for simpler homepage style */
.modal-head {
  padding: 18px 22px;
  border-bottom: 1px solid #141414;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: .02em;
}

.modal-close {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--fg);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
}

.modal-close.veil {
  filter: brightness(60%);
}

.modal-body {
  padding: 18px 22px 22px;
}

form {
  display: grid;
  gap: 14px;
}

label {
  font-size: .9rem;
  color: #cfcfcf;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #1c1c1c;
  background: #0e0e0e;
  color: var(--fg);
  outline: none;
  transition: border-color var(--speed) var(--easing);
}

input::placeholder,
textarea::placeholder {
  color: #6e6e6e;
}

input:focus,
textarea:focus {
  border-color: #2b2b2b;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
  .row {
    grid-template-columns: 1fr;
  }
}

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 4px;
}

.btn-primary {
  border-color: #2b2b2b;
  padding: 12px 18px;
  font-weight: 700;
}

.note {
  font-size: .8rem;
  color: #9a9a9a;
  margin-top: -4px;
}

.status {
  font-size: .9rem;
  min-height: 1.25em;
}

.status--ok {
  color: #9effa6;
}

.status--bad {
  color: #ff9e9e;
}

/* ========================================
   ACCESSIBILITY - REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  .logo,
  .veil {
    transition: none;
  }
}
