/* Zester Marketing Site — Shared Styles */
:root {
  --bg: #060b13;
  --hero-glow: #153659;
  --surface: #0c1628;
  --surface-2: #101f36;
  --text: #e7edf8;
  --muted: #a8b4cc;
  --line: #22314d;
  --line-strong: #2f4569;
  --accent: #39bd74;
  --accent-soft: rgba(57, 189, 116, 0.2);
  --yellow-accent: #e8c840;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 360px at 12% -6%, var(--hero-glow) 0%, transparent 60%),
    radial-gradient(600px 300px at 100% 0%, #0d1e34 0%, transparent 64%),
    var(--bg);
  line-height: 1.5;
  min-height: 100vh;
}

main {
  width: min(1024px, 100% - 1.6rem);
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

/* Navigation */
.site-nav {
  width: min(1024px, 100% - 1.6rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 0.4rem;
}

.site-nav .brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 650;
  font-size: 0.95rem;
}

.site-nav .brand-link img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-links .nav-cta {
  background: var(--accent);
  color: #072313;
  font-weight: 620;
  padding: 0.35rem 0.7rem;
}

.nav-links .nav-cta:hover {
  background: #4bd98a;
  color: #072313;
}

/* Cards & hero shared */
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--surface) 0%, #0a1324 100%);
  padding: 1.2rem 1rem;
}

.card-sm {
  padding: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  min-height: 44px;
  font-weight: 640;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  border-color: #67d899;
  color: #072313;
}

.btn-secondary {
  background: var(--surface-2);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--muted);
}

.btn:hover {
  opacity: 0.9;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

/* Status callout */
.status-callout {
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(57, 189, 116, 0.3);
  border-radius: 10px;
  background: rgba(57, 189, 116, 0.08);
  color: #b7e7cb;
  font-size: 0.92rem;
  max-width: 54ch;
}

/* Typography */
h1 {
  margin: 0;
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  line-height: 1.12;
}

h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.hero-sub {
  color: #d7e2f7;
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 0.5rem 0 0;
}

.hero-text {
  color: var(--muted);
  max-width: 52ch;
}

p { margin: 0.4rem 0; }

.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

a { color: #9fdab7; }

/* Grid layouts */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.grid-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--surface-2) 0%, #0f1b30 100%);
  padding: 0.85rem;
}

.grid-item h3 { margin-bottom: 0.15rem; }
.grid-item p { color: var(--muted); font-size: 0.92rem; }

/* Section spacing */
section { margin-top: 1rem; }

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.site-footer a {
  color: #9fdab7;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Support line */
.support-line {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Lists */
ol, ul {
  margin: 0;
  padding-left: 1.1rem;
}

li { color: var(--muted); }

/* Content card for sub-pages */
.content-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--surface) 0%, #0a1324 100%);
  padding: 1.2rem 1rem;
  margin-top: 0.8rem;
}

/* Step list for how-it-works */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin-top: 0.7rem;
}

.step {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--surface-2) 0%, #0f1b30 100%);
  padding: 0.85rem;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.step h3 { margin-bottom: 0.1rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* FAQ */
.faq-list {
  margin-top: 0.5rem;
}

.faq-item {
  padding: 0.55rem 0;
  border-top: 1px solid rgba(34, 49, 77, 0.85);
}

.faq-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.faq-q {
  margin: 0;
  font-weight: 620;
}

.faq-a {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

/* Responsive */
@media (min-width: 600px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 740px) {
  main, .site-nav { padding: 1.2rem 0 2.5rem; }
  .card, .content-card { padding: 1.5rem 1.3rem; }
}
