/* SetlistFlow marketing site shared styles. Palette mirrors the app. */
:root{
  --bg:#fbf6ec;--surface:#ffffff;--surface-soft:#f7f0e2;--surface-muted:#f1e7d5;
  --text:#1c1610;--muted:#6f6353;--border:#e2d6c0;--line-strong:#d9c9ab;
  --shadow:0 1px 3px rgba(60,40,15,.07),0 8px 24px rgba(60,40,15,.05);
  --primary:#0b6e99;--primary-hover:#085877;--primary-text:#fff;
  --accent:#e0890c;--pro:#7a3fb0;--pro-soft:#f3e9fb;--success:#2c8a44;--maxw:1080px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:clip}
body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Hebrew","Noto Sans Arabic","Arial Hebrew",Roboto,Arial,sans-serif;font-size:18px;line-height:1.5;-webkit-text-size-adjust:100%}
a{color:var(--primary)}
img{max-width:100%}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px}

/* Header */
.site-head{position:sticky;top:0;z-index:50;background:var(--surface);border-bottom:1px solid var(--border)}
/* Cookie consent banner (only shown when analytics is configured and undecided) */
.consent-bar{position:fixed;left:12px;right:12px;bottom:12px;z-index:200;display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;max-width:760px;margin:0 auto;padding:14px 18px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 8px 30px rgba(40,25,5,.22)}
.consent-bar .consent-text{margin:0;flex:1 1 280px;font-size:14px;color:var(--text)}
.consent-bar .consent-text a{color:var(--primary);font-weight:700}
.consent-bar .consent-actions{display:flex;gap:10px;flex:0 0 auto;margin-left:auto}
.consent-btn{border-radius:999px;padding:10px 18px;font-weight:800;cursor:pointer;border:1px solid var(--border);font-size:14px}
.consent-btn.primary{background:var(--primary);border-color:var(--primary);color:var(--primary-text)}
.consent-btn.ghost{background:transparent;color:var(--text)}
.consent-btn.ghost:hover{background:var(--surface-soft)}
@media(max-width:520px){.consent-bar .consent-actions{margin-left:0;width:100%}.consent-btn{flex:1 1 auto}}
.site-head .wrap{display:flex;align-items:center;gap:18px;padding-top:12px;padding-bottom:12px}
.brand{display:inline-flex;align-items:center;gap:9px;font-weight:950;font-size:22px;color:var(--text);text-decoration:none;letter-spacing:-.02em}
.brand .mk{width:28px;height:28px;border-radius:8px;background:var(--primary);display:grid;place-items:center;flex:0 0 auto}
.brand .mk svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linejoin:round}
.brand .brand-img{width:28px;height:28px;border-radius:7px;display:block;flex:0 0 auto;object-fit:contain}
.brand .dot{color:var(--accent)}
.btn.tonal{background:var(--surface-muted);border-color:transparent;color:#3a2c18}
.hero .ey{display:inline-block;background:var(--pro-soft);color:#5a2b86;border:1px solid #e4cef5;font-weight:800;font-size:13px;padding:6px 14px;border-radius:999px;margin-bottom:16px}
.hero .trust{margin-top:18px;color:var(--muted);font-size:14px;display:flex;gap:20px;justify-content:center;flex-wrap:wrap}
.hero .trust span{display:inline-flex;align-items:center;gap:6px}
.hero .trust b{color:var(--success);font-weight:900}
/* Hero device mockup (placeholder until a real render is dropped in) */
.hero-art{display:flex;align-items:flex-end;justify-content:center;gap:20px;margin:36px auto 0;flex-wrap:wrap}
.hero-shot{display:block;max-width:100%;height:auto;width:920px;border-radius:14px}
@media(min-width:900px){
  .hero{display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:40px;text-align:left}
  .hero-copy{min-width:0}
  .hero p.lede{margin-left:0;margin-right:0}
  .hero .cta{justify-content:flex-start}
  .hero .trust{justify-content:flex-start}
  .hero{grid-template-columns:1fr 1fr;gap:44px}
  .hero-art{margin:0;align-items:stretch}
  .hero-shot{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center;max-height:560px}
}
.device{background:#241c12;border-radius:24px;padding:12px;box-shadow:0 18px 44px rgba(60,40,15,.16)}
.device .screen{background:var(--surface);border-radius:13px;padding:18px;overflow:hidden}
.device.tablet{width:330px;max-width:72vw}
.device.tablet .screen{height:430px}
.device.phone{width:152px}
.device.phone .screen{height:300px;padding:14px}
.screen.dark{background:#15110b}
.mini-top{font-size:12px;color:var(--muted);font-weight:800;margin-bottom:12px}
.mini-h{font-size:26px;font-weight:950;color:var(--text);margin-bottom:12px;letter-spacing:-.01em}
.mini-h.sm{font-size:17px;margin-bottom:10px}
.screen.dark .mini-top{color:#caa55a}
.screen.dark .mini-h{color:#fbf3e2}
.mini-l{height:9px;border-radius:5px;background:var(--surface-muted);margin:8px 0;width:92%}
.mini-l.short{width:58%}
.mini-l.d{background:#3a2f1f}
.mini-chip{display:inline-block;height:14px;width:46px;border-radius:999px;background:color-mix(in srgb,var(--primary) 16%,var(--surface));margin:0 5px 10px 0}
@media(max-width:640px){.device.tablet{width:240px}.device.tablet .screen{height:330px}.device.phone{width:120px}.device.phone .screen{height:240px}}
.site-nav{display:flex;gap:22px;margin-left:auto;align-items:center}
.site-nav a{text-decoration:none;color:var(--muted);font-weight:800;padding:8px 2px;border-bottom:2.5px solid transparent}
.site-nav a:hover{color:var(--text)}
.site-nav a[aria-current="page"]{color:var(--primary);border-bottom-color:var(--primary)}
.site-nav a.btn{border-bottom:0;padding:12px 20px;margin-left:8px}
.site-nav a.btn[aria-current="page"]{color:var(--primary-text)}
/* Bullet separators between page-nav items (not the top site nav) */
.hero-nav>a:not(:first-child)::before{content:"•";margin-right:20px;margin-left:-4px;color:var(--muted);opacity:.5;font-weight:700}
/* Hamburger (mobile nav) */
.nav-toggle{display:none;margin-left:auto;width:44px;height:44px;border:1px solid var(--primary);border-radius:11px;background:var(--primary);cursor:pointer;padding:0;align-items:center;justify-content:center;color:var(--primary-text)}
.nav-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
@media(max-width:640px){
  .nav-toggle{display:inline-flex}
  .site-nav{position:absolute;top:100%;right:12px;left:auto;min-width:200px;max-width:calc(100vw - 24px);margin:0;flex-direction:column;align-items:stretch;gap:4px;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);display:none;z-index:60}
  .site-nav.open{display:flex}
  .site-nav a{padding:11px 12px;border-bottom:0;border-radius:9px}
  .site-nav a:hover{background:var(--surface-soft)}
  .site-nav a[aria-current="page"]{background:var(--surface-soft)}
  .site-nav a.btn{margin-left:0;text-align:center;margin-top:4px}
}
.btn{display:inline-block;text-decoration:none;font-weight:850;border-radius:999px;padding:12px 20px;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;white-space:nowrap}
.btn:hover{box-shadow:var(--shadow)}
.btn.primary{background:var(--primary);border-color:var(--primary);color:var(--primary-text)}
.btn.primary:hover{background:var(--primary-hover);border-color:var(--primary-hover)}
.btn.accent{background:var(--accent);border-color:var(--accent);color:#fff}
.btn.lg{padding:15px 26px;font-size:19px}

/* Hero */
.hero{padding:64px 20px 28px;text-align:center}
.hero h1{font-size:48px;line-height:1.05;margin:0 0 14px;letter-spacing:-.03em}
.hero h1 .h1-part{display:inline-block}
.hero p.lede{font-size:21px;color:var(--muted);max-width:680px;margin:0 auto 26px}
.hero .cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.hero .sub{margin-top:14px;color:var(--muted);font-size:15px}
.hero-nav{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 20px;margin:40px auto 0;padding:10px 20px;background:var(--surface-soft);border:1px solid var(--border);border-radius:999px}
.support-nav-wrap{text-align:center;margin:36px 0 8px;position:sticky;top:var(--site-head-h,64px);z-index:40;padding:10px 0;transition:background .12s}
/* On pages where the nav lives inside a max-width .wrap (e.g. support), bleed the sticky bar to full width so it covers edge to edge like the home page nav. */
.wrap .support-nav-wrap{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding-left:calc(50vw - 50%);padding-right:calc(50vw - 50%)}
.support-nav-wrap .hero-nav{margin-top:0}
.support-nav-wrap.is-stuck{background:var(--surface-soft);box-shadow:0 8px 14px -10px rgba(0,0,0,.45)}
.support-nav-wrap.is-stuck .hero-nav{background:transparent;border-color:transparent;box-shadow:none;border-radius:0}
/* Anchor targets clear the sticky header + sticky in-page nav. */
h2[id],h3[id],section[id]{scroll-margin-top:calc(var(--site-head-h,64px) + 88px)}
.support-nav-wrap .hero-nav{margin:0 auto}
.hero-nav a{color:var(--primary);font-weight:800;text-decoration:none;transition:color .12s}
.hero-nav a:hover{color:var(--accent)}

/* Sections */
section.band{padding:44px 0}
h2.section-title{font-size:32px;letter-spacing:-.02em;margin:0 0 8px;text-align:center}
p.section-sub{text-align:center;color:var(--muted);margin:0 auto 28px;max-width:620px}
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media(max-width:840px){.features{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.features{grid-template-columns:1fr}}
.how-steps{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.how-steps li{background:transparent;border:0;box-shadow:none;text-align:center;padding:0 14px}
.how-art{width:104px;height:104px;display:block;margin:0 auto 4px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;color:var(--primary)}
.how-steps li:nth-child(1) .how-art{color:var(--primary)}
.how-steps li:nth-child(2) .how-art{color:var(--accent)}
.how-steps li:nth-child(3) .how-art{color:var(--pro)}
.how-num{display:grid;place-items:center;width:38px;height:38px;border-radius:999px;color:#fff;font-weight:900;font-size:19px;margin:0 auto 12px}
.how-steps li:nth-child(1) .how-num{background:var(--primary)}
.how-steps li:nth-child(2) .how-num{background:var(--accent)}
.how-steps li:nth-child(3) .how-num{background:var(--pro)}
.how-steps h3{margin:0 0 6px;font-size:20px}
.how-steps p{margin:0;color:var(--muted)}
@media(max-width:760px){.how-steps{grid-template-columns:1fr;gap:18px}}
.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:20px;box-shadow:var(--shadow)}
.card h3{margin:0 0 6px;font-size:20px}
.card p{margin:0;color:var(--muted);font-size:16px}
.card .ico{font-size:26px;margin-bottom:8px}

/* Screenshot frame */
.shot{background:var(--surface);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow);overflow:hidden;margin:22px auto 0;max-width:900px}
.shot .bar{display:flex;gap:6px;padding:10px 14px;border-bottom:1px solid var(--border);background:var(--surface-soft)}
.shot .bar i{width:11px;height:11px;border-radius:999px;background:var(--surface-muted);display:inline-block}
.shot .body{padding:26px;color:var(--muted)}

/* Pricing */
.tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;align-items:start}
.tier{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:26px;box-shadow:var(--shadow)}
.tier.pro{border:2px solid var(--accent);position:relative}
.tier .tag{position:absolute;top:-13px;right:18px;background:var(--accent);color:#fff;font-weight:900;font-size:13px;padding:4px 12px;border-radius:999px}
.tier h3{margin:0 0 4px;font-size:24px}
.tier .price{font-size:40px;font-weight:950;margin:6px 0}
.tier .price small{font-size:16px;color:var(--muted);font-weight:700}
.tier ul{list-style:none;padding:0;margin:16px 0}
.tier li{padding:7px 0 7px 28px;position:relative;color:var(--text)}
.tier li::before{content:"✓";position:absolute;left:0;color:var(--success);font-weight:900}
.tier li.no{color:var(--muted)}
.tier li.no::before{content:"–";color:var(--muted)}
.tiers-compact{max-width:720px;margin:0 auto}

/* Feature comparison table */
.compare-wrap{border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);margin-top:18px;background:var(--surface)}
.compare{width:100%;border-collapse:collapse;table-layout:fixed}
.compare th,.compare td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--border);font-size:15px;vertical-align:middle}
.compare th,.compare td{overflow-wrap:anywhere}
.compare thead th{position:sticky;top:0;background:var(--surface-soft);color:var(--muted);font-weight:800;font-size:14px}
.compare th:nth-child(2),.compare td:nth-child(2),.compare th:nth-child(3),.compare td:nth-child(3){text-align:center;width:22%}
.compare .pro-col{background:color-mix(in srgb,var(--pro) 6%, var(--surface))}
.compare thead .pro-col{color:var(--pro)}
.compare tr.grp td{background:var(--surface-muted);font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);padding-top:9px;padding-bottom:9px}
.compare .y{color:var(--success);font-weight:900}
.compare .n{color:var(--muted)}
.compare .hi{color:var(--pro);font-weight:900}
.compare tr:last-child td{border-bottom:0}
.compare tr.price-row td{font-weight:900;font-size:16px;background:var(--surface-soft)}
.compare tr.price-row td.pro-col{background:color-mix(in srgb,var(--pro) 10%, var(--surface));color:var(--pro)}
@media (max-width:560px){.compare th,.compare td{padding:9px 8px;font-size:13px}.compare th:nth-child(2),.compare td:nth-child(2),.compare th:nth-child(3),.compare td:nth-child(3){width:24%}}

/* Tables / docs */
.prose{max-width:760px;margin:0 auto}
.prose h2{font-size:26px;margin:34px 0 10px}
.prose h3{font-size:20px;margin:22px 0 6px}
.prose code{background:var(--surface-muted);padding:2px 6px;border-radius:6px;font-size:.92em}
.prose pre{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px;overflow:auto}
.callout{background:var(--surface-soft);border:1px solid var(--border);border-left:5px solid var(--primary);border-radius:12px;padding:14px 16px;margin:18px 0}

/* FAQ accordion */
.faq-group{margin:26px 0 6px;font-size:14px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--primary)}
.faq-group:first-of-type{margin-top:14px}
.faq{border:1px solid var(--border);border-radius:12px;background:var(--surface);margin:10px 0;box-shadow:var(--shadow)}
.faq>summary{list-style:none;cursor:pointer;font-weight:850;font-size:17px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.faq>summary::-webkit-details-marker{display:none}
.faq>summary::after{content:"+";color:var(--muted);font-weight:900;font-size:22px;line-height:1}
.faq[open]>summary::after{content:"–"}
.faq>summary:hover{color:var(--primary)}
.faq-body{padding:0 18px 14px;color:var(--muted)}
.faq-body p:first-child,.faq-body ul:first-child,.faq-body ol:first-child{margin-top:0}
.faq-body code{background:var(--surface-muted);padding:2px 6px;border-radius:6px;font-size:.92em;color:var(--text)}

/* Contact form */
.contact-form{display:flex;flex-direction:column;gap:14px;max-width:560px;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:20px;box-shadow:var(--shadow);margin:8px auto 0}
.contact-form label{display:block;font-weight:800}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;margin-top:6px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font:inherit}
.contact-form textarea{min-height:120px;resize:vertical}

/* Changelog / what's new */
.changelog{list-style:none;padding:0;margin:0 auto;max-width:760px;display:grid;gap:0}
.changelog li{display:flex;gap:14px;align-items:baseline;padding:10px 4px;border-top:1px solid var(--border)}
.changelog li:first-child{border-top:0}
/* Version numbers are kept in the markup for reference but not shown. */
.cl-ver{display:none}
.changelog time{flex:0 0 96px;color:var(--muted);font-size:13px}
.cl-body{font-size:15px}
.cl-body b{font-weight:900}
@media(max-width:560px){.changelog li{flex-wrap:wrap;gap:4px 10px}.cl-body{flex:1 1 100%}}
.changelog-more{max-width:760px;margin:0 auto}
.changelog-more>summary{cursor:pointer;color:var(--primary);font-weight:800;padding:12px 4px;list-style:none;text-align:center}
.changelog-more>summary::-webkit-details-marker{display:none}
.changelog-more>summary:hover{color:var(--accent)}
.changelog-more[open]>summary{border-bottom:1px solid var(--border)}
.changelog-more .changelog{max-height:330px;overflow-y:auto;padding-right:4px}

/* Planner showcase */
.planner-shot{max-width:760px;margin:8px auto 0}
.planner-shot-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow);padding:20px 22px}
.ps-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
.ps-title{font-weight:900;font-size:18px}
.ps-total{color:var(--muted);font-weight:800;font-size:14px}
.ps-graph{width:100%;height:200px;display:block}
.ps-warnings{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.ps-chip{font-size:13px;font-weight:800;border-radius:999px;padding:6px 12px;border:1px solid var(--border)}
.ps-chip.ok{background:color-mix(in srgb,var(--success) 12%,var(--surface));color:var(--success);border-color:color-mix(in srgb,var(--success) 35%,var(--border))}
.ps-chip.warn{background:color-mix(in srgb,var(--accent) 14%,var(--surface));color:#9a5b00;border-color:color-mix(in srgb,var(--accent) 38%,var(--border))}

/* Testimonials */
.tcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:10px;margin-top:8px}
.tcard{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:22px;box-shadow:var(--shadow)}
.tcard .quote{font-size:17px;line-height:1.5;margin:0 0 14px}
.tcard .who{font-weight:900}
.tcard .role{color:var(--muted);font-size:14px}
.t-soon{text-align:center;color:var(--muted);font-size:17px;padding:24px 0;margin:0}
.t-cta{text-align:center;margin-top:24px}
.tform{display:inline-block;text-align:center;max-width:460px;width:100%}
.tform>summary{list-style:none;cursor:pointer;display:inline-block;text-align:center;font-weight:850;border-radius:999px;padding:12px 22px;background:var(--primary);border:1px solid var(--primary);color:var(--primary-text)}
.tform>summary::-webkit-details-marker{display:none}
.tform>summary:hover{background:var(--primary-hover);border-color:var(--primary-hover)}
.tform[open]>summary{margin-bottom:2px}
.tform-body{display:flex;flex-direction:column;gap:10px;margin-top:14px;text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:18px;box-shadow:var(--shadow)}
.tform-body input,.tform-body textarea{width:100%}
.tform-body textarea{min-height:96px}

/* Footer */
.site-foot{border-top:1px solid var(--border);margin-top:40px;padding:30px 0;color:var(--muted);font-size:15px}
.site-foot .wrap{display:flex;gap:10px 20px;flex-wrap:wrap;align-items:center}
.site-foot a{color:var(--muted);text-decoration:none;font-weight:700}
.site-foot a:hover{color:var(--text)}
.site-foot .brand{flex:0 0 auto}
.site-foot .foot-copy{flex:1 1 100%;width:100%;margin:6px 0 0;font-size:13px;opacity:.85}
.foot-tag{color:var(--muted);white-space:nowrap}
.foot-links{display:flex;gap:12px 20px;flex-wrap:wrap;margin-left:auto}
.foot-links a{white-space:nowrap}
/* Footer is centered, so it reads cleanly whether it sits on one line or wraps. */
.site-foot .wrap{justify-content:center;text-align:center}
.foot-links{margin-left:0;justify-content:center}

@media (max-width:640px){
  .hero{padding:36px 16px 16px}
  .hero h1{font-size:34px;line-height:1.08}
  .hero p.lede{font-size:16px;line-height:1.4;margin-bottom:22px}
  h2.section-title{font-size:26px}
  p.section-sub{font-size:15px}
  .brand{font-size:20px}
  /* Controls scale down on phones instead of staying desktop-sized */
  .btn{padding:10px 16px;font-size:16px}
  .btn.lg{padding:12px 18px;font-size:16px}
  .site-nav a.btn{padding:9px 14px}
  .tier .price{font-size:34px}
}
@media (max-width:380px){
  .hero h1{font-size:30px}
  .btn.lg{font-size:15px;padding:11px 14px}
}
