/* Perimeno promo site — Aurora Light */
:root {
  --bg: #F5F0EE;
  --plum: #562346;
  --lilac: #D8C8D6;
  --peach: #E8916B;
  --muted: #7A5E70;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--plum);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 590;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: var(--plum); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header.site-header {
  padding: 20px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 620;
  font-size: 24px;
  color: var(--plum);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
}
.site-nav a:hover { color: var(--plum); }
.btn-pill {
  display: inline-block;
  background: var(--plum);
  color: #FBF8F7 !important;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-pill:hover { opacity: 0.9; }

/* Hero */
.hero {
  padding: 88px 0 80px;
  text-align: center;
}
.hero .app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(86, 35, 70, 0.25);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 60px);
  max-width: 700px;
  margin: 0 auto 20px;
}
.hero .sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 32px;
}
.hero .cta-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.appstore-badge img { height: 54px; width: auto; }

/* Feature sections */
.features { padding: 16px 0 64px; }
.feature-card {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 40px;
  margin-bottom: 24px;
}
.feature-card h2 {
  font-size: 28px;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--muted);
  max-width: 720px;
}

/* Closing CTA */
.closing {
  text-align: center;
  padding: 56px 0 80px;
}
.closing h2 {
  font-size: clamp(30px, 4.5vw, 44px);
  margin-bottom: 12px;
}
.closing .sub {
  color: var(--muted);
  margin-bottom: 28px;
}

/* Disclaimer */
.disclaimer {
  padding: 0 0 48px;
}
.disclaimer p {
  font-size: 14px;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* Legal & content pages */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}
.page h1 {
  font-size: 40px;
  margin-bottom: 16px;
}
.page h2 {
  font-size: 24px;
  margin: 40px 0 12px;
}
.page p { margin-bottom: 16px; }
.page .effective { color: var(--muted); font-weight: 500; }

/* FAQ */
details {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  font-family: "Inter", sans-serif;
}
details p {
  margin: 12px 0 4px;
  color: var(--muted);
}

/* Form */
form {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 500;
  font-size: 15px;
}
form input[type="text"],
form input[type="email"],
form textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--lilac);
  border-radius: 10px;
  background: var(--bg);
  color: var(--plum);
}
form input:focus, form textarea:focus {
  outline: 2px solid var(--peach);
  border-color: transparent;
}
form textarea { min-height: 140px; resize: vertical; }
form button {
  align-self: flex-start;
}
form button:disabled { opacity: 0.6; cursor: default; }
.form-status {
  display: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
}
.form-status.success {
  display: block;
  background: #E8F2E8;
  color: #2E5E3A;
}
.form-status.error {
  display: block;
  background: #F7E5E0;
  color: #8C3A2B;
}
.email-fallback { color: var(--muted); font-size: 15px; margin-top: 16px; }

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--lilac);
  padding: 28px 0 40px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.site-footer a { color: var(--muted); }
.site-footer p { margin-bottom: 8px; }

@media (max-width: 640px) {
  .hero { padding: 56px 0 48px; }
  .feature-card { padding: 28px 22px; }
  .site-nav { gap: 16px; }
}
