/*
 * Stylesheet for Skedra landing page
 *
 * The palette intentionally uses warm neutrals and deep greens inspired by
 * the original Skedra slide deck. Typography is kept clean and readable
 * with generous whitespace to evoke trust and calm. This file defines
 * responsive layout styles so the page looks great on both desktop and
 * mobile.
 */

/* Reset some default browser styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Georgia", serif;
  background-color: #f7f1e8;
  color: #3a5530;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container utility */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

header {
  background-color: #fbf6ee;
  border-bottom: 1px solid #e6dcd1;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #324a26;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #3a5530;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #6b8a4c;
}

/* Hero section */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-text {
  flex: 1 1 50%;
  padding-right: 2rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #2e4822;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary {
  background-color: #486f2f;
  color: #fff;
}

.btn-primary:hover {
  background-color: #395a26;
}

.btn-secondary {
  background-color: #e6dcd1;
  color: #3a5530;
}

.btn-secondary:hover {
  background-color: #d9cbbd;
}

.hero-img {
  flex: 1 1 45%;
  text-align: center;
}

.hero-img img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Section headings */
section {
  padding: 3rem 0;
}

section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #2e4822;
}

section p.lead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #4d6c38;
}

/* Problem & solution */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.feature {
  flex: 1 1 45%;
  background-color: #fbf6ee;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #37532a;
}

.feature p {
  font-size: 1rem;
  color: #4d6c38;
}

/* Stats / Highlights */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.stat {
  flex: 1 1 30%;
  text-align: center;
  background-color: #fbf6ee;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat .number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #486f2f;
  margin-bottom: 0.5rem;
}

.stat .label {
  font-size: 1rem;
  color: #4d6c38;
}

/* Strategic backing section */
.backing {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.backing img {
  flex: 1 1 40%;
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.backing .content {
  flex: 1 1 55%;
}

/* CTA section */
.cta {
  background-color: #e8dccf;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cta input[type="email"] {
  padding: 0.75rem 1rem;
  border: 1px solid #c8bdb2;
  border-radius: 4px;
  min-width: 280px;
}

.cta input[type="submit"] {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  background-color: #486f2f;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cta input[type="submit"]:hover {
  background-color: #395a26;
}

/* Footer */
footer {
  margin-top: 3rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #6d7c5b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }
  .hero-text {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  .features .feature,
  .stats .stat {
    flex: 1 1 100%;
  }
  .backing {
    flex-direction: column;
  }
  .backing img,
  .backing .content {
    flex: 1 1 100%;
  }
}