/* ── Reset ── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── Base ── */
body {
  background-color: #ffffff;
  color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  padding: 0 20px 0;
}

.container {
  max-width: 640px;
  width: 100%;
  padding-top: 60px;
}

/* ── Typography ── */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-style: italic;
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
}

.description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ── Form ── */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

input {
  font-family: 'Libre Baskerville', serif;
  padding: 15px;
  border: 1px solid #000;
  font-size: 1rem;
  outline: none;
  width: 100%;
  max-width: 350px;
}

button {
  font-family: 'Libre Baskerville', serif;
  background-color: #000;
  color: #fff;
  padding: 15px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  max-width: 350px;
  transition: opacity 0.3s ease;
}

button:hover {
  opacity: 0.8;
}

/* ── Legal ── */
.legal {
  margin-top: 20px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #444;
}

/* ── About Section ── */
.about {
  margin-top: 4.5rem;
  padding-top: 3rem;
  border-top: 1px solid #e5e5e5;
  text-align: center;
}

.about h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.about .tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 1.8rem;
}

.about > p {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.92rem;
  line-height: 1.85;
  color: #222;
  margin-bottom: 1.1rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* ── Section Sub-label ── */
.about-sub {
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin: 2.5rem 0 0.9rem;
}

/* ── Topic Tags ── */
.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: 540px;
  margin: 0 auto;
}

.topic-tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.85rem;
  border: 1px solid #ccc;
  border-radius: 999px;
  color: #333;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
}

.topic-tag:hover {
  border-color: #000;
  background: #f0f0f0;
}

/* ── Feature Cards ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.1rem;
  margin: 0.5rem auto 0;
  max-width: 600px;
  text-align: left;
}

.feature-card {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: #bbb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.feature-card .icon {
  font-size: 1.4rem;
  margin-bottom: 0.55rem;
  display: block;
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #000;
}

.feature-card p {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.78rem;
  line-height: 1.65;
  color: #555;
  margin: 0;
}

/* ── FAQ ── */
.faq {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e5e5e5;
  text-align: left;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.faq h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

details {
  border-bottom: 1px solid #ebebeb;
  padding: 0.9rem 0;
}

summary {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.88rem;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #111;
  gap: 1rem;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  font-size: 1.1rem;
  color: #999;
  flex-shrink: 0;
  transition: transform 0.2s;
}

details[open] summary::after {
  content: '−';
}

details p {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.82rem;
  line-height: 1.78;
  color: #555;
  margin: 0.75rem 0 0.2rem;
}

/* ── Footer ── */
.site-footer {
  width: 100%;
  text-align: center;
  padding: 2rem 1rem 2rem;
  font-family: 'Libre Baskerville', serif;
  font-size: 0.78rem;
  color: #999;
  margin-top: 3rem;
  border-top: 1px solid #ebebeb;
}

.site-footer a {
  color: #999;
  text-decoration: underline;
}

.site-footer a:hover {
  color: #000;
}

/* ── Privacy Modal ── */
.privacy-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 100;
}

.privacy-modal:target {
  display: flex;
}

.privacy-content {
  background: white;
  max-width: 600px;
  width: 100%;
  padding: 40px;
  text-align: left;
  position: relative;
  font-family: 'Libre Baskerville', serif;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.privacy-content h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
}

.privacy-content p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 0.9rem;
  color: #333;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  text-decoration: none;
  font-size: 1.2rem;
  color: black;
}

/* ── Disabled Button ── */
.disabled-btn {
  background-color: #999;
  cursor: not-allowed;
  opacity: 0.7;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  h1 { font-size: 2.8rem; }
  .subtitle { font-size: 1.15rem; }
  .features { grid-template-columns: 1fr; }
  .container { padding-top: 40px; }
}