/* Staccato marketing site — shared styles */

:root {
  --accent-top: #6b5cff;
  --accent-bottom: #bd4dff;
  --grad: linear-gradient(135deg, var(--accent-top), var(--accent-bottom));
  --ink: #16131f;
  --muted: #6b6880;
  --line: rgba(22, 19, 31, 0.10);
  --card: #ffffff;
  --bg: #f7f6fb;
  --bg-deep: #0d0b1a;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(107, 92, 255, 0.18);
  --max: 1080px;
  font-synthesis: none;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(247, 246, 251, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand .glyph {
  width: 30px; height: 30px; border-radius: 9px; background: var(--grad);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 16px rgba(189, 77, 255, 0.4);
}
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; line-height: 1;
  padding: 13px 22px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; transition: transform .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(124, 80, 255, 0.4); }
.btn-ghost { background: rgba(255,255,255,0.6); color: var(--ink); border-color: var(--line); }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 620px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(107,92,255,0.18), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .3px;
  color: var(--accent-top); background: rgba(107,92,255,0.10);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: 52px; line-height: 1.04; letter-spacing: -1.4px; font-weight: 800; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { font-size: 18px; color: var(--muted); margin: 20px 0 30px; max-width: 30em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ---------- App mock window ---------- */
.mock {
  border-radius: 18px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #faf9fe; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.mock-title { margin-left: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.mock-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; }
.drop {
  border: 2px dashed rgba(107,92,255,0.4); border-radius: 12px; background: rgba(107,92,255,0.05);
  display: grid; place-items: center; text-align: center; padding: 22px 12px; gap: 8px; min-height: 168px;
}
.drop .ring { width: 46px; height: 46px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.drop b { font-size: 13px; } .drop span { font-size: 11px; color: var(--muted); }
.score { border: 1px solid var(--line); border-radius: 12px; padding: 16px 14px; background: #fff; }
.staff { height: 7px; border-top: 1px solid #d9d6e6; margin: 9px 0; position: relative; }
.note-dot { position: absolute; width: 9px; height: 7px; border-radius: 50%; background: var(--accent-bottom); top: -3px; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-head { text-align: center; max-width: 40em; margin: 0 auto 48px; }
.section-head h2 { font-size: 34px; letter-spacing: -0.8px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 12px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--accent-top); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(107,92,255,0.10); color: var(--accent-top); display: grid; place-items: center; margin-bottom: 16px; }
.card h3 { font-size: 17px; margin-bottom: 7px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -16px; left: 24px;
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
  box-shadow: 0 8px 18px rgba(189,77,255,0.4);
}
.step h3 { margin: 12px 0 7px; font-size: 17px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 760px; margin: 0 auto; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.plan.featured { border-color: rgba(107,92,255,0.5); box-shadow: var(--shadow); position: relative; }
.plan.featured .tag { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 700; color: #fff; background: var(--grad); padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.plan .price { font-size: 15px; color: var(--muted); margin: 6px 0 18px; }
.plan ul { list-style: none; display: grid; gap: 11px; }
.plan li { font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--accent-top); }
.plan li.muted { color: var(--muted); }
.plan li.muted svg { color: #c4c1d4; }

/* CTA band */
.cta-band { background: var(--bg-deep); color: #fff; border-radius: 24px; padding: 56px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 50% 0%, rgba(124,80,255,0.45), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: 34px; letter-spacing: -0.8px; }
.cta-band p { color: rgba(255,255,255,0.7); margin: 12px auto 26px; max-width: 32em; }

/* Footer */
footer { padding: 40px 0 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .brand { font-size: 15px; color: var(--ink); }

/* ---------- Download page ---------- */
.dl-hero { text-align: center; padding: 72px 0 30px; }
.dl-hero h1 { font-size: 42px; letter-spacing: -1px; font-weight: 800; }
.dl-hero p { color: var(--muted); font-size: 17px; margin: 14px auto 0; max-width: 34em; }
.dl-card {
  max-width: 560px; margin: 36px auto 0; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 36px; text-align: center; box-shadow: var(--shadow);
}
.dl-card .glyph-lg { width: 76px; height: 76px; border-radius: 20px; background: var(--grad); display: grid; place-items: center; color: #fff; margin: 0 auto 18px; box-shadow: 0 14px 30px rgba(189,77,255,0.45); }
.dl-card h2 { font-size: 22px; }
.dl-meta { font-size: 13px; color: var(--muted); margin: 8px 0 22px; }
.install { max-width: 620px; margin: 56px auto 0; }
.install h2 { font-size: 24px; text-align: center; margin-bottom: 28px; letter-spacing: -0.5px; }
.istep { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.istep:last-child { border-bottom: none; }
.istep .n { flex: none; width: 30px; height: 30px; border-radius: 9px; background: rgba(107,92,255,0.10); color: var(--accent-top); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.istep h4 { font-size: 15.5px; margin-bottom: 4px; }
.istep p { font-size: 14px; color: var(--muted); }
.istep code { background: rgba(22,19,31,0.06); padding: 1px 7px; border-radius: 6px; font-size: 13px; }
.callout { max-width: 620px; margin: 30px auto 0; background: rgba(254,188,46,0.10); border: 1px solid rgba(254,188,46,0.35); border-radius: 12px; padding: 16px 18px; font-size: 14px; }
.callout b { color: #9a6b00; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
