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

:root {
  --accent: #A8642F;
  --accent-dark: #7E4720;
  --teal: #1E6F6A;
  --teal-dark: #154F4B;
  --text: #23302D;
  --muted: rgba(35, 48, 45, 0.6);
  --bg: #FFFCF6;
  --bg-alt: #F3ECDB;
  --border: rgba(35, 48, 45, 0.12);
  --radius: 8px;
  --max-width: 960px;
}

body {
  font-family: system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* nav */
nav {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-icon {
  height: 36px;
  width: 36px;
  display: block;
  border-radius: 22%;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* sections */
section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-align: center;
}

/* hero */
#hero {
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

.hero-icon {
  width: 140px;
  height: 140px;
  margin: 0 auto 2rem;
  display: block;
  border-radius: 22%;
  box-shadow: 0 12px 32px rgba(30, 111, 106, 0.28);
}

#hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
}

/* button */
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s;
}

.btn-primary:hover {
  background: var(--teal-dark);
}

/* features */
#features {
  background: var(--bg-alt);
  max-width: 100%;
  padding: 2.5rem 2rem;
}

#features > h2 {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.features {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
}

.feature {
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 1rem;
}

.feature h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* beta signup */
#beta {
  max-width: 560px;
  text-align: center;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.section-intro {
  color: var(--muted);
  margin-bottom: 2rem;
}

.beta-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.beta-form input {
  flex: 1 1 260px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
}

.beta-form input:focus {
  outline: 2px solid var(--teal);
  border-color: transparent;
}

.beta-form .btn-primary {
  flex: 0 0 auto;
}

/* form banners */
.success-banner {
  background: rgba(30, 111, 106, 0.1);
  color: var(--teal-dark);
  border: 1px solid rgba(30, 111, 106, 0.3);
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.error-banner {
  background: var(--text);
  color: var(--bg-alt);
  border: 1px solid var(--text);
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* footer */
footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--muted);
}
