/* All rules in this file belong to the `pages` cascade layer. */
@layer pages {
/* ─── Home Page ─── */
.home-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.home-brand {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.home-logo {
  width: 210px;
  max-width: 60%;
  height: auto;
  margin-bottom: 24px;
}

.home-h1 {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1.08;
  color: var(--color-text);
  margin: 0 0 24px;
  font-weight: 700;
}

.home-subtitle {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text);
  margin: 0 0 16px;
  font-weight: 400;
}

.home-subtitle .hl {
  color: var(--color-accent);
}

.home-meta {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0 0 48px;
  letter-spacing: 0.3px;
}

.home-footnote {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 460px;
  margin: 0 auto;
}

.home-card {
  background: var(--color-white);
  border-radius: 14px;
  padding: 28px 32px;
  width: 100%;
  text-align: left;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
}

.home-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 16px;
}

.home-dimensions {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-dimensions li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.4;
}

.dim-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-relevance  { background: var(--color-relevance); }
.dot-satisfaction { background: var(--color-satisfaction); }
.dot-time       { background: var(--color-time-energy); }

.home-wrap form {
  width: 100%;
}

.home-email-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-white);
  outline: none;
  display: block;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}

.home-email-input:focus {
  border-color: var(--color-accent);
}

.home-email-input::placeholder {
  color: var(--color-text-muted);
}

.home-submit {
  display: block;
  width: 100%;
  padding: 15px 24px;
  background: #5a5248;
  color: var(--color-white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.3px;
  transition: background 0.2s;
}

.home-submit:hover:not(:disabled) {
  background: #3d3530;
}

.home-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 520px) {
  .home-h1 {
    font-size: 38px;
  }

  .home-card {
    padding: 20px 20px;
  }

}

}
