/* =======================================================================
   EZ Spec marketing theme — original styles (no third-party template code).
   Only --brand is injected per-site (from SiteSettings); the lighter/darker
   shades derive from it via color-mix, so rebranding is a single value.
   ======================================================================= */
:root {
  --brand: #4f46e5;                                              /* overridden inline from SiteSettings */
  --brand-2: color-mix(in srgb, var(--brand), white 26%);
  --brand-ink: color-mix(in srgb, var(--brand), black 42%);
  --ink: #141320;
  --muted: #5f5b71;
  --bg: #f7f7fb;
  --surface: #ffffff;
  --soft: color-mix(in srgb, var(--brand), white 88%);
  --line: #e8e7f1;
  --r-card: 22px;
  --r-pill: 999px;
  --shadow: 0 24px 48px -28px rgba(28, 22, 70, .28);
  --maxw: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'DM Sans', system-ui, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 24px; border-radius: var(--r-pill); font-weight: 700; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; transition: .18s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 24px -12px var(--brand); }
.btn-primary:hover { background: var(--brand-ink); }
.btn-soft { background: var(--soft); color: var(--brand-ink); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-lg { padding: 16px 30px; font-size: 16px; }

.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg), transparent 18%); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 30px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand .mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: grid; place-items: center; color: #fff; font-size: 15px; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-sp { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-cta .si { font-weight: 700; font-size: 15px; }
@media (max-width: 880px){ .nav-links { display: none; } }

.hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; z-index: 0; }
.blob.a { width: 520px; height: 520px; right: -160px; top: -120px; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--brand), white 55%), transparent 70%); }
.blob.b { width: 380px; height: 380px; left: -140px; bottom: -120px; background: radial-gradient(circle at 50% 50%, #d8f0e8, transparent 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 60px; font-weight: 900; }
.hero .lede { font-size: 19px; color: var(--muted); margin-top: 22px; max-width: 30em; }
.hero .ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero .trust { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 920px){ .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero h1 { font-size: 44px; } }

.scene { position: relative; background: var(--surface); border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 18px; }
.room { position: relative; aspect-ratio: 4/3.2; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg,#d9e3de,#bccdc4 60%,#a7bdb1); }
.r-wall { position:absolute; inset:0 0 42% 0; background: repeating-linear-gradient(90deg,#3a5d6e,#3a5d6e 18px,#456c80 18px,#456c80 36px); opacity:.92; }
.r-floor { position:absolute; inset:58% 0 0 0; background: linear-gradient(#b78d68,#a67a55); }
.r-bed { position:absolute; left:16%; right:16%; top:30%; height:32%; border-radius:12px 12px 5px 5px; background:#f1eadf; box-shadow:0 12px 24px -10px rgba(0,0,0,.35); }
.r-bed:before { content:""; position:absolute; inset:0 0 56% 0; border-radius:12px 12px 0 0; background:linear-gradient(135deg,var(--brand),var(--brand-2)); opacity:.9; }
.r-rug { position:absolute; left:18%; right:18%; bottom:8%; height:16%; border-radius:10px; background: repeating-linear-gradient(45deg,#7d4f3d,#7d4f3d 11px,#8c5b48 11px,#8c5b48 22px); opacity:.9; }
.chip { position:absolute; display:flex; align-items:center; gap:7px; background:#fff; font-size:11.5px; font-weight:700; padding:6px 10px; border-radius:var(--r-pill); box-shadow:0 8px 18px -8px rgba(0,0,0,.3); }
.chip .d { width:9px; height:9px; border-radius:50%; }
.chip.c1 { top:24%; left:6%; } .chip.c1 .d{ background:var(--brand); }
.chip.c2 { top:9%; right:7%; } .chip.c2 .d{ background:#c0563a; }
.chip.c3 { bottom:9%; left:8%; } .chip.c3 .d{ background:#7d4f3d; }
.spec { position:absolute; right:-10px; bottom:-12px; width:54%; background:#fff; border-radius:16px; padding:14px 16px; box-shadow:var(--shadow); border:1px solid var(--line); }
.spec .h { font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--brand); }
.spec .row { display:flex; justify-content:space-between; font-size:12.5px; margin-top:7px; color:var(--muted); }
.spec .row b { color:var(--ink); }

.strip { padding: 8px 0; }
.strip .row { display:flex; align-items:center; gap:34px; flex-wrap:wrap; justify-content:center; opacity:.6; font-weight:700; color:var(--muted); font-size:15px; }

.section { padding: 76px 0; }
.head { max-width: 40em; margin: 0 auto 44px; text-align: center; }
.head h2 { font-size: 38px; }
.head p { color: var(--muted); margin-top: 14px; font-size: 18px; }

.cards3 { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; transition:.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ic { width: 46px; height: 46px; border-radius: 13px; display:grid; place-items:center; font-size:21px; margin-bottom: 18px; background: var(--soft); color: var(--brand); }
.card h3 { font-size: 22px; }
.card p { color: var(--muted); font-size: 15px; margin-top: 9px; }
.card .lnk { display:inline-flex; align-items:center; gap:6px; margin-top: 18px; font-weight: 700; font-size: 14.5px; color: var(--brand); }
.card .lnk:hover { gap: 10px; }
@media (max-width: 820px){ .cards3 { grid-template-columns: 1fr; } }

.steps { display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step .n { width: 38px; height: 38px; border-radius: var(--r-pill); background: var(--soft); color: var(--brand); font-weight: 800; display:grid; place-items:center; margin-bottom: 16px; }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
@media (max-width: 820px){ .steps { grid-template-columns: 1fr 1fr; } }

.showcase { display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:center; }
.showcase .panel { background: linear-gradient(160deg, var(--soft), #fff); border:1px solid var(--line); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow); }
.feat-list { list-style:none; padding:0; margin: 22px 0 0; display:grid; gap: 14px; }
.feat-list li { display:flex; gap:12px; align-items:flex-start; font-size: 16px; }
.feat-list .tick { width:24px; height:24px; border-radius:50%; background: var(--brand); color:#fff; display:grid; place-items:center; font-size:13px; flex-shrink:0; }
@media (max-width: 820px){ .showcase { grid-template-columns: 1fr; gap: 28px; } }

.band { color:#fff; border-radius: 28px; padding: 56px; display:grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items:center; }
.band.vendors { background: linear-gradient(135deg, var(--brand-ink), var(--brand)); }
.band.purchasing { background: linear-gradient(135deg, #211d33, #16131f); }
.band h2 { font-size: 36px; }
.band .lede { color: rgba(255,255,255,.8); margin-top: 16px; font-size: 17px; }
.band ul { list-style:none; padding:0; margin: 22px 0 0; display:grid; gap: 11px; }
.band li { display:flex; gap:11px; color: rgba(255,255,255,.92); font-size: 15.5px; }
.band li:before { content:"→"; color: rgba(255,255,255,.6); }
.band .ctas { margin-top: 28px; display:flex; gap:12px; flex-wrap:wrap; }
.band .panel { background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 26px; }
.band .panel .big { font-size: 42px; font-weight: 900; }
.band .panel .sub { color: rgba(255,255,255,.72); font-size: 14px; }
.band .row2 { display:flex; justify-content:space-between; color:rgba(255,255,255,.82); font-size:13.5px; padding:7px 0; border-bottom:1px solid rgba(255,255,255,.12); }
.band .row2:last-child { border-bottom:0; }
@media (max-width: 820px){ .band { grid-template-columns: 1fr; padding: 38px; } }

.price3 { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: start; }
.tier { background: var(--surface); border:1px solid var(--line); border-radius: var(--r-card); padding: 30px; }
.tier.feature { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); position: relative; }
.tier .badge { position:absolute; top:-12px; left:30px; background: var(--brand); color:#fff; font-size:12px; font-weight:700; padding:4px 12px; border-radius: var(--r-pill); }
.tier h3 { font-size: 20px; }
.tier .amt { font-size: 44px; font-weight: 900; margin-top: 10px; letter-spacing:-.03em; }
.tier .amt span { font-size: 15px; font-weight: 600; color: var(--muted); }
.tier .desc { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.tier ul { list-style:none; padding:0; margin: 20px 0 24px; display:grid; gap:10px; }
.tier li { display:flex; gap:10px; font-size: 14.5px; color: var(--ink); }
.tier li:before { content:"✓"; color: var(--brand); font-weight: 800; }
.tier .btn { width: 100%; justify-content: center; }
@media (max-width: 820px){ .price3 { grid-template-columns: 1fr; } }

.cta { text-align:center; color:#fff; border-radius: 28px; padding: 64px 24px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.cta h2 { font-size: 42px; }
.cta p { color: rgba(255,255,255,.85); margin-top: 14px; font-size: 18px; }
.cta .ctas { margin-top: 28px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

footer.ftr { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: 72px; }
.fgrid { display:grid; grid-template-columns: 1.5fr repeat(4,1fr); gap: 30px; }
.fgrid h4 { font-size: 12px; letter-spacing:.1em; text-transform:uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 700; }
.fgrid a { display:block; font-size: 14.5px; padding: 4px 0; color: var(--ink); }
.fgrid a:hover { color: var(--brand); }
.fbottom { margin-top: 40px; display:flex; justify-content:space-between; color: var(--muted); font-size: 13.5px; flex-wrap: wrap; gap: 8px; }
@media (max-width: 820px){ .fgrid { grid-template-columns: 1fr 1fr; } }

/* For-audience pages */
.subhero { padding: 72px 0 40px; }
.subhero h1 { font-size: 48px; max-width: 14em; }
.subhero .lede { font-size: 19px; color: var(--muted); margin-top: 18px; max-width: 34em; }
.subhero .ctas { margin-top: 30px; display:flex; gap:14px; flex-wrap:wrap; }
@media (max-width: 820px){ .subhero h1 { font-size: 36px; } }
