/* Presto marketing site. Palette is sampled from Allan's logo artwork (GitHub #52):
   purple #582D86 and gold #E7A121. Logo files live in docs/brand/presto-logo/. */

:root {
  --purple: #582D86;
  --purple-dark: #3F1F63;
  --purple-light: #7B47B5;
  --gold: #E7A121;
  --ink: #24163d;
  --slate: #475569;
  --slate-light: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --max-width: 960px;
}

* { 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(--ink);
  background: var(--bg);
  line-height: 1.55;
}

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

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

/* Header / nav */
header.site {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--purple);
}
.brand img { height: 38px; width: auto; display: block; }
.brand .m { color: var(--gold); }
.brand { white-space: nowrap; }
.brand:hover { text-decoration: none; opacity: 0.9; }

nav.site-nav a {
  color: var(--slate);
  font-weight: 600;
  margin-left: 1.75rem;
  font-size: 0.95rem;
}
nav.site-nav a:hover { color: var(--purple); text-decoration: none; }
nav.site-nav a.current { color: var(--purple); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: white;
  padding: 3.5rem 0 4.5rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.hero p.tagline {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.92);
  max-width: 620px;
  margin: 0 auto 2rem;
}

.hero-split { text-align: left; }
.hero-split .tagline { margin-left: 0; margin-right: 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-art {
  background: #fff;
  border-radius: 20px;
  padding: 0.5rem;
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
}
.hero-art img { display: block; width: 100%; height: auto; border-radius: 14px; }

.badge-soon {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }

.btn-solid {
  display: inline-block;
  background: var(--purple);
  color: white;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(88,45,134,0.25);
}
.btn-solid:hover { text-decoration: none; filter: brightness(1.08); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: white;
  font-weight: 700;
  padding: 0.8rem 1.7rem;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.6);
  font-size: 1.05rem;
  margin-left: 0.75rem;
}
.btn-outline:hover { text-decoration: none; background: rgba(255,255,255,0.1); }

.btn-outline-dark {
  display: inline-block;
  background: transparent;
  color: var(--purple);
  font-weight: 700;
  padding: 0.8rem 1.7rem;
  border-radius: 10px;
  border: 2px solid var(--purple);
  font-size: 1.05rem;
  margin-left: 0.75rem;
}
.btn-outline-dark:hover { text-decoration: none; background: rgba(88,45,134,0.06); }

/* Sections */
section { padding: 3.5rem 0; }
section.alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

h2.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
p.section-sub {
  text-align: center;
  color: var(--slate-light);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
}

/* Why-Presto list */
.why-list { list-style: none; padding: 0; margin: 0; }
.why-list li {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
.why-list li:last-child { border-bottom: none; }
.why-list .check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.why-list strong { display: block; margin-bottom: 0.15rem; }
.why-list span.detail { color: var(--slate); font-size: 0.95rem; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border: 2px solid var(--purple);
  box-shadow: 0 8px 24px rgba(88,45,134,0.15);
}

.price-card .ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
}

.price-card h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.15rem;
  color: var(--slate);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
}

.price-card .amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0.25rem 0;
}
.price-card .amount span.per { font-size: 1rem; font-weight: 600; color: var(--slate-light); }

.price-card .note { color: var(--slate-light); font-size: 0.9rem; margin-bottom: 1.5rem; min-height: 2.5em; }

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  flex: 1;
}
.price-card ul li {
  padding: 0.4rem 0;
  color: var(--slate);
  font-size: 0.92rem;
  padding-left: 1.4rem;
  position: relative;
}
.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 800;
}

.free-callout {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}
.free-callout h3 { margin: 0 0 0.5rem; font-size: 1.3rem; }
.free-callout p { margin: 0; color: rgba(255,255,255,0.92); max-width: 560px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h4 { margin: 0 0 0.4rem; font-size: 1.02rem; }
.faq-item p { margin: 0; color: var(--slate); font-size: 0.95rem; }

/* Footer */
footer.site {
  background: var(--purple-dark);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}
footer.site a { color: rgba(255,255,255,0.9); }
footer.site .foot-links { margin-top: 0.75rem; }
footer.site .foot-links a { margin: 0 0.6rem; }

@media (max-width: 820px) {
  .hero-split { text-align: center; }
  .hero-split .tagline { margin-left: auto; margin-right: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 1.9rem; }
  .brand { font-size: 1.1rem; gap: 0.45rem; }
  .brand img { height: 30px; }
  nav.site-nav a { margin-left: 0.7rem; font-size: 0.85rem; }
  header.site .wrap { padding-left: 1rem; padding-right: 1rem; }
  .btn-outline { display: block; margin: 0.75rem auto 0; width: fit-content; }
}
