/* ArtTrove marketing site (www.arttrove.app).
   Colors match the app (inventory/static/inventory/app.css) so the two feel like one product. */
:root {
  --bg: #faf7f2;
  --surface: #fff;
  --text: #1f1b16;
  --muted: #6e665c;
  --border: #e4dccf;
  --accent: #c77d3a;
  --accent-dark: #a9652b;
  --accent-tint: #f7ecdf;
  --accent-tint-border: #e8cdae;
  --neutral: #f2ede5;
  --max: 1120px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent-dark); font-size: .85rem; font-weight: 600;
}
.accent { color: var(--accent); }

/* --- Buttons --- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--accent); transition: background .15s, color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-secondary { background: var(--surface); color: var(--accent); }
.btn-secondary:hover { background: var(--accent-tint); }
.btn-small { padding: 8px 16px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(250, 247, 242, .95);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current=page] { color: var(--accent); }
.nav .btn { color: #fff; }
.menu-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: 6px;
  padding: 6px 10px; font: inherit; cursor: pointer;
}

/* --- Sections --- */
section { padding: 80px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero h1 { max-width: 860px; margin: 0 auto 18px; }
.hero .lead { max-width: 680px; margin: 0 auto 28px; font-size: 1.2rem; color: var(--muted); }
.hero .btn-row { justify-content: center; }
.hero .fine { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.screenshot {
  margin: 56px auto 0; max-width: 1040px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 20px 50px rgba(60, 40, 20, .14);
}

/* Question cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
}
.section-alt .card { background: var(--bg); }
.card p:last-child { margin-bottom: 0; }
.question h3 { color: var(--accent); font-size: 1.2rem; }
.question p { color: var(--muted); }

/* Value proposition */
.values .card { text-align: center; }
.values .big { font-size: 1.35rem; font-weight: 700; margin-bottom: 8px; }

/* Features */
.feature .icon {
  width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--accent); margin-bottom: 14px;
}
.feature .icon svg { width: 24px; height: 24px; }
.feature p { color: var(--muted); }
/* Feature showcase: a screenshot beside its description, alternating sides */
.showcase { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; margin-bottom: 72px; }
.showcase.flip .showcase-text { order: 2; }
.showcase-text h3 { font-size: 1.6rem; }
.showcase-text p { color: var(--muted); font-size: 1.08rem; }
.showcase-text .icon { margin-bottom: 14px; }
.shot {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgba(60, 40, 20, .12);
}
.more-features { margin-top: 8px; }
.all-plans-note { text-align: center; margin-top: 32px; font-weight: 600; }

/* Pricing */
.plan { display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); position: relative; }
.plan .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.plan h3 { margin-bottom: 4px; }
.plan .price { font-size: 2.2rem; font-weight: 800; margin: 8px 0 0; }
.plan .price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan .per-month { color: var(--muted); font-size: .9rem; min-height: 1.4em; margin-bottom: 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 7px 0; border-top: 1px solid var(--border); font-size: .95rem; }
.plan li strong { font-weight: 700; }
.plan .btn { text-align: center; }
.pricing-notes { max-width: 720px; margin: 32px auto 0; text-align: center; color: var(--muted); font-size: .95rem; }

/* CTA band */
.cta-band { background: var(--accent); color: #fff; text-align: center; padding: 72px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { font-size: 1.15rem; opacity: .95; margin-bottom: 28px; }
.cta-band .btn-primary { background: #fff; color: var(--accent-dark); border-color: #fff; }
.cta-band .btn-primary:hover { background: var(--accent-tint); }

/* Simple content pages (About, Support, Docs) */
.page { padding: 64px 0 80px; }
.page .wrap { max-width: 800px; }
.page h1 { color: var(--accent); }
.page h2 { font-size: 1.5rem; margin-top: 48px; }
.placeholder {
  background: var(--accent-tint); border: 1px dashed var(--accent-tint-border); border-radius: 8px;
  padding: 12px 16px; color: var(--accent-dark); font-size: .95rem;
}
details { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* --- Small screens --- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .showcase.flip .showcase-text { order: 0; }
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 24px 16px; background: var(--bg); border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav .btn { margin-top: 8px; text-align: center; }
}
