:root {
  --orange: #e8630c;
  --orange-dark: #c4520a;
  --green: #1f4a3d;
  --green-light: #2d6350;
  --cream: #fbf7f0;
  --cream-dark: #f2ead9;
  --text: #22201d;
  --text-muted: #5c574f;
  --border: #e6dfd0;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.blaze {
  display: inline-block;
  width: 14px;
  height: 22px;
  background: var(--orange);
  border-radius: 3px;
  transform: rotate(2deg);
  box-shadow: 0 0 0 2px var(--cream), 0 0 0 3px var(--green);
}

nav.main {
  display: flex;
  gap: 28px;
}

nav.main a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

nav.main a:hover {
  color: var(--orange-dark);
}

/* Hero */
.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  color: var(--green);
}

.hero p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.15rem;
}

.hero .tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cream-dark);
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* App sections */
.app-section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.app-section:nth-of-type(even) {
  background: var(--cream-dark);
}

.app-inner {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  align-items: start;
}

.app-icon {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  display: block;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.35);
}

.app-content h2 {
  margin: 0 0 4px;
  font-size: 1.7rem;
  color: var(--text);
}

.app-content .subtitle {
  color: var(--text-muted);
  font-weight: 600;
  margin: 0 0 16px;
}

.app-content p.desc {
  margin: 0 0 20px;
  max-width: 640px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  max-width: 640px;
}

.features li {
  padding-left: 22px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--orange);
}

.pricing-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-style: italic;
}

/* App Store badge */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.appstore-badge:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.appstore-badge .glyph {
  font-size: 1.5rem;
  line-height: 1;
}

.appstore-badge .lines {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.appstore-badge .small {
  font-size: 0.65rem;
  letter-spacing: 0.02em;
}

.appstore-badge .big {
  font-size: 1.05rem;
  font-weight: 600;
}

/* Contact */
.contact {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.contact .wrap {
  max-width: 560px;
}

.contact h2 {
  color: var(--green);
  margin-top: 0;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

form.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: -8px;
}

form.contact-form input,
form.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

form.contact-form input:focus,
form.contact-form textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}

form.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

form.contact-form button {
  align-self: flex-start;
  font: inherit;
  font-weight: 700;
  background: var(--green);
  color: #fff;
  border: none;
  padding: 13px 26px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

form.contact-form button:hover {
  background: var(--green-light);
}

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.88rem;
}

footer.site a {
  color: var(--text-muted);
  text-decoration: underline;
}

footer.site nav {
  display: flex;
  gap: 18px;
}

/* Privacy page */
.legal {
  padding: 64px 0 88px;
  max-width: 720px;
}

.legal h1 {
  color: var(--green);
}

.legal h2 {
  margin-top: 2.2em;
  font-size: 1.25rem;
  color: var(--text);
}

.legal .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 620px) {
  .app-inner {
    grid-template-columns: 1fr;
  }
  .features {
    grid-template-columns: 1fr;
  }
  nav.main {
    gap: 16px;
  }
}
