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

:root {
  --text: #1a1a1a;
  --text-secondary: #555;
  --purple: #7c3aed;
  --purple-dark: #6d28d9;
  --border: #ccc;
}

body {
  font-family: -apple-system, system-ui, 'Segoe UI', sans-serif;
  color: var(--text);
  background: #f5f3f0;
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 620px;
  padding: 0 1.5rem;
  margin: 0 auto;

  @media (min-width: 800px) {
    margin-left: 4vw;
  }
}

a {
  color: var(--purple);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* -- Header -- */

header {
  padding: 4rem 0 0;
  margin-bottom: 0.4rem;
}

header h1 {
  font-family: 'degular-display', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--purple);
}

/* -- Hero -- */

.hero {
  margin-bottom: 1.5rem;
}

.hero .tagline {
  font-family: 'degular-display', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin: 1rem 0 0.5rem;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* -- Sections -- */

section {
  margin-bottom: 2.5rem;
}

section h2 {
  font-family: 'degular-display', sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--purple-dark);
}

section p {
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

/* -- Features -- */

.features {
  list-style: none;
  padding: 0;
}

.features li {
  padding: 0;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.features strong {
  color: var(--text);
  font-weight: 600;
}

/* -- Testimonial -- */

blockquote {
  margin: 1.8rem 0;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

blockquote p {
  color: var(--text-secondary);
}

blockquote cite {
  display: block;
  font-style: italic;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 0.4rem;
  text-align: right;
}

blockquote cite a {
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
}

blockquote cite a:hover {
  text-decoration-color: var(--purple);
}

/* -- Screenshot -- */

.screenshot {
  margin: 0 0 2.5rem;
  border: 1px solid #ccc;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}

.screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot figcaption {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0;
  padding-top: 0.4rem;
  text-align: center;
  background-color: #e8e6e3;
  padding: 0.5rem 0;
}

/* -- Contact form -- */

.contact-form {
  margin-top: 1rem;
  padding: 1.5rem;
  background: #f0eeec;
  border-radius: 6px;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
  color: var(--text-secondary);
}

.contact-form input[type='email'],
.contact-form input[type='text'] {
  display: block;
  width: 100%;
  padding: 0.5rem 0;
  margin-bottom: 1.2rem;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
}

.contact-form input:focus {
  outline: none;
  border-bottom-color: var(--purple);
  box-shadow: 0 1px 0 0 var(--purple);
}

.contact-form .hn {
  display: none;
}

.contact-form button {
  display: block;
  margin-left: auto;
  background: #555;
  color: #fff;
  border: none;
  padding: 0.5rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}

.contact-form button:hover {
  background: #777;
}

.form-success {
  font-size: 0.95rem;
  padding: 0.8rem 0;
  color: var(--purple-dark);
}

/* -- Footer -- */

footer {
  padding: 2rem 0;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

footer a {
  color: var(--text-secondary);
}
footer a:hover {
  color: var(--purple);
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }
  header h1 {
    font-size: 2.8rem;
  }
  .hero .tagline {
    font-size: 1.6rem;
  }
  footer {
    flex-direction: column;
    gap: 0.3rem;
  }
}
